public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] New unspported device AVerMedia DVB-T
@ 2008-09-15 21:45 Dirk Vornheder
  2008-09-16 10:09 ` Antti Palosaari
  0 siblings, 1 reply; 13+ messages in thread
From: Dirk Vornheder @ 2008-09-15 21:45 UTC (permalink / raw)
  To: linux-dvb

Hi !

I buy a new notebook HP Pavilion dv7-1070eg which includes one

AVerMedia DVB-T-Device.

lsusb shows:

Bus 003 Device 003: ID 07ca:a309 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          0xa309 
  bcdDevice            2.00
  iManufacturer           1 AVerMedia
  iProduct                2 A309
  iSerial                 3 300938405000000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      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
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

;*******************************************************************************
; Copyright (C) AVerMedia
;*******************************************************************************

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

[DestinationDirs]
AVerAF15.CopyDrivers=10,System32\Drivers
AVerAF15.CopyFiles=10,System32

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

[SourceDisksFiles]
AVerAF15.sys=1
AP6RMFP.BIN=1
AP6RMHR.BIN=1
AP6RMHV.BIN=1
AP6RMJH.BIN=1

[Manufacturer]
%MfgName%=AVerMedia

[ControlFlags]
ExcludeFromSelect=*
ExcludeFromSelect.NT=*

[AVerMedia]
%AVerAF15.DeviceDesc.A309% = AVerAF15.Device,USB\VID_07CA&PID_A309

[AVerAF15.Device.NT]
Include    = ks.inf, kscaptur.inf, bda.inf
Needs      = KS.Registration.NT,KSCAPTUR.Registration.NT,BDA.Installation.NT
DelReg	   = AVerAF15.DeleteReg
;AddReg     = AVerAF15_DemodInit.AddReg
AddReg     = AVerAF15.AddReg
CopyFiles  = AVerAF15.CopyDrivers,AVerAF15.CopyFiles

[AVerAF15.Device.NT.Services]
Addservice = AVerAF15, 0x00000002, AVerAF15.AddService

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

[AVerAF15.CopyDrivers]
AVerAF15.sys

[AVerAF15.CopyFiles]
AP6RMFP.BIN
AP6RMHR.BIN
AP6RMHV.BIN
AP6RMJH.BIN

[AVerAF15.DeleteReg]
HKLM,System\CurrentControlSet\SERVICES\AF15BDA\DemodInit

;[AVerAF15_DemodInit.AddReg]
;HKLM,System\CurrentControlSet\SERVICES\AF15BDA\DemodInit,InitScriptPatch,
%REG_DWORD%,0x00
;HKLM,System\CurrentControlSet\SERVICES\AF15BDA\DemodInit,1,
%REG_DWORD%,0xd5,0x9b,0x08,0x01
;HKLM,System\CurrentControlSet\SERVICES\AF15BDA\DemodInit,2,
%REG_DWORD%,0xd5,0x9b,0x08,0x01

[AVerAF15.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,AVerAF15.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\AF15BDA\Parameters,TPSLockTimes,0x00010001,60
HKLM,System\CurrentControlSet\SERVICES\AF15BDA\Parameters,IRModel,0x00010001,0x00000004
HKLM,System\CurrentControlSet\SERVICES\AF15BDA\Parameters,TunerMode,0x00010001,0x00000000
HKLM,System\CurrentControlSet\SERVICES\AF15BDA\Parameters,SelectiveSuspend,0x00010001,0x00000001
HKLM,System\CurrentControlSet\SERVICES\AF15BDA\Parameters,EnRSSI,0x00010001,0x00000001
HKLM,System\CurrentControlSet\SERVICES\AF15BDA\Parameters,SS_NormalDelayTime,0x00010001,0
HKLM,System\CurrentControlSet\SERVICES\AF15BDA\Parameters,SS_StartDelayTime,0x00010001,120000

[AVerAF15.Device.NT.Interfaces]
AddInterface=%GUID.TunerCatID%,%KSNAME_Filter%,AVerAF15.Interfaces,
AddInterface=%GUID.BdaReceiverCompID%,%KSNAME_Filter%,AVerAF15.Interfaces,
AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter%,AVerAF15.Interfaces,
AddInterface=%GUID.TunerCatID%,%KSNAME_Filter2%,AVerAF152.Interfaces,
AddInterface=%GUID.BdaReceiverCompID%,%KSNAME_Filter2%,AVerAF152.Interfaces,
AddInterface=%GUID.BdaReceiverCtrl%,%KSNAME_Filter2%,AVerAF152.Interfaces,

[AVerAF15.Interfaces]
AddReg=AVerAF15.Interface.AddReg

[AVerAF152.Interfaces]
AddReg=AVerAF152.Interface.AddReg

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

[AVerAF152.Interface.AddReg]
HKR,,CLSID,,%AVerAF15.CLSID%
HKR,,FriendlyName,,%AVerAF152.FriendlyName%

[Strings]
MfgName						= "AVerMedia TECHNOLOGIES, Inc."
AVerAF15.CLSID				= "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
AVerAF15.Disc				= "AVerMedia DVB-T BDA Video Capture Installation Disk"
AVerAF15.DeviceDesc.A309	= "HP DVB-T TV Tuner"
AVerAF15.FriendlyName		= "HP DVB-T TV Tuner"
AVerAF152.FriendlyName		= "HP DVB-T TV Tuner"
KSNAME_Filter           = "{9B365890-165F-11D0-A195-0020AFD156E4}"
KSNAME_Filter2          = "{9B365890-165F-11D0-A195-0020AFD156E5}"

Plugin_BdaDevice        = "BDA Device Control Plug-in"
GUID.TunerCatID         = "{71985F48-1CA1-11d3-9CC8-00C04F7971E0}"
GUID.BdaReceiverCompID	= "{FD0A5AF4-B41D-11d2-9C95-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    = "{FD0A5AF3-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

Hope this helps to get working the device under linux.

Dirk



		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] New unspported device AVerMedia DVB-T
  2008-09-15 21:45 [linux-dvb] New unspported device AVerMedia DVB-T Dirk Vornheder
@ 2008-09-16 10:09 ` Antti Palosaari
  2008-09-17 19:15   ` [linux-dvb] UNS: " Dirk Vornheder
  2008-09-21  1:17   ` [linux-dvb] " Markus Ranne
  0 siblings, 2 replies; 13+ messages in thread
From: Antti Palosaari @ 2008-09-16 10:09 UTC (permalink / raw)
  To: Dirk Vornheder; +Cc: linux-dvb

Dirk Vornheder wrote:
> Hi !
> 
> I buy a new notebook HP Pavilion dv7-1070eg which includes one
> 
> AVerMedia DVB-T-Device.

It is Afatech AF9015 based device. Please test driver from:
http://linuxtv.org/hg/~anttip/af9015_test
and firmware from:
http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/

regards
Antti
-- 
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] UNS: Re:  New unspported device AVerMedia DVB-T
  2008-09-16 10:09 ` Antti Palosaari
@ 2008-09-17 19:15   ` Dirk Vornheder
  2008-09-17 20:20     ` Antti Palosaari
  2008-09-19 21:45     ` Antti Palosaari
  2008-09-21  1:17   ` [linux-dvb] " Markus Ranne
  1 sibling, 2 replies; 13+ messages in thread
From: Dirk Vornheder @ 2008-09-17 19:15 UTC (permalink / raw)
  To: Antti Palosaari, linux-dvb


Compile produces undefined symbol:

  Building modules, stage 2.
  MODPOST 166 modules
WARNING: "__udivdi3" [/backup/privat/kernel/af9015_test-
c8583d119095/v4l/af9013.ko] undefined!
  CC      /backup/privat/kernel/af9015_test-c8583d119095/v4l/af9013.mod.o
  LD [M]  /backup/privat/kernel/af9015_test-c8583d119095/v4l/af9013.ko
  CC      /backup/privat/kernel/af9015_test-c8583d119095/v4l/au8522.mod.o
  LD [M]  /backup/privat/kernel/af9015_test-c8583d119095/v4l/au8522.ko


> > Hi !
> >
> > I buy a new notebook HP Pavilion dv7-1070eg which includes one
> >
> > AVerMedia DVB-T-Device.
>
> It is Afatech AF9015 based device. Please test driver from:
> http://linuxtv.org/hg/~anttip/af9015_test
> and firmware from:
> http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_fi
>les/4.95.0/
>
> regards
> Antti


	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] UNS: Re:  New unspported device AVerMedia DVB-T
  2008-09-17 19:15   ` [linux-dvb] UNS: " Dirk Vornheder
@ 2008-09-17 20:20     ` Antti Palosaari
  2008-09-19 21:45     ` Antti Palosaari
  1 sibling, 0 replies; 13+ messages in thread
From: Antti Palosaari @ 2008-09-17 20:20 UTC (permalink / raw)
  To: Dirk Vornheder; +Cc: linux-dvb

ke 17.9.2008 22:15 Dirk Vornheder kirjoitti:
>
> Compile produces undefined symbol:
>
>   Building modules, stage 2.
>   MODPOST 166 modules
> WARNING: "__udivdi3" [/backup/privat/kernel/af9015_test-
> c8583d119095/v4l/af9013.ko] undefined!

I fixed this yesterday  but only for af9015 main tree :-( Unfortunately I
am not in my home so I cannot fix this just now for your test tree. But if
you can, you can fix it yourself.

Open file af9015_test/linux/drivers/media/dvb/frontends/af9013.c
Remove lines 982-986. Compile and test. Hopefully it works.
You can remove following lines (982-986).
	if (total_bit_count) {
		numerator = error_bit_count * 1000000000;
		denominator = total_bit_count;
		state->ber = numerator / denominator;
	}

regards
Antti



_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] UNS: Re:  New unspported device AVerMedia DVB-T
  2008-09-17 19:15   ` [linux-dvb] UNS: " Dirk Vornheder
  2008-09-17 20:20     ` Antti Palosaari
@ 2008-09-19 21:45     ` Antti Palosaari
  2008-09-20 17:16       ` [linux-dvb] UNS: " Dirk Vornheder
  1 sibling, 1 reply; 13+ messages in thread
From: Antti Palosaari @ 2008-09-19 21:45 UTC (permalink / raw)
  To: Dirk Vornheder; +Cc: linux-dvb

Dirk Vornheder wrote:
> Compile produces undefined symbol:
> 
>   Building modules, stage 2.
>   MODPOST 166 modules
> WARNING: "__udivdi3" [/backup/privat/kernel/af9015_test-
> c8583d119095/v4l/af9013.ko] undefined!
>   CC      /backup/privat/kernel/af9015_test-c8583d119095/v4l/af9013.mod.o
>   LD [M]  /backup/privat/kernel/af9015_test-c8583d119095/v4l/af9013.ko
>   CC      /backup/privat/kernel/af9015_test-c8583d119095/v4l/au8522.mod.o
>   LD [M]  /backup/privat/kernel/af9015_test-c8583d119095/v4l/au8522.ko

That's now fixed, please test: http://linuxtv.org/hg/~anttip/af9015_test

>>> I buy a new notebook HP Pavilion dv7-1070eg which includes one

Did you mean that this AverMedia DVB-T device is integrated to the 
motherboard of your computer?

regards
Antti
-- 
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] UNS: Re: UNS: Re: New unspported device AVerMedia DVB-T
  2008-09-19 21:45     ` Antti Palosaari
@ 2008-09-20 17:16       ` Dirk Vornheder
  2008-09-20 17:23         ` Antti Palosaari
  0 siblings, 1 reply; 13+ messages in thread
From: Dirk Vornheder @ 2008-09-20 17:16 UTC (permalink / raw)
  To: Antti Palosaari, linux-dvb

Am Friday 19 September 2008 23:45:31 schrieben Sie:
> Dirk Vornheder wrote:
> > Compile produces undefined symbol:
> >
> >   Building modules, stage 2.
> >   MODPOST 166 modules
> > WARNING: "__udivdi3" [/backup/privat/kernel/af9015_test-
> > c8583d119095/v4l/af9013.ko] undefined!
> >   CC      /backup/privat/kernel/af9015_test-c8583d119095/v4l/af9013.mod.o
> >   LD [M]  /backup/privat/kernel/af9015_test-c8583d119095/v4l/af9013.ko
> >   CC      /backup/privat/kernel/af9015_test-c8583d119095/v4l/au8522.mod.o
> >   LD [M]  /backup/privat/kernel/af9015_test-c8583d119095/v4l/au8522.ko
>
> That's now fixed, please test: http://linuxtv.org/hg/~anttip/af9015_test
>

Compile now works.

Some messages from booting:

dvb-usb: found a 'AVerMedia DVB-T' in cold state, will try to load a firmware
firmware: requesting dvb-usb-af9015.fw
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
usbcore: registered new interface driver dvb_usb_af9015

lsmod | grep af  shows:

af9013                 17156  0
dvb_usb_af9015         19108  0
dvb_usb                14860  1 dvb_usb_af9015
usbcore               108752  10 
iforce,usbmouse,usbhid,uvcvideo,dvb_usb_af9015,dvb_usb,btusb,ehci_hcd,uhci_hcd
i2c_core               18324  52 
zl10353,ves1x93,ves1820,tua6100,tda826x,tda8083,tda10086,tda1004x,tda10048,tda10023,tda10021,stv0299,stv0297,sp887x,sp8870,s5h1420,s5h1411,s5h1409,or51211,or51132,nxt6000,nxt200x,mt352,mt312,lnbp21,lgs8gl5,lgdt330x,l64781,itd1000,isl6421,isl6405,dvb_pll,drx397xD,dib7000p,dib7000m,dib3000mc,dibx000_common,dib3000mb,dib0070,cx24123,cx24110,cx22702,cx22700,bcm3510,au8522,af9013,dvb_ttpci,ttpci_eeprom,dvb_usb_af9015,dvb_usb,nvidia,i2c_i801

But i found no device entries in /dev/dvb.

> >>> I buy a new notebook HP Pavilion dv7-1070eg which includes one
>
> Did you mean that this AverMedia DVB-T device is integrated to the
> motherboard of your computer?
>

Yes.

Dirk


		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] UNS: Re: UNS: Re: New unspported device AVerMedia DVB-T
  2008-09-20 17:16       ` [linux-dvb] UNS: " Dirk Vornheder
@ 2008-09-20 17:23         ` Antti Palosaari
  2008-09-20 17:53           ` [linux-dvb] UNS: " Dirk Vornheder
  0 siblings, 1 reply; 13+ messages in thread
From: Antti Palosaari @ 2008-09-20 17:23 UTC (permalink / raw)
  To: Dirk Vornheder; +Cc: linux-dvb

Dirk Vornheder wrote:
> Some messages from booting:
> 
> dvb-usb: found a 'AVerMedia DVB-T' in cold state, will try to load a firmware
> firmware: requesting dvb-usb-af9015.fw
> dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
> usbcore: registered new interface driver dvb_usb_af9015
> 
> lsmod | grep af  shows:
> 
> af9013                 17156  0
> dvb_usb_af9015         19108  0
> dvb_usb                14860  1 dvb_usb_af9015
> usbcore               108752  10 
> iforce,usbmouse,usbhid,uvcvideo,dvb_usb_af9015,dvb_usb,btusb,ehci_hcd,uhci_hcd
> i2c_core               18324  52 
> zl10353,ves1x93,ves1820,tua6100,tda826x,tda8083,tda10086,tda1004x,tda10048,tda10023,tda10021,stv0299,stv0297,sp887x,sp8870,s5h1420,s5h1411,s5h1409,or51211,or51132,nxt6000,nxt200x,mt352,mt312,lnbp21,lgs8gl5,lgdt330x,l64781,itd1000,isl6421,isl6405,dvb_pll,drx397xD,dib7000p,dib7000m,dib3000mc,dibx000_common,dib3000mb,dib0070,cx24123,cx24110,cx22702,cx22700,bcm3510,au8522,af9013,dvb_ttpci,ttpci_eeprom,dvb_usb_af9015,dvb_usb,nvidia,i2c_i801
> 
> But i found no device entries in /dev/dvb.

Looks like tuner is not identified. Could you load af9015 with some 
debugging enabled to see more information?

1) remove all dvb-modules "make rmmod"
2) load af9015 with debug enabled "modprobe dvb-usb-af9015 debug=3"

after that there should be more information in message-log.

> 
>>>>> I buy a new notebook HP Pavilion dv7-1070eg which includes one
>> Did you mean that this AverMedia DVB-T device is integrated to the
>> motherboard of your computer?
>>
> 
> Yes.
> 
> Dirk

Antti
-- 
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] UNS: Re: UNS: Re: UNS: Re: New unspported device AVerMedia DVB-T
  2008-09-20 17:23         ` Antti Palosaari
@ 2008-09-20 17:53           ` Dirk Vornheder
  2008-09-20 18:04             ` Antti Palosaari
  0 siblings, 1 reply; 13+ messages in thread
From: Dirk Vornheder @ 2008-09-20 17:53 UTC (permalink / raw)
  To: Antti Palosaari, linux-dvb


> > Some messages from booting:
> >
> > dvb-usb: found a 'AVerMedia DVB-T' in cold state, will try to load a
> > firmware firmware: requesting dvb-usb-af9015.fw
> > dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
> > usbcore: registered new interface driver dvb_usb_af9015
> >
> > lsmod | grep af  shows:
> >
> > af9013                 17156  0
> > dvb_usb_af9015         19108  0
> > dvb_usb                14860  1 dvb_usb_af9015
> > usbcore               108752  10
> > iforce,usbmouse,usbhid,uvcvideo,dvb_usb_af9015,dvb_usb,btusb,ehci_hcd,uhc
> >i_hcd i2c_core               18324  52
> > zl10353,ves1x93,ves1820,tua6100,tda826x,tda8083,tda10086,tda1004x,tda1004
> >8,tda10023,tda10021,stv0299,stv0297,sp887x,sp8870,s5h1420,s5h1411,s5h1409,
> >or51211,or51132,nxt6000,nxt200x,mt352,mt312,lnbp21,lgs8gl5,lgdt330x,l64781
> >,itd1000,isl6421,isl6405,dvb_pll,drx397xD,dib7000p,dib7000m,dib3000mc,dibx
> >000_common,dib3000mb,dib0070,cx24123,cx24110,cx22702,cx22700,bcm3510,au852
> >2,af9013,dvb_ttpci,ttpci_eeprom,dvb_usb_af9015,dvb_usb,nvidia,i2c_i801
> >
> > But i found no device entries in /dev/dvb.
>
> Looks like tuner is not identified. Could you load af9015 with some
> debugging enabled to see more information?
>
> 1) remove all dvb-modules "make rmmod"
> 2) load af9015 with debug enabled "modprobe dvb-usb-af9015 debug=3"
>
> after that there should be more information in message-log.
>

Sep 20 19:51:13 lappc kernel: af9015: command failed:255
Sep 20 19:51:13 lappc kernel: af9015: eeprom read failed:-1
Sep 20 19:51:13 lappc kernel: dvb_usb_af9015: probe of 3-3:1.0 failed with 
error -1
Sep 20 19:51:13 lappc kernel: usbcore: registered new interface driver 
dvb_usb_af9015


Dirk


	
		
___________________________________________________________ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] UNS: Re: UNS: Re: UNS: Re: New unspported device AVerMedia DVB-T
  2008-09-20 17:53           ` [linux-dvb] UNS: " Dirk Vornheder
@ 2008-09-20 18:04             ` Antti Palosaari
  2008-09-21  7:04               ` [linux-dvb] " Dirk Vornheder
  0 siblings, 1 reply; 13+ messages in thread
From: Antti Palosaari @ 2008-09-20 18:04 UTC (permalink / raw)
  To: Dirk Vornheder; +Cc: linux-dvb

Dirk Vornheder wrote:
>>> But i found no device entries in /dev/dvb.
>> Looks like tuner is not identified. Could you load af9015 with some
>> debugging enabled to see more information?
>>
>> 1) remove all dvb-modules "make rmmod"
>> 2) load af9015 with debug enabled "modprobe dvb-usb-af9015 debug=3"
>>
>> after that there should be more information in message-log.
>>
> 
> Sep 20 19:51:13 lappc kernel: af9015: command failed:255
> Sep 20 19:51:13 lappc kernel: af9015: eeprom read failed:-1
> Sep 20 19:51:13 lappc kernel: dvb_usb_af9015: probe of 3-3:1.0 failed with 
> error -1
> Sep 20 19:51:13 lappc kernel: usbcore: registered new interface driver 
> dvb_usb_af9015

hmm, now it even fails to read eeprom :( I have no idea why. Could you 
try to poweroff and do cold start to see if it loads driver properly then...

Antti
-- 
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] New unspported device AVerMedia DVB-T
  2008-09-16 10:09 ` Antti Palosaari
  2008-09-17 19:15   ` [linux-dvb] UNS: " Dirk Vornheder
@ 2008-09-21  1:17   ` Markus Ranne
  1 sibling, 0 replies; 13+ messages in thread
From: Markus Ranne @ 2008-09-21  1:17 UTC (permalink / raw)
  To: linux-dvb

Antti Palosaari <crope <at> iki.fi> writes:

> 
> Dirk Vornheder wrote:
> > Hi !
> > 
> > I buy a new notebook HP Pavilion dv7-1070eg which includes one
> > 
> > AVerMedia DVB-T-Device.
> 
> It is Afatech AF9015 based device. Please test driver from:
> http://linuxtv.org/hg/~anttip/af9015_test

Tested and seems to work on HP Pavilion dv7-1060eo (Avermedia A309 DVB-T)
with Maxlinear MXL5005S tuner driver.

-Markus


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] New unspported device AVerMedia DVB-T
  2008-09-20 18:04             ` Antti Palosaari
@ 2008-09-21  7:04               ` Dirk Vornheder
  2008-09-21 12:35                 ` Antti Palosaari
  0 siblings, 1 reply; 13+ messages in thread
From: Dirk Vornheder @ 2008-09-21  7:04 UTC (permalink / raw)
  To: Antti Palosaari, linux-dvb


> >>
> >> Looks like tuner is not identified. Could you load af9015 with some
> >> debugging enabled to see more information?
> >>
> >> 1) remove all dvb-modules "make rmmod"
> >> 2) load af9015 with debug enabled "modprobe dvb-usb-af9015 debug=3"
> >>
> >> after that there should be more information in message-log.
> >
> > Sep 20 19:51:13 lappc kernel: af9015: command failed:255
> > Sep 20 19:51:13 lappc kernel: af9015: eeprom read failed:-1
> > Sep 20 19:51:13 lappc kernel: dvb_usb_af9015: probe of 3-3:1.0 failed
> > with error -1
> > Sep 20 19:51:13 lappc kernel: usbcore: registered new interface driver
> > dvb_usb_af9015
>
> hmm, now it even fails to read eeprom :( I have no idea why. Could you
> try to poweroff and do cold start to see if it loads driver properly
> then...
>
> Antti

Sep 21 08:17:51 lappc kernel: dvb-usb: found a 'AVerMedia DVB-T' in cold 
state, will try to load a firmware
Sep 21 08:17:51 lappc kernel: firmware: requesting dvb-usb-af9015.fw
Sep 21 08:17:51 lappc kernel: dvb-usb: downloading firmware from file 'dvb-
usb-af9015.fw'
Sep 21 08:17:51 lappc kernel: usbcore: registered new interface driver 
dvb_usb_af9015

But i found no device entries in /dev/dvb.

Dirk

		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] New unspported device AVerMedia DVB-T
  2008-09-21  7:04               ` [linux-dvb] " Dirk Vornheder
@ 2008-09-21 12:35                 ` Antti Palosaari
  2008-09-28 12:13                   ` [linux-dvb] UNS: " Dirk Vornheder
  0 siblings, 1 reply; 13+ messages in thread
From: Antti Palosaari @ 2008-09-21 12:35 UTC (permalink / raw)
  To: Dirk Vornheder; +Cc: Antti Palosaari, linux-dvb

su 21.9.2008 10:04 Dirk Vornheder kirjoitti:
> Sep 21 08:17:51 lappc kernel: dvb-usb: found a 'AVerMedia DVB-T' in cold
> state, will try to load a firmware
> Sep 21 08:17:51 lappc kernel: firmware: requesting dvb-usb-af9015.fw
> Sep 21 08:17:51 lappc kernel: dvb-usb: downloading firmware from file
> 'dvb-
> usb-af9015.fw'
> Sep 21 08:17:51 lappc kernel: usbcore: registered new interface driver
> dvb_usb_af9015
>
> But i found no device entries in /dev/dvb.
>
> Dirk

Markus Ranne reported this working, see couple of mails back on the list.

But anyhow, looks like you has problem that firmware does not run.
Re-download and install firmware. Hopefully it helps.

regards
Antti


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [linux-dvb] UNS: Re:  New unspported device AVerMedia DVB-T
  2008-09-21 12:35                 ` Antti Palosaari
@ 2008-09-28 12:13                   ` Dirk Vornheder
  0 siblings, 0 replies; 13+ messages in thread
From: Dirk Vornheder @ 2008-09-28 12:13 UTC (permalink / raw)
  To: Antti Palosaari, linux-dvb


> > Sep 21 08:17:51 lappc kernel: dvb-usb: found a 'AVerMedia DVB-T' in cold
> > state, will try to load a firmware
> > Sep 21 08:17:51 lappc kernel: firmware: requesting dvb-usb-af9015.fw
> > Sep 21 08:17:51 lappc kernel: dvb-usb: downloading firmware from file
> > 'dvb-
> > usb-af9015.fw'
> > Sep 21 08:17:51 lappc kernel: usbcore: registered new interface driver
> > dvb_usb_af9015
> >
> > But i found no device entries in /dev/dvb.
> >
> > Dirk
>
> Markus Ranne reported this working, see couple of mails back on the list.
>
> But anyhow, looks like you has problem that firmware does not run.
> Re-download and install firmware. Hopefully it helps.
>

After download, compile with option CONFIG_DVB_USB_DEBUG=y and install latest 

v4l-dvb sources the device only works if i add option

options dvb_usb_af9015 debug=3

to /etc/modprobe.conf.local and load module dvb-usb-af9015

with option debug=3 !

Some messages after loading the module:

Sep 28 08:38:02 lappc kernel: af9015_usb_probe: interface:0
Sep 28 08:38:02 lappc kernel: af9015_read_config: IR mode:0
Sep 28 08:38:02 lappc kernel: af9015_read_config: TS mode:0
Sep 28 08:38:02 lappc kernel: af9015_read_config: [0] xtal:2 set 
adc_clock:28000
Sep 28 08:38:02 lappc kernel: af9015_read_config: [0] IF1:4570
Sep 28 08:38:02 lappc kernel: af9015_read_config: [0] MT2060 IF1:0
Sep 28 08:38:02 lappc kernel: af9015_read_config: [0] tuner id:13
Sep 28 08:38:02 lappc kernel: af9015_identify_state: reply:02
Sep 28 08:38:02 lappc kernel: dvb-usb: found a 'AVerMedia A309' in warm state.
Sep 28 08:38:02 lappc kernel: dvb-usb: will pass the complete MPEG2 transport 
stream to the software demuxer.
Sep 28 08:38:02 lappc kernel: DVB: registering new adapter (AVerMedia A309)
Sep 28 08:38:02 lappc kernel: af9015_af9013_frontend_attach: init I2C
Sep 28 08:38:02 lappc kernel: af9015_i2c_init:
Sep 28 08:38:02 lappc kernel: 00: 2b 7a 99 0b 00 00 00 00 ca 07 09 a3 00 02 01 
02 
Sep 28 08:38:03 lappc kernel: 10: 03 80 00 fa fa 10 40 ef 00 30 31 30 31 31 32 
30 
Sep 28 08:38:03 lappc kernel: 20: 34 30 36 30 30 30 30 31 ff ff ff ff ff ff ff 
ff 
Sep 28 08:38:03 lappc kernel: 30: 01 00 3a 01 00 08 02 00 da 11 00 00 0d ff ff 
ff 
Sep 28 08:38:03 lappc kernel: 40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff 
ff 
Sep 28 08:38:03 lappc kernel: 50: ff ff ff ff ff 24 00 00 04 03 09 04 14 03 41 
00 
Sep 28 08:38:03 lappc kernel: 60: 56 00 65 00 72 00 4d 00 65 00 64 00 69 00 61 
00 
Sep 28 08:38:03 lappc kernel: 70: 0a 03 41 00 33 00 30 00 39 00 20 03 33 00 30 
00 
Sep 28 08:38:03 lappc kernel: 80: 30 00 39 00 33 00 38 00 34 00 30 00 35 00 30 
00 
Sep 28 08:38:03 lappc kernel: 90: 30 00 30 00 30 00 30 00 30 00 00 ff ff ff ff 
ff 
Sep 28 08:38:03 lappc kernel: a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
ff 
Sep 28 08:38:03 lappc kernel: b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
ff 
Sep 28 08:38:03 lappc kernel: c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
ff 
Sep 28 08:38:03 lappc kernel: d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
ff 
Sep 28 08:38:03 lappc kernel: e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
ff 
Sep 28 08:38:03 lappc kernel: f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
ff 
Sep 28 08:38:03 lappc kernel: af9013: firmware version:4.95.0
Sep 28 08:38:03 lappc kernel: DVB: registering frontend 0 (Afatech AF9013 DVB-
T)...
Sep 28 08:38:03 lappc kernel: af9015_tuner_attach: 
Sep 28 08:38:03 lappc kernel: MXL5005S: Attached at address 0xc6
Sep 28 08:38:03 lappc kernel: dvb-usb: AVerMedia A309 successfully initialized 
and connected.
Sep 28 08:38:03 lappc kernel: af9015_init:
Sep 28 08:38:03 lappc kernel: af9015_init_endpoint: USB speed:3
Sep 28 08:38:03 lappc kernel: af9015_download_ir_table:
Sep 28 08:38:03 lappc kernel: usbcore: registered new interface driver 
dvb_usb_af9015

The device now works with vdr.

Dirk


		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-09-28 12:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-15 21:45 [linux-dvb] New unspported device AVerMedia DVB-T Dirk Vornheder
2008-09-16 10:09 ` Antti Palosaari
2008-09-17 19:15   ` [linux-dvb] UNS: " Dirk Vornheder
2008-09-17 20:20     ` Antti Palosaari
2008-09-19 21:45     ` Antti Palosaari
2008-09-20 17:16       ` [linux-dvb] UNS: " Dirk Vornheder
2008-09-20 17:23         ` Antti Palosaari
2008-09-20 17:53           ` [linux-dvb] UNS: " Dirk Vornheder
2008-09-20 18:04             ` Antti Palosaari
2008-09-21  7:04               ` [linux-dvb] " Dirk Vornheder
2008-09-21 12:35                 ` Antti Palosaari
2008-09-28 12:13                   ` [linux-dvb] UNS: " Dirk Vornheder
2008-09-21  1:17   ` [linux-dvb] " Markus Ranne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox