Skip to contentSkip to conversation

Can I use AVerTV Volar Black HD (A850) with Linux ?

linux-dvb Laurent Haond 3 participants 5 messages Feb 21, 2009 – Feb 22, 2009 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,
I bought an AverMedia Volar Black HD too.
I opened it, i can confirm the device contains a AF9015N1 chip and a MXL5003S tuner.

I think there was something missing your diff Antti :
@@ -1404,7 +1405,7 @@

                .i2c_algo = &af9015_i2c_algo,

- .num_device_descs = 7,
+ .num_device_descs = 8,

                .devices = {
                        {
                                .name = "Xtensions XD-380",

After patching af9015.c file, when i plug it, modules are loading but it seems that the tuner did not work :

Module                  Size  Used by
mxl5005s               32388  1
af9013                 18756  1
dvb_usb_af9015         27184  0
dvb_usb                19916  1 dvb_usb_af9015
dvb_core               88676  1 dvb_usb
$ dmesg
usb 4-1: configuration #1 chosen from 1 choice
dvb-usb: found a 'AVerMedia A850' 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'
dvb-usb: found a 'AVerMedia A850' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (AVerMedia A850)
af9013: firmware version:4.95.0
DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
MXL5005S: Attached at address 0xc6
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (AVerMedia A850)
af9015: command failed:2
af9015: firmware copy to 2nd frontend failed, will disable it
dvb-usb: no frontend was attached by 'AVerMedia A850'
dvb-usb: AVerMedia A850 successfully initialized and connected.
usbcore: registered new interface driver dvb_usb_af9015
$ dvbscan /usr/share/dvb/dvb-t/fr-Lyon-Fourviere
Unable to query frontend status
$ dmesg
af9015: recv bulk message failed:-110
af9013: I2C read failed reg:d417

Anything else we can try Antti ?

Thanks

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi,

I enabled debug on dvb-usb, here you can find my dmesg output :

usb 4-3: new high speed USB device using ehci_hcd and address 12 usb 4-3: configuration #1 chosen from 1 choice
af9015_usb_probe: interface:0
af9015_read_config: IR mode:0
af9015_read_config: TS mode:1
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:36125
af9015_read_config: [0] MT2060 IF1:0
af9015_read_config: [0] tuner id:13
af9015_read_config: [1] xtal:2 set adc_clock:28000
af9015_read_config: [1] IF1:36125
af9015_read_config: [1] MT2060 IF1:1220
af9015_read_config: [1] tuner id:130
af9015_identify_state: reply:01
dvb-usb: found a 'AVerMedia A850' 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' af9015_download_firmware:
dvb-usb: found a 'AVerMedia A850' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (AVerMedia A850) af9015_af9013_frontend_attach: init I2C
af9015_i2c_init:
00: 2c 85 a3 0b 00 00 00 00 ca 07 0a 85 01 01 01 02
10: 03 80 00 fa fa 10 40 ef 00 30 31 30 31 30 37 30
20: 33 30 37 30 30 30 30 31 ff ff ff ff ff ff ff ff
30: 01 01 38 01 00 08 02 01 1d 8d 00 00 0d ff ff ff
40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff
50: ff ff ff ff ff 26 00 00 04 03 09 04 14 03 41 00
60: 56 00 65 00 72 00 4d 00 65 00 64 00 69 00 61 00
70: 14 03 41 00 38 00 35 00 30 00 20 00 44 00 56 00
80: 42 00 54 00 20 03 33 00 30 00 31 00 34 00 37 00
90: 35 00 33 00 30 00 31 00 32 00 34 00 30 00 30 00
a0: 30 00 30 00 00 ff ff ff ff ff ff ff ff ff ff ff
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
af9013: firmware version:4.95.0
DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)... af9015_tuner_attach:
MXL5005S: Attached at address 0xc6
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (AVerMedia A850) af9015_copy_firmware:
af9015: command failed:2
af9015: firmware copy to 2nd frontend failed, will disable it
dvb-usb: no frontend was attached by 'AVerMedia A850'
dvb-usb: AVerMedia A850 successfully initialized and connected. af9015_init:
af9015_init_endpoint: USB speed:3
af9015_download_ir_table:

dvbscan fails with this error : Unable to query frontend status and sometimes (not everytimes) dmesg shows :
af9015: recv bulk message failed:-110
af9013: I2C read failed reg:d417

Tried Kaffeine, did not work either...

Laurent

#3 lore raw

Hello and thank you for information,

According to your previous post, you are correct. I did one of the most typical mistake when adding new usb-id:s :) (didn't increase .num_device_descs).

Quoted 2 lines · Laurent Haond

af9015_usb_probe: interface:0
af9015_read_config: IR mode:0

Is there remote at all?

Quoted 3 lines

af9015_read_config: TS mode:1
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:36125

hmmm, typical IF for many DVB-T tuners but very strange for MXL5003S. Maxlinear uses normally / default 4570kHz. I think thats why it does not work. Could you change .if_freq to IF_FREQ_36125000HZ and test? AVerMedia seems to use many times very weird configurations that are not reference nor default ones.

Quoted 8 lines

af9015_read_config: [0] MT2060 IF1:0
af9015_read_config: [0] tuner id:13
af9015_read_config: [1] xtal:2 set adc_clock:28000
af9015_read_config: [1] IF1:36125
af9015_read_config: [1] MT2060 IF1:1220
af9015_read_config: [1] tuner id:130
af9015_identify_state: reply:01

Quoted 5 lines

af9015_copy_firmware:
af9015: command failed:2
af9015: firmware copy to 2nd frontend failed, will disable it
dvb-usb: no frontend was attached by 'AVerMedia A850'
dvb-usb: AVerMedia A850 successfully initialized and connected.

No knowledge why it fails. I suspect wrong GPIO, again this is AverMedia device... You should take usb-sniff and look correct GPIO from there.

Quoted 9 lines

af9015_init:
af9015_init_endpoint: USB speed:3
af9015_download_ir_table:

dvbscan fails with this error : Unable to query frontend status and sometimes (not everytimes) dmesg shows :
af9015: recv bulk message failed:-110
af9013: I2C read failed reg:d417

regards
Antti

Signature · 1 line
http://palosaari.fi/
#4 lore raw

Hi, thanks for your support Antti !

Quoted 11 lines

Hello and thank you for information,

According to your previous post, you are correct. I did one of the most typical mistake when adding new usb-id:s :) (didn't increase .num_device_descs).

Quoted 2 lines · Laurent Haond

af9015_usb_probe: interface:0
af9015_read_config: IR mode:0

Is there remote at all?

No there is not remote at all in the bundle.

Quoted 8 lines
Quoted 4 lines

af9015_read_config: TS mode:1
af9015_read_config: [0] xtal:2 set adc_clock:28000
af9015_read_config: [0] IF1:36125

hmmm, typical IF for many DVB-T tuners but very strange for MXL5003S. Maxlinear uses normally / default 4570kHz. I think thats why it does not work. Could you change .if_freq to IF_FREQ_36125000HZ and test?

Tried, but same results...

Quoted 11 lines

AVerMedia seems to use many times very weird configurations that are not reference nor default ones.

Quoted 7 lines

af9015_read_config: [0] MT2060 IF1:0
af9015_read_config: [0] tuner id:13
af9015_read_config: [1] xtal:2 set adc_clock:28000
af9015_read_config: [1] IF1:36125
af9015_read_config: [1] MT2060 IF1:1220
af9015_read_config: [1] tuner id:130
af9015_identify_state: reply:01

Quoted 8 lines
Quoted 5 lines

af9015_copy_firmware:
af9015: command failed:2
af9015: firmware copy to 2nd frontend failed, will disable it
dvb-usb: no frontend was attached by 'AVerMedia A850'
dvb-usb: AVerMedia A850 successfully initialized and connected.

No knowledge why it fails. I suspect wrong GPIO, again this is AverMedia device... You should take usb-sniff and look correct GPIO from there.

I trying to do that, but i'm not able to find a recent and working repository for usbreplay and parser.pl

Seems that http://mcentral.de/wiki/index.php5/Usbreplay is out of date, and that http://mcentral.de/hg/~mrec/usbreplay is no more available.

Can you point me to a working repository where i can get them ?

Thanks

Laurent

#5 lore raw
In reply to Laurent Haond
Quoted 7 lines · Laurent Haond

af9015_copy_firmware:
af9015: command failed:2
af9015: firmware copy to 2nd frontend failed, will disable it
dvb-usb: no frontend was attached by 'AVerMedia A850'

........

Quoted 8 lines

dvbscan fails with this error : Unable to query frontend status and sometimes (not everytimes) dmesg shows :
af9015: recv bulk message failed:-110
af9013: I2C read failed reg:d417

Tried Kaffeine, did not work either...

Just as a FYI, if you haven't already realised it yourself (though I suspect you have), don't bother proceeding with testing with dvbscan or kaffeine until you get the frontend to initialize (as they are doomed to fail otherwise).

Quoted 10 lines · Laurent Haond
Quoted 9 lines
Quoted 6 lines

af9015_copy_firmware:
af9015: command failed:2
af9015: firmware copy to 2nd frontend failed, will disable it
dvb-usb: no frontend was attached by 'AVerMedia A850'
dvb-usb: AVerMedia A850 successfully initialized and connected.

No knowledge why it fails. I suspect wrong GPIO, again this is AverMedia device... You should take usb-sniff and look correct GPIO from there.

Quoted 8 lines

I trying to do that, but i'm not able to find a recent and working repository for usbreplay and parser.pl

Seems that http://mcentral.de/wiki/index.php5/Usbreplay is out of date, and that http://mcentral.de/hg/~mrec/usbreplay is no more available.

Can you point me to a working repository where i can get them ?

You can find a parser in the /v4l2-apps/test directory of the v4l-dvb source .... (I'm not sure why it is in the /test directory and not the /util , hence my concurrent message on the list, douglas' pull request, regarding this).