Dobrica Pavlinušić's random unstructured stuff
Hauppauge HVR 900: Revision 7
I wanted a DVB-T USB stick (which I will probably want to plug in [DSM-G600] and have network TV in later phase) with ability to receive both analog and DVB-T signal, so I bought "Hauppauge HVR 900"<http://www.hauppauge.co.uk/pages/products/data_hvr900.html> while my UK visit.

.pre
$ lsusb | grep Hauppauge
Bus 005 Device 004: ID 2040:6502 Hauppauge
.pre

Following instructions are slight modification of "blog post in German"<http://blog.ikasweb.de/2007/05/07/hauppauge-hvr-900-mit-ubuntu-704/> which I used with a bit of "Google translate"<http://translate.google.com/translate?hl=en&sl=de&u=http://blog.ikasweb.de/2007/05/07/hauppauge-hvr-900-mit-ubuntu-704/&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3D2040:6502%2Blinux%26num%3D100%26hl%3Den%26client%3Diceweasel-a%26rls%3Dorg.debian:en-US:unofficial%26sa%3DG> to make it work on Debian unstable. I will assume that you already have kernel source and build tools, because you *are* running unstable :-)

* dmesg output after plugging in the card: {file: Hauppage_WinTV_HVR_Rev._1.2.dmesg}
* "upstream driver"<http://mcentral.de/wiki/index.php/Em2880>

This instructions are based on "spanish ones"<http://treboada.net/caligari/ubuntu_tdt> with updated urls

^ Fetch drivers

.pre
mkdir hvr900
cd hvr900/
wget 'http://supportde.terratec.net/modules.php?op=modload&name=Downloads&file=index&req=getit&lid=1049'
unzip Cinergy_T_USB_XE_Drv_Vista_XP_6.11.23.01.exe
cp Cinergy\ T\ USB\ XE/BDA\ Driver\ 6.11.23.01/Windows\ Vista\ \(32Bit\)/AF05BDA.sys .

.pre

^ Install development tools

.pre
udo apt-get install mercurial make gcc libc6-dev kaffeine
.pre

^ Checkout latest source

.pre
hg clone http://mcentral.de/hg/~mrec/v4l-dvb-experimental

.pre

^ Extract firmware

.pre
cd v4l_experimental/xc3028/
gcc -o convert convert.c

.pre

Alternative approach from "mailing list"<http://mcentral.de/pipermail/em28xx/2007-August/000746.html>

.pre
hg clone http://mcentral.de/hg/~mrec/userspace-tuner/
cd userspace-tuner
sudo ./build.sh
cd .
.
hg clone http://mcentral.de/hg/~mrec/em28xx-userspace2/
cd em28xx-userspace2
make
modprobe em28xx.ko // this will load the videodev modules
rmmod em28xx.ko
insmod em28xx.ko
.pre