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

ASUSTeK Tiger LNA Hybrid Capture Device - signal unstable.



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-dvb/2007-February/
> >>>>         
> > 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/snapshot1.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-request redhat
> >>>>         
> >  com?subject=unsubscribe
> >   
> >>>> https://www.redhat.com/mailman/listinfo/video4linux-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-February/015755.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




;*****************************************************************************
;
;  SAA713x Based - BDA TV Capture Driver
;  Supports: 32 bit
;
;*****************************************************************************

[Version]
signature           = "$CHICAGO$" ;All Windows OS
Class               = MEDIA
ClassGUID           = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider            = %PROVIDER%
CatalogFile.NTx86   = 3xHybrid.cat

;---------------------mm/dd/yyyy,version--------------------
DriverVer=01/26/2007,13.3.5.3
;                   -> Release
;-----------------------------------------------------------


[Manufacturer]
%PROVIDER%  = SupportedBoards, NTx86

;---> 32 BIT SUPPORT <---
[SupportedBoards.NTx86]
;******** Generic ID's, used for testing purposes only !!! ***
;%ASUSTek_33.DeviceDesc% = ASUSTek_33.NTx86,PCI\VEN_1131&DEV_7133

;******** Mercur, Tiger,... ***
%ASUSTV7134.DeviceDesc% = ASUSTek_33.NTx86,PCI\VEN_1131&DEV_7134&SUBSYS_48421043
%ASUSTV7133.DeviceDesc% = ASUSTek_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_48431043
%ASUSTV7135.DeviceDesc% = ASUSTek_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_48451043
%ASUSTiger.DeviceDesc% = ASUSTek_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_48621043
%ASUSTigerS.DeviceDesc% = ASUSTek_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_48761043
%ASUSTigerS3in1.DeviceDesc% = ASUSTek_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_48781043

%NECCAPTiger.DeviceDesc% = ASUSTek_33.NTx86,PCI\VEN_1131&DEV_7133&SUBSYS_48571043

[SourceDisksNames]
1 = %INSTALLATION_DISK%,,


[SourceDisksFiles.x86]
3xHybrid.sys           = 1
34CoInstaller.dll      = 1
Ph3xIB32MV.dll         = 1


[DestinationDirs]
SectionX32.CopyDll.NTx86      = 11
SectionX32.CopyDriver.NTx86   = 10,system32\drivers


[SectionX32.CopyDll.NTx86]
34CoInstaller.dll
Ph3xIB32MV.dll

[SectionX32.CopyDriver.NTx86]
3xHybrid.sys


;======================================
;
;       Initialization Entries
;
;======================================

;******** SAA7133 x32 ***
[ASUSTek_33.NTx86.CoInstallers]
CopyFiles     = SectionX32.CopyDll.NTx86
AddReg        = SectionX32.DllAddReg.NTx86

[ASUSTek_33.NTx86]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = SectionX32.CopyDriver.NTx86, SectionX32.CopyDll.NTx86
AddReg        = SectionX32.AddReg.NTx86, ASUSTek_33.AddReg
RegisterDlls  = Ph3xIB32MV.Register

[ASUSTek_33.NTx86.Services]
AddService    = %SERVICE_NAME_X32%, 0x00000002, SectionX32.ServiceInstall.NTx86


;******** GENERAL x32 ***
[SectionX32.ServiceInstall.NTx86]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\3xHybrid.sys



;======================================
;
;           Registry Entries
;
;======================================
; [StartName=driver-object-name]
; [AddReg=add-registry-section[, add-registry-section] ...]
; [DelReg=del-registry-section[, del-registry-section] ...]
; [BitReg=bit-registry-section[,bit-registry-section] ...]
; [LoadOrderGroup=load-order-group-name]
; [Dependencies=depend-on-item-name[,depend-on-item-name]...]

;
;******** General DLL Registry Entries ***
;

[SectionX32.DllAddReg.NTx86]
HKR,,CoInstallers32,0x00010000,"34CoInstaller.dll, CoInstallerEntry"


;
;******** General Driver Registry Entries ***
;

[SectionX32.AddReg.NTx86]

HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,3xHybrid.sys

; --- Registry Entries For Audio Capture ---

HKR,,Driver,,3xHybrid.sys
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"

HKR,Drivers,SubClasses,,"wave,mixer"
HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,"ASUSTek Audio Capture Device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"ASUSTek Audio Capture Device"

; add audio input and output pinnames
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_IN_PIN%,"Name",,"Analog Audioinput"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_OUT_PIN%,"Name",,"Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_ITU_PIN%,"Name",,"Analog ITU Video"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_I2S_PIN%,"Name",,"I2S Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_AUDIO_CAP_PIN%,"Name",,"~Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_CAP_PIN%,"Name",,"~Capture"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_ANLG_VIDEO_PRE_PIN%,"Name",,"~Preview"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_AES_PIN%,"Name",,"MPEG Audio ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_VES_PIN%,"Name",,"MPEG Video ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%AVSTREAM_MPEG_PS_PIN%,"Name",, "MPEG2 Program"


;
;******** Board - Specific Registry Entries ***
;


;---- SAA7133 ----
[ASUSTek_33.AddReg]

HKR, "Parameters","Prefix",,%ASUSTek_CUSTOM_TUNERNAME%

; audio capture registry entries
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,3xHybrid.SYS

HKR,Drivers,SubClasses,,"wave,mixer"

HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv

HKR,Drivers\wave\wdmaud.drv,Description,,"ASUSTek audio capture device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"ASUSTek audio capture device"

HKR, "Audio", "FM Radio IF",0x00010001,0x729555
HKR, "Audio", "Pll_Xtal32_ACNI_32KHz", 0x00010001, 0x187D96

HKR, "Parameters", "IgnoreBW",0x00010001,0x00
HKR, "Parameters", "IgnoreDVBParameter",0x00010001,0x01

HKR, "Parameters", "AsusSwitchIgnoreDVBT",0x00010001,0x0
HKR, "Parameters", "TDA8275A_BlankVideo",0x00010001,0x01
HKR, "Parameters", "AsusSwitch", 0x00010001, 0

HKR, "Parameters", "SmallXBar",0x00010001,0x01

HKR, "Parameters", "CapPreviewEnabled",0x00010001,0
HKR, "Parameters", "ImproveNCS",0x00010001,0x01
HKR, "Parameters", "IfMacrovision",0x00010001,0

HKR, "Parameters", "IfDisableAudioFilter",0x00010001,0x01
HKR, "Parameters", "TDA8275A_LNA_LVL_TV",0x00010001,0x01

HKR, "Parameters", "TDA8275A_LNA_Monitor_LVLo",0x00010001,22
HKR, "Parameters", "TDA8275A_LNA_Monitor_LVHi",0x00010001,45
HKR, "Parameters", "TDA8275A_LNA_Monitor_TO",0x00010001,1
HKR, "Parameters", "TDA8275A_LNA_Monitor_Enable",0x00010001,1
HKR, "Parameters", "TDA8275A_LNA_Monitor_Sens",0x00010001,1
HKR, "Parameters", "TDA8275A_LNA_Monitor_Auto",0x00010001,0

HKR, "Parameters", "IfStandardDetectSwitch",0x00010001,1
HKR, "Parameters", "TDA8275A_UseTuningThread",0x00010001,1


[Ph3xIB32MV.Register]
11,,Ph3xIB32MV.dll,1 ;FLG_REGSVR_DLLREGISTER


;======================================
;
;           Strings Defines
;
;======================================

[Strings]
;-------------------------------
; Capture Filter Pin Name GUIDs
;-------------------------------
AVSTREAM_ANLG_AUDIO_IN_PIN   = "{7BB284B9-714D-493d-A101-B1B028E782BD}"
AVSTREAM_ANLG_AUDIO_OUT_PIN  = "{5582E657-E596-42b5-9DB3-541B27A2355F}"
AVSTREAM_ANLG_VIDEO_ITU_PIN  = "{82631A2E-403C-4581-A4B0-EC173D004410}"
AVSTREAM_ANLG_AUDIO_I2S_PIN  = "{C2E46358-F032-4d88-B802-06B59D162730}"
AVSTREAM_ANLG_VIDEO_CAP_PIN  = "{16FFBD0A-F770-4692-A2FF-DD394DFE9564}"
AVSTREAM_ANLG_VIDEO_PRE_PIN  = "{A19F6121-9CF7-4081-8053-256668FCBE1F}"
AVSTREAM_ANLG_AUDIO_CAP_PIN  = "{BA9E27B1-CF44-490e-8EAB-5F662E5FFE74}"
AVSTREAM_MPEG_AES_PIN        = "{9DEC84B9-BCEF-4aac-997E-43EDD0A2D6C7}"
AVSTREAM_MPEG_VES_PIN        = "{181CF87E-7741-47ba-8629-22347E03C64C}"
AVSTREAM_MPEG_PS_PIN         = "{DDA87B83-65DB-4aec-82D0-79FBE67D2BB6}"


;--------------------
; System Defines
;--------------------
SERVICE_BOOT_START       = 0x0
SERVICE_SYSTEM_START     = 0x1
SERVICE_AUTO_START       = 0x2
SERVICE_DEMAND_START     = 0x3
SERVICE_DISABLED         = 0x4

SERVICE_KERNEL_DRIVER    = 0x1
SERVICE_ERROR_IGNORE     = 0x0
SERVICE_ERROR_NORMAL     = 0x1
SERVICE_ERROR_SEVERE     = 0x2
SERVICE_ERROR_CRITICAL   = 0x3
FLG_REGSVR_DLLREGISTER   = 0x00000001


;------------------------------------------------------------
; Customer Strings
;
; !!! MUST be changed if the driver has been customized, !!!
; !!! to not interfere with the original one.            !!!
;
;------------------------------------------------------------

;--- Driver names for 32 bit OS ---
DRIVER_NAME_X32               = "3xHybrid.sys"

;--- Catalog file (signature) names for 32 bit OS ---
SIGNATURE_NAME_X32            = "3xHybrid.cat"

;--- Coinstaller DLL name for 32 bit OS ---
COINSTALLER_NAME_X32          = "34CoInstaller.dll"

;--- Service names linked to the driver binary ---
SERVICE_NAME_X32              = "3xHybrid"
SERVICE_DESCRIPTION           = "ASUSTek SAA713x BDA Capture Driver"

;--- Name displayed in the device manager ---
DISPLAY_NAME                  = "ASUSTek SAA713x PCI Card"

;--- General names ---
PROVIDER                      = "ASUSTek"
INSTALLATION_DISK             = "ASUSTek SAA713x Driver Installation Disk"


;----------------------------------------------------------
; Board Description
;
; -> Displayed within e.g. Graphedit
;
;----------------------------------------------------------

;*** Specific Names ***
;-----------------
ASUSTek.AudioDeviceDesc       = "ASUSTek SAA713x Audio Capture Device"

ASUSTek_CUSTOM_TUNERNAME      = "713x"

ASUSTV7134.DeviceDesc         = "ASUSTek TV7134 Capture Device"
ASUSTV7133.DeviceDesc         = "ASUSTek TV7133 Capture Device"
ASUSTV7135.DeviceDesc         = "ASUSTek TV7135/Mercur Capture Device"
ASUSTiger.DeviceDesc          = "ASUSTek Tiger Hybrid Capture Device"
ASUSTigerS.DeviceDesc         = "ASUSTek Tiger-S Hybrid Capture Device"
ASUSTigerS3in1.DeviceDesc     = "ASUSTeK Tiger-S/DVBS Hybrid Capture Device"

NECCAPTiger.DeviceDesc    = "ASUSTeK Tiger Capture Device"
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list