AVerMedia AVerTV DVB-T Express X: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
(New page: == Patch for AverMedia DVB-T Express Card == The driver is not compatible with kernel >=2.6.27. \\ It's tested with Fedora Core 9 (32 bits) with kernel 2.6.27. It's probably compatible wi...)
 
No edit summary
Line 1: Line 1:
== Patch for AverMedia DVB-T Express Card ==
== Patch for AverMedia DVB-T Express Card ==


The driver is not compatible with kernel >=2.6.27. \\
The driver is not compatible with kernel >=2.6.27.
It's tested with Fedora Core 9 (32 bits) with kernel 2.6.27. It's probably compatible with others distibutions and other cards (A808 compatible).\\
It's tested with Fedora Core 9 (32 bits) with kernel 2.6.27. It's probably compatible with others distibutions and other cards (A808 compatible).




Line 8: Line 8:


= Installer =
= Installer =
- Download and unzip the [http://www.avermedia.com/avertv/Product/ProductDetail.aspx?Id=9&tab=APDriver|driver provided by AverMedia] (choose the driver for Linux x86).\\
- Download and unzip the [http://www.avermedia.com/avertv/Product/ProductDetail.aspx?Id=9&tab=APDriver|driver provided by AverMedia] (choose the driver for Linux x86).
- Execute as root (su or sudo) '''./AVERMEDIA-Linux-x86-A808-0.23-beta.sh'''\\
- Execute as root (su or sudo) '''./AVERMEDIA-Linux-x86-A808-0.23-beta.sh'''
- Choose "expert" installation, and choose a directory (name <DIR> in our case)\\
- Choose "expert" installation, and choose a directory (name <DIR> in our case)
- Finish the installation\\
- Finish the installation




= Modify source =
= Modify source =


- In <DIR>, you'll find a sub-directory A808-expert-install : '''cd A808-expert-install'''\\
- In <DIR>, you'll find a sub-directory A808-expert-install : '''cd A808-expert-install'''
- In this directory, do '''cd aver'''\\
- In this directory, do '''cd aver'''
- Open "osdep_th.c" with the editor of your choice and replace '''#include <asm/semaphore.h>''' by '''#include <linux/semaphore.h>'''; save and quit\\
- Open "osdep_th.c" with the editor of your choice and replace '''#include <asm/semaphore.h>''' by '''#include <linux/semaphore.h>'''; save and quit
- Open "osdep.c", and replace '''#include <asm/semaphore.h>''' by '''#include <linux/semaphore.h>''', go line 944, and replace '''pci_dma_mapping_error(pa)''' by '''pci_dma_mapping_error((struct pci_dev *)pci, pa)'''; save and quit\\
- Open "osdep.c", and replace '''#include <asm/semaphore.h>''' by '''#include <linux/semaphore.h>''', go line 944, and replace '''pci_dma_mapping_error(pa)''' by '''pci_dma_mapping_error((struct pci_dev *)pci, pa)'''; save and quit
- return in A808-expert-install directory, and execute '''make'''. If no problems, you will have two files '''300.ko''' and '''averusb.ko'''.\\
- return in A808-expert-install directory, and execute '''make'''. If no problems, you will have two files '''300.ko''' and '''averusb.ko'''.




= Copy drivers =
= Copy drivers =


- Copy '''300.ko''' and '''averusb.ko''' to /lib/modules/`uname -r`/kernel/drivers/media/dvb/dvb-usb/ (with cp as root)
- Copy '''300.ko''' and '''averusb.ko''' to /lib/modules/`uname -r`/kernel/drivers/media/dvb/dvb-usb/ (with cp as root)
- wget http://www.wi-bw.tfh-wildau.de/~pboettch/home/linux-dvb-firmware/dvb-usb-dib0700-1.10.fw (get the firmware)
- wget http://www.wi-bw.tfh-wildau.de/~pboettch/home/linux-dvb-firmware/dvb-usb-dib0700-1.10.fw (get the firmware)
- cp dvb-usb-dib0700-1.10.fw /lib/firmware
- cp dvb-usb-dib0700-1.10.fw /lib/firmware
- Reload configuration, by rebooting your computer
- Reload configuration, by rebooting your computer




= Test =
= Test =


- Use Kaffeine to test DVB-T
- Use Kaffeine to test DVB-T

Revision as of 13:18, 18 March 2009

Patch for AverMedia DVB-T Express Card

The driver is not compatible with kernel >=2.6.27. It's tested with Fedora Core 9 (32 bits) with kernel 2.6.27. It's probably compatible with others distibutions and other cards (A808 compatible).



Installer

- Download and unzip the provided by AverMedia (choose the driver for Linux x86).
- Execute as root (su or sudo) ./AVERMEDIA-Linux-x86-A808-0.23-beta.sh
- Choose "expert" installation, and choose a directory (name <DIR> in our case)
- Finish the installation


Modify source

- In <DIR>, you'll find a sub-directory A808-expert-install : cd A808-expert-install
- In this directory, do cd aver
- Open "osdep_th.c" with the editor of your choice and replace #include <asm/semaphore.h> by #include <linux/semaphore.h>; save and quit
- Open "osdep.c", and replace #include <asm/semaphore.h> by #include <linux/semaphore.h>, go line 944, and replace pci_dma_mapping_error(pa) by pci_dma_mapping_error((struct pci_dev *)pci, pa); save and quit
- return in A808-expert-install directory, and execute make. If no problems, you will have two files 300.ko and averusb.ko.


Copy drivers

- Copy 300.ko and averusb.ko to /lib/modules/`uname -r`/kernel/drivers/media/dvb/dvb-usb/ (with cp as root)
- wget http://www.wi-bw.tfh-wildau.de/~pboettch/home/linux-dvb-firmware/dvb-usb-dib0700-1.10.fw (get the firmware)
- cp dvb-usb-dib0700-1.10.fw /lib/firmware
- Reload configuration, by rebooting your computer


Test

- Use Kaffeine to test DVB-T