[linux-dvb] Tuner not working, Avermedia M115S

Manuel Mayer manuel.mayer at gmail.com
Sun Jun 10 16:35:17 CEST 2007


Hi there,

I've tried a lot of existing card descriptions for my Avermedia M115S but
none of them seemed to work. Maybe you can give me some advice or were able
to activate the tuner on this card. It is recognized as SAA78133/35 but even
the configuration for Aver M115 (without S) as described in other forums, is
not working. Tried a lot of tuner configs, but always the frontend init**fails.

I've attached some information, if you need something else pls just ask.
- lspci -vn
- lspci -v
- dmesg | grep saa
- content of windows .inf file (M115S.inf)

Thanks in advance, I'm desperate :)


*** lspci -vn
0a:04.0 0480: 1131:7133 (rev d1)
        Subsystem: 1461:e836
        Flags: bus master, medium devsel, latency 64, IRQ 23
        Memory at d2006800 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [40] Power Management version 2
*** lspci -v
0a:04.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video
Broadcast Decoder (rev d1)
        Subsystem: Avermedia Technologies Inc Unknown device e836
        Flags: bus master, medium devsel, latency 64, IRQ 23
        Memory at d2006800 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [40] Power Management version 2

*** dmesg | grep saa:

[   21.080000] saa7130/34: v4l2 driver version 0.2.14 loaded
[   21.348000] saa7133[0]: found at 0000:0a:04.0, rev: 209, irq: 23,
latency: 64, mmio: 0xd2006800
[   21.348000] saa7133[0]: subsystem: 1461:e836, board: UNKNOWN/GENERIC
[card=0,autodetected]
[   21.348000] saa7133[0]: board init: gpio is a400000
[   21.488000] saa7133[0]: i2c eeprom 00: 61 14 36 e8 00 00 00 00 00 00 00
00 00 00 00 00
[   21.488000] saa7133[0]: i2c eeprom 10: ff ff ff ff ff 20 ff ff ff ff ff
ff ff ff ff ff
[   21.488000] saa7133[0]: i2c eeprom 20: 01 40 01 02 02 01 01 03 08 ff 00
00 ff ff ff ff
[   21.488000] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   21.488000] saa7133[0]: i2c eeprom 40: ff 65 00 ff c2 00 ff ff ff ff ff
ff ff ff ff ff
[   21.488000] saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   21.488000] saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   21.488000] saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff
[   21.488000] saa7133[0]: registered device video0 [v4l2]
[   21.488000] saa7133[0]: registered device vbi0
[   21.508000] saa7134 ALSA driver for DMA sound loaded
[   21.508000] saa7133[0]/alsa: saa7133[0] at 0xd2006800 irq 23 registered
as card -2

*** M115S.inf:

; Copyright (c) AVerMedia TECHNOLOGIES, Inc.

[Version]
signature="$CHICAGO$" ;all windows os
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%AVer%
DriverVer=11/13/2006,3.3.23.87
CatalogFile=34AVStrm.cat

[Manufacturer]
%AVer%=AVerMedia

[AVerMedia]
%33Hybrid.DeviceDesc4%=3xHybrid,PCI\VEN_1131&DEV_7133&SUBSYS_E8361461    ;
M115S
;%33Hybrid.DeviceDesc%=3xHybrid,PCI\VEN_1131&DEV_7133

[DestinationDirs]
3xHybrid.CopyCoInst=11
3xHybrid.CopyFiles=10,system32\drivers
3xHybrid.CopyFilters=11


[SourceDisksNames]
1 = %AVSTRM_INSTALLATION_DISK%,,

[SourceDisksFiles]
34CoInstaller.dll=1
AVerM115S.sys=1
MVDetection.ax=1
TVRate.dll=1

[3xHybrid.CopyCoInst]
34CoInstaller.dll

[3xHybrid.CopyFiles]
AVerM115S.sys

[3xHybrid.CopyFilters ]
TVRate.dll
MVDetection.ax

;
;*** initialization and registry entries
;

[3xHybrid.CoInstallers]
CopyFiles = 3xHybrid.CopyCoInst
AddReg = 3xHybrid.CoInstaller_AddReg

[3xHybrid.ntx86.CoInstallers ]
CopyFiles = 3xHybrid.CopyCoInst
AddReg = 3xHybrid.CoInstaller_AddReg

[3xHybrid.CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"34CoInstaller.dll, CoInstallerEntry"

[3xHybrid]
AlsoInstall= KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf),
KSCAPTUR.Registration(kscaptur.inf), BDA.Installation(bda.inf)
CopyFiles=3xHybrid.CopyFiles, 3xHybrid.CopyFilters
AddReg=3xHybrid.AddReg

[3xHybrid.ntx86 ]
Include=ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs=KS.Registration.NT, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT,
BDA.Installation.NT
CopyFiles=3xHybrid.CopyFiles, 3xHybrid.CopyFilters
AddReg= 3xHybrid.AddReg
RegisterDlls= DSFilters.RegFiles, TVRate.RegFiles

[3xHybrid.Services]
AddService=AVerM115S, 0x00000002, 3xHybrid.ServiceInstall

[3xHybrid.ntx86.Services]
AddService=AVerM115S, 0x00000002, 3xHybrid.ServiceInstall

[3xHybrid.ServiceInstall]
DisplayName=%DISPLAY_NAME%
Description=%SERVICE_DESCRIPTION%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_IGNORE%
ServiceBinary=%12%\AVerM115S.sys
; [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]...]

[3xHybrid.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,AVerM115S.sys

; audio capture registry entries

HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,AVerM115S.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,,"AVerMedia BDA audio capture
device"
HKR,Drivers\mixer\wdmaud.drv,Description,,"AVerMedia BDA audio capture
device"

; Setting FM radio of the Silicon tuner via SIF (GPIO 21 in use/ 5.5MHz)
; Dennis 20050415 for XC3028 FM Radio IF
HKR, "Audio", "FM Radio IF",0x00010001,0xDEEAAB

; Dennis 20060224
HKR, "Audio", "MuteAudioUnlock",0x00010001,0x1

; Dennis 20060602
HKR, "Audio", "MuteAudioMacrovision",0x00010001,0x1
HKR, "Audio", "MuteAudioCGMSA",0x00010001,0x1

; Dennis 20060921
HKR, "GPIO\TransportStream\Parallel", "Clock_Polarity",0x00010001,0x1

HKR, "Audio", "I2S Output",0x00010001,0x00
HKR, "Audio", "I2S2 Output",0x00010001,0x00    //GPIO Pin 17 used for CCS

; Set audio volume
; Dennis 20060928
; Dennis 20060704
; Dennis 20060516
HKR, "Audio", "VolumeTV",0x00010001,0xFE
HKR, "Audio", "VolumeFM",0x00010001,0x00
HKR, "Audio", "VolumeExternal",0x00010001,0x00
; Dennis 20060704 Dennis 20060712
HKR, "Audio", "VolumeAML",0x00010001,0x09

; Dennis 20060925
HKR, "Parameters", "ForceTunerOn", 0x00010001, 1

; Dennis 20060904
HKR, "Parameters", "ExhaustiveScanDisabled",0x00010001,0x00
; Enable MCE
;HKR, "Parameters", "MCE",0x00010001,0x01

; disable Syncronization ; Dennis 20050624
HKR, Parameters, Syncronization disabled, 0x00010001, 0

; Dennis 20060602
HKR, "Parameters", "LatencyTimer",0x00010001,0x06

; For M115 Color Settings
; Dennis 20050621
; Dennis 20060314
HKR, "Decoder\Src0", "Saturation", 0x00010001, 0x40

; Mute Macrovision
; Dennis 20060208
HKR, "Decoder", "MuteVideoMacrovision", 0x00010001, 0x1
HKR, "Decoder", "MuteVideoUnlock", 0x00010001, 0x1
HKR, "Decoder", "MuteVideoCGMSA", 0x00010001, 0x1

; Dennis 20050819
; For FM supported
HKR, "Parameters", "FMSupported", 0x00010001, 0x0

; Dennis 20051031
HKR, "Parameters", "DownloadNEC61151FW", 0x00010001, 0x0

; Dennis 20051226
HKR, "Parameters", "CrossBarType", 0x00010001, 0x0

; Dennis 20060630
; Dennis 20060427
HKR, "Parameters", "CapPreviewEnabled", 0x00010001, 0x1

; Dennis 20060120
HKR, "SECAMLPFrequency", "0", 0x00010001, 55750000
HKR, "SECAMLPFrequency", "1", 0x00010001, 60500000
HKR, "SECAMLPFrequency", "2", 0x00010001, 63750000
HKR, "SECAMLPFrequency", "3", 0x00010001, 0

; add audio input and output pinnames

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_ANLG_AUDIO_IN_PIN%,"Name",,"Analog
Audioinput"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_ANLG_AUDIO_OUT_PIN%,"Name",,"Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_ANLG_VIDEO_ITU_PIN%,"Name",,"Analog
ITU Video"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_ANLG_AUDIO_I2S_PIN%,"Name",,"I2S
Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_MPEG_AES_PIN%,"Name",,"MPEG
Audio ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_MPEG_VES_PIN%,"Name",,"MPEG
Video ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%VAMP_MPEG_PS_PIN%,"Name",,
"MPEG2 Program"

HKLM,SYSTEM\CurrentControlSet\Control\MediaInterfaces\{d2185a40-0398-11d3-a53e-00a0c9ef506a},,,"AVerMedia
Macrovision Detection Property"
HKLM,SYSTEM\CurrentControlSet\Control\MediaInterfaces\{d2185a40-0398-11d3-a53e-00a0c9ef506a},IID,1,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00



;
;*** strings, GUIDs and names
;

;************************************************************************
; If the EEPROM is not programmed, set these registry entries active
; and to the corresponding board settings.
;************************************************************************

; maps user setting to hardware audio input (1=SIF, 2=Analog1, 3=Analog2)
HKR, "AudioDecoder", "Tuner Channel",0x00010001,1
HKR, "AudioDecoder", "CVBS Channel",0x00010001,2
HKR, "AudioDecoder", "SVHS Channel",0x00010001,2
HKR, "AudioDecoder", "FM Radio Channel",0x00010001,3

; maps user setting to hardware video input
HKR, "VideoDecoder", "Tuner Channel",0x00010001,1
HKR, "VideoDecoder", "CVBS Channel",0x00010001,3
HKR, "VideoDecoder", "SVHS Channel",0x00010001,8

; Device settings

; I2C Device settings
HKR, "I2C Devices", "Number of I2C Devices",0x00010001,1
HKR, "I2C Devices", "Device 0, Data1",0x00010001,0x65,0x00,0x00,0x00 ; Tuner
ID
HKR, "I2C Devices", "Device 0, Data2",0x00010001,0xC0,0x00,0x00,0x00 ; Tuner
slave addr.
HKR, "I2C Devices", "Device 0, Data3",0x00010001,0xC2,0x00,0x00,0x00 ;
HKR, "I2C Devices", "Device 0, Data4",0x00010001,0x1E,0x00,0x00,0x00 ;

;HKR, "I2C Devices", "Force Registry Settings",0x00010001,1

[DSFilters.RegFiles]
11,,MVDetection.ax, 1

[TVRate.RegFiles]
11,,TVRate.dll,1

[Strings]

; Proxy GUIDs

KSProxy.CLSID   = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSXBar.CLSID    = "{71F96460-78F3-11d0-A18C-00A0C9118956}"
KSTVAudio.CLSID = "{71F96462-78F3-11d0-A18C-00A0C9118956}"
KSTvTune.CLSID  = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"

; Category GUIDs

KSCATEGORY_CAPTURE                = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO                  = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"

KSCATEGORY_AUDIO                  = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"

; Our Pin Name GUIDs

VAMP_ANLG_AUDIO_IN_PIN   = "{7BB284B9-714D-493d-A101-B1B028E782BD}"
VAMP_ANLG_AUDIO_OUT_PIN  = "{5582E657-E596-42b5-9DB3-541B27A2355F}"
VAMP_ANLG_AUDIO_I2S_PIN  = "{C2E46358-F032-4d88-B802-06B59D162730}"
VAMP_ANLG_VIDEO_ITU_PIN  = "{82631A2E-403C-4581-A4B0-EC173D004410}"

VAMP_MPEG_AES_PIN        = "{9DEC84B9-BCEF-4aac-997E-43EDD0A2D6C7}"
VAMP_MPEG_VES_PIN        = "{181CF87E-7741-47ba-8629-22347E03C64C}"
VAMP_MPEG_PS_PIN         = "{DDA87B83-65DB-4aec-82D0-79FBE67D2BB6}"

; Our Filter GUIDs

VAMP_ANLG_AUDIO_FILTER   = "{F3B951E7-8619-4ff3-91CA-03910E4BB900}"
VAMP_ANLG_CAP_FILTER     = "{BBEFB6C7-2FC4-4139-BB8B-A58BBA724000}"

; 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

;Our strings

AVer="AVerMedia TECHNOLOGIES, Inc."

33Hybrid.DeviceDesc4      = "AVerMedia Hybrid H/W MPEG Card, M115S
(DVBT/NTSC/PAL/SECAM)"
33Hybrid.DeviceDesc       = "Philips SAA7133 Capture Device"
AVSTRM_INSTALLATION_DISK  = "AVerM115S installation disk"
DISPLAY_NAME              = "AVerM115S service"
SERVICE_DESCRIPTION       = "The AVerMedia capture driver"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070610/76d59cc4/attachment-0001.htm 


More information about the linux-dvb mailing list