Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AVerMedia A835 support in 3.1 kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 303
Location: UK

PostPosted: Tue Nov 22, 2011 6:33 pm    Post subject: AVerMedia A835 support in 3.1 kernel? Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Wed Nov 23, 2011 12:39 am    Post subject: Reply with quote

Google turned up some blog posting which claims to have it working with kernel 3.0
http://xgazza.altervista.org/Linux/DVB/af9035.html
Back to top
View user's profile Send private message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 303
Location: UK

PostPosted: Wed Nov 23, 2011 7:46 pm    Post subject: Reply with quote

chithanh wrote:
Google turned up some blog posting which claims to have it working with kernel 3.0
http://xgazza.altervista.org/Linux/DVB/af9035.html


Many thanks - my searching skills still suck for some reason :cry:

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Wed Nov 23, 2011 8:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
ipic
Guru
Guru


Joined: 29 Dec 2003
Posts: 303
Location: UK

PostPosted: Wed Nov 23, 2011 8:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Wed Nov 23, 2011 8:25 pm    Post subject: Reply with quote

Bad reception can be a consequence of not supplying power to a passive antenna.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum