How to istall the drivers and firmware for a Pinnacle Hybrid TV Tuner PCTV 330e (aka. WinTV-HVR 900 (R2)) in Ubuntu 10.10 Maverick Meerkat (and probably other versions).
You’re going to use Kaffiene and/or VLC as the DVB-TV player(s).
First make sure the “Universe” and “Multiverse” repositories are enabled… Follow the instructions in this post:
http://linuxforums.org.uk/frequently-asked-questions/install-flashplayer-java-and-mp3-support-in-ubuntu/msg38852/#msg38852
Now make sure Synaptic, Ubuntu Software Centre, and the system Updater are all closed…
Then you’ll need to install some other packages, so in a terminal enter:
sudo apt-get install mercurial build-essential linux-image-$(uname -r) linux-headers-$(uname -r)
then:
sudo apt-get install linux-firmware-nonfree dvb-apps libncurses5-dev
then:
sudo apt-get install vlc kaffeine libxine1 libxine1-all-plugins phonon-backend-xine
Next you need to download, patch, edit, build and install the driver, so enter these commands hitting enter after each line…
cd /usr/src
sudo hg clone http://kernellabs.com/hg/~dheitmueller/v4l-dvb-drxd
cd v4l-dvb-drxd
sudo wget http://xgazza.altervista.org/Linux/DVB/Drivers/drxd_2_6_35.diff
sudo patch -p1 < drxd_2_6_35.diff
Now you need to generate the .config file, so run:
sudo make menuconfig
When an ncurses GUI opens, dont change anything, just “Exit” and “Save” changes.
Then continue with:
sudo sed -i 's/CONFIG_DVB_FIREDTV=m/CONFIG_DVB_FIREDTV=n/' ./v4l/.config
sudo make
sudo make install
The next thing you need to do is add some firmware files to the /lib/firmware directory…
cd /lib/firmware
sudo wget http://kernellabs.com/firmware/drxd/drxd-a2-1.1.fw
sudo wget http://kernellabs.com/firmware/drxd/drxd-b1-1.1.fw
Next you need to download the Windows drivers and use the extract_xc3028.pl tool to extract the xc3028-v27.fw firmware from the Windows hcw85bda.sys file then move it to /lib/firmware
cd ~
wget http://www.steventoth.net/linux/xc5000/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
unzip -j HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip Driver85/hcw85bda.sys
cp /usr/src/linux-headers-$(uname -r)/Documentation/video4linux/extract_xc3028.pl ~/
chmod +x extract_xc3028.pl
./extract_xc3028.pl
sudo mv xc3028-v27.fw /lib/firmware/xc3028-v27.fw
Now reboot.
Kaffeine should now recognize your hardware as a digital tv receiver.