[linux-dvb] Twinhan DTV-DVB 3056 Hybrid HID PCI won't work

hermann pitton hermann-pitton at arcor.de
Thu May 10 01:11:12 CEST 2007


Am Mittwoch, den 09.05.2007, 23:21 +0200 schrieb Egidio:
> :-D  8-)  8-) 
> 
> cool very cool...
> 
> I recompiled only saa7134_dvb.c as you mentioned  ....   8-) 
> 
> Yes it works!
> 
> see the dmesg for saa:
> 
> 
> saa7130/34: v4l2 driver version 0.2.14 loaded
> saa7133[0]: found at 0000:02:09.0, rev: 209, irq: 20, latency: 32,
> mmio: 0xed000000
> saa7133[0]: subsystem: 1822:0022, board: Philips Tiger - S Reference
> design [card=109,insmod option]
> saa7133[0]: board init: gpio is 40000
> saa7133[0]: i2c eeprom 00: 22 18 22 00 54 20 1c 00 43 43 a9 1c 55 d2
> b2 92
> saa7133[0]: i2c eeprom 10: 00 01 fb 00 ff 20 ff ff ff ff ff ff ff ff
> ff ff
> saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08 ff 00 10 ff ff
> ff ff
> saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff ff
> saa7133[0]: i2c eeprom 40: ff 21 00 c2 84 10 03 32 15 50 ff ff ff ff
> ff ff
> saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff ff
> saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff ff
> saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff ff
> saa7133[0]: i2c scan: found device @ 0x10  [???]
> saa7133[0]: i2c scan: found device @ 0x84  [???]
> saa7133[0]: i2c scan: found device @ 0xa0  [eeprom]
> tuner 0-0042: chip found @ 0x84 (saa7133[0])
> saa7133[0]: registered device video0 [v4l2]
> saa7133[0]: registered device vbi0
> saa7133[0]: registered device radio0
> saa7134 ALSA driver for DMA sound loaded
> saa7133[0]/alsa: saa7133[0] at 0xed000000 irq 20 registered as card -2
> DVB: registering new adapter (saa7133[0]).
> 
> 
> see the dmesg for tda
> 
> tda1004x: setting up plls for 48MHz sampling clock
> tda1004x: timeout waiting for DSP ready
> tda1004x: found firmware revision 0 -- invalid
> tda1004x: trying to boot from eeprom
> tda1004x: found firmware revision 0 -- invalid
> tda1004x: waiting for firmware upload...
> tda1004x: found firmware revision 29 -- ok
> tda1004x: setting up plls for 48MHz sampling clock
> tda1004x: found firmware revision 29 -- ok
>  tda1004x: setting up plls for 48MHz sampling clock
> tda1004x: found firmware revision 29 -- ok
> 
> see the kaffeine
> 
> Using DVB device 0:0 "Philips TDA10046H DVB-T"
> tuning DVB-T to 810000000 Hz
> inv:2 bw:0 fecH:2 fecL:1 mod:3 tm:1 gi:0 hier:0
> .... LOCKED.
> Transponders: 1/7
> Reading SDT: pid=17
> Rete 4: sid=11
> Italia 1: sid=12
> Teleradio Padre Pio: sid=13
> Sportitalia: sid=14
> ecc...
> 
> 
> Radio is ok with gnome radio
> Analog TV is ok with kdetv and tvtime
> Composite 1 is also ok and with audio too... I see was just an issue
> to set in gnome mixer the capture for saa7134 audio driver
> 
> Also I tested that with only
> 
> sox -r 32000 -w -t alsa hw:1,0 -t alsa hw:0,0
> 
> I can hear audio from analog source... dvb it not need!
> 
> THANK YOU!
> :-* 
> 
> 
> P.S.
> That jpg is my card!
> _____________________________________________
> 
> 
> 
> 
> hermann pitton ha scritto: 
> > Hi,
> > 
> > Am Sonntag, den 06.05.2007, 11:54 +0200 schrieb Egidio:
> >   
> > > Just one more bit for my problem....
> > > 
> > > 
> > > Some my work around shows that with this:
> > > 
> > > arecord -D hw:1,0 -r 32000 -c 2 -f S16_LE | sox -q -c 2 -r 32000 -w -t 
> > > wav - -t alsa hw:0,0
> > > 
> > > I can get AUDIO from Analog TV Tuner but no from external source 
> > > Composite1. :-)
> > >     
> > 
> > please try to change .amux LINE1 for comp1 and svideo to LINE2 in
> > saa7134-cards.c for the TIGER_S.
> > 
> > Is there a audio mux chip on the board or can you provide a high
> > resolution photo.
> > 
> > Related, does radio work?
> > 
> >   
> > > Still not working DVB.
> > >     
> > 
> > Please try to change in saa7134-dvb.c
> > 
> > static struct tda1004x_config philips_tiger_s_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,
> > 	.tuner_config  = 2,
> > 	.antenna_switch= 1,
> > 	.request_firmware = philips_tda1004x_request_firmware
> > };
> > 
> > .i2c_gate from 0x4b to 0x42 and recompile.
> > 
> > Good luck,
> > 
> > Hermann
> > 
> > 
> >   
> > > Help!
> > > Ciao.
> > > 
> > > ______________________________
> > > 
> > > 
> > >     
> > > > Hi Linux-dvb developers,
> > > > 
> > > > here is my problem... I bought the card in subject in a computer store 
> > > > that under XP is reconised as: DTV-DVB 3056 Hybrid HID PCI capture 
> > > > card but under LINUX it won't know to be supported and work correctly.
> > > > (see www.twinhan.com/product_D%2BA_3056_1.asp for more info)
> > > > 
> > > > Some my work around put me in this situation, I can get a minimal 
> > > > working if I force saa7134 as card=109, in this way kdetv scan analog 
> > > > TV and show me the video in a very good way but no AUDIO, kaffeine or 
> > > > scan (dvb utilitis) are ko and I still didn't try FM + lirc.
> > > > 
> > > > If you see below a problem occur in communication between saa7134 and 
> > > > Tuner that appear to me as the main issue.
> > > > 
> > > > I am not a developer (I am not able to write codes) but if someone of 
> > > > you guide me to make some tests and debugs, I am very happy :-) and we 
> > > > could have made one more goals for the opensource comunity :-) so 
> > > > other folks with my same card can get help.
> > > > 
> > > > Here is a brief of what says kaffeine:
> > > > 
> > > > ........
> > > > Not able to lock to the signal on the given frequency
> > > > Frontend closed
> > > > dvbsi: Cant tune DVB
> > > > Using DVB device 0:0 "Philips TDA10046H DVB-T"
> > > > tuning DVB-T to 602000000 Hz
> > > > inv:2 bw:0 fecH:1 fecL:9 mod:3 tm:1 gi:3 hier:0
> > > > ...............
> > > > 
> > > > And here is what says dmesg:
> > > > 
> > > > saa7130/34: v4l2 driver version 0.2.14 loaded
> > > > saa7133[0]: found at 0000:02:09.0, rev: 209, irq: 20, latency: 32, 
> > > > mmio: 0xed000000
> > > > saa7133[0]: subsystem: 1822:0022, board: Philips Tiger - S Reference 
> > > > design [card=109,insmod option]
> > > > saa7133[0]: board init: gpio is 40000
> > > > tuner 0-0042: chip found @ 0x84 (saa7133[0])
> > > > tuner 0-0042: setting tuner address to 61
> > > > tuner 0-0042: type set to tda8290+75a
> > > > tuner 0-0042: setting tuner address to 61
> > > > tuner 0-0042: type set to tda8290+75a
> > > > saa7133[0]: i2c eeprom 00: 22 18 22 00 54 20 1c 00 43 43 a9 1c 55 d2 
> > > > b2 92
> > > > saa7133[0]: i2c eeprom 10: 00 01 fb 00 ff 20 ff ff ff ff ff ff ff ff 
> > > > ff ff
> > > > saa7133[0]: i2c eeprom 20: 01 40 01 02 03 01 01 03 08 ff 00 10 ff ff 
> > > > ff ff
> > > > saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
> > > > ff ff
> > > > saa7133[0]: i2c eeprom 40: ff 21 00 c2 84 10 03 32 15 50 ff ff ff ff 
> > > > ff ff
> > > > saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
> > > > ff ff
> > > > saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
> > > > ff ff
> > > > saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
> > > > ff ff
> > > > saa7133[0]: registered device video0 [v4l2]
> > > > saa7133[0]: registered device vbi0
> > > > saa7133[0]: registered device radio0
> > > > DVB: registering new adapter (saa7133[0]).
> > > > DVB: registering frontend 0 (Philips TDA10046H DVB-T)...
> > > > tda1004x: setting up plls for 48MHz sampling clock
> > > > saa7134 ALSA driver for DMA sound loaded
> > > > saa7133[0]/alsa: saa7133[0] at 0xed000000 irq 20 registered as card -2
> > > > tda1004x: found firmware revision 29 -- ok
> > > > saa7133[0]/dvb: could not access tda8290 I2C gate
> > > > tda827x_probe_version: could not read from tuner at addr: 0xc2
> > > > tda1004x: setting up plls for 48MHz sampling clock
> > > > tda1004x: found firmware revision 29 -- ok
> > > > saa7133[0]/dvb: could not access tda8290 I2C gate
> > > > tda827x_probe_version: could not read from tuner at addr: 0xc2
> > > > saa7133[0]/dvb: could not access tda8290 I2C gate
> > > > saa7133[0]/dvb: could not access tda8290 I2C gate
> > > > tda827x_probe_version: could not read from tuner at addr: 0xc2
> > > > saa7133[0]/dvb: could not access tda8290 I2C gate
> > > > tda1004x: setting up plls for 48MHz sampling clock
> > > > tda1004x: found firmware revision 29 -- ok
> > > > saa7133[0]/dvb: could not access tda8290 I2C gate
> > > > tda827x_probe_version: could not read from tuner at addr: 0xc2
> > > > 
> > > > As I said to me the problem seems a comunication problems with the tuner.
> > > > 
> > > > I am sure that the main chips mounted on the board are saa7131E and 
> > > > TDA 10046A, the only quarz I see is a 32.1F6G and unfortunately I 
> > > > can't see last chip near the antenna inputs because a metallic box 
> > > > covers that part.
> > > > 
> > > > This card is a Analog TV + DVB + FM + Capture card (composite source + 
> > > > S-video), all inputs (AUDIO included) are on the card.
> > > > 
> > > > My distro is UBUNTU Feisty  7.04 with kernel  2.6.20-15-generic and 
> > > > this is what lspci -vv says about my card:
> > > > 
> > > > 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- <TAbort- <MAbort- >SERR- <PERR-
> > > > >         
> > > >             Latency: 32 (21000ns min, 8000ns max)
> > > >             Interrupt: pin A routed to IRQ 20
> > > >             Region 0: Memory at ed000000 (32-bit, non-prefetchable) 
> > > > [size=2K]
> > > >             Capabilities: <access denied>
> > > > 
> > > > 
> > > > Guys a big Thank you to who will help me!
> > > > :-)
> > > > 
> > > > Ciao!
> > > > 


Hi Egidio,

thanks for testing and have fun!

Take some more time to test all, see also Hartmut's previous
instructions in case of a LowNoiseAmplifier (LNA) is present on the
lists.

Don't bother to ask further questions, in case of analog issues you
might drop over to the video4linux-list.

If you are through, please send us a patch with your SOB.

Cheers,
Hermann










More information about the linux-dvb mailing list