Installation of Hauppage PVR-150
From Erlands Wiki
Installation
The drivers for Hauppage PVR-150 is not installed with the Ubuntu kernel so we need to compile and install them manually as follows.
- 1. sudo apt-get install build-essential gcc-3.4 tcsh
- 2. sudo apt-get install linux-headers-`uname -r`
- 3. Replace xxx with your username and run: sudo addgroup xxx src
- 4. Logout and login again
- 5. cd /usr/src
- 6. umask 0002
- 7. wget http://dl.ivtvdriver.org/ivtv/archive/0.4.x/ivtv-0.4.6.tar.gz
- 8. tar xvzf ivtv-0.4.6.tar.gz
- 9. cd ivtv-0.4.6
- 10. make
- 11. sudo make install
- 12. If any conflicts occur during make install, follow the instructions and run make install again.
- 13. Install the firmware as follows:
cd utils wget ftp://ftp.shspvr.com/download/wintv-pvr_150-500/inf/pvr_2.0.24.23035.zip wget ftp://ftp.shspvr.com/download/wintv-pvr_250-350/inf/pvr_1.18.21.22301_inf.zip unzip pvr_2.0.24.23035.zip sudo ./ivtvfwextract.pl pvr_1.18.21.22301_inf.zip sudo cp HcwMakoA.ROM /lib/firmware/v4l-cx25840.fw sudo cp HcwFalcn.rom /lib/firmware/v4l-cx2341x-enc.fw sudo mv /lib/modules/ivtv-fw-dec.bin /lib/firmware/ sudo mv /lib/modules/ivtv-fw-enc.bin /lib/firmware/ sudo cp ../v4l-cx2341x-init.mpg /lib/firmware/ sudo ln -s /lib/firmware/ivtv-fw-dec.bin /lib/firmware/v4l-cx2341x-dec.fw
- 14. Add the following line to /etc/modprobe.d/aliases:
- alias char-major-81-0 ivtv
- 15. sudo depmod
- 16. sudo modprobe ivtv
- 17. dmesg (The end of output should look something like the following)
[ 1655.258953] ivtv: ==================== START INIT IVTV ==================== [ 1655.259030] ivtv: version 0.4.6 (tagged release) loading [ 1655.259084] ivtv: Linux version: 2.6.15-26-amd64-k8 SMP preempt gcc-4.0 [ 1655.259165] ivtv: In case of problems please include the debug info between [ 1655.259234] ivtv: the START INIT IVTV and END INIT IVTV lines, along with [ 1655.259306] ivtv: any module options, when mailing the ivtv-users mailinglist. [ 1655.259645] ivtv0: Autodetected WinTV PVR 150 card (cx23416 based) [ 1655.259742] ACPI: PCI Interrupt 0000:01:09.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 74 [ 1655.259840] ivtv0: Unreasonably low latency timer, setting to 64 (was 32) [ 1655.278792] tveeprom: ivtv version [ 1655.278795] tveeprom: Hauppauge: model = 26034, rev = C197, serial# = 8086079 [ 1655.278798] tveeprom: tuner = TCL 2002MB_3H (idx = 97, type = 55) [ 1655.278800] tveeprom: tuner fmt = PAL(B/G) PAL(D/K) (eeprom = 0x44, v4l2 = 0x00000e07) [ 1655.278803] tveeprom: audio processor = CX25842 (type = 24) [ 1655.278805] tveeprom: decoder processor = CX25842 (type = 1d) [ 1655.278807] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] [ 1655.288257] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 [ 1655.288262] ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] [ 1655.356827] cx25840 6-0044: ivtv driver [ 1655.356831] cx25840 6-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0) [ 1656.463392] cx25840 6-0044: loaded v4l-cx25840.fw firmware (14264 bytes) [ 1656.487933] ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44] [ 1656.506323] wm8775 6-001b: chip found @ 0x36 (ivtv i2c driver #0) [ 1656.509449] ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b] [ 1657.150825] ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) [ 1657.368848] ivtv0: Encoder revision: 0x02050032 [ 1657.369283] ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total) [ 1657.369822] ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total) [ 1657.370364] ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total) [ 1657.370828] ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total) [ 1657.371387] tuner: type set to 55 (TCL 2002MB) by ivtv i2c driver #0 [ 1657.512613] ivtv0: Initialized WinTV PVR 150, card #0 [ 1657.512683] ivtv: ==================== END INIT IVTV ====================
- 18. Add the following line to /etc/modules
ivtv
Verification
If no errors occured you should now have a working PVR-150, to verify it do as follows:
- 1. Make sure you have mplayer installed, if not install it. In my case this ment running:
- sudo apt-get install mplayer-amd64
- 2. mplayer -vo xv /dev/video1 (Note that if you don’t have any other TV-card your PVR-150 can be installed on /dev/video0)
- 3. In another window run the following to list available channels:
- ivtv-tune -t europe-west -l
- 4. Run the following with different values on the -c parameter until you get someting else than noise:
- ivtv-tune -t europe-west -c SE11 -d /dev/video1
References
Categories: HTPC | Ubuntu
