HowTo/InstallTwintechUT40

From LunaSys
Jump to navigation Jump to search

Installation

apt-get install build-essential linux-source-3.2
cd /usr/src
tar xjvf linux-source-3.2.tar.bz2

Check out the driver source code patched by ambrosa:

git clone https://github.com/ambrosa/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0

Makefile configuration and driver compilation/installation:

cd DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/RTL2832-2.2.2_kernel-3.0.0/

Enable 3.2.0 config:

vi Makefile
...
# kernel 3.0.0 / 3.1.0 => comment
#INCLUDE_EXTRA_DVB := include-300
# kernel 3.2.0 => uncomment
INCLUDE_EXTRA_DVB := include-320
...

Then add symlinks and build:

ln -s /usr/src/linux-source-3.2/drivers/media/dvb/frontends/*.h .
ln -s /usr/src/linux-source-3.2/drivers/media/dvb/dvb-core/*.h .
ln -s /usr/src/linux-source-3.2/drivers/media/dvb/dvb-usb/*.h .
make clean
make
make install
modprobe dvb_usb_rtl2832u

Sources

[1] [2]