Skip to contentSkip to conversation

saa7134 (not very) new board 5168:0307

DISCUSSION [email protected] 2 participants 9 messages Nov 18, 2009 – Dec 24, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello list,

looking from saa7134.h, this board 5168:0307 is not included This cars is on some asus laptop and some medion laptop It was previously working with this settings (1) card=55 tuner=54 or (2) with tuner = 86
ok, so with this settings, nothing :

with card = 55 :

[  109.375445] Linux video capture interface: v2.00
[  109.410546] saa7130/34: v4l2 driver version 0.2.14 loaded
[  109.410606] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[  109.410614] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T DUO / MSI TV@nywhere Duo [card=55,insmod option]
[  109.410674] saa7133[0]: board init: gpio is 10000
[  109.410743] input: saa7134 IR (LifeView FlyDVB-T D as /devices/pci0000:00/0000:00:1e.0/0000:06:03.0/input/input9
[  109.587912] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[  109.587924] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[  109.587934] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[  109.587944] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587953] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[  109.587963] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587972] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587982] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587992] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588024] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588034] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588043] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588053] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588062] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588072] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588081] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.596023] saa7133[0]: i2c scan: found device @ 0x10  [???]
[  109.612379] saa7133[0]: i2c scan: found device @ 0x96  [???]
[  109.620016] saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
[  109.984237] tuner' 0-004b: chip found @ 0x96 (saa7133[0])
[  110.064028] tda829x 0-004b: setting tuner address to 61
[  110.144024] tda829x 0-004b: type set to tda8290+75
[  114.804413] saa7133[0]: registered device video0 [v4l2]
[  114.804463] saa7133[0]: registered device vbi0
[  114.804509] saa7133[0]: registered device radio0
[  114.891645] saa7134 ALSA driver for DMA sound loaded
[  114.891706] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[  115.705042] dvb_init() allocating 1 frontend
[  115.756244] DVB: registering new adapter (saa7133[0])
[  115.756254] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[  115.940033] tda1004x: setting up plls for 48MHz sampling clock
[  116.106914] tda1004x: found firmware revision ff -- invalid
[  116.106921] tda1004x: trying to boot from eeprom
[  116.572024] tda1004x: found firmware revision 23 -- ok
[  117.016161] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 3969.562904] saa7130/34: v4l2 driver version 0.2.14 loaded
[ 3969.562994] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[ 3969.563007] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T / Genius VideoWonder DVB-T [card=86,insmod option]
[ 3969.563091] saa7133[0]: board init: gpio is 10000
[ 3969.563219] input: saa7134 IR (LifeView FlyDVB-T / as /devices/pci0000:00/0000:00:1e.0/0000:06:03.0/input/input9
[ 3969.738045] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 3969.738069] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[ 3969.738090] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[ 3969.738111] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738132] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[ 3969.738152] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738173] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738194] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738214] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738235] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738256] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738276] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738297] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738318] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738338] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738359] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.748030] saa7133[0]: i2c scan: found device @ 0x10  [???]
[ 3969.789056] saa7133[0]: i2c scan: found device @ 0x96  [???]
[ 3969.796023] saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
[ 3969.920245] tuner' 0-004b: chip found @ 0x96 (saa7133[0])
[ 3970.004029] tda829x 0-004b: setting tuner address to 61
[ 3970.084367] tda829x 0-004b: type set to tda8290+75
[ 3971.680487] saa7133[0]: registered device video0 [v4l2]
[ 3971.680538] saa7133[0]: registered device vbi0
[ 3971.808176] saa7134 ALSA driver for DMA sound loaded
[ 3971.808213] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[ 3971.840321] dvb_init() allocating 1 frontend
[ 3971.880155] DVB: registering new adapter (saa7133[0])
[ 3971.880160] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[ 3971.952041] tda1004x: setting up plls for 48MHz sampling clock
[ 3974.200031] tda1004x: timeout waiting for DSP ready
[ 3974.240038] tda1004x: found firmware revision 0 -- invalid
[ 3974.240044] tda1004x: trying to boot from eeprom
[ 3976.572028] tda1004x: timeout waiting for DSP ready
[ 3976.612115] tda1004x: found firmware revision 0 -- invalid
[ 3976.612121] tda1004x: waiting for firmware upload...
[ 3976.612129] saa7134 0000:06:03.0: firmware: requesting dvb-fe-tda10046.fw
[ 3989.140029] tda1004x: found firmware revision 20 -- ok
[ 3989.428167] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4044.132025] tda1004x: setting up plls for 48MHz sampling clock
[ 4046.096030] tda1004x: found firmware revision 23 -- ok
[ 4046.368159] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4049.464171] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4061.800027] tda1004x: setting up plls for 48MHz sampling clock
[ 4063.764038] tda1004x: found firmware revision 23 -- ok
[ 4064.036167] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4064.172178] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4065.380178] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4066.612273] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4067.660166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4068.920158] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4070.136168] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4071.308169] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4072.540174] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4073.776186] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4074.684166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4075.916169] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4077.124179] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4078.164246] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4079.396166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4080.628168] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4081.780174] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4907.134088] saa7134 ALSA driver for DMA sound unloaded

ok

so i modified :
##################### saa7134.h

#define SAA7134_BOARD_FLYDVBTDUO_MEDION 176

##################### saa7134-dvb.c

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

       if (configure_tda827x_fe(dev, &tda827x_flydvbtduo_medion_config,
                    &tda827x_cfg_0) < 0)
           goto dettach_frontend;
       break;

and

static struct tda1004x_config tda827x_flydvbtduo_medion_config = {
.demod_address = 0x08,

   .invert        = 1,
   .invert_oclk   = 0,
   .xtal_freq     = TDA10046_XTAL_16M,
   .agc_config    = TDA10046_AGC_TDA827X,
   .gpio_config   = TDA10046_GP11_I,
   .if_freq       = TDA10046_FREQ_045,

.tuner_address = 0x61,
.request_firmware = philips_tda1004x_request_firmware

###################### saa7134-card.c

[SAA7134_BOARD_FLYDVBTDUO_MEDION] = {

       .name           = "LifeView FlyDVB-T DUO Medion",
       .audio_clock    = 0x00187de7,
       .tuner_type     = TUNER_PHILIPS_TDA8290,
       .radio_type     = UNSET,
       .tuner_addr    = ADDR_UNSET,
       .radio_addr    = ADDR_UNSET,
/*        .gpiomask    = 0x00200000,*/
       .mpeg           = SAA7134_MPEG_DVB,
       .inputs         = {{
           .name = name_tv,
           .vmux = 1,
           .amux = TV,
/*            .gpio = 0x200000,    */ /* GPIO21=High for TV input */
           .tv   = 1,
       },{
           .name = name_comp1,    /* Composite signal on S-Video input */
           .vmux = 0,
           .amux = LINE2,
       },{
           .name = name_comp2,    /* Composite input */
           .vmux = 3,
           .amux = LINE2,
       },{
           .name = name_svideo,    /* S-Video signal on S-Video input */
           .vmux = 8,
           .amux = LINE2,
       }},
       .radio = {
           .name = name_radio,
           .amux = TV,
           .gpio = 0x000000,    /* GPIO21=Low for FM radio antenna */
       },

},
};

and

       .vendor       = PCI_VENDOR_ID_PHILIPS,
       .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
       .subvendor    = 0x5168,        
       .subdevice    = 0x0307,        
       .driver_data  = SAA7134_BOARD_FLYDVBTDUO_MEDION,

With tuner_address = 0x61, no error on log but no dvb

[   12.498255] saa7130/34: v4l2 driver version 0.2.15 loaded
[   12.498429] saa7134 0000:06:03.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[   12.498435] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[   12.498443] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T DUO Medion [card=176,autodetected]
[   12.498516] saa7133[0]: board init: gpio is 10000
[   12.656021] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[   12.656033] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[   12.656042] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[   12.656052] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656062] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[   12.656071] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656081] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656090] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656100] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656109] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656119] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656129] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656138] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656148] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656157] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656167] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.817084] tuner 0-004b: chip found @ 0x96 (saa7133[0])
[   12.896023] tda829x 0-004b: setting tuner address to 61
[   12.968053] tda829x 0-004b: type set to tda8290+75
[   17.692221] saa7133[0]: registered device video0 [v4l2]
[   17.692323] saa7133[0]: registered device vbi0
[   17.692439] saa7133[0]: registered device radio0
[   17.710523] saa7134 ALSA driver for DMA sound loaded
[   17.710556] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[   17.784447] dvb_init() allocating 1 frontend
[   17.828176] DVB: registering new adapter (saa7133[0])
[   17.828182] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[   17.900022] tda1004x: setting up plls for 48MHz sampling clock
[   20.148018] tda1004x: timeout waiting for DSP ready
[   20.188232] tda1004x: found firmware revision 0 -- invalid
[   20.188236] tda1004x: trying to boot from eeprom
[   22.516008] tda1004x: timeout waiting for DSP ready
[   22.556185] tda1004x: found firmware revision 0 -- invalid
[   22.556189] tda1004x: waiting for firmware upload...
[   22.556194] saa7134 0000:06:03.0: firmware: requesting dvb-fe-tda10046.fw
[   35.064055] tda1004x: found firmware revision 20 -- ok
[  223.588029] tda1004x: setting up plls for 48MHz sampling clock
[  225.552027] tda1004x: found firmware revision 23 -- ok
[  235.160031] tda1004x: setting up plls for 48MHz sampling clock
[  237.124041] tda1004x: found firmware revision 23 -- ok

any ideas, please ?

(1) http://www.linuxtv.org/pipermail/linux-dvb/2008-April/025786.html
(2) http://archives.devshed.com/forums/linux-97/flyduodvb-t-dvbscan-problem-2041600.html

#1 lore raw

Hi Tom,

Am Mittwoch, den 18.11.2009, 14:06 +0100 schrieb [email protected]:

Quoted 249 lines

Hello list,

looking from saa7134.h, this board 5168:0307 is not included This cars is on some asus laptop and some medion laptop It was previously working with this settings (1) card=55 tuner=54 or (2) with tuner = 86
ok, so with this settings, nothing :

with card = 55 :

[  109.375445] Linux video capture interface: v2.00
[  109.410546] saa7130/34: v4l2 driver version 0.2.14 loaded
[  109.410606] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[  109.410614] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T DUO / MSI TV@nywhere Duo [card=55,insmod option]
[  109.410674] saa7133[0]: board init: gpio is 10000
[  109.410743] input: saa7134 IR (LifeView FlyDVB-T D as /devices/pci0000:00/0000:00:1e.0/0000:06:03.0/input/input9
[  109.587912] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[  109.587924] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[  109.587934] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[  109.587944] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587953] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[  109.587963] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587972] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587982] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587992] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588024] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588034] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588043] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588053] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588062] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588072] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588081] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.596023] saa7133[0]: i2c scan: found device @ 0x10  [???]
[  109.612379] saa7133[0]: i2c scan: found device @ 0x96  [???]
[  109.620016] saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
[  109.984237] tuner' 0-004b: chip found @ 0x96 (saa7133[0])
[  110.064028] tda829x 0-004b: setting tuner address to 61
[  110.144024] tda829x 0-004b: type set to tda8290+75
[  114.804413] saa7133[0]: registered device video0 [v4l2]
[  114.804463] saa7133[0]: registered device vbi0
[  114.804509] saa7133[0]: registered device radio0
[  114.891645] saa7134 ALSA driver for DMA sound loaded
[  114.891706] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[  115.705042] dvb_init() allocating 1 frontend
[  115.756244] DVB: registering new adapter (saa7133[0])
[  115.756254] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[  115.940033] tda1004x: setting up plls for 48MHz sampling clock
[  116.106914] tda1004x: found firmware revision ff -- invalid
[  116.106921] tda1004x: trying to boot from eeprom
[  116.572024] tda1004x: found firmware revision 23 -- ok
[  117.016161] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 3969.562904] saa7130/34: v4l2 driver version 0.2.14 loaded
[ 3969.562994] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[ 3969.563007] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T / Genius VideoWonder DVB-T [card=86,insmod option]
[ 3969.563091] saa7133[0]: board init: gpio is 10000
[ 3969.563219] input: saa7134 IR (LifeView FlyDVB-T / as /devices/pci0000:00/0000:00:1e.0/0000:06:03.0/input/input9
[ 3969.738045] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 3969.738069] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[ 3969.738090] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[ 3969.738111] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738132] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[ 3969.738152] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738173] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738194] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738214] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738235] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738256] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738276] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738297] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738318] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738338] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738359] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.748030] saa7133[0]: i2c scan: found device @ 0x10  [???]
[ 3969.789056] saa7133[0]: i2c scan: found device @ 0x96  [???]
[ 3969.796023] saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
[ 3969.920245] tuner' 0-004b: chip found @ 0x96 (saa7133[0])
[ 3970.004029] tda829x 0-004b: setting tuner address to 61
[ 3970.084367] tda829x 0-004b: type set to tda8290+75
[ 3971.680487] saa7133[0]: registered device video0 [v4l2]
[ 3971.680538] saa7133[0]: registered device vbi0
[ 3971.808176] saa7134 ALSA driver for DMA sound loaded
[ 3971.808213] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[ 3971.840321] dvb_init() allocating 1 frontend
[ 3971.880155] DVB: registering new adapter (saa7133[0])
[ 3971.880160] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[ 3971.952041] tda1004x: setting up plls for 48MHz sampling clock
[ 3974.200031] tda1004x: timeout waiting for DSP ready
[ 3974.240038] tda1004x: found firmware revision 0 -- invalid
[ 3974.240044] tda1004x: trying to boot from eeprom
[ 3976.572028] tda1004x: timeout waiting for DSP ready
[ 3976.612115] tda1004x: found firmware revision 0 -- invalid
[ 3976.612121] tda1004x: waiting for firmware upload...
[ 3976.612129] saa7134 0000:06:03.0: firmware: requesting dvb-fe-tda10046.fw
[ 3989.140029] tda1004x: found firmware revision 20 -- ok
[ 3989.428167] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4044.132025] tda1004x: setting up plls for 48MHz sampling clock
[ 4046.096030] tda1004x: found firmware revision 23 -- ok
[ 4046.368159] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4049.464171] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4061.800027] tda1004x: setting up plls for 48MHz sampling clock
[ 4063.764038] tda1004x: found firmware revision 23 -- ok
[ 4064.036167] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4064.172178] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4065.380178] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4066.612273] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4067.660166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4068.920158] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4070.136168] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4071.308169] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4072.540174] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4073.776186] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4074.684166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4075.916169] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4077.124179] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4078.164246] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4079.396166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4080.628168] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4081.780174] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4907.134088] saa7134 ALSA driver for DMA sound unloaded

ok

so i modified :
##################### saa7134.h

#define SAA7134_BOARD_FLYDVBTDUO_MEDION 176

##################### saa7134-dvb.c

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

        if (configure_tda827x_fe(dev, &tda827x_flydvbtduo_medion_config,
                     &tda827x_cfg_0) < 0)
            goto dettach_frontend;
        break;

and

static struct tda1004x_config tda827x_flydvbtduo_medion_config = {
    .demod_address = 0x08,
    .invert        = 1,
    .invert_oclk   = 0,
    .xtal_freq     = TDA10046_XTAL_16M,
    .agc_config    = TDA10046_AGC_TDA827X,
    .gpio_config   = TDA10046_GP11_I,
    .if_freq       = TDA10046_FREQ_045,
    .tuner_address = 0x61,
    .request_firmware = philips_tda1004x_request_firmware

###################### saa7134-card.c

[SAA7134_BOARD_FLYDVBTDUO_MEDION] = {
.name = "LifeView FlyDVB-T DUO Medion",
.audio_clock = 0x00187de7,
.tuner_type = TUNER_PHILIPS_TDA8290,
.radio_type = UNSET,
.tuner_addr = ADDR_UNSET,
.radio_addr = ADDR_UNSET,
/* .gpiomask = 0x00200000,*/

        .mpeg           = SAA7134_MPEG_DVB,
        .inputs         = {{
            .name = name_tv,
            .vmux = 1,
            .amux = TV,
/*            .gpio = 0x200000,    */ /* GPIO21=High for TV input */
            .tv   = 1,
        },{
            .name = name_comp1,    /* Composite signal on S-Video input */
            .vmux = 0,
            .amux = LINE2,
        },{
            .name = name_comp2,    /* Composite input */
            .vmux = 3,
            .amux = LINE2,
        },{
            .name = name_svideo,    /* S-Video signal on S-Video input */
            .vmux = 8,
            .amux = LINE2,
        }},
        .radio = {
            .name = name_radio,
            .amux = TV,
            .gpio = 0x000000,    /* GPIO21=Low for FM radio antenna */
        },
    },
};

and

        .vendor       = PCI_VENDOR_ID_PHILIPS,
        .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
        .subvendor    = 0x5168,        
        .subdevice    = 0x0307,        
        .driver_data  = SAA7134_BOARD_FLYDVBTDUO_MEDION,

With tuner_address = 0x61, no error on log but no dvb

[   12.498255] saa7130/34: v4l2 driver version 0.2.15 loaded
[   12.498429] saa7134 0000:06:03.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[   12.498435] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[   12.498443] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T DUO Medion [card=176,autodetected]
[   12.498516] saa7133[0]: board init: gpio is 10000
[   12.656021] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[   12.656033] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[   12.656042] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[   12.656052] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656062] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[   12.656071] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656081] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656090] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656100] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656109] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656119] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656129] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656138] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656148] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656157] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656167] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.817084] tuner 0-004b: chip found @ 0x96 (saa7133[0])
[   12.896023] tda829x 0-004b: setting tuner address to 61
[   12.968053] tda829x 0-004b: type set to tda8290+75
[   17.692221] saa7133[0]: registered device video0 [v4l2]
[   17.692323] saa7133[0]: registered device vbi0
[   17.692439] saa7133[0]: registered device radio0
[   17.710523] saa7134 ALSA driver for DMA sound loaded
[   17.710556] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[   17.784447] dvb_init() allocating 1 frontend
[   17.828176] DVB: registering new adapter (saa7133[0])
[   17.828182] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[   17.900022] tda1004x: setting up plls for 48MHz sampling clock
[   20.148018] tda1004x: timeout waiting for DSP ready
[   20.188232] tda1004x: found firmware revision 0 -- invalid
[   20.188236] tda1004x: trying to boot from eeprom
[   22.516008] tda1004x: timeout waiting for DSP ready
[   22.556185] tda1004x: found firmware revision 0 -- invalid
[   22.556189] tda1004x: waiting for firmware upload...
[   22.556194] saa7134 0000:06:03.0: firmware: requesting dvb-fe-tda10046.fw
[   35.064055] tda1004x: found firmware revision 20 -- ok
[  223.588029] tda1004x: setting up plls for 48MHz sampling clock
[  225.552027] tda1004x: found firmware revision 23 -- ok
[  235.160031] tda1004x: setting up plls for 48MHz sampling clock
[  237.124041] tda1004x: found firmware revision 23 -- ok
Quoted 5 lines

any ideas, please ?

(1) http://www.linuxtv.org/pipermail/linux-dvb/2008-April/025786.html
(2)
http://archives.devshed.com/forums/linux-97/flyduodvb-t-dvbscan-problem-2041600.html

just some note, helping further or not.

IIRC, nobody ever claimed to have DVB-T working on it.

It is listed in the m$ drivers as a DUO card, for LifeView at this time it means for sure it has two tuners, but we don't have a trace to a second tuner yet.

The other old DUO cards, PCI and cardbus, do find it.
A tda8274 at 0x60 for DVB-T and a first generation tda8275 for analog TV.

In the current situation, I do suggest to physically inspect that Mini PCI for the presence of two tuners and of course everything else you can gather. Two eeproms? Firmware load looks inconsistent too and you should try to provide a later revision, since it finally loads from host/file.

If you find, and you should, two different tuners physically, then this is at least some ground to start further thinking about RF input switching, i2c gates and such.

Cheers,
Hermann

#2 lore raw
Quoted 276 lines · hermann pitton

Hi Tom,

Am Mittwoch, den 18.11.2009, 14:06 +0100 schrieb [email protected]:

Quoted 249 lines

Hello list,

looking from saa7134.h, this board 5168:0307 is not included This cars is on some asus laptop and some medion laptop It was previously working with this settings (1) card=55 tuner=54 or (2) with tuner = 86
ok, so with this settings, nothing :

with card = 55 :

[  109.375445] Linux video capture interface: v2.00
[  109.410546] saa7130/34: v4l2 driver version 0.2.14 loaded
[  109.410606] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[  109.410614] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T DUO / MSI TV@nywhere Duo [card=55,insmod option]
[  109.410674] saa7133[0]: board init: gpio is 10000
[  109.410743] input: saa7134 IR (LifeView FlyDVB-T D as /devices/pci0000:00/0000:00:1e.0/0000:06:03.0/input/input9
[  109.587912] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[  109.587924] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[  109.587934] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[  109.587944] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587953] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[  109.587963] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587972] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587982] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587992] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588024] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588034] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588043] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588053] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588062] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588072] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588081] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.596023] saa7133[0]: i2c scan: found device @ 0x10  [???]
[  109.612379] saa7133[0]: i2c scan: found device @ 0x96  [???]
[  109.620016] saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
[  109.984237] tuner' 0-004b: chip found @ 0x96 (saa7133[0])
[  110.064028] tda829x 0-004b: setting tuner address to 61
[  110.144024] tda829x 0-004b: type set to tda8290+75
[  114.804413] saa7133[0]: registered device video0 [v4l2]
[  114.804463] saa7133[0]: registered device vbi0
[  114.804509] saa7133[0]: registered device radio0
[  114.891645] saa7134 ALSA driver for DMA sound loaded
[  114.891706] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[  115.705042] dvb_init() allocating 1 frontend
[  115.756244] DVB: registering new adapter (saa7133[0])
[  115.756254] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[  115.940033] tda1004x: setting up plls for 48MHz sampling clock
[  116.106914] tda1004x: found firmware revision ff -- invalid
[  116.106921] tda1004x: trying to boot from eeprom
[  116.572024] tda1004x: found firmware revision 23 -- ok
[  117.016161] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 3969.562904] saa7130/34: v4l2 driver version 0.2.14 loaded
[ 3969.562994] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[ 3969.563007] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T / Genius VideoWonder DVB-T [card=86,insmod option]
[ 3969.563091] saa7133[0]: board init: gpio is 10000
[ 3969.563219] input: saa7134 IR (LifeView FlyDVB-T / as /devices/pci0000:00/0000:00:1e.0/0000:06:03.0/input/input9
[ 3969.738045] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 3969.738069] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[ 3969.738090] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[ 3969.738111] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738132] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[ 3969.738152] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738173] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738194] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738214] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738235] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738256] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738276] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738297] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738318] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738338] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738359] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.748030] saa7133[0]: i2c scan: found device @ 0x10  [???]
[ 3969.789056] saa7133[0]: i2c scan: found device @ 0x96  [???]
[ 3969.796023] saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
[ 3969.920245] tuner' 0-004b: chip found @ 0x96 (saa7133[0])
[ 3970.004029] tda829x 0-004b: setting tuner address to 61
[ 3970.084367] tda829x 0-004b: type set to tda8290+75
[ 3971.680487] saa7133[0]: registered device video0 [v4l2]
[ 3971.680538] saa7133[0]: registered device vbi0
[ 3971.808176] saa7134 ALSA driver for DMA sound loaded
[ 3971.808213] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[ 3971.840321] dvb_init() allocating 1 frontend
[ 3971.880155] DVB: registering new adapter (saa7133[0])
[ 3971.880160] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[ 3971.952041] tda1004x: setting up plls for 48MHz sampling clock
[ 3974.200031] tda1004x: timeout waiting for DSP ready
[ 3974.240038] tda1004x: found firmware revision 0 -- invalid
[ 3974.240044] tda1004x: trying to boot from eeprom
[ 3976.572028] tda1004x: timeout waiting for DSP ready
[ 3976.612115] tda1004x: found firmware revision 0 -- invalid
[ 3976.612121] tda1004x: waiting for firmware upload...
[ 3976.612129] saa7134 0000:06:03.0: firmware: requesting dvb-fe-tda10046.fw
[ 3989.140029] tda1004x: found firmware revision 20 -- ok
[ 3989.428167] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4044.132025] tda1004x: setting up plls for 48MHz sampling clock
[ 4046.096030] tda1004x: found firmware revision 23 -- ok
[ 4046.368159] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4049.464171] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4061.800027] tda1004x: setting up plls for 48MHz sampling clock
[ 4063.764038] tda1004x: found firmware revision 23 -- ok
[ 4064.036167] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4064.172178] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4065.380178] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4066.612273] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4067.660166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4068.920158] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4070.136168] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4071.308169] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4072.540174] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4073.776186] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4074.684166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4075.916169] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4077.124179] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4078.164246] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4079.396166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4080.628168] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4081.780174] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4907.134088] saa7134 ALSA driver for DMA sound unloaded

ok

so i modified :
##################### saa7134.h

#define SAA7134_BOARD_FLYDVBTDUO_MEDION 176

##################### saa7134-dvb.c

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

        if (configure_tda827x_fe(dev, &tda827x_flydvbtduo_medion_config,
                     &tda827x_cfg_0) < 0)
            goto dettach_frontend;
        break;

and

static struct tda1004x_config tda827x_flydvbtduo_medion_config = {
    .demod_address = 0x08,
    .invert        = 1,
    .invert_oclk   = 0,
    .xtal_freq     = TDA10046_XTAL_16M,
    .agc_config    = TDA10046_AGC_TDA827X,
    .gpio_config   = TDA10046_GP11_I,
    .if_freq       = TDA10046_FREQ_045,
    .tuner_address = 0x61,
    .request_firmware = philips_tda1004x_request_firmware

###################### saa7134-card.c

[SAA7134_BOARD_FLYDVBTDUO_MEDION] = {
.name = "LifeView FlyDVB-T DUO Medion",
.audio_clock = 0x00187de7,
.tuner_type = TUNER_PHILIPS_TDA8290,
.radio_type = UNSET,
.tuner_addr = ADDR_UNSET,
.radio_addr = ADDR_UNSET,
/* .gpiomask = 0x00200000,*/

        .mpeg           = SAA7134_MPEG_DVB,
        .inputs         = {{
            .name = name_tv,
            .vmux = 1,
            .amux = TV,
/*            .gpio = 0x200000,    */ /* GPIO21=High for TV input */
            .tv   = 1,
        },{
            .name = name_comp1,    /* Composite signal on S-Video input */
            .vmux = 0,
            .amux = LINE2,
        },{
            .name = name_comp2,    /* Composite input */
            .vmux = 3,
            .amux = LINE2,
        },{
            .name = name_svideo,    /* S-Video signal on S-Video input */
            .vmux = 8,
            .amux = LINE2,
        }},
        .radio = {
            .name = name_radio,
            .amux = TV,
            .gpio = 0x000000,    /* GPIO21=Low for FM radio antenna */
        },
    },
};

and

        .vendor       = PCI_VENDOR_ID_PHILIPS,
        .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
        .subvendor    = 0x5168,        
        .subdevice    = 0x0307,        
        .driver_data  = SAA7134_BOARD_FLYDVBTDUO_MEDION,

With tuner_address = 0x61, no error on log but no dvb

[   12.498255] saa7130/34: v4l2 driver version 0.2.15 loaded
[   12.498429] saa7134 0000:06:03.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[   12.498435] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[   12.498443] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T DUO Medion [card=176,autodetected]
[   12.498516] saa7133[0]: board init: gpio is 10000
[   12.656021] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[   12.656033] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[   12.656042] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[   12.656052] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656062] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[   12.656071] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656081] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656090] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656100] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656109] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656119] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656129] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656138] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656148] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656157] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656167] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.817084] tuner 0-004b: chip found @ 0x96 (saa7133[0])
[   12.896023] tda829x 0-004b: setting tuner address to 61
[   12.968053] tda829x 0-004b: type set to tda8290+75
[   17.692221] saa7133[0]: registered device video0 [v4l2]
[   17.692323] saa7133[0]: registered device vbi0
[   17.692439] saa7133[0]: registered device radio0
[   17.710523] saa7134 ALSA driver for DMA sound loaded
[   17.710556] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[   17.784447] dvb_init() allocating 1 frontend
[   17.828176] DVB: registering new adapter (saa7133[0])
[   17.828182] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[   17.900022] tda1004x: setting up plls for 48MHz sampling clock
[   20.148018] tda1004x: timeout waiting for DSP ready
[   20.188232] tda1004x: found firmware revision 0 -- invalid
[   20.188236] tda1004x: trying to boot from eeprom
[   22.516008] tda1004x: timeout waiting for DSP ready
[   22.556185] tda1004x: found firmware revision 0 -- invalid
[   22.556189] tda1004x: waiting for firmware upload...
[   22.556194] saa7134 0000:06:03.0: firmware: requesting dvb-fe-tda10046.fw
[   35.064055] tda1004x: found firmware revision 20 -- ok
[  223.588029] tda1004x: setting up plls for 48MHz sampling clock
[  225.552027] tda1004x: found firmware revision 23 -- ok
[  235.160031] tda1004x: setting up plls for 48MHz sampling clock
[  237.124041] tda1004x: found firmware revision 23 -- ok
Quoted 5 lines

any ideas, please ?

(1) http://www.linuxtv.org/pipermail/linux-dvb/2008-April/025786.html
(2) http://archives.devshed.com/forums/linux-97/flyduodvb-t-dvbscan-problem-2041600.html

just some note, helping further or not.

IIRC, nobody ever claimed to have DVB-T working on it.

It is listed in the m$ drivers as a DUO card, for LifeView at this time it means for sure it has two tuners, but we don't have a trace to a second tuner yet.

The other old DUO cards, PCI and cardbus, do find it.
A tda8274 at 0x60 for DVB-T and a first generation tda8275 for analog TV.

In the current situation, I do suggest to physically inspect that Mini PCI for the presence of two tuners and of course everything else you can gather. Two eeproms? Firmware load looks inconsistent too and you should try to provide a later revision, since it finally loads from host/file.

Quoted 10 lines

If you find, and you should, two different tuners physically, then this is at least some ground to start further thinking about RF input switching, i2c gates and such.

Cheers,
Hermann

Hi Hermann,
thanks for informations ...
This card is not mine so physically inspect it is not possible and the owner is at 700 kms from me... However, it seems there is only one hybrid tuner. The card is referenced as
AR307 rev N (seen on photos) and i found a link about this card :
http://www.pchub.com/uph/model/0--13652-1/LR307-parts.html

searching on LR307, i found a previous mail where you talked about a LR307- rev q
http://osdir.com/ml/linux-media/2009-09/msg00744.html

I modified a little the patch found in this mail (subvendor) and i have partial result :
- dvb tune work partially, not all channels are found
- dvb channel in kaffeine works (image and sound) for few seconds and then nothing
- nothing for analogic stations

with others cards like 81,104,105 and 109, same results, kaffeine works and then hangs

What do you want to help this card to be supported ?

Thanks in advance

Cheers,

Thomas

#3 lore raw

Am Samstag, den 28.11.2009, 11:55 +0100 schrieb [email protected]:

Quoted 278 lines
Quoted 277 lines · hermann pitton

Hi Tom,

Am Mittwoch, den 18.11.2009, 14:06 +0100 schrieb [email protected]:

Quoted 249 lines

Hello list,

looking from saa7134.h, this board 5168:0307 is not included This cars is on some asus laptop and some medion laptop It was previously working with this settings (1) card=55 tuner=54 or (2) with tuner = 86
ok, so with this settings, nothing :

with card = 55 :

[  109.375445] Linux video capture interface: v2.00
[  109.410546] saa7130/34: v4l2 driver version 0.2.14 loaded
[  109.410606] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[  109.410614] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T DUO / MSI TV@nywhere Duo [card=55,insmod option]
[  109.410674] saa7133[0]: board init: gpio is 10000
[  109.410743] input: saa7134 IR (LifeView FlyDVB-T D as /devices/pci0000:00/0000:00:1e.0/0000:06:03.0/input/input9
[  109.587912] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[  109.587924] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[  109.587934] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[  109.587944] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587953] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[  109.587963] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587972] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587982] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.587992] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588024] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588034] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588043] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588053] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588062] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588072] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.588081] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[  109.596023] saa7133[0]: i2c scan: found device @ 0x10  [???]
[  109.612379] saa7133[0]: i2c scan: found device @ 0x96  [???]
[  109.620016] saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
[  109.984237] tuner' 0-004b: chip found @ 0x96 (saa7133[0])
[  110.064028] tda829x 0-004b: setting tuner address to 61
[  110.144024] tda829x 0-004b: type set to tda8290+75
[  114.804413] saa7133[0]: registered device video0 [v4l2]
[  114.804463] saa7133[0]: registered device vbi0
[  114.804509] saa7133[0]: registered device radio0
[  114.891645] saa7134 ALSA driver for DMA sound loaded
[  114.891706] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[  115.705042] dvb_init() allocating 1 frontend
[  115.756244] DVB: registering new adapter (saa7133[0])
[  115.756254] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[  115.940033] tda1004x: setting up plls for 48MHz sampling clock
[  116.106914] tda1004x: found firmware revision ff -- invalid
[  116.106921] tda1004x: trying to boot from eeprom
[  116.572024] tda1004x: found firmware revision 23 -- ok
[  117.016161] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 3969.562904] saa7130/34: v4l2 driver version 0.2.14 loaded
[ 3969.562994] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[ 3969.563007] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T / Genius VideoWonder DVB-T [card=86,insmod option]
[ 3969.563091] saa7133[0]: board init: gpio is 10000
[ 3969.563219] input: saa7134 IR (LifeView FlyDVB-T / as /devices/pci0000:00/0000:00:1e.0/0000:06:03.0/input/input9
[ 3969.738045] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[ 3969.738069] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[ 3969.738090] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[ 3969.738111] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738132] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[ 3969.738152] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738173] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738194] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738214] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738235] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738256] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738276] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738297] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738318] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738338] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.738359] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[ 3969.748030] saa7133[0]: i2c scan: found device @ 0x10  [???]
[ 3969.789056] saa7133[0]: i2c scan: found device @ 0x96  [???]
[ 3969.796023] saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
[ 3969.920245] tuner' 0-004b: chip found @ 0x96 (saa7133[0])
[ 3970.004029] tda829x 0-004b: setting tuner address to 61
[ 3970.084367] tda829x 0-004b: type set to tda8290+75
[ 3971.680487] saa7133[0]: registered device video0 [v4l2]
[ 3971.680538] saa7133[0]: registered device vbi0
[ 3971.808176] saa7134 ALSA driver for DMA sound loaded
[ 3971.808213] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[ 3971.840321] dvb_init() allocating 1 frontend
[ 3971.880155] DVB: registering new adapter (saa7133[0])
[ 3971.880160] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[ 3971.952041] tda1004x: setting up plls for 48MHz sampling clock
[ 3974.200031] tda1004x: timeout waiting for DSP ready
[ 3974.240038] tda1004x: found firmware revision 0 -- invalid
[ 3974.240044] tda1004x: trying to boot from eeprom
[ 3976.572028] tda1004x: timeout waiting for DSP ready
[ 3976.612115] tda1004x: found firmware revision 0 -- invalid
[ 3976.612121] tda1004x: waiting for firmware upload...
[ 3976.612129] saa7134 0000:06:03.0: firmware: requesting dvb-fe-tda10046.fw
[ 3989.140029] tda1004x: found firmware revision 20 -- ok
[ 3989.428167] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4044.132025] tda1004x: setting up plls for 48MHz sampling clock
[ 4046.096030] tda1004x: found firmware revision 23 -- ok
[ 4046.368159] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4049.464171] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4061.800027] tda1004x: setting up plls for 48MHz sampling clock
[ 4063.764038] tda1004x: found firmware revision 23 -- ok
[ 4064.036167] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4064.172178] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4065.380178] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4066.612273] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4067.660166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4068.920158] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4070.136168] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4071.308169] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4072.540174] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4073.776186] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4074.684166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4075.916169] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4077.124179] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4078.164246] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4079.396166] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4080.628168] tda827xo_set_params: could not write to tuner at addr: 0xc0
[ 4081.780174] tda827x_probe_version: could not read from tuner at addr: 0xc0
[ 4907.134088] saa7134 ALSA driver for DMA sound unloaded

ok

so i modified :
##################### saa7134.h

#define SAA7134_BOARD_FLYDVBTDUO_MEDION 176

##################### saa7134-dvb.c

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

        if (configure_tda827x_fe(dev, &tda827x_flydvbtduo_medion_config,
                     &tda827x_cfg_0) < 0)
            goto dettach_frontend;
        break;

and

static struct tda1004x_config tda827x_flydvbtduo_medion_config = {
    .demod_address = 0x08,
    .invert        = 1,
    .invert_oclk   = 0,
    .xtal_freq     = TDA10046_XTAL_16M,
    .agc_config    = TDA10046_AGC_TDA827X,
    .gpio_config   = TDA10046_GP11_I,
    .if_freq       = TDA10046_FREQ_045,
    .tuner_address = 0x61,
    .request_firmware = philips_tda1004x_request_firmware

###################### saa7134-card.c

[SAA7134_BOARD_FLYDVBTDUO_MEDION] = {
.name = "LifeView FlyDVB-T DUO Medion",
.audio_clock = 0x00187de7,
.tuner_type = TUNER_PHILIPS_TDA8290,
.radio_type = UNSET,
.tuner_addr = ADDR_UNSET,
.radio_addr = ADDR_UNSET,
/* .gpiomask = 0x00200000,*/

        .mpeg           = SAA7134_MPEG_DVB,
        .inputs         = {{
            .name = name_tv,
            .vmux = 1,
            .amux = TV,
/*            .gpio = 0x200000,    */ /* GPIO21=High for TV input */
            .tv   = 1,
        },{
            .name = name_comp1,    /* Composite signal on S-Video input */
            .vmux = 0,
            .amux = LINE2,
        },{
            .name = name_comp2,    /* Composite input */
            .vmux = 3,
            .amux = LINE2,
        },{
            .name = name_svideo,    /* S-Video signal on S-Video input */
            .vmux = 8,
            .amux = LINE2,
        }},
        .radio = {
            .name = name_radio,
            .amux = TV,
            .gpio = 0x000000,    /* GPIO21=Low for FM radio antenna */
        },
    },
};

and

        .vendor       = PCI_VENDOR_ID_PHILIPS,
        .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
        .subvendor    = 0x5168,        
        .subdevice    = 0x0307,        
        .driver_data  = SAA7134_BOARD_FLYDVBTDUO_MEDION,

With tuner_address = 0x61, no error on log but no dvb

[   12.498255] saa7130/34: v4l2 driver version 0.2.15 loaded
[   12.498429] saa7134 0000:06:03.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[   12.498435] saa7133[0]: found at 0000:06:03.0, rev: 208, irq: 19, latency: 181, mmio: 0xb4007800
[   12.498443] saa7133[0]: subsystem: 5168:0307, board: LifeView FlyDVB-T DUO Medion [card=176,autodetected]
[   12.498516] saa7133[0]: board init: gpio is 10000
[   12.656021] saa7133[0]: i2c eeprom 00: 68 51 07 03 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
[   12.656033] saa7133[0]: i2c eeprom 10: 00 00 62 08 ff 20 ff ff ff ff ff ff ff ff ff ff
[   12.656042] saa7133[0]: i2c eeprom 20: 01 40 01 03 03 01 01 03 08 ff 01 e7 ff ff ff ff
[   12.656052] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656062] saa7133[0]: i2c eeprom 40: ff 24 00 c2 96 10 05 01 01 16 22 15 ff ff ff ff
[   12.656071] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656081] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656090] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656100] saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656109] saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656119] saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656129] saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656138] saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656148] saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656157] saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.656167] saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[   12.817084] tuner 0-004b: chip found @ 0x96 (saa7133[0])
[   12.896023] tda829x 0-004b: setting tuner address to 61
[   12.968053] tda829x 0-004b: type set to tda8290+75
[   17.692221] saa7133[0]: registered device video0 [v4l2]
[   17.692323] saa7133[0]: registered device vbi0
[   17.692439] saa7133[0]: registered device radio0
[   17.710523] saa7134 ALSA driver for DMA sound loaded
[   17.710556] saa7133[0]/alsa: saa7133[0] at 0xb4007800 irq 19 registered as card -2
[   17.784447] dvb_init() allocating 1 frontend
[   17.828176] DVB: registering new adapter (saa7133[0])
[   17.828182] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)...
[   17.900022] tda1004x: setting up plls for 48MHz sampling clock
[   20.148018] tda1004x: timeout waiting for DSP ready
[   20.188232] tda1004x: found firmware revision 0 -- invalid
[   20.188236] tda1004x: trying to boot from eeprom
[   22.516008] tda1004x: timeout waiting for DSP ready
[   22.556185] tda1004x: found firmware revision 0 -- invalid
[   22.556189] tda1004x: waiting for firmware upload...
[   22.556194] saa7134 0000:06:03.0: firmware: requesting dvb-fe-tda10046.fw
[   35.064055] tda1004x: found firmware revision 20 -- ok
[  223.588029] tda1004x: setting up plls for 48MHz sampling clock
[  225.552027] tda1004x: found firmware revision 23 -- ok
[  235.160031] tda1004x: setting up plls for 48MHz sampling clock
[  237.124041] tda1004x: found firmware revision 23 -- ok
Quoted 6 lines

any ideas, please ?

(1) http://www.linuxtv.org/pipermail/linux-dvb/2008-April/025786.html
(2)
http://archives.devshed.com/forums/linux-97/flyduodvb-t-dvbscan-problem-2041600.html

just some note, helping further or not.

IIRC, nobody ever claimed to have DVB-T working on it.

It is listed in the m$ drivers as a DUO card, for LifeView at this time it means for sure it has two tuners, but we don't have a trace to a second tuner yet.

The other old DUO cards, PCI and cardbus, do find it.
A tda8274 at 0x60 for DVB-T and a first generation tda8275 for analog TV.

In the current situation, I do suggest to physically inspect that Mini PCI for the presence of two tuners and of course everything else you can gather. Two eeproms? Firmware load looks inconsistent too and you should try to provide a later revision, since it finally loads from host/file.

Quoted 8 lines
Quoted 8 lines

If you find, and you should, two different tuners physically, then this is at least some ground to start further thinking about RF input switching, i2c gates and such.

Cheers,
Hermann

Hi Thomas,

Quoted 7 lines

Hi Hermann,
thanks for informations ...
This card is not mine so physically inspect it is not possible and the owner is at 700 kms from me...
However, it seems there is only one hybrid tuner. The card is referenced as AR307 rev N (seen on photos) and i found a link about this card :
http://www.pchub.com/uph/model/0--13652-1/LR307-parts.html

yes, if another one is not at the backisde, under the huge shielding of the frontside is only one.

Quoted 3 lines

searching on LR307, i found a previous mail where you talked about a LR307- rev q
http://osdir.com/ml/linux-media/2009-09/msg00744.html

The bttv-gallery.de has a LR307 Revision Q too. It has an extra sticker for some LNA version on it. Also gpio init and eeprom data differ.

Quoted 5 lines

I modified a little the patch found in this mail (subvendor) and i have partial result :
- dvb tune work partially, not all channels are found
- dvb channel in kaffeine works (image and sound) for few seconds and then nothing

Then at least some little progress with antenna_config = 2 and gpio 21 high for RF routing for DVB it seems.

Quoted 1 line

- nothing for analogic stations

That's a little strange somehow, since if only one RF connector and no radio, RF for analog should come through as well, because gpio 21 was high in that test patch for analog TV too.

Maybe some unknown LNA circuitry.

Quoted 3 lines

with others cards like 81,104,105 and 109, same results, kaffeine works and then hangs

With the HVR1110 you have a card with LNA config = 1 there, known issues with that on some Pinnacle 310i, a older setup did exist.

Quoted 1 line

What do you want to help this card to be supported ?

Hard to say, but since the hvr1110 does not have the antenna_switch = 2 and the RF input routing, you also did not really test &tda827x_cfg_1 yet.

Might be worth a try.

Cheers,
Hermann

Quoted 7 lines

Thanks in advance

Cheers,

Thomas

#4 lore raw
Quoted 56 lines · hermann pitton
Quoted 2 lines
Quoted 2 lines

Hi Thomas,

Quoted 7 lines

Hi Hermann,
thanks for informations ...
This card is not mine so physically inspect it is not possible and the owner is at 700 kms from me... However, it seems there is only one hybrid tuner. The card is referenced as
AR307 rev N (seen on photos) and i found a link about this card :
http://www.pchub.com/uph/model/0--13652-1/LR307-parts.html

yes, if another one is not at the backisde, under the huge shielding of the frontside is only one.

Quoted 3 lines

searching on LR307, i found a previous mail where you talked about a LR307- rev q
http://osdir.com/ml/linux-media/2009-09/msg00744.html

The bttv-gallery.de has a LR307 Revision Q too. It has an extra sticker for some LNA version on it. Also gpio init and eeprom data differ.

Quoted 5 lines

I modified a little the patch found in this mail (subvendor) and i have partial result :
- dvb tune work partially, not all channels are found
- dvb channel in kaffeine works (image and sound) for few seconds and then nothing

Then at least some little progress with antenna_config = 2 and gpio 21 high for RF routing for DVB it seems.

Quoted 2 lines

- nothing for analogic stations

That's a little strange somehow, since if only one RF connector and no radio, RF for analog should come through as well, because gpio 21 was high in that test patch for analog TV too.

Maybe some unknown LNA circuitry.

Quoted 2 lines

with others cards like 81,104,105 and 109, same results, kaffeine works and then hangs

With the HVR1110 you have a card with LNA config = 1 there, known issues with that on some Pinnacle 310i, a older setup did exist.

Quoted 2 lines

What do you want to help this card to be supported ?

Quoted 22 lines

Hard to say, but since the hvr1110 does not have the antenna_switch = 2 and the RF input routing, you also did not really test &tda827x_cfg_1 yet.

Might be worth a try.

Cheers,
Hermann

Quoted 8 lines

Thanks in advance

Cheers,

Thomas

Hi Hermann,

We will try what you suggest.

2 things :

- when kaffeine hangs , the owner try the analogic part with kdetv , no results, but after that, trying kaffeine, dvb works for another few seconds and so on ...

-we replace tda10046.fw by tda10046livefiew and before rev in log was 20 with 3 attempts, after, rev 23 at the first time

Will post dmesg with gpio-tracking

Cheers,

Thomas

#5 lore raw
In reply to hermann pitton

Hi hermann,

we are this results :

with

&tda827x_cfg_0, &tda827x_cfg_1 or &tda827x_cfg_2

we have a perfect image without sound on the analogic part (test with mplayer),
a partial result with dvb-t : we need to initialize first with analogic (with cold boot, the card doesn't work on dvb) but only for few seconds(sound and image are ok) then re-initialize with analogic, work for few seconds on dvb and then nothing maybe i am wrong but, the sound part for analogic is a problem of redirection, isn't it ?

here are our configuration for this card :

in saa7134-dvb.c

static struct tda1004x_config tda827x_flydvbtduo_medion_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      = 0x4b,
	.tuner_address = 0x61,
	.antenna_switch = 2,
	.request_firmware = philips_tda1004x_request_firmware
};

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

		if (configure_tda827x_fe(dev, &tda827x_flydvbtduo_medion_config,
					 &tda827x_cfg_2) < 0)
			goto dettach_frontend;
		break;
	default:
		wprintk("Huh? unknown DVB card?\n");
		break;

in saa7134-cards.c

   [SAA7134_BOARD_FLYDVBTDUO_MEDION] = {
       .name           = "LifeView FlyDVB-T DUO Medion",
       .audio_clock    = 0x00187de7,
       .tuner_type     = TUNER_PHILIPS_TDA8290,
       .radio_type     = UNSET,
       .tuner_addr    = ADDR_UNSET,
       .radio_addr    = ADDR_UNSET,
       .gpiomask    = 0x00200000,
       .mpeg           = SAA7134_MPEG_DVB,
       .inputs         = {{
           .name = name_tv,
           .vmux = 1,
           .amux = TV,
           .gpio = 0x200000,     /* GPIO21=High for TV input */
           .tv   = 1,
       },{
           .name = name_comp1,    /* Composite signal on S-Video input */
           .vmux = 3,
           .amux = LINE1,
       },{
           .name = name_svideo,    /* S-Video signal on S-Video input */
           .vmux = 8,
           .amux = LINE1,
       }},
       .radio = {
           .name = name_radio,
           .amux = TV,
           .gpio = 0x000000,    /* GPIO21=Low for FM radio antenna */
       },

.vendor = PCI_VENDOR_ID_PHILIPS,

       .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
       .subvendor    = 0x5168,        
       .subdevice    = 0x0307,  /* LR307-N */      
       .driver_data  = SAA7134_BOARD_FLYDVBTDUO_MEDION,

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

   {
       /* this is a hybrid board, initialize to analog mode
        * and configure firmware eeprom address
        */
       u8 data[] = { 0x3c, 0x33, 0x60};
       struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = 
sizeof(data)};
       i2c_transfer(&dev->i2c_adap, &msg, 1);
       break;

What can we do to have dvb fully supported ?

thanks in advance,

Cheers,

Thomas

#6 lore raw

Some news,

Quoted 6 lines

Hi hermann,

we are this results :

with

Quoted 8 lines

&tda827x_cfg_0, &tda827x_cfg_1 or &tda827x_cfg_2

we have a perfect image without sound on the analogic part (test with mplayer),
a partial result with dvb-t : we need to initialize first with analogic (with cold boot, the card doesn't work on dvb) but only for few seconds(sound and image are ok) then re-initialize with analogic, work for few seconds on dvb and then nothing

maybe i am wrong but, the sound part for analogic is a problem of redirection, isn't it ?

fixed

Quoted 29 lines

here are our configuration for this card :

in saa7134-dvb.c

static struct tda1004x_config tda827x_flydvbtduo_medion_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      = 0x4b,
    .tuner_address = 0x61,
    .antenna_switch = 2,
    .request_firmware = philips_tda1004x_request_firmware
};

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

        if (configure_tda827x_fe(dev, &tda827x_flydvbtduo_medion_config,
                     &tda827x_cfg_2) < 0)
            goto dettach_frontend;
        break;
    default:
        wprintk("Huh? unknown DVB card?\n");
        break;
Quoted 7 lines

in saa7134-cards.c

   [SAA7134_BOARD_FLYDVBTDUO_MEDION] = {
       .name           = "LifeView FlyDVB-T DUO Medion",


       .audio_clock    = 0x00187de7,

change with 0x00200000 and there is a perfect sound :)

Quoted 47 lines
       .tuner_type     = TUNER_PHILIPS_TDA8290,
       .radio_type     = UNSET,
       .tuner_addr    = ADDR_UNSET,
       .radio_addr    = ADDR_UNSET,
       .gpiomask    = 0x00200000,
       .mpeg           = SAA7134_MPEG_DVB,
       .inputs         = {{
           .name = name_tv,
           .vmux = 1,
           .amux = TV,
           .gpio = 0x200000,     /* GPIO21=High for TV input */
           .tv   = 1,
       },{
           .name = name_comp1,    /* Composite signal on S-Video input */
           .vmux = 3,
           .amux = LINE1,
       },{
           .name = name_svideo,    /* S-Video signal on S-Video input */
           .vmux = 8,
           .amux = LINE1,
       }},
       .radio = {
           .name = name_radio,
           .amux = TV,
           .gpio = 0x000000,    /* GPIO21=Low for FM radio antenna */
       },

.vendor = PCI_VENDOR_ID_PHILIPS,
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
.subvendor = 0x5168, .subdevice = 0x0307,
/* LR307-N */ .driver_data = SAA7134_BOARD_FLYDVBTDUO_MEDION,

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

   {
       /* this is a hybrid board, initialize to analog mode
        * and configure firmware eeprom address
        */
       u8 data[] = { 0x3c, 0x33, 0x60};
       struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = 
sizeof(data)};
       i2c_transfer(&dev->i2c_adap, &msg, 1);
       break;
Quoted 1 line

What can we do to have dvb fully supported ?

Can someone point me in the right direction ?

Quoted 2 lines

thanks in advance,

Cheers,
Thomas

#7 lore raw

Hi Tom,

Am Mittwoch, den 23.12.2009, 13:17 +0100 schrieb [email protected]:

Quoted 49 lines

Some news,

Quoted 16 lines

Hi hermann,

we are this results :

with

&tda827x_cfg_0, &tda827x_cfg_1 or &tda827x_cfg_2

we have a perfect image without sound on the analogic part (test with mplayer),
a partial result with dvb-t : we need to initialize first with analogic (with cold boot, the card doesn't work on dvb) but only for few seconds(sound and image are ok) then re-initialize with analogic, work for few seconds on dvb and then nothing

Quoted 2 lines

maybe i am wrong but, the sound part for analogic is a problem of redirection, isn't it ?

fixed

Quoted 29 lines

here are our configuration for this card :

in saa7134-dvb.c

static struct tda1004x_config tda827x_flydvbtduo_medion_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      = 0x4b,
    .tuner_address = 0x61,
    .antenna_switch = 2,
    .request_firmware = philips_tda1004x_request_firmware
};

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

        if (configure_tda827x_fe(dev, &tda827x_flydvbtduo_medion_config,
                     &tda827x_cfg_2) < 0)
            goto dettach_frontend;
        break;
    default:
        wprintk("Huh? unknown DVB card?\n");
        break;
Quoted 8 lines
Quoted 7 lines

in saa7134-cards.c

   [SAA7134_BOARD_FLYDVBTDUO_MEDION] = {
       .name           = "LifeView FlyDVB-T DUO Medion",


       .audio_clock    = 0x00187de7,

change with 0x00200000 and there is a perfect sound :)

fine. In README.saa7134 since Gerd wrote it the first time ;)

Quoted 48 lines
Quoted 48 lines
       .tuner_type     = TUNER_PHILIPS_TDA8290,
       .radio_type     = UNSET,
       .tuner_addr    = ADDR_UNSET,
       .radio_addr    = ADDR_UNSET,
       .gpiomask    = 0x00200000,
       .mpeg           = SAA7134_MPEG_DVB,
       .inputs         = {{
           .name = name_tv,
           .vmux = 1,
           .amux = TV,
           .gpio = 0x200000,     /* GPIO21=High for TV input */
           .tv   = 1,
       },{
           .name = name_comp1,    /* Composite signal on S-Video input */
           .vmux = 3,
           .amux = LINE1,
       },{
           .name = name_svideo,    /* S-Video signal on S-Video input */
           .vmux = 8,
           .amux = LINE1,
       }},
       .radio = {
           .name = name_radio,
           .amux = TV,
           .gpio = 0x000000,    /* GPIO21=Low for FM radio antenna */
       },

.vendor = PCI_VENDOR_ID_PHILIPS,
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
.subvendor = 0x5168, .subdevice = 0x0307,
/* LR307-N */ .driver_data =
SAA7134_BOARD_FLYDVBTDUO_MEDION,

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

   {
       /* this is a hybrid board, initialize to analog mode
        * and configure firmware eeprom address
        */
       u8 data[] = { 0x3c, 0x33, 0x60};
       struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = 
sizeof(data)};
       i2c_transfer(&dev->i2c_adap, &msg, 1);
       break;
Quoted 3 lines
Quoted 1 line

What can we do to have dvb fully supported ?

Can someone point me in the right direction ?

Quoted 1 line

Hmmm, is there not anything with i2c_debug=1 before it fails after a few seconds?

Gpio pins can trigger cascades of switches, so to know the gpio status of the card for working DVB-T on m$ might still be a desire. Maybe chips power off.

Also, for 99.99% only a shot at the dark side of the moon before ever seen, but I would also try to force TS_SERIAL to have it visited.

Cheers,
Hermann

#8 lore raw
Quoted 56 lines · hermann pitton

Hi Tom,

Am Mittwoch, den 23.12.2009, 13:17 +0100 schrieb [email protected]:

Quoted 52 lines

Some news,

Quoted 6 lines

Hi hermann,

we are this results :

with

Quoted 9 lines

&tda827x_cfg_0, &tda827x_cfg_1 or &tda827x_cfg_2

we have a perfect image without sound on the analogic part (test with mplayer),
a partial result with dvb-t : we need to initialize first with analogic (with cold boot, the card doesn't work on dvb) but only for few seconds(sound and image are ok) then re-initialize with analogic, work for few seconds on dvb and then nothing

maybe i am wrong but, the sound part for analogic is a problem of redirection, isn't it ?

fixed

Quoted 33 lines

here are our configuration for this card :

in saa7134-dvb.c

static struct tda1004x_config tda827x_flydvbtduo_medion_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      = 0x4b,
    .tuner_address = 0x61,
    .antenna_switch = 2,
    .request_firmware = philips_tda1004x_request_firmware
};

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

        if (configure_tda827x_fe(dev, &tda827x_flydvbtduo_medion_config,
                     &tda827x_cfg_2) < 0)
            goto dettach_frontend;
        break;
    default:
        wprintk("Huh? unknown DVB card?\n");
        break;

in saa7134-cards.c

[SAA7134_BOARD_FLYDVBTDUO_MEDION] = {
.name = "LifeView FlyDVB-T DUO Medion",

Quoted 61 lines
Quoted 4 lines
Quoted 2 lines
       .audio_clock    = 0x00187de7,

change with 0x00200000 and there is a perfect sound :)

fine. In README.saa7134 since Gerd wrote it the first time ;)

Quoted 51 lines
Quoted 47 lines
       .tuner_type     = TUNER_PHILIPS_TDA8290,
       .radio_type     = UNSET,
       .tuner_addr    = ADDR_UNSET,
       .radio_addr    = ADDR_UNSET,
       .gpiomask    = 0x00200000,
       .mpeg           = SAA7134_MPEG_DVB,
       .inputs         = {{
           .name = name_tv,
           .vmux = 1,
           .amux = TV,
           .gpio = 0x200000,     /* GPIO21=High for TV input */
           .tv   = 1,
       },{
           .name = name_comp1,    /* Composite signal on S-Video input */
           .vmux = 3,
           .amux = LINE1,
       },{
           .name = name_svideo,    /* S-Video signal on S-Video input */
           .vmux = 8,
           .amux = LINE1,
       }},
       .radio = {
           .name = name_radio,
           .amux = TV,
           .gpio = 0x000000,    /* GPIO21=Low for FM radio antenna */
       },

.vendor = PCI_VENDOR_ID_PHILIPS,
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
.subvendor = 0x5168, .subdevice = 0x0307,
/* LR307-N */ .driver_data = SAA7134_BOARD_FLYDVBTDUO_MEDION,

case SAA7134_BOARD_FLYDVBTDUO_MEDION:

   {
       /* this is a hybrid board, initialize to analog mode
        * and configure firmware eeprom address
        */
       u8 data[] = { 0x3c, 0x33, 0x60};
       struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = 
sizeof(data)};
       i2c_transfer(&dev->i2c_adap, &msg, 1);
       break;
Quoted 2 lines

What can we do to have dvb fully supported ?

Can someone point me in the right direction ?

hi hermann

Quoted 3 lines

Hmmm, is there not anything with i2c_debug=1 before it fails after a few seconds?

will post this

Quoted 4 lines

Gpio pins can trigger cascades of switches, so to know the gpio status of the card for working DVB-T on m$ might still be a desire. Maybe chips power off.

will post the results of dscaler

Quoted 9 lines

Also, for 99.99% only a shot at the dark side of the moon before ever seen, but I would also try to force TS_SERIAL to have it visited.

Cheers,
Hermann

Thanks for you answer
Cheers

Thomas