View previous topic :: View next topic |
Author |
Message |
ipic Guru
Joined: 29 Dec 2003 Posts: 377 Location: UK
|
Posted: Tue Nov 22, 2011 6:33 pm Post subject: AVerMedia A835 support in 3.1 kernel? |
|
|
Does anyone know how to support this TV card in the 3.1 Kernel?
Code: | uname -r
3.1.1-gentoo
lsusb
Bus 002 Device 020: ID 07ca:b835 AVerMedia Technologies, Inc.
|
dmesg snippet
Code: |
usb 2-4: new high speed USB device number 20 using ehci_hcd
usb 2-4: New USB device found, idVendor=07ca, idProduct=b835
usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-4: Product: A835
usb 2-4: Manufacturer: AVerMedia TECHNOLOGIES, Inc
usb 2-4: SerialNumber: 3030482003340
|
I found some patches here http://forum.ubuntu-it.org/index.php?PHPSESSID=jvlqgiu2q9cq1adme515i30i45&/topic,384436.msg3534693.html#msg3534693 but these are for 2.6.35 and an out of date linux-tv repository.
Seems that what is needed is a module to support the AF9035 chipset. http://linuxtv.org/wiki/index.php/Afatech_AF9035
Has anyone had success with this in a new kernel?
Does anyone know if it will appear in the kernel tree at some stage?
Thanks
Ian |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 377 Location: UK
|
Posted: Wed Nov 23, 2011 7:46 pm Post subject: |
|
|
Many thanks - my searching skills still suck for some reason
I have doctored the instructions from the above link to suite the Gentoo kernel location:
Code: | # Assume this is done as a normal user
# Assume that user can run sudo
# One off - fetch the device firmware:
cd /lib/firmware
sudo wget http://xgazza.altervista.org/Linux/DVB/dvb-usb-af9035-01.fw
# Create a working directory (or choose one of your own)
cd ~
mkdir TV
cd TV
# Fetch the driver source code
wget http://xgazza.altervista.org/Linux/DVB/Drivers/AF9035_xgaz_3.0.0.tar.bz2
# Expand
tar -xjf AF9035_xgaz_3.0.0.tar.bz2
# Enter source directory
cd AF9035_xgaz_3.0.0
# Edit Makefile to replace
ed Makefile
/KDIR/
s/linux-headers/linux/
w
q
# Compile the driver
make
# Install the driver
sudo make install |
This installs the modules dvb-usb-af9035.ko, mxl5007t.ko, tua9001.ko, tuner_tda18218.ko and af9033.ko into the /lib/modules/ directories for your current kernel.
When the USB device is plugged in after doing the above the dmesg output looks like:
Code: |
dvb-usb: found a 'Avermedia AverTV Volar HD & HD PRO (A835)' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-af9035-01.fw'
dvb-usb: found a 'Avermedia AverTV Volar HD & HD PRO (A835)' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (Avermedia AverTV Volar HD & HD PRO (A835))
af9033: firmware version: LINK:11.15.10.0 OFDM:5.48.10.0
DVB: registering adapter 1 frontend 0 (Afatech AF9033 DVB-T)...
tda18218: NXP TDA18218HN successfully identified.
Registered IR keymap rc-empty
input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1/rc/rc2/input10
rc2: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:13.2/usb2/2-2/2-2.1/rc/rc2
dvb-usb: schedule remote query interval to 200 msecs.
dvb-usb: Avermedia AverTV Volar HD & HD PRO (A835) successfully initialized and connected.
|
Kaffeine can then tune the device and play Freeview channels (I'm in the UK so that's all I've got).
However:
I can do a direct comparison with a kernel supported device (DiBcom 3000MC/P - as in Hauppauge WinTV-NOVA-T usb2).
The Hauppauge device plays back flawlessly.
The AverTV breaks up at regular intervals - i.e.pixels all over the screen, hiccup and then settles down for a bit.
Given all other inputs and environment are identical, only variables are the USB device and the drivers. Strong supposition that the drivers are not 100%.
Is there any way of finding out if development is ongoing with these to eventually make it to the kernel?
Thanks
Ian |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Wed Nov 23, 2011 8:16 pm Post subject: |
|
|
It is true that out-of-tree drivers often have lower quality than in-kernel drivers. However in your case, it sounds like the reception is bad. If you have a passive antenna, maybe the driver does not supply power to the antenna. Check with the "modinfo" command whether there are possibly any options to tweak.
About kernel inclusion you best ask on the linux-dvb mailing list. |
|
Back to top |
|
|
ipic Guru
Joined: 29 Dec 2003 Posts: 377 Location: UK
|
Posted: Wed Nov 23, 2011 8:24 pm Post subject: |
|
|
Can't agree about bad reception - sorry.
If that was the case both USB devices would behave the same way.
Also, signal strength is 95% or better. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Wed Nov 23, 2011 8:25 pm Post subject: |
|
|
Bad reception can be a consequence of not supplying power to a passive antenna. |
|
Back to top |
|
|
|