AVerMedia AVerTV HD Express A918R: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 250: Line 250:
* /lib/firmware/dvb-usb-af9015.fw available
* /lib/firmware/dvb-usb-af9015.fw available


=Windows inf file=

[Version]
signature="$CHICAGO$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%MfgName%
DriverVer=03/16/2010,8.0.999.57
CatalogFile=AVerAF35.cat

[DestinationDirs]
AVerAF35.CopyDrivers=10,System32\Drivers

[SourceDisksNames]
1=%AVerAF35.Disc%,,,

[SourceDisksFiles]
AVerAF35.sys=1

[Manufacturer]
%MfgName%=AVerMedia,NTx86,NTamd64,NTx86.6,NTamd64.6

[ControlFlags]
ExcludeFromSelect=*
ExcludeFromSelect.NT=*

;Architecture & OS Type-----------------------------------------------------------
[AVerMedia.NTx86]
%AVerAF35.DeviceDesc% = AVerAF35x86,USB\VID_07CA&PID_0918

[AVerMedia.NTamd64]
%AVerAF35.DeviceDesc% = AVerAF35x64,USB\VID_07CA&PID_0918

[AVerMedia.NTx86.6]
%AVerAF35.DeviceDesc% = AVerAF35x86_Vista,USB\VID_07CA&PID_0918

[AVerMedia.NTamd64.6]
%AVerAF35.DeviceDesc% = AVerAF35x64_Vista,USB\VID_07CA&PID_0918


;Information------------------------------------------------------------------------------
[AVerAF35x86.NT]
DriverVer =03/16/2010,8.0.0.57
Include = ks.inf, kscaptur.inf, bda.inf
Needs = KS.Registration,KSCAPTUR.Registration.NT,BDA.Installation.NT
DelReg = AVerAF35.DeleteReg
AddReg = AVerAF35.AddReg
CopyFiles = AVerAF35.CopyDrivers

[AVerAF35x64.NT]
DriverVer=03/16/2010,8.0.64.57
Include = ks.inf, kscaptur.inf, bda.inf
Needs = KS.Registration,KSCAPTUR.Registration.NT,BDA.Installation.NT
DelReg = AVerAF35.DeleteReg
AddReg = AVerAF35.AddReg
CopyFiles = AVerAF35.CopyDrivers

[AVerAF35x86_Vista.NT]
DriverVer =03/16/2010,8.0.0.57
Include = ks.inf, kscaptur.inf, bda.inf
Needs = KS.Registration,KSCAPTUR.Registration.NT,BDA.Installation.NT
DelReg = AVerAF35.DeleteReg
AddReg = AVerAF35.AddReg
CopyFiles = AVerAF35.CopyDrivers

[AVerAF35x64_Vista.NT]
DriverVer=03/16/2010,8.0.64.57
Include = ks.inf, kscaptur.inf, bda.inf
Needs = KS.Registration,KSCAPTUR.Registration.NT,BDA.Installation.NT
DelReg = AVerAF35.DeleteReg
AddReg = AVerAF35.AddReg
CopyFiles = AVerAF35.CopyDrivers

[AVerAF35.CopyDrivers]
AVerAF35.sys

[AVerAF35.DeleteReg]
HKLM,System\CurrentControlSet\SERVICES\AVerAF35\DemodInit
HKLM,System\CurrentControlSet\SERVICES\AVerAF35\Parameters\0918

[AVerAF35.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,AVerAF35.sys
HKR,,PageOutWhenUnopened,3,01
HKLM,System\CurrentControlSet\Control\MediaCategories\{1A9333B6-3704-4b18-A6DD-E1979FC56970}
HKLM,System\CurrentControlSet\Control\MediaCategories\{1A9333B6-3704-4b18-A6DD-E1979FC56970},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{1A9333B6-3704-4b18-A6DD-E1979FC56970},Name,,"Tuner Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{F65394A2-A018-4307-8D12-35AA494A406F}
HKLM,System\CurrentControlSet\Control\MediaCategories\{F65394A2-A018-4307-8D12-35AA494A406F},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{F65394A2-A018-4307-8D12-35AA494A406F},Name,,"Demodulator Node"
HKLM,System\CurrentControlSet\Control\MediaCategories\{870E4D6F-77E7-4c40-ADE3-BEF8708A9D52}
HKLM,System\CurrentControlSet\Control\MediaCategories\{870E4D6F-77E7-4c40-ADE3-BEF8708A9D52},Display,0x00010001,0
HKLM,System\CurrentControlSet\Control\MediaCategories\{870E4D6F-77E7-4c40-ADE3-BEF8708A9D52},Name,,"Antenna In Pin"
HKLM,System\CurrentControlSet\SERVICES\AVerAF35\Parameters\0918,SSEnable,0x00010001,0x00
HKLM,System\CurrentControlSet\SERVICES\AVerAF35\Parameters\0918,IRMode,0x00010001,0x01
HKLM,System\CurrentControlSet\SERVICES\AVerAF35\Parameters\0918,AVerCustom,0x00010001,0x00


;Service-----------------------------------------------------------------------------------------
[AVerAF35x86.NT.Services]
Addservice = AVerAF35, 0x00000002, AVerAF35.AddService

[AVerAF35x64.NT.Services]
Addservice = AVerAF35, 0x00000002, AVerAF35.AddService

[AVerAF35x86_Vista.NT.Services]
Addservice = AVerAF35, 0x00000002, AVerAF35.AddService

[AVerAF35x64_Vista.NT.Services]
Addservice = AVerAF35, 0x00000002, AVerAF35.AddService

[AVerAF35.AddService]
DisplayName = %AF9035Devcie.FriendlyName%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %10%\System32\Drivers\AVerAF35.sys
LoadOrderGroup = Base


;Interface---------------------------------------------------------------------------------------
[AVerAF35x86.NT.Interfaces]
AddInterface=%GUID.TunerCatID%,%KSNAME_Filter%,AVerAF35.Interfaces,
AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter%,AVerAF35.Interfaces,

[AVerAF35x64.NT.Interfaces]
AddInterface=%GUID.TunerCatID%,%KSNAME_Filter%,AVerAF35.Interfaces,
AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter%,AVerAF35.Interfaces,

[AVerAF35x86_Vista.NT.Interfaces]
AddInterface=%GUID.TunerCatID%,%KSNAME_Filter%,AVerAF35.Interfaces,
AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter%,AVerAF35.Interfaces,

[AVerAF35x64_Vista.NT.Interfaces]
AddInterface=%GUID.TunerCatID%,%KSNAME_Filter%,AVerAF35.Interfaces,
AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter%,AVerAF35.Interfaces,

[AVerAF35.Interfaces]
AddReg=AVerAF35.Interface.AddReg

[AVerAF35.Interface.AddReg]
HKR,,CLSID,,%AVerAF35.CLSID%
HKR,,FriendlyName,,%AVerAF35.FriendlyName%


;Constant-----------------------------------------------------------------------------------------------
[Strings]
MfgName = "AVerMedia TECHNOLOGIES, Inc"
AVerAF35.CLSID = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
AVerAF35.Disc = "AVerMedia AF35 BDA Driver Installation Disc"
AVerAF35.DeviceDesc = "AVerMedia A918R Express DVB-T"
AF9035Devcie.FriendlyName = "AVerMedia A918R Express DVB-T"
AVerAF35.FriendlyName = "AF9015 BDA Filter"
KSNAME_Filter = "{9B365890-165F-11D0-A195-0020AFD156E4}"

Plugin_BdaDevice = "BDA Device Control Plug-in"
GUID.TunerCatID = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
AMcatID = "{DA4E3DA0-D07D-11d0-BD50-00A0C911CE86}"
BDAReceivers = "BDA Streaming Receiver Components"
MediaCategories = "SYSTEM\CurrentControlSet\Control\MediaCategories"
Pin.BdaTransport = "BDA Transport Stream"
GUID.BdaTransport = "{78216A81-CFA8-493e-9711-36A61C08BD9D}"
GUID.BdaReceiverCtrl = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"

; ServiceType values
SERVICE_KERNEL_DRIVER = 0x00000001
SERVICE_FILE_SYSTEM_DRIVER = 0x00000002
SERVICE_ADAPTER = 0x00000004
SERVICE_RECOGNIZER_DRIVER = 0x00000008
SERVICE_WIN32_OWN_PROCESS = 0x00000010
SERVICE_WIN32_SHARE_PROCESS = 0x00000020
SERVICE_INTERACTIVE_PROCESS = 0x00000100
SERVICE_INTERACTIVE_SHARE_PROCESS = 0x00000120

; StartType values
SERVICE_BOOT_START = 0x00000000
SERVICE_SYSTEM_START = 0x00000001
SERVICE_AUTO_START = 0x00000002
SERVICE_DEMAND_START = 0x00000003
SERVICE_DISABLED = 0x00000004

; ErrorControl values
SERVICE_ERROR_IGNORE = 0x00000000
SERVICE_ERROR_NORMAL = 0x00000001
SERVICE_ERROR_SEVERE = 0x00000002
SERVICE_ERROR_CRITICAL = 0x00000003

; Registry types
REG_MULTI_SZ = 0x10000
REG_EXPAND_SZ = 0x20000
REG_DWORD = 0x10001





Revision as of 18:19, 23 December 2012

A DVB-T 34/54mm Express Card from AVerMedia.

It is currently not supported under Linux.


Overview/Features

DVB-T tuner for 34/54mm express card slots that supports the following :

  • Fit with 34mm & 54mm Slot
  • H.264 / MPEG-2 HDTV Ready
  • Real-time iPod / PSP Format Recording
  • MHEG-5 & Digital Subtitle
  • Teletext / TimeShift / EPG (Electronic Program Guide)
  • PIP / POP Function
  • Scheduled Recording
  • Wake Up Recording from Stand By / Hibernate Mode
  • see http://www.avermedia.com/Product/ProductDetail.aspx?Id=518

Specifications

Input Signal

  • 75 Ω TV Antenna

Package Included

  • AVerTV Express Card 34mm
  • Quick Installation Guide
  • Installation CD (windows)
  • TV Antenna
  • RF Cable

Practicality

Advantages

  • price competitive (about 30€)
  • Very compact structure (doesn't extend outside the express slot at all)

Disadvantages

  • No Linux drivers

Hardware

components

  • Afatech AF9015 (according to .inf windows file: AVerAF35.FriendlyName = "AF9015 BDA Filter")
  • + to be completed (box not open)

Identification

Detected as usb device

lsusb

  • Bus 002 Device 004: ID 07ca:0918 AVerMedia Technologies, Inc.

Device Descriptor:

 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0 
 bDeviceProtocol         0 
 bMaxPacketSize0        64
 idVendor           0x07ca AVerMedia Technologies, Inc.
 idProduct          0x0918 
 bcdDevice            2.01
 iManufacturer           1 
 iProduct                2 
 iSerial                 3 
 bNumConfigurations      1
 Configuration Descriptor:
   bLength                 9
   bDescriptorType         2
   wTotalLength           97
   bNumInterfaces          1
   bConfigurationValue     1
   iConfiguration          0 
   bmAttributes         0x80
     (Bus Powered)
   MaxPower              500mA
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       0
     bNumEndpoints           5
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0 
     bInterfaceProtocol      0 
     iInterface              0 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x02  EP 2 OUT
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x85  EP 5 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x86  EP 6 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0000  1x 0 bytes
       bInterval               1
   Interface Descriptor:
     bLength                 9
     bDescriptorType         4
     bInterfaceNumber        0
     bAlternateSetting       1
     bNumEndpoints           5
     bInterfaceClass       255 Vendor Specific Class
     bInterfaceSubClass      0 
     bInterfaceProtocol      0 
     iInterface              0 
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x81  EP 1 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x02  EP 2 OUT
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x84  EP 4 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x85  EP 5 IN
       bmAttributes            2
         Transfer Type            Bulk
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x0200  1x 512 bytes
       bInterval               0
     Endpoint Descriptor:
       bLength                 7
       bDescriptorType         5
       bEndpointAddress     0x86  EP 6 IN
       bmAttributes            1
         Transfer Type            Isochronous
         Synch Type               None
         Usage Type               Data
       wMaxPacketSize     0x1400  3x 1024 bytes
       bInterval               1

dmesg

 kernel	[ 1444.061515] usb 2-1.3: new high-speed USB device number 5 using ehci_hcd
 kernel	[ 1444.159080] usb 2-1.3: New USB device found, idVendor=07ca, idProduct=0918
 kernel	[ 1444.159087] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 kernel	[ 1444.159092] usb 2-1.3: Product: A918R
 kernel	[ 1444.159096] usb 2-1.3: Manufacturer: AVerMedia TECHNOLOGIES, Inc
 kernel	[ 1444.159101] usb 2-1.3: SerialNumber: 0000000000000
 mtp-probe	checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3"
 mtp-probe	bus: 2, device: 5 was not an MTP device

udevadm

udevadm info -a -p $(udevadm info -q path -n /dev/bus/usb/002/004)

 looking at device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3':
  KERNEL=="2-1.3"
  SUBSYSTEM=="usb"
  DRIVER=="usb"
  ATTR{authorized}=="1"
  ATTR{avoid_reset_quirk}=="0"
  ATTR{bConfigurationValue}=="1"
  ATTR{bDeviceClass}=="00"
  ATTR{bDeviceProtocol}=="00"
  ATTR{bDeviceSubClass}=="00"
  ATTR{bMaxPacketSize0}=="64"
  ATTR{bMaxPower}=="500mA"
  ATTR{bNumConfigurations}=="1"
  ATTR{bNumInterfaces}==" 1"
  ATTR{bcdDevice}=="0201"
  ATTR{bmAttributes}=="80"
  ATTR{busnum}=="2"
  ATTR{configuration}==""
  ATTR{devnum}=="4"
  ATTR{devpath}=="1.3"
  ATTR{idProduct}=="0918"
  ATTR{idVendor}=="07ca"
  ATTR{ltm_capable}=="no"
  ATTR{manufacturer}=="AVerMedia TECHNOLOGIES, Inc"
  ATTR{maxchild}=="0"
  ATTR{product}=="A918R"
  ATTR{quirks}=="0x0"
  ATTR{removable}=="unknown"
  ATTR{serial}=="0000000000000"
  ATTR{speed}=="480"
  ATTR{urbnum}=="10"
  ATTR{version}==" 2.00"

Test conditions

kernel

  • Kernel used for test: 3.7.0-4-generic (ubuntu)

modules

  • available module: /lib/modules/3.7.0-4-generic/kernel/drivers/media/usb/dvb-usb-v2/dvb-usb-af9015.ko
  • Loading dvb_usb_af9015 module did not help
 # lsmod | grep 9015
 dvb_usb_af9015   27836  0 
 vb_usb_v2        23191  1 dvb_usb_af9015
 rc_core          21267  2 dvb_usb_v2,dvb_usb_af9015

firmware

  • /lib/firmware/dvb-usb-af9015.fw available

Windows inf file

 [Version]
 signature="$CHICAGO$"
 Class=Media
 ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
 Provider=%MfgName%
 DriverVer=03/16/2010,8.0.999.57
 CatalogFile=AVerAF35.cat
 [DestinationDirs]
 AVerAF35.CopyDrivers=10,System32\Drivers
 [SourceDisksNames]
 1=%AVerAF35.Disc%,,,
 [SourceDisksFiles]
 AVerAF35.sys=1
 [Manufacturer]
 %MfgName%=AVerMedia,NTx86,NTamd64,NTx86.6,NTamd64.6
 [ControlFlags]
 ExcludeFromSelect=*
 ExcludeFromSelect.NT=*
 ;Architecture & OS Type-----------------------------------------------------------
 [AVerMedia.NTx86]
 %AVerAF35.DeviceDesc% = AVerAF35x86,USB\VID_07CA&PID_0918
 [AVerMedia.NTamd64]
 %AVerAF35.DeviceDesc% = AVerAF35x64,USB\VID_07CA&PID_0918
 [AVerMedia.NTx86.6]
 %AVerAF35.DeviceDesc% = AVerAF35x86_Vista,USB\VID_07CA&PID_0918
 [AVerMedia.NTamd64.6]
 %AVerAF35.DeviceDesc% = AVerAF35x64_Vista,USB\VID_07CA&PID_0918


 ;Information------------------------------------------------------------------------------
 [AVerAF35x86.NT]
 DriverVer  =03/16/2010,8.0.0.57
 Include    = ks.inf, kscaptur.inf, bda.inf
 Needs      = KS.Registration,KSCAPTUR.Registration.NT,BDA.Installation.NT
 DelReg	   = AVerAF35.DeleteReg
 AddReg     = AVerAF35.AddReg
 CopyFiles  = AVerAF35.CopyDrivers
 [AVerAF35x64.NT]
 DriverVer=03/16/2010,8.0.64.57
 Include    = ks.inf, kscaptur.inf, bda.inf
 Needs      = KS.Registration,KSCAPTUR.Registration.NT,BDA.Installation.NT
 DelReg	   = AVerAF35.DeleteReg
 AddReg     = AVerAF35.AddReg
 CopyFiles  = AVerAF35.CopyDrivers
 [AVerAF35x86_Vista.NT]
 DriverVer  =03/16/2010,8.0.0.57
 Include    = ks.inf, kscaptur.inf, bda.inf
 Needs      = KS.Registration,KSCAPTUR.Registration.NT,BDA.Installation.NT
 DelReg	   = AVerAF35.DeleteReg
 AddReg     = AVerAF35.AddReg
 CopyFiles  = AVerAF35.CopyDrivers
 [AVerAF35x64_Vista.NT]
 DriverVer=03/16/2010,8.0.64.57
 Include    = ks.inf, kscaptur.inf, bda.inf
 Needs      = KS.Registration,KSCAPTUR.Registration.NT,BDA.Installation.NT
 DelReg	   = AVerAF35.DeleteReg
 AddReg     = AVerAF35.AddReg
 CopyFiles  = AVerAF35.CopyDrivers
 [AVerAF35.CopyDrivers]
 AVerAF35.sys
 [AVerAF35.DeleteReg]
 HKLM,System\CurrentControlSet\SERVICES\AVerAF35\DemodInit
 HKLM,System\CurrentControlSet\SERVICES\AVerAF35\Parameters\0918
 [AVerAF35.AddReg]
 HKR,,DevLoader,,*ntkern
 HKR,,NTMPDriver,,AVerAF35.sys
 HKR,,PageOutWhenUnopened,3,01
 HKLM,System\CurrentControlSet\Control\MediaCategories\{1A9333B6-3704-4b18-A6DD-E1979FC56970}
 HKLM,System\CurrentControlSet\Control\MediaCategories\{1A9333B6-3704-4b18-A6DD-E1979FC56970},Display,0x00010001,0
 HKLM,System\CurrentControlSet\Control\MediaCategories\{1A9333B6-3704-4b18-A6DD-E1979FC56970},Name,,"Tuner Node"
 HKLM,System\CurrentControlSet\Control\MediaCategories\{F65394A2-A018-4307-8D12-35AA494A406F}
 HKLM,System\CurrentControlSet\Control\MediaCategories\{F65394A2-A018-4307-8D12-35AA494A406F},Display,0x00010001,0
 HKLM,System\CurrentControlSet\Control\MediaCategories\{F65394A2-A018-4307-8D12-35AA494A406F},Name,,"Demodulator Node"
 HKLM,System\CurrentControlSet\Control\MediaCategories\{870E4D6F-77E7-4c40-ADE3-BEF8708A9D52}
 HKLM,System\CurrentControlSet\Control\MediaCategories\{870E4D6F-77E7-4c40-ADE3-BEF8708A9D52},Display,0x00010001,0
 HKLM,System\CurrentControlSet\Control\MediaCategories\{870E4D6F-77E7-4c40-ADE3-BEF8708A9D52},Name,,"Antenna In Pin"
 HKLM,System\CurrentControlSet\SERVICES\AVerAF35\Parameters\0918,SSEnable,0x00010001,0x00
 HKLM,System\CurrentControlSet\SERVICES\AVerAF35\Parameters\0918,IRMode,0x00010001,0x01
 HKLM,System\CurrentControlSet\SERVICES\AVerAF35\Parameters\0918,AVerCustom,0x00010001,0x00


 ;Service-----------------------------------------------------------------------------------------
 [AVerAF35x86.NT.Services]
 Addservice = AVerAF35, 0x00000002, AVerAF35.AddService
 [AVerAF35x64.NT.Services]
 Addservice = AVerAF35, 0x00000002, AVerAF35.AddService
 [AVerAF35x86_Vista.NT.Services]
 Addservice = AVerAF35, 0x00000002, AVerAF35.AddService
 [AVerAF35x64_Vista.NT.Services]
 Addservice = AVerAF35, 0x00000002, AVerAF35.AddService
 [AVerAF35.AddService]
 DisplayName    = %AF9035Devcie.FriendlyName%
 ServiceType    = %SERVICE_KERNEL_DRIVER%
 StartType      = %SERVICE_DEMAND_START%
 ErrorControl   = %SERVICE_ERROR_NORMAL%
 ServiceBinary  = %10%\System32\Drivers\AVerAF35.sys
 LoadOrderGroup = Base


 ;Interface---------------------------------------------------------------------------------------
 [AVerAF35x86.NT.Interfaces]
 AddInterface=%GUID.TunerCatID%,%KSNAME_Filter%,AVerAF35.Interfaces,
 AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter%,AVerAF35.Interfaces,
 [AVerAF35x64.NT.Interfaces]
 AddInterface=%GUID.TunerCatID%,%KSNAME_Filter%,AVerAF35.Interfaces,
 AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter%,AVerAF35.Interfaces,
 [AVerAF35x86_Vista.NT.Interfaces]
 AddInterface=%GUID.TunerCatID%,%KSNAME_Filter%,AVerAF35.Interfaces,
 AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter%,AVerAF35.Interfaces,
 [AVerAF35x64_Vista.NT.Interfaces]
 AddInterface=%GUID.TunerCatID%,%KSNAME_Filter%,AVerAF35.Interfaces,
 AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter%,AVerAF35.Interfaces,
 [AVerAF35.Interfaces]
 AddReg=AVerAF35.Interface.AddReg
 [AVerAF35.Interface.AddReg]
 HKR,,CLSID,,%AVerAF35.CLSID%
 HKR,,FriendlyName,,%AVerAF35.FriendlyName%


 ;Constant-----------------------------------------------------------------------------------------------
 [Strings]
 MfgName                 = "AVerMedia TECHNOLOGIES, Inc"
 AVerAF35.CLSID           = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
 AVerAF35.Disc            = "AVerMedia AF35 BDA Driver Installation Disc"
 AVerAF35.DeviceDesc      = "AVerMedia A918R Express DVB-T"
 AF9035Devcie.FriendlyName = "AVerMedia A918R Express DVB-T"
 AVerAF35.FriendlyName    = "AF9015 BDA Filter"
 KSNAME_Filter           = "{9B365890-165F-11D0-A195-0020AFD156E4}"
 Plugin_BdaDevice        = "BDA Device Control Plug-in"
 GUID.TunerCatID         = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
 AMcatID                 = "{DA4E3DA0-D07D-11d0-BD50-00A0C911CE86}"
 BDAReceivers            = "BDA Streaming Receiver Components"
 MediaCategories         = "SYSTEM\CurrentControlSet\Control\MediaCategories"
 Pin.BdaTransport        = "BDA Transport Stream"
 GUID.BdaTransport       = "{78216A81-CFA8-493e-9711-36A61C08BD9D}"
 GUID.BdaReceiverCtrl    = "{FD0A5AF4-B41D-11d2-9C95-00C04F7971E0}"
 ; ServiceType values
 SERVICE_KERNEL_DRIVER       = 0x00000001
 SERVICE_FILE_SYSTEM_DRIVER  = 0x00000002
 SERVICE_ADAPTER             = 0x00000004
 SERVICE_RECOGNIZER_DRIVER   = 0x00000008
 SERVICE_WIN32_OWN_PROCESS   = 0x00000010
 SERVICE_WIN32_SHARE_PROCESS = 0x00000020
 SERVICE_INTERACTIVE_PROCESS = 0x00000100
 SERVICE_INTERACTIVE_SHARE_PROCESS = 0x00000120
 ; StartType values
 SERVICE_BOOT_START          = 0x00000000
 SERVICE_SYSTEM_START        = 0x00000001
 SERVICE_AUTO_START          = 0x00000002
 SERVICE_DEMAND_START        = 0x00000003
 SERVICE_DISABLED            = 0x00000004
 ; ErrorControl values
 SERVICE_ERROR_IGNORE        = 0x00000000
 SERVICE_ERROR_NORMAL        = 0x00000001
 SERVICE_ERROR_SEVERE        = 0x00000002
 SERVICE_ERROR_CRITICAL      = 0x00000003
 ; Registry types
 REG_MULTI_SZ                = 0x10000
 REG_EXPAND_SZ               = 0x20000
 REG_DWORD                   = 0x10001