peace love linux logo

Hauppauge WinTV USB2 Installation with Ubuntu Linux 5.10


Important notice: The following cards are three different products!

The following installation was tested on Ubuntu Linux 5.10 Breezy Badger. If you update your linux-image (for example from linux-image-2.6.12-9 to 2.6.12-10) and your tv application doesn't find your tv card anymore you have to redo the installation from step 6.

  1. Install the following packages, if not already installed.
    sudo apt-get install cvs make gcc-3.4 linux-tree linux-kernel-headers linux-headers
    apt-get might tell you that there are different header packages available, so if that is the case replace linux-headers with linux-headers-386 or example linux-headers-k7, depending the kernel version you are currently using.

  2. Change the working directory to /usr/src/ and extract the linux-source file.
    cd /usr/src && sudo tar xjf linux-source-2.6.12.tar.bz2

  3. Create the following symlink.
    sudo ln -s linux-source-2.6.12 linux

  4. Connect to the cvs repository of v4l and download the latest driver.
    sudo cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux co v4l-kernel
    Alternatively you may use the v4l cvs snapshot of 2005-11-19 which worked for me. Unpack it to /usr/src/.

  5. Open the /usr/src/v4l-kernel/v4l/Make.config file, replace the canceled text with the text with the yellow background.
    sudo gedit /usr/src/v4l-kernel/v4l/Make.config
    ...
    
    ifneq ($(KERNELRELEASE),)
     CONFIG_VIDEO_BUF_DVB := $(shell test $(SUBLEVEL) -ge 12 -a $(PATCHLEVEL) -ge 6 && echo m)
    endif
    
    ...
    
    ...
    
    ifneq ($(KERNELRELEASE),)
     CONFIG_VIDEO_BUF_DVB := n
    endif
    
    ...
    

  6. Change the working directory to /usr/src/v4l-kernel/ and compile the modules.
    cd v4l-kernel && sudo make

  7. Install the files.
    sudo make install

  8. Load the em28xx driver.
    sudo modprobe -v em28xx

  9. Install and start tvtime.
    sudo apt-get install tvtime
    For the configuration select PAL and for example Europe. Run a channel scan (e.g. 140 channels). If you only see blue screens, deactivate the signal detection after the scan. The senders will now be visible.

  10. Optional: set tvtime to save senders
    sudo chown -R YOURUSERNAME .tvtime
    If the senders are lost after a tvtime restart the .tvtime configuration directory might be owned by root, so with this command line you change the owner back to your username.

related links

tvtime

video4linux Wiki: How to build from CVS

video4linux Changelog

video4linux mailinglist (em28xx)


acknowledgment

Dwaine Garden - up to date information

Markus Rechberger et al. - driver development