Russian flag Олег Шалаев  > Мой Debian-опыт

Leadtek WinFast TV 2000 XP (RM edition)

Recently I had to install a new linux system (Debian lenny) and here is the recepee how to make it work:

1. Download and extract the standart kernel: cd /usr/src/
lftp -e "get pub/linux/kernel/v2.6/linux-2.6.21.tar.bz2 ; quit" ftp.ch.kernel.org
tar xjf linux-2.6.21.tar.bz2
ln -sf linux-2.6.21 linux
My kernel configuration is available here

2. Patch /usr/src/linux/drivers/media/video/bt8xx/bttv-input.c with this patch I had to do it by hand because patch refused to do it.

3. In the file /usr/src/linux/drivers/media/video/bt8xx/bttv-cards.c: change the line
.tuner_type = 5, /* default for now, gpio reads BFFF06 for Pal bg+dk */
into
.tuner_type = 38, /* default for now, gpio reads BFFF06 for Pal bg+dk */
Compile the kernel, reboot under the new kernel.

4. Read this text

5.

apt-get install lirc lirc-modules-source
cd /usr/src
tar xzf lirc-modules.tar.gz
m-a update,prepare
dpkg-reconfigure lirc-modules-source
cd modules/lirc
debian/rules binary-modules KSRC=/usr/src/linux/
m-a ai lirc

6. Copy this file to /etc/lirc/lircd.conf

7. Edit /etc/lirc/hardware.conf Setup ~/.mplayer/input.conf and ~/.lircrc

Note: for the working TV-card you only need steps 1 and 3; everything else is for the remote control.


Олег Шалаев
Last modified: Sat Jan 3 10:32:02 CST 2009