Patch for E568E and kernel 2.6.27

From LinuxTVWiki

Revision as of 22:11, 4 May 2009 by Jimbley (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

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 driver 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 (or the software of your choice)
Personal tools