[linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-01 Thread sioux
Hey guys... I am feed up to stay compile each time when a new kernel 
upgrades cames up.

Please I need your help to complite my stupid work (my prefered distro 
is a ubuntu... please at least for my distro can you redistribute this 
driver?)

The works that needs to be complited is about PCI kernel automatic loads 
of this video card and probably some other.

This is the card:

[EMAIL PROTECTED]:~$ sudo lspci -s 02:09.0 -vv -
02:09.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 
Video Broadcast Decoder (rev d1)
Subsystem: Twinhan Technology Co. Ltd Unknown device 0022
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR-  Twinhan Hybrid DTV-DVB 3056 PCI  [1822:0022]

_


In saa7134.h please add:

#define SAA7134_BOARD_TWINHAN_DTV_DVB_3056 118

_


In saa7134.card.c add:

[SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
/* sioux signed-off <[EMAIL PROTECTED]> :-) */
.name   = "Twinhan Hybrid DTV-DVB 3056 PCI",
.audio_clock= 0x00187de7,
.tuner_type = TUNER_PHILIPS_TDA8290,
.radio_type = UNSET,
.tuner_addr= ADDR_UNSET,
.radio_addr= ADDR_UNSET,
.tuner_config   = 2,
.mpeg   = SAA7134_MPEG_DVB,
.gpiomask   = 0x040,
.inputs = {{
.name   = name_tv,
.vmux   = 1,
.amux   = TV,
.tv = 1,
},{
.name   = name_comp1,
.vmux   = 3,
.amux   = LINE1,
},{
.name   = name_svideo,
.vmux   = 8,
.amux   = LINE1,
}},
.radio = {
.name   = name_radio,
.amux   = TV,
},
},

...

case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
/* I don't know why I have to do this, but this cards was ok as 
tiger_s. In case fix me */
/* No other different ways could I found. Signed OFF by sioux */
{
u8 data[] = { 0x3c, 0x33, 0x60};
struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = 
sizeof(data)};
if(dev->autodetected && (dev->eedata[0x49] == 0x50)) {
dev->board = SAA7134_BOARD_TWINHAN_DTV_DVB_3056;
printk(KERN_INFO "%s: Reconfigured board as %s\n",
dev->name, saa7134_boards[dev->board].name);
}
if(dev->board == SAA7134_BOARD_TWINHAN_DTV_DVB_3056) {
tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
tun_setup.type = TUNER_PHILIPS_TDA8290;
tun_setup.addr = 0x4b;
tun_setup.config = 2;

saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
data[2] = 0x68;
}
i2c_transfer(&dev->i2c_adap, &msg, 1);
}


This is one problem... if in saa7134.card.c I add this code for 
automatic driver load:

.vendor   = PCI_VENDOR_ID_PHILIPS,
.device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
.subvendor= 0x1822, /*Twinhan Technology Co. Ltd*/
.subdevice= 0x0022,
.driver_data  = SAA7134_BOARD_TWINHAN_DTV_DVB_3056

The card is loaded but only: DVB-T and radio works fine, the analog 
tuner no; gives no audio e not all channels are correctly scanned and 
the pictures are unstable. I don't know why some more works around need 
to be done.

So:

sudo modprobe saa7134 card=118

it's ok and than all works fine.

__

This is the code to add in saa7134-dvb.c

case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
configure_tda827x_fe(dev, &twinhan_dtv_dvb_3056_config);


static struct tda1004x_config twinhan_dtv_dvb_3056_config = {
/* sioux signed-off <[EMAIL PROTECTED]> :-) */
.demod_address = 0x08,
.invert= 1,
.invert_oclk   = 0,
.xtal_freq = TDA10046_XTAL_16M,
.agc_config= TDA10046_AGC_TDA827X,
.gpio_config   = TDA10046_GP01_I,
.if_freq   = TDA10046_FREQ_045,
.i2c_gate  = 0x42,
.tuner_address = 0x61,
.tuner_config  = 2,
.antenna_switch= 1,
.request_firmware = philips_tda1004x_request_firmware
};




That's all I have done!



Here is the dmesg | grep saa result with sudo modprobe:

[  233.619551] saa7130/34: v4l2 driver version 0.2.14 loaded
[  233.623436] saa7133[0]: found at :02:09.0, rev: 209, irq: 21, 
latency: 32, mmio: 0xed00
[  233.623494] saa7133[0]: subsystem: 1822:0022, board: Twinhan Hybrid 
DTV-DVB 3056 PCI [card=118,insmod option]
[  233.623512] saa7133[0]: board init: gpio is 4
[  233.768202] saa7133[0]: i2c eeprom 00: 22 18 22 00 54 20 1c 00 43 43 
a9 1c 55 d2 b2 92
[  233.768222] saa7133[0]: i2c eeprom 10: 00 01 f

[linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-21 Thread Terry Barnaby
Hi,

I have tried the "sioux.patch" on my AzureWave AD-TP500 3056 PCI board.
With the dvb-fe-tda10045.fw and dvb-fe-tda10046.fw firmware files installed
in /lib/firmware for Fedora 8. It seems to work fine in DVB mode.

I now want to try the FM Tuner but am at a loss on how to capture a stream
from this. Eventually I want to stream the FM audio across the network.
Any info on:
1. How can I stream the FM Tuners output using VLC or something else ?
2. I can see how to tune set the FM Tuners frequency, but how can I get a raw
data stream from the card using the V4L/DVB API ?

Some initial pointers would be appreciated.

Cheers

Terry

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-03 Thread hermann pitton
Hi Sioux,

Am Sonntag, den 02.12.2007, 01:08 +0100 schrieb sioux:
> Hey guys... I am feed up to stay compile each time when a new kernel 
> upgrades cames up.
> 
> Please I need your help to complite my stupid work (my prefered distro 
> is a ubuntu... please at least for my distro can you redistribute this 
> driver?)
> 
> The works that needs to be complited is about PCI kernel automatic loads 
> of this video card and probably some other.
> 
> This is the card:

have a look at what we had back in May for the card.
http://www.linuxtv.org/pipermail/linux-dvb/2007-May/017946.html

It is trashed with some top-postings, but finally Egidio reported
everything working by forcing the TIGER_S.

The remote is not yet investigated.

> [EMAIL PROTECTED]:~$ sudo lspci -s 02:09.0 -vv -
> 02:09.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 
> Video Broadcast Decoder (rev d1)
> Subsystem: Twinhan Technology Co. Ltd Unknown device 0022
[...]
> And here is my driver Signed off for this card that is: Twinhan Hybrid 
> DTV-DVB 3056 PCI  [1822:0022]
> 
>  well
> 
> 
> In cardlist.saa7134 please add:
> 
> 118 -> Twinhan Hybrid DTV-DVB 3056 PCI  [1822:0022]
> 

A script will do this automatically when "make commit" is called.

> 
> 
> 
> In saa7134.h please add:
> 
> #define SAA7134_BOARD_TWINHAN_DTV_DVB_3056 118
> 
> _
> 
> 
> In saa7134.card.c add:
> 
> [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
> /* sioux signed-off <[EMAIL PROTECTED]> :-) */
> .name   = "Twinhan Hybrid DTV-DVB 3056 PCI",
> .audio_clock= 0x00187de7,
> .tuner_type = TUNER_PHILIPS_TDA8290,
> .radio_type = UNSET,
> .tuner_addr= ADDR_UNSET,
> .radio_addr= ADDR_UNSET,
> .tuner_config   = 2,
> .mpeg   = SAA7134_MPEG_DVB,
> .gpiomask   = 0x040,
> .inputs = {{
> .name   = name_tv,
> .vmux   = 1,
> .amux   = TV,
> .tv = 1,
> },{
> .name   = name_comp1,
> .vmux   = 3,
> .amux   = LINE1,
> },{
> .name   = name_svideo,
> .vmux   = 8,
> .amux   = LINE1,
> }},
> .radio = {
> .name   = name_radio,
> .amux   = TV,
> },
> },
> 

Unless you teach me better, I'll keep this like the TIGER_S has it and
what Egidio tested. 

> ...
> 
> case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
> /* I don't know why I have to do this, but this cards was ok as 
> tiger_s. In case fix me */
> /* No other different ways could I found. Signed OFF by sioux */
> {
> u8 data[] = { 0x3c, 0x33, 0x60};
> struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = 
> sizeof(data)};
> if(dev->autodetected && (dev->eedata[0x49] == 0x50)) {

This breaks it for you and you don't need any eeprom detection at all.
But your card is sharp here,

> dev->board = SAA7134_BOARD_TWINHAN_DTV_DVB_3056;
> printk(KERN_INFO "%s: Reconfigured board as %s\n",
> dev->name, saa7134_boards[dev->board].name);
> }
> if(dev->board == SAA7134_BOARD_TWINHAN_DTV_DVB_3056) {
> tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
> tun_setup.type = TUNER_PHILIPS_TDA8290;
> tun_setup.addr = 0x4b;

and then the TDA8290 is forced to an wrong address. You have it at 0x42.

> tun_setup.config = 2;
> 
> saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
> data[2] = 0x68;
> }
> i2c_transfer(&dev->i2c_adap, &msg, 1);
> }
> 
> 
> This is one problem... if in saa7134.card.c I add this code for 
> automatic driver load:
> 
> .vendor   = PCI_VENDOR_ID_PHILIPS,
> .device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
> .subvendor= 0x1822, /*Twinhan Technology Co. Ltd*/
> .subdevice= 0x0022,
> .driver_data  = SAA7134_BOARD_TWINHAN_DTV_DVB_3056
> 
> The card is loaded but only: DVB-T and radio works fine, the analog 
> tuner no; gives no audio e not all channels are correctly scanned and 
> the pictures are unstable. I don't know why some more works around need 
> to be done.

If autodetected, the analog demodulator is forced to a wrong address by
the eeprom detection. The radio is demodulated by the saa7131e.

> 
> So:
> 
> sudo modprobe saa7134 card=118
> 
> it's ok and than all works fine.

If _not_ autodetected, the tda8290 is not forced to a wrong address by
the successful eeprom detection and works fine at 0x42.

> 
> __
> 
> This is the code to add in saa7134-dvb.c
> 
> case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
> configure_tda827x

Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-03 Thread hermann pitton
[...]
> 
> Since it is more than six months back, that the card could have been
> added, guess I'll try this next pointing at the state of affairs we have
> here now.

Missing commas tend to spread ... ;)

diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Fri Nov 30
18:27:26 2007 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Dec 04
00:06:19 2007 +0100
@@ -3600,6 +3600,36 @@ struct saa7134_board saa7134_boards[] = 
.tv = 1,
}},
},
+   [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
+   .name   = "Twinhan Hybrid DTV-DVB 3056 PCI",
+   .audio_clock= 0x00187de7,
+   .tuner_type = TUNER_PHILIPS_TDA8290,
+   .radio_type = UNSET,
+   .tuner_addr = ADDR_UNSET,
+   .radio_addr = ADDR_UNSET,
+   .tuner_config   = 2,
+   .mpeg   = SAA7134_MPEG_DVB,
+   .gpiomask   = 0x020,
+   .inputs = {{
+   .name   = name_tv,
+   .vmux   = 1,
+   .amux   = TV,
+   .tv = 1,
+   }, {
+   .name   = name_comp1,
+   .vmux   = 3,
+   .amux   = LINE1,
+   }, {
+   .name   = name_svideo,
+   .vmux   = 8,
+   .amux   = LINE1,
+   } },
+   .radio = {
+   .name   = name_radio,
+   .amux   = TV,
+   .gpio   = 0x020,
+   },
+   },
 };
 
 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
@@ -4369,7 +4399,13 @@ struct pci_device_id saa7134_pci_tbl[] =
.device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
.subvendor= 0x4e42,
.subdevice= 0x3502,
-   .driver_data  = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS
+   .driver_data  = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
+   }, {
+   .vendor   = PCI_VENDOR_ID_PHILIPS,
+   .device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
+   .subvendor= 0x1822, /*Twinhan Technology Co. Ltd*/
+   .subdevice= 0x0022,
+   .driver_data  = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
},{
/* --- boards without eeprom + subsystem ID --- */
.vendor   = PCI_VENDOR_ID_PHILIPS,
@@ -4782,6 +4818,7 @@ int saa7134_board_init2(struct saa7134_d
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
case SAA7134_BOARD_MEDION_MD8800_QUADRO:
+   case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
/* this is a hybrid board, initialize to analog mode
 * and configure firmware eeprom address
 */
diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134-dvb.c
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c   Fri Nov 30
18:27:26 2007 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c   Mon Dec 03
19:05:39 2007 +0100
@@ -778,6 +778,21 @@ static struct tda1004x_config avermedia_
.request_firmware = philips_tda1004x_request_firmware
 };
 
+static struct tda1004x_config twinhan_dtv_dvb_3056_config = {
+   .demod_address = 0x08,
+   .invert= 1,
+   .invert_oclk   = 0,
+   .xtal_freq = TDA10046_XTAL_16M,
+   .agc_config= TDA10046_AGC_TDA827X,
+   .gpio_config   = TDA10046_GP01_I,
+   .if_freq   = TDA10046_FREQ_045,
+   .i2c_gate  = 0x42,
+   .tuner_address = 0x61,
+   .tuner_config  = 2,
+   .antenna_switch = 1,
+   .request_firmware = philips_tda1004x_request_firmware
+};
+
 /* --
  * special case: this card uses saa713x GPIO22 for the mode switch
  */
@@ -1043,6 +1058,8 @@ static int dvb_init(struct saa7134_dev *
case SAA7134_BOARD_AVERMEDIA_SUPER_007:
configure_tda827x_fe(dev, &avermedia_super_007_config);
break;
+   case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
+   configure_tda827x_fe(dev, &twinhan_dtv_dvb_3056_config);
default:
wprintk("Huh? unknown DVB card?\n");
break;
diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134.h
--- a/linux/drivers/media/video/saa7134/saa7134.h   Fri Nov 30 18:27:26
2007 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134.h   Mon Dec 03 18:16:32
2007 +0100
@@ -247,6 +247,7 @@ struct saa7134_format {
 #define SAA7134_BOARD_SABRENT_TV_PCB05 115
 #define SAA7134_BOARD_10MOONSTVMASTER3 116
 #define SAA7134_BOARD_AVERMEDIA_SUPER_007  117
+#define SAA7134_BOARD_TWINHAN_DTV_DVB_3056 118
 
 #define SAA7134_MAXBOARDS 8
 #define SAA7134_INP

Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-03 Thread hermann pitton
Am Dienstag, den 04.12.2007, 00:23 +0100 schrieb hermann pitton:
> [...]
> > 
> > Since it is more than six months back, that the card could have been
> > added, guess I'll try this next pointing at the state of affairs we have
> > here now.
> 
> Missing commas tend to spread ... ;)
> 
> diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134-cards.c
> --- a/linux/drivers/media/video/saa7134/saa7134-cards.c   Fri Nov 30
> 18:27:26 2007 +0200
> +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c   Tue Dec 04
> 00:06:19 2007 +0100
> @@ -3600,6 +3600,36 @@ struct saa7134_board saa7134_boards[] = 
>   .tv = 1,

Broken lines, not compatible editors and mail clients ...

I'm back to Mike Isely and will ignore all other stuff not officially
documented, ... until it works.

Cheers,
Hermann



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-04 Thread hermann pitton
Am Dienstag, den 04.12.2007, 01:23 +0100 schrieb hermann pitton:
> Am Dienstag, den 04.12.2007, 00:23 +0100 schrieb hermann pitton:
> > [...]
> > > 
> > > Since it is more than six months back, that the card could have been
> > > added, guess I'll try this next pointing at the state of affairs we have
> > > here now.
> > 
> > Missing commas tend to spread ... ;)
> > 
> > diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134-cards.c
> > --- a/linux/drivers/media/video/saa7134/saa7134-cards.c Fri Nov 30
> > 18:27:26 2007 +0200
> > +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Dec 04
> > 00:06:19 2007 +0100
> > @@ -3600,6 +3600,36 @@ struct saa7134_board saa7134_boards[] = 
> > .tv = 1,
> 
> Broken lines, not compatible editors and mail clients ...
> 
> I'm back to Mike Isely and will ignore all other stuff not officially
> documented, ... until it works.
> 

Hi,

OK, seems we have enough rules and documentation now.

Based on what I seem to know about the card and is prior in this thread
on the linux-dvb ML, the patch is correct. Some spaces, also between
braces, are introduced by checkpatch.pl. Please review.

Sioux, please test and check and Sign-off with me or take at least some
credit for your work on it.

Cheers,
Hermann


 - saa7134: add Twinhan Hybrid DTV-DVB 3056 PCI

 - Thanks go to Sioux for providing code and asking to fix the auto
   detection.

 - S-Video seems to be untested and likely a Composite over S-Video
   input is also there. The remote is not yet investigated.

Signed-off-by: Hermann Pitton <[EMAIL PROTECTED]>


diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Fri Nov 30 18:27:26 
2007 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Dec 04 00:06:19 
2007 +0100
@@ -3600,6 +3600,36 @@ struct saa7134_board saa7134_boards[] = 
.tv = 1,
}},
},
+   [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
+   .name   = "Twinhan Hybrid DTV-DVB 3056 PCI",
+   .audio_clock= 0x00187de7,
+   .tuner_type = TUNER_PHILIPS_TDA8290,
+   .radio_type = UNSET,
+   .tuner_addr = ADDR_UNSET,
+   .radio_addr = ADDR_UNSET,
+   .tuner_config   = 2,
+   .mpeg   = SAA7134_MPEG_DVB,
+   .gpiomask   = 0x020,
+   .inputs = {{
+   .name   = name_tv,
+   .vmux   = 1,
+   .amux   = TV,
+   .tv = 1,
+   }, {
+   .name   = name_comp1,
+   .vmux   = 3,
+   .amux   = LINE1,
+   }, {
+   .name   = name_svideo,
+   .vmux   = 8,
+   .amux   = LINE1,
+   } },
+   .radio = {
+   .name   = name_radio,
+   .amux   = TV,
+   .gpio   = 0x020,
+   },
+   },
 };
 
 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
@@ -4369,7 +4399,13 @@ struct pci_device_id saa7134_pci_tbl[] =
.device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
.subvendor= 0x4e42,
.subdevice= 0x3502,
-   .driver_data  = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS
+   .driver_data  = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
+   }, {
+   .vendor   = PCI_VENDOR_ID_PHILIPS,
+   .device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
+   .subvendor= 0x1822, /*Twinhan Technology Co. Ltd*/
+   .subdevice= 0x0022,
+   .driver_data  = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
},{
/* --- boards without eeprom + subsystem ID --- */
.vendor   = PCI_VENDOR_ID_PHILIPS,
@@ -4782,6 +4818,7 @@ int saa7134_board_init2(struct saa7134_d
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
case SAA7134_BOARD_MEDION_MD8800_QUADRO:
+   case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
/* this is a hybrid board, initialize to analog mode
 * and configure firmware eeprom address
 */
diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134-dvb.c
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c   Fri Nov 30 18:27:26 
2007 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c   Mon Dec 03 19:05:39 
2007 +0100
@@ -778,6 +778,21 @@ static struct tda1004x_config avermedia_
.request_firmware = philips_tda1004x_request_firmware
 };
 
+static struct tda1004x_config twinhan_dtv_dvb_3056_config = {
+   .demod_address = 0x08,
+   .invert= 1,
+   .invert_oclk   = 0,
+   .xtal_freq = TDA10046_XTAL_16M,

Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-08 Thread sioux

All  :-)

Sioux is back  :-)

I see my email has generate a  big work...  
Thanks guys


I am happy... even if I hope none of you will get money for that becouse 
otherwise I want some cents for me too. :-)
and also I hope no RIAA or SIAE or any yellow finace police in futures 
days will ring to my door for have done only few stupid testing and 
report on this mail list :-)


So,
Hermann give me instruction what I have to do for test the patch you 
sent me like:


1. what I have to type on my keyboard to test the file you sent (how I 
install that)?

2. what you need for my signed-off?

I told you I am not a developer... just a crazy sioux...

Before start the test I must clean some alias.

Ciao.

P.S.
I don't like give you my signed-off with my real name :-)  if ok I can 
do it with my nick name..

that's ok for you?

_

hermann pitton ha scritto:

Am Dienstag, den 04.12.2007, 01:23 +0100 schrieb hermann pitton:
  

Am Dienstag, den 04.12.2007, 00:23 +0100 schrieb hermann pitton:


[...]
  

Since it is more than six months back, that the card could have been
added, guess I'll try this next pointing at the state of affairs we have
here now.


Missing commas tend to spread ... ;)

diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Fri Nov 30
18:27:26 2007 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Dec 04
00:06:19 2007 +0100
@@ -3600,6 +3600,36 @@ struct saa7134_board saa7134_boards[] = 
 			.tv = 1,
  

Broken lines, not compatible editors and mail clients ...

I'm back to Mike Isely and will ignore all other stuff not officially
documented, ... until it works.




Hi,

OK, seems we have enough rules and documentation now.

Based on what I seem to know about the card and is prior in this thread
on the linux-dvb ML, the patch is correct. Some spaces, also between
braces, are introduced by checkpatch.pl. Please review.

Sioux, please test and check and Sign-off with me or take at least some
credit for your work on it.

Cheers,
Hermann


 - saa7134: add Twinhan Hybrid DTV-DVB 3056 PCI

 - Thanks go to Sioux for providing code and asking to fix the auto
   detection.

 - S-Video seems to be untested and likely a Composite over S-Video
   input is also there. The remote is not yet investigated.

Signed-off-by: Hermann Pitton <[EMAIL PROTECTED]>


diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Fri Nov 30 18:27:26 
2007 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Dec 04 00:06:19 
2007 +0100
@@ -3600,6 +3600,36 @@ struct saa7134_board saa7134_boards[] = 
 			.tv = 1,

}},
},
+   [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
+   .name   = "Twinhan Hybrid DTV-DVB 3056 PCI",
+   .audio_clock= 0x00187de7,
+   .tuner_type = TUNER_PHILIPS_TDA8290,
+   .radio_type = UNSET,
+   .tuner_addr = ADDR_UNSET,
+   .radio_addr = ADDR_UNSET,
+   .tuner_config   = 2,
+   .mpeg   = SAA7134_MPEG_DVB,
+   .gpiomask   = 0x020,
+   .inputs = {{
+   .name   = name_tv,
+   .vmux   = 1,
+   .amux   = TV,
+   .tv = 1,
+   }, {
+   .name   = name_comp1,
+   .vmux   = 3,
+   .amux   = LINE1,
+   }, {
+   .name   = name_svideo,
+   .vmux   = 8,
+   .amux   = LINE1,
+   } },
+   .radio = {
+   .name   = name_radio,
+   .amux   = TV,
+   .gpio   = 0x020,
+   },
+   },
 };
 
 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);

@@ -4369,7 +4399,13 @@ struct pci_device_id saa7134_pci_tbl[] =
.device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
.subvendor= 0x4e42,
.subdevice= 0x3502,
-   .driver_data  = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS
+   .driver_data  = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
+   }, {
+   .vendor   = PCI_VENDOR_ID_PHILIPS,
+   .device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
+   .subvendor= 0x1822, /*Twinhan Technology Co. Ltd*/
+   .subdevice= 0x0022,
+   .driver_data  = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
},{
/* --- boards without eeprom + subsystem ID --- */
.vendor   = PCI_VENDOR_ID_PHILIPS,
@@ -4782,6 +4818,7 @@ int saa7134_board_init2(struct saa7134_d
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
   

Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-08 Thread hermann pitton
Hi Sioux!

Am Samstag, den 08.12.2007, 22:16 +0100 schrieb sioux:
> All  :-)
> 
> Sioux is back  :-)
> 
> I see my email has generate a  big work...   
> Thanks guys 

Not much work to set up some lines and you had all ready so far.
It takes more time to look up the latest known status on the lists.

In this case, we had to start also to look for coding style issues
running seven years old code against a script and I was not sure if I
have to fix all what comes up over all places, when submitting some new
lines ...  (then I ask also, who took it previously?)

> I am happy... even if I hope none of you will get money for that
> becouse otherwise I want some cents for me too. :-)
> and also I hope no RIAA or SIAE or any yellow finace police in futures
> days will ring to my door for have done only few stupid testing and
> report on this mail list :-)

No money and totally legal.

> So,
> Hermann give me instruction what I have to do for test the patch you
> sent me like:

It's your patch suggestion with the fix for the auto detection you asked
for and taking Egidio's previous test report into account.

> 1. what I have to type on my keyboard to test the file you sent (how I
> install that)?

If you have a recent v4l-dvb snapshot from the master repository at
linuxtv.org, put it into it and name it, say, sioux.patch.

"patch --dry-run -p1 < sioux.patch"

If no error.

"patch -p1 < sioux.patch"
"make"
"make rmmod"
"make rmmod"
"make install"
"modprobe -v saa7134"

Check if the auto detection does work and test all you can, analog TV,
digital TV, radio and the other inputs. Report what you can't test and
what goes wrong and maybe needs further fixes.

> 2. what you need for my signed-off?

You have the link to read about it. No fake allowed.
Just a line "Signed-off-by: your_name "

> 
> I told you I am not a developer... just a crazy sioux...
> 
> Before start the test I must clean some alias.
> 
> Ciao.
> 
> P.S.
> I don't like give you my signed-off with my real name :-)  if ok I can
> do it with my nick name..
> that's ok for you?

I don't make the rules, not even Linus, some gambling in the markets
force us to take care to document our code. For just adding a new card
it might be a bit too much currently ...

See above and read. It is up to you. If you don't like it, you get at
least credit as Sioux.

Happy testing, that is the work now.

Thanks,
Hermann




___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-12 Thread sioux
 ff ff ff 
ff ff ff ff ff ff
[   43.409371] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   43.409385] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   43.409399] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   43.409413] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   43.409427] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   43.409441] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   43.409455] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   43.409469] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff 
ff ff ff ff ff ff
[   43.630878] tuner' 0-0042: chip found @ 0x84 (saa7133[0])
[   44.720628] saa7133[0]: registered device video0 [v4l2]
[   44.720863] saa7133[0]: registered device vbi0
[   44.721136] saa7133[0]: registered device radio0
[   44.929725] saa7133[0]/dvb: Huh? unknown DVB card?
[   44.929732] DVB: registering new adapter (saa7133[0])
[   44.954679] saa7134 ALSA driver for DMA sound loaded
[   44.954737] saa7133[0]/alsa: saa7133[0] at 0xed00 irq 21 
registered as card -2
[EMAIL PROTECTED]:~$

Mah! I don't know... I remember before (with tiger-s emulation) some 
infos about eprom firmare loads... now seems no more.

In any case the fact is Kaffeine DVB-T is OK all... it works.

So another time again for DVB-T here is my:
Signed-off: by sioux - [EMAIL PROTECTED]

Well, Hermann... what say! I met some strange things (for my 
understanding) in all the above process... but the facts are:

1. Analog TV showing with Kdetv is ok
2. Radio with kradio is ok
3. Digital TV (DVB-T) with kaffeine is ok

In coming days I will test analog capture from composite source and I 
will let you know.

Let me know your feedback.

Ciao.

Sioux.

___


Mail Delivery Service ha scritto:
>  - These recipients of your message have been processed by the mail server:
> [EMAIL PROTECTED]; Failed; 5.1.1 (bad destination mailbox address)
>
> Remote MTA mail.linuxtv.org: SMTP diagnostic: 550-rejected because 
> 212.52.84.41 is in a blacklist at safe.dnsbl.sorbs.net\r\n550 Currently 
> Sending Spam See: http://www.sorbs.net/lookup.shtml?212.52.84.41
>
> linux-dvb@linuxtv.org; Failed; 5.1.1 (bad destination mailbox address)
>
> Remote MTA mail.linuxtv.org: SMTP diagnostic: 550-rejected because 
> 212.52.84.41 is in a blacklist at safe.dnsbl.sorbs.net\r\n550 Currently 
> Sending Spam See: http://www.sorbs.net/lookup.shtml?212.52.84.41
>
>
>   
> 
>
> Reporting-MTA: dns; smtp-out1.libero.it
> Received-from-MTA: dns; mailrelay11.libero.it (192.168.32.128)
> Arrival-Date: Wed, 12 Dec 2007 22:19:28 +0100
>
> Final-Recipient: rfc822; [EMAIL PROTECTED]
> Action: Failed
> Status: 5.1.1 (bad destination mailbox address)
> Remote-MTA: dns; mail.linuxtv.org
> Diagnostic-Code: smtp; 550-rejected because 212.52.84.41 is in a blacklist at 
> safe.dnsbl.sorbs.net\r\n550 Currently Sending Spam See: 
> http://www.sorbs.net/lookup.shtml?212.52.84.41
>
> Final-Recipient: rfc822; linux-dvb@linuxtv.org
> Action: Failed
> Status: 5.1.1 (bad destination mailbox address)
> Remote-MTA: dns; mail.linuxtv.org
> Diagnostic-Code: smtp; 550-rejected because 212.52.84.41 is in a blacklist at 
> safe.dnsbl.sorbs.net\r\n550 Currently Sending Spam See: 
> http://www.sorbs.net/lookup.shtml?212.52.84.41
>   
> 
>
> Return-Path: <[EMAIL PROTECTED]>
> Received: from mailrelay11.libero.it (192.168.32.128) by smtp-out1.libero.it 
> (7.3.120)
> id 47137F850599C35A; Wed, 12 Dec 2007 22:19:28 +0100
> X-IronPort-Anti-Spam-Filtered: true
> X-IronPort-Anti-Spam-Result: AgAAAJveX0eXMhiS/2dsb2JhbAAIgmopjiQ
> Received: from adsl-ull-146-24.50-151.net24.it (HELO [192.168.1.200]) 
> ([151.50.24.146])
>   by outrelay-b11.libero.it with ESMTP; 12 Dec 2007 22:19:13 +0100
> Message-ID: <[EMAIL PROTECTED]>
> Date: Wed, 12 Dec 2007 22:16:32 +0100
> From: sioux <[EMAIL PROTECTED]>
> User-Agent: Thunderbird 2.0.0.6 (X11/20071022)
> MIME-Version: 1.0
> To: hermann pitton <[EMAIL PROTECTED]>
> CC: v4l-dvb maintainer list <[EMAIL PROTECTED]>, 
>  [EMAIL PROTECTED], linux-dvb@linuxtv.org, 
>  [EMAIL PROTECTED]
> Subject: Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056  PCI 
> [1822:0022]
>  as card=118 in cardlist.saa7134
> References: <[EMAIL PROTECTED]><[EMAIL PROTECTED]> <[EMAIL 
> PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL 
> PROTECTED]> <[EMAIL PROTECTED]>
> In-Reply-To: <[EMAIL PROTECTED]>
> Content-Type: multipart/alternative;
>  boundary="080308010504010903070800"
>
>   

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-12 Thread hermann pitton
Hi Sioux,

Am Mittwoch, den 12.12.2007, 22:16 +0100 schrieb sioux:
> Hi Hermann,
> 
> I have been a little busy... but I did the test as you said.
> 
> Before to procede with the test and install the patch I have cleared
> my sys as follow:
> 
> 1. Cleared all previous files under /src/usr/v4l-dvb following:
> sudo make clean
> sudo make distclean
> 
> 2. Cleared aliases with sudo gedit /etc/modprobe.d/aliases to the
> origin as:
> alias char-major-81 * videodev
> alias char-major-81-* saa7134
> 
> 3. Cleared the modprobe option with sudo gedit /etc/modprobe.d/options
> to the origin as:
> # Enable double-buffering so gstreamer et. al. work
> options quickcam compatible=2
> 
> # Default hostap to managed mode
> options hostap_pci iw_mode=2
> options hostap_cs iw_mode=2
> 
> 4. Cleared the previous saa7134 script under /etc/modprobe.d with sudo
> rm saa*
> 
> 5. Cleared all the dir V4l-dvb and v4l-app under /usr/src
> 
> 6. Rebooted the sys...
> 
> and this is the virgin dmesg of my Twinhan:
> 
> [EMAIL PROTECTED]:~$ dmesg | grep saa
> [   37.551793] saa7130/34: v4l2 driver version 0.2.14 loaded
> [   37.553908] saa7133[0]: found at :02:09.0, rev: 209, irq: 18,
> latency: 32, mmio: 0xed00
> [   37.553917] saa7133[0]: subsystem: 1822:0022, board:
> UNKNOWN/GENERIC [card=0,autodetected]
> [   37.553934] saa7133[0]: board init: gpio is 4
> [   37.751425] saa7133[0]: i2c eeprom 00: 22 18 22 00 54 20 1c 00 43
> 43 a9 1c 55 d2 b2 92
> [   37.751443] saa7133[0]: i2c eeprom 10: 00 01 fb 00 ff 20 ff ff ff
> ff ff ff ff ff ff ff
> [   37.751458] saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08
> ff 00 10 ff ff ff ff
> [   37.751472] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751486] saa7133[0]: i2c eeprom 40: ff 21 00 c2 84 10 03 32 15
> 50 ff ff ff ff ff ff
> [   37.751501] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751515] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751530] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751544] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751558] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751573] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751587] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751602] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751616] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751630] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.751645] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff
> ff ff ff ff ff ff ff
> [   37.753643] saa7133[0]: registered device video0 [v4l2]
> [   37.753880] saa7133[0]: registered device vbi0
> [   38.044982] saa7134 ALSA driver for DMA sound loaded
> [   38.045031] saa7133[0]/alsa: saa7133[0] at 0xed00 irq 18
> registered as card -2
> [EMAIL PROTECTED]:~$
> 
> Fine,
> soon after I tested the Hermann-Sioux collaboration patch as follow:
> 
> 1. Reinstalled virgin v4l-dvb and  dvb-app with HG clone
> 2. copied the patch in /usr/src/v4l-dvb and renamed it as sioux.patch
> 3. launched the command: sudo patch --dry-run -p1 < sioux.patch (see
> below the rsults)
> 
> [EMAIL PROTECTED]:/usr/src/v4l-dvb$ sudo patch --dry-run -p1 <
> sioux.patch
> patching file linux/drivers/media/video/saa7134/saa7134-cards.c
> Hunk #1 succeeded at 3601 (offset 1 line).
> Hunk #2 succeeded at 4400 (offset 1 line).
> Hunk #3 succeeded at 4820 (offset 2 lines).
> patching file linux/drivers/media/video/saa7134/saa7134-dvb.c
> Hunk #1 succeeded at 779 (offset 1 line).
> Hunk #2 succeeded at 1059 (offset 1 line).
> patching file linux/drivers/media/video/saa7134/saa7134.h
> [EMAIL PROTECTED]:/usr/src/v4l-dvb$ 
> 
> Ok, I diden't see errors... than I made this command: sudo patch -p1 <
> sioux.patch (see below the rsults)
> 
> [EMAIL PROTECTED]:/usr/src/v4l-dvb$ sudo patch -p1 < sioux.patch
> patching file linux/drivers/media/video/saa7134/saa7134-cards.c
> Hunk #1 succeeded at 3601 (offset 1 line).
> Hunk #2 succeeded at 4400 (offset 1 line).
> Hunk #3 succeeded at 4820 (offset 2 lines).
> patching file linux/drivers/media/video/saa7134/saa7134-dvb.c
> Hunk #1 succeeded at 779 (offset 1 line).
> Hunk #2 succeeded at 1059 (offset 1 line).
> patching file linux/drivers/media/video/saa7134/saa7134.h
> [EMAIL PROTECTED]:/usr/src/v4l-dvb$ 
> 
> 
> I made some check in saa7134.h, saa7134-cards.c, saa7134-dvb.c with
> gedit and searching for 3056... and this is what I sow:
> 
> saa7134.h
> starting row 250
> #define SAA7134_BOARD_TWINHAN_DTV_DVB_3056 118
> 
> _
> 
> saa7134-cards.c 
> starting row 3604
> 
> [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
> .name   = "Twinha

Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-16 Thread hermann pitton
Am Montag, den 17.12.2007, 00:34 +0100 schrieb sioux:
> Hi herman,
> sorry but I did not understand what you said.
> 
> My goal is, please, add to next v4l-dvb releases this board in order to 
> avoid me to manually set it up.

Hi Sioux,

there is nothing left than to confirm the s-video vmux.

If you don't have a device to test it, doesn't matter much, since it is
almost untested/unconfirmed on many other cards.

It will still be right with a probability of around 97 ;) %.

We should regenerate the patch, taking into account some minor recent
changes, to manifest what we have so far and give a hint for the
untested s-video stuff.

That should be all.

Cheers,
Hermann










___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-22 Thread sioux
Hi,
I am happy to see my patch is ok.
For audio stream you have to use sox... here is an example:

sox -r 32000 -w -t alsa hw:1,0 -t alsa hw:0,0

Ciao
Sioux.

__

Terry Barnaby ha scritto:
> Hi,
>
> I have tried the "sioux.patch" on my AzureWave AD-TP500 3056 PCI board.
> With the dvb-fe-tda10045.fw and dvb-fe-tda10046.fw firmware files installed
> in /lib/firmware for Fedora 8. It seems to work fine in DVB mode.
>
> I now want to try the FM Tuner but am at a loss on how to capture a stream
> from this. Eventually I want to stream the FM audio across the network.
> Any info on:
> 1. How can I stream the FM Tuners output using VLC or something else ?
> 2. I can see how to tune set the FM Tuners frequency, but how can I get a raw
>   data stream from the card using the V4L/DVB API ?
>
> Some initial pointers would be appreciated.
>
> Cheers
>
> Terry
>
> ___
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>
>   

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-22 Thread Terry Barnaby
Hi Sioux,

Thanks for the info, I now have FM radio.
I had to load the saa7134_alsa module as well to get the ALSA device,
my Fedora 8 system had not loaded it by default. I this a minor bug
in the module dependency lists ?

I presume it is not possible to listen to stream FM radio
while streaming DVB TV with this card ?

Cheers

Terry

sioux wrote:
> Hi,
> I am happy to see my patch is ok.
> For audio stream you have to use sox... here is an example:
> 
> sox -r 32000 -w -t alsa hw:1,0 -t alsa hw:0,0
> 
> Ciao
> Sioux.
> 
> __
> 
> Terry Barnaby ha scritto:
>> Hi,
>>
>> I have tried the "sioux.patch" on my AzureWave AD-TP500 3056 PCI board.
>> With the dvb-fe-tda10045.fw and dvb-fe-tda10046.fw firmware files 
>> installed
>> in /lib/firmware for Fedora 8. It seems to work fine in DVB mode.
>>
>> I now want to try the FM Tuner but am at a loss on how to capture a 
>> stream
>> from this. Eventually I want to stream the FM audio across the network.
>> Any info on:
>> 1. How can I stream the FM Tuners output using VLC or something else ?
>> 2. I can see how to tune set the FM Tuners frequency, but how can I 
>> get a raw
>> data stream from the card using the V4L/DVB API ?
>>
>> Some initial pointers would be appreciated.
>>
>> Cheers
>>
>> Terry
>>
>> ___
>> linux-dvb mailing list
>> linux-dvb@linuxtv.org
>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>>
>>   


___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-23 Thread sioux
Hi Terry,

Fedora 8... dependency list
I don't know, I use UBUNTU... it loads by default all the saa7134 modules

Listen FM while DVB-T is running, yes that's right!

Merry Christmas and happy new year to you and all members on this lists.
Sioux.

_
Terry Barnaby ha scritto:
> Hi Sioux,
>
> Thanks for the info, I now have FM radio.
> I had to load the saa7134_alsa module as well to get the ALSA device,
> my Fedora 8 system had not loaded it by default. I this a minor bug
> in the module dependency lists ?
>
> I presume it is not possible to listen to stream FM radio
> while streaming DVB TV with this card ?
>
> Cheers
>
> Terry
>
> sioux wrote:
>> Hi,
>> I am happy to see my patch is ok.
>> For audio stream you have to use sox... here is an example:
>>
>> sox -r 32000 -w -t alsa hw:1,0 -t alsa hw:0,0
>>
>> Ciao
>> Sioux.
>>
>> __
>>
>> Terry Barnaby ha scritto:
>>> Hi,
>>>
>>> I have tried the "sioux.patch" on my AzureWave AD-TP500 3056 PCI board.
>>> With the dvb-fe-tda10045.fw and dvb-fe-tda10046.fw firmware files 
>>> installed
>>> in /lib/firmware for Fedora 8. It seems to work fine in DVB mode.
>>>
>>> I now want to try the FM Tuner but am at a loss on how to capture a 
>>> stream
>>> from this. Eventually I want to stream the FM audio across the network.
>>> Any info on:
>>> 1. How can I stream the FM Tuners output using VLC or something else ?
>>> 2. I can see how to tune set the FM Tuners frequency, but how can I 
>>> get a raw
>>> data stream from the card using the V4L/DVB API ?
>>>
>>> Some initial pointers would be appreciated.
>>>
>>> Cheers
>>>
>>> Terry
>>>
>>> ___
>>> linux-dvb mailing list
>>> linux-dvb@linuxtv.org
>>> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>>>
>>>   
>
>

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-23 Thread hermann pitton
Hi,

can someone of you test the S-Video input? That is what is still
untested. 

Am Sonntag, den 23.12.2007, 13:20 +0100 schrieb sioux:
> Hi Terry,
> 
> Fedora 8... dependency list
> I don't know, I use UBUNTU... it loads by default all the saa7134 modules
> 
> Listen FM while DVB-T is running, yes that's right!

No. One single hybrid tuner at 0x60 behind the very same i2c bridge for
analog and digital.

> Merry Christmas and happy new year to you and all members on this lists.
> Sioux.

Yes!

Cheers,
Hermann

> _
> Terry Barnaby ha scritto:
> > Hi Sioux,
> >
> > Thanks for the info, I now have FM radio.
> > I had to load the saa7134_alsa module as well to get the ALSA device,
> > my Fedora 8 system had not loaded it by default. I this a minor bug
> > in the module dependency lists ?
> >
> > I presume it is not possible to listen to stream FM radio
> > while streaming DVB TV with this card ?
> >
> > Cheers
> >
> > Terry
> >
> > sioux wrote:
> >> Hi,
> >> I am happy to see my patch is ok.
> >> For audio stream you have to use sox... here is an example:
> >>
> >> sox -r 32000 -w -t alsa hw:1,0 -t alsa hw:0,0
> >>
> >> Ciao
> >> Sioux.
> >>
> >> __
> >>
> >> Terry Barnaby ha scritto:
> >>> Hi,
> >>>
> >>> I have tried the "sioux.patch" on my AzureWave AD-TP500 3056 PCI board.
> >>> With the dvb-fe-tda10045.fw and dvb-fe-tda10046.fw firmware files 
> >>> installed
> >>> in /lib/firmware for Fedora 8. It seems to work fine in DVB mode.
> >>>
> >>> I now want to try the FM Tuner but am at a loss on how to capture a 
> >>> stream
> >>> from this. Eventually I want to stream the FM audio across the network.
> >>> Any info on:
> >>> 1. How can I stream the FM Tuners output using VLC or something else ?
> >>> 2. I can see how to tune set the FM Tuners frequency, but how can I 
> >>> get a raw
> >>> data stream from the card using the V4L/DVB API ?
> >>>
> >>> Some initial pointers would be appreciated.
> >>>
> >>> Cheers
> >>>
> >>> Terry
> >>>



___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb