By Date: <-- -->
By Thread: <-- -->

ASUSTeK Tiger LNA Hybrid Capture Device - signal unstable.



Hi

Ra.M. schrieb:
> Hartmut Hackmann wrote:
>> Hi,
>>
>> Ra.M. schrieb:
>>  
>>> hermann pitton ha scritto:
>>>    
>>>> Am Samstag, den 03.03.2007, 00:00 +0100 schrieb Ra.M.:
>>>>      
>>>>> hermann pitton ha scritto:
>>>>>        
>>>>>> Am Freitag, den 02.03.2007, 02:03 +0100 schrieb
>>>>>>           
>>  Ra.M.:
>>  
>>>>>>> Hartmut Hackmann wrote:
>>>>>>>
>>>>>>>
>>>>>>>            
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Ra.M. schrieb:
>>>>>>>>
>>>>>>>>              
>>>>>>>>> Hi.
>>>>>>>>>
>>>>>>>>> This thread:
>>>>>>>>>
>>>>>>>>> http://www.linuxtv.org/pipermail/linux-dv
>>>>>>>>>                 
>> b/2007-Fe
>>  
>>>> bruary/
>>>>      
>>>>>> 015705.html
>>>>>>
>>>>>>          
>>>>>>>>> has helped me to (partially) solve my
>>>>>>>>>                 
>>  problems
>>  
>>>> with a
>>>>      
>>>>>> DVB-T card (PCI)
>>>>>>
>>>>>>          
>>>>>>>>> ASUSTeK Tiger LNA Hybrid Capture Device
>>>>>>>>> with Jayhawk tuner.
>>>>>>>>>
>>>>>>>>> /sbin/lspci -v
>>>>>>>>>
>>>>>>>>> 03:0a.0 Multimedia controller: Philips
>>>>>>>>>                 
>>>> Semiconductors
>>>>      
>>>>>> SAA7133/SAA7135
>>>>>>
>>>>>>          
>>>>>>>>> Video Broadcast Decoder (rev d1)
>>>>>>>>> Subsystem: ASUSTeK Computer Inc. Unknown
>>>>>>>>>                 
>>>> device
>>>>      
>>>>>> 4871
>>>>>>
>>>>>>          
>>>>>>>>> Flags: bus master, medium devsel, latency
>>>>>>>>>                 
>>>> 32, IRQ
>>>>      
>>>>>> 23
>>>>>>
>>>>>>          
>>>>>>>>> Memory at fdefe000 (32-bit,
>>>>>>>>>                 
>>>> non-prefetchable)
>>>>      
>>>>>> [size=2K]
>>>>>>
>>>>>>          
>>>>>>>>> This is the procedure that I have
>>>>>>>>>                 
>>  followed:
>>  
>>>>>>>>> 1) I have downloaded, compiled and
>>>>>>>>>                 
>>  installed,
>>  
>>>> latest
>>>>      
>>>>>> Mercurial
>>>>>>
>>>>>>          
>>>>>>>>> v4l-dvb-6a48ec9e0f65.tar.bz2
>>>>>>>>>
>>>>>>>>> 2) I have downloaded the firmware
>>>>>>>>>                 
>>>> dvb-fe-tda10046.fw
>>>>      
>>>>>> (from LifeView) and
>>>>>>
>>>>>>          
>>>>>>>>> put it in /lib/firmware.
>>>>>>>>>
>>>>>>>>> 3) I have created a file
>>>>>>>>>                 
>>  /etc/modprobe.d/dvb.conf
>>  
>>>> with
>>>>      
>>>>>> these lines:
>>>>>>
>>>>>>          
>>>>>>>>> alias char-major-81 videodev
>>>>>>>>> alias char-major-81-0 saa7134
>>>>>>>>> options saa7134 card=78 tuner 67
>>>>>>>>>
>>>>>>>>>                 
>>>>>> i2c_scan=1
>>>>>>
>>>>>>          
>>>>>>>>> gpio_tracking=1 alsa=1
>>>>>>>>>
>>>>>>>>> alias char-major-89 i2c-dev
>>>>>>>>>
>>>>>>>>> (for me card=78 works better than
>>>>>>>>>                 
>>  card=109)
>>  
>>>>>>>>> 4) I have added to /etc/rc.d/rc.modules
>>>>>>>>>                 
>>  these
>>  
>>>> lines:
>>>>      
>>>>>>>>> /sbin/modprobe saa7134-alsa
>>>>>>>>> /sbin/modprobe saa7134-dvb
>>>>>>>>>
>>>>>>>>> At boot time I get (from dmesg):
>>>>>>>>>
>>>>>>>>> saa7133[0]: found at 0000:03:0a.0, rev:
>>>>>>>>>                 
>>  209, irq:
>>  
>>>> 23,
>>>>      
>>>>>> latency: 32, mmio:
>>>>>>
>>>>>>          
>>>>>>>>> 0xfdefe000
>>>>>>>>> saa7133[0]: subsystem: 1043:4871, board:
>>>>>>>>>                 
>>  ASUSTeK
>>  
>>>> P7131
>>>>      
>>>>>> Dual
>>>>>>
>>>>>>          
>>>>>>>>> [card=78,insmod option]
>>>>>>>>> saa7133[0]: board init: gpio is 0
>>>>>>>>> saa7133[0]: gpio: mode=0x0000000
>>>>>>>>>                 
>>  in=0x0000000
>>  
>>>>>> out=0x0000000 [pre-init]
>>>>>>
>>>>>>          
>>>>>>>>> input: saa7134 IR (ASUSTeK P7131 Dual) as
>>>>>>>>>
>>>>>>>>>                 
>>>>>> /class/input/input5
>>>>>>
>>>>>>          
>>>>>>>>> saa7133[0]: i2c eeprom 00: 43 10 71 48
>>>>>>>>>                 
>>  54 20 1c
>>  
>>>> 00 43 43
>>>>      
>>>>>> a9 1c 55 d2 b2 92
>>>>>>
>>>>>>          
>>>>>>>>> saa7133[0]: i2c eeprom 10: ff ff ff 0f
>>>>>>>>>                 
>>  ff 20 ff
>>  
>>>> ff ff ff
>>>>      
>>>>>> ff ff ff ff ff ff
>>>>>>
>>>>>>          
>>>>>>>>> saa7133[0]: i2c eeprom 20: 01 40 01 02
>>>>>>>>>                 
>>  03 00 01
>>  
>>>> 03 08 ff
>>>>      
>>>>>> 00 cf 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
>>>>>>>>>                 
>>  96 10 03
>>  
>>>> 22 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  (at) 
>>>>>>>>>                 
>>  0x10 [???]
>>  
>>>>>>>>> saa7133[0]: i2c scan: found device  (at) 
>>>>>>>>>                 
>>  0x96 [???]
>>  
>>>>>>>>> saa7133[0]: i2c scan: found device  (at)  0xa0
>>>>>>>>>                 
>>>> [eeprom]
>>>>      
>>>>>>>>> saa7133[0]: gpio: mode=0x0200000
>>>>>>>>>                 
>>  in=0x0000000
>>  
>>>>>> out=0x0000000 [Television]
>>>>>>
>>>>>>          
>>>>>>>>> saa7133[0]: gpio: mode=0x0200000
>>>>>>>>>                 
>>  in=0x0000000
>>  
>>>>>> out=0x0000000 [Television]
>>>>>>
>>>>>>          
>>>>>>>>> tuner 2-004b: chip found  (at)  0x96
>>>>>>>>>                 
>>  (saa7133[0])
>>  
>>>>>>>>> tuner 2-004b: type set to 67 (Philips
>>>>>>>>>                 
>>  TD1316
>>  
>>>> Hybrid
>>>>      
>>>>>> Tuner)
>>>>>>
>>>>>>          
>>>>>>>>> tuner 2-004b: type set to 67 (Philips
>>>>>>>>>                 
>>  TD1316
>>  
>>>> Hybrid
>>>>      
>>>>>> Tuner)
>>>>>>
>>>>>>          
>>>>>>>>> saa7133[0]: registered device video0
>>>>>>>>>                 
>>  [v4l2]
>>  
>>>>>>>>> saa7133[0]: registered device vbi0
>>>>>>>>> saa7133[0]: registered device radio0
>>>>>>>>> saa7133[0]: gpio: mode=0x0200000
>>>>>>>>>                 
>>  in=0x0000000
>>  
>>>>>> out=0x0000000 [Television]
>>>>>>
>>>>>>          
>>>>>>>>> DVB: registering new adapter
>>>>>>>>>                 
>>  (saa7133[0]).
>>  
>>>>>>>>> DVB: registering frontend 0 (Philips
>>>>>>>>>                 
>>  TDA10046H
>>  
>>>> DVB-T)...
>>>>      
>>>>>>>>> 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: timeout waiting for DSP ready
>>>>>>>>> tda1004x: found firmware revision 0 --
>>>>>>>>>                 
>>  invalid
>>  
>>>>>>>>> tda1004x: waiting for firmware upload...
>>>>>>>>> tda1004x: found firmware revision 29 --
>>>>>>>>>                 
>>  ok
>>  
>>>>>>>>> saa7134 ALSA driver for DMA sound loaded
>>>>>>>>> saa7133[0]/alsa: saa7133[0] at
>>>>>>>>>                 
>>  0xfdefe000 irq 23
>>  
>>>>>> registered as card -1
>>>>>>
>>>>>>          
>>>>>>>>> All works but when I try to view
>>>>>>>>>                 
>>  something with
>>  
>>>> kaffeine
>>>>      
>>>>>> or xine, the
>>>>>>
>>>>>>          
>>>>>>>>> signal appears
>>>>>>>>> unstable; this is a snapshot from xine:
>>>>>>>>>
>>>>>>>>> http://xoomer.alice.it/ramsoft/shots/snap
>>>>>>>>>                 
>> shot1.jpg
>>  
>>>>>>>>> Under Windows XP (software CyberLink
>>>>>>>>>                 
>>  Power
>>  
>>>> Cinema) the
>>>>      
>>>>>> signal is very
>>>>>>
>>>>>>          
>>>>>>>>> stable.
>>>>>>>>>
>>>>>>>>> Another problem is that under Linux I
>>>>>>>>>                 
>>  cannot tune
>>  
>>>> VHF
>>>>      
>>>>>> channels; there is
>>>>>>
>>>>>>          
>>>>>>>>> a MUX at
>>>>>>>>> 226.5 MHz but, neither kaffeine, nor
>>>>>>>>>                 
>>  scan, can
>>  
>>>> find it.
>>>>      
>>>>>>>>> What is wrong in my procedure?
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> -- 
>>>>>>>>> video4linux-list mailing list
>>>>>>>>> Unsubscribe mailto:video4linux-list-reque
>>>>>>>>>                 
>> st redhat
>>  
>>>>>> com?subject=unsubscribe
>>>>>>
>>>>>>          
>>>>>>>>> https://www.redhat.com/mailman/listinfo/v
>>>>>>>>>                 
>> ideo4linu
>>  
>>>> x-list
>>>>      
>>>>>>>>>                 
>>>>>>>> Sorry, not much time today.
>>>>>>>> Please get the repository from today (bug
>>>>>>>>               
>>  fixed) and
>>  
>>>> try
>>>>      
>>>>>> card=109. AFIK, your
>>>>>>
>>>>>>          
>>>>>>>> card is very similar.
>>>>>>>> Regarding the missing mux: The channel
>>>>>>>>               
>>  decoder is
>>  
>>>> qiute picky
>>>>      
>>>>>> with the parameters
>>>>>>
>>>>>>          
>>>>>>>> please check whether FEC and GI are right
>>>>>>>>               
>>  (some other
>>  
>>>> drivers
>>>>      
>>>>>> just ignore these).
>>>>>>
>>>>>>          
>>>>>>>> If this works better, can you please report?
>>>>>>>>
>>>>>>>> Good luck
>>>>>>>> Hartmut
>>>>>>>>
>>>>>>>>               
>>>>>>> I have tried your suggestions. No improvements.
>>>>>>>
>>>>>>> However, it seems that this mothel of DVB-T card
>>>>>>>             
>>  has a
>>  
>>>> very poor
>>>>      
>>>>>> quality!
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> it is likely only some switching issue.
>>>>>>
>>>>>> The card is dirt cheap compared to what one payed 1
>>>>>>           
>>  1/2 years
>>  
>>>> back for
>>>>      
>>>>>> the P7131 Dual and only misses radio and the remote.
>>>>>>
>>>>>> Emmanuel in your above link got DVB-T working after
>>>>>>           
>>  using
>>  
>>>> analog TV
>>>>      
>>>>>> first with card=109 and for sure not tuner=67, but
>>>>>>           
>>  the
>>  
>>>> default 54.
>>>>      
>>>>>> You tried this too just with card=109 ?
>>>>>>
>>>>>> If no success, it seems he was using tuner_config=3.
>>>>>> http://www.linuxtv.org/pipermail/linux-dvb/2007-Febru
>>>>>>           
>> ary/01575
>>  
>>>> 5.html
>>>>      
>>>>>> We must get at a point where we have something
>>>>>>           
>>  reproducable.
>>  
>>>>>> The missing mux can also be caused by 7MHz bandwidth
>>>>>>           
>>  instead
>>  
>>>> of 8.
>>>>
>>>>      
>>>>> I'm using tuner_config=2 and bandwidth is 8 MHz for
>>>>>         
>>  all muxes.
>>  
>>>>> With card=78 or card=109 I get the same results (the card
>>>>>         
>>  works
>>  
>>>> but the
>>>>      
>>>>> signal is
>>>>> unstable); tuner=58 for me does not work (or works very
>>>>>         
>>  badly).
>>  
>>>> Hi,
>>>>
>>>> you won't get analog to work with a wrong tuner. It is
>>>>       
>>  tuner=54 for
>>  
>>>> that
>>>> and nothing else.
>>>>
>>>> The gpio 22 is involved in the LNA switching and
>>>>       
>>  tuner_config=2 should
>>  
>>>> be right, but according to the recent .inf file and the Asus
>>>>       
>>  driver
>>  
>>>> release notes, they had several changes and extensions to get
>>>>       
>>  it right.
>>  
>>>> (As suspected the 1043:4876 seems to have a LNA already too)
>>>>
>>>> There was also the suggestion to try with TDA10046_GP00_I
>>>>
>>>> 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
>>>> };
>>>>
>>>> in saa7134-dvb.c.
>>>>
>>>> The 1043:4871 seems to be OEM only, also gpio27 is mentioned
>>>>       
>>  for some s-
>>  
>>>> video/cvbs analog switching.
>>>>
>>>> Cheers,
>>>> Hermann
>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> video4linux-list mailing list
>>>> Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=
>>>>       
>> unsubscri
>>  
>>>> be
>>>> https://www.redhat.com/mailman/listinfo/video4linux-list       
>>> Sorry for the misunderstanding; I was speaking about digital
>>>     
>>  channels
>>  
>>> and not analog channels.
>>> I am interested to know what parameters must I pass to saa7134
>>>     
>>  module to
>>  
>>> configure DVB-T.
>>>
>>> What is the correct card parameter for an ASUSTeK Tiger LNA Hybrid
>>> Capture Device (ASUS
>>> Tiger-S AA F6-C101) with chipset PHILIPS SAA7131E/03?
>>> And what is the correct tuner parameter for a Jayhawk tuner in
>>>     
>>  digital
>>  
>>> mode?
>>>
>>> For some strange reasons I get the best results with card=78 and
>>> tuner=67. Either kaffeine
>>> or scan can tune channels with very low signal (but the signal is
>>>     
>>  a lot
>>  
>>> unstable); under Windows
>>> the software CyberLink Power Cinema can tune only channels with
>>>     
>>  strong
>>  
>>> signal.
>>>
>>> Must I change anything in the files saa7134-cards.c,
>>>     
>>  saa7134-dvb.c, etc?
>>  
>>> Thanks.
>>>
>>>     
>> I got hands on a sample of this board. In my personal repository
>> http://linuxtv.org/hg/~hhackmann/v4l-dvb
>> you will find this board supported.
>> A note: there was a problem with DVB-T if the board never was in
>> analog mode before. That's why you didn't get it working.
>>
>> Best regards
>>    Hartmut
>>
>> -- 
>> video4linux-list mailing list
>> Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscri
>> be
>> https://www.redhat.com/mailman/listinfo/video4linux-list
>>
>>   
> 
> It seems that I am the only unlucky with this board!
> 
> I have downloaded and installed latest CVS Mercurial but for me
> card=111 (or card 112) does not work.
> I get some decent results only with card=109, tuner=67 and these changes
> in the file saa7134-dvb.c (and saa7134-cards.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_GP00_I,      // instead of TDA10046_GP01_I
>    .if_freq       = TDA10046_FREQ_045,
>    .i2c_gate      = 0x4b,
>    .tuner_address = 0x61,
>    .tuner_config  = 0,                    // instead of 2
>    .antenna_switch= 1,
>    .request_firmware = philips_tda1004x_request_firmware
> };
> 
> This is a snapshot from Xine:
> 
> http://xoomer.alice.it/ramsoft/shots/snapshot2.jpg
> 
> While tuning channels Kaffeine sends a lot of messages: "Invalid section
> length or timeout: pid=xyz"
> 
> When I watch some DVB channel Xine says: "the amount of dropped frame is
> too high".
> 
> It cannot be a performance problem; my PC has a CPU AMD64 4200 X2
> 2200MHz+2200MHz, video card nVidia
> GeForce 7600 GS (driver nVidia) and kernel 2.6.20 configured as SMP.
> 
> I am seriously thinking of buying a new DVB-T card more compatible with
> Linux!
> 
> 
You used the wrong files. You need to used the souce code from my personal
repository as i mentioned in my previous mail. This will autodetect the card
and configure it correctly. So DON'T specify a card- or tuner type.

Hartmut

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list