devries Posted October 4, 2004 Report Share Posted October 4, 2004 (edited) This post tells you how to get the Hauppauge WinTV PVR250/350 card working in Mandrake 10.1 in 10 easy steps. <new developments: The latest mandrake kernel (2.6.8.1-12mdk) comes with an ivtv module. So all you need to get things working is the firmware. If this module doesn't work (which seems to be the case with some models) read the posts by kkrekula in this thread how to fix things.> <newer developments: Some people mentioned problems with newer versions of the Hauppauge cards. It seems Hauppauge are using new tuners for their cards. cKennedy site has a patch that should help. (link)> 1: Install the kernel-source with 'urpmi kernel-source' (I used the Mandrake stock kernel: 2.6.8.1-10mdk) 2: Install the Hauppauge firmware. Add Thac's RPMs to your stable of urpmi repositories. Install the firmware with 'urpmi ivtv-firmware' 3: Download and untar the ivtv driver from cKennedy's site (Download). The drivers from october 3 worked for me, however feel free to experiment with newer drivers as they appear. 4: Change directory to the driver folder from the ivtv tar. Remove 'Makefile' and Makefile2.4' and rename 'Makefile2.6' to 'Makefile' 5: type 'make' (steps 5-10 all take place in the drivers folder) 6: log in as root and type 'make install' 7: type 'depmod -ae' 8: type 'modprobe ivtv' 9: Logout as root and test if it works by 'cat /dev/video0'. If you get an input/output error (like I did) log in as root again, type 'modprobe -r ivtv' and then 'make reload'. Type 'modprobe ivtv' again, log out as root and test with 'cat /dev/video0. 10: If you see a lot of funny things in the console it works. To watch TV with the card I recommend Freevo. Have fun. Edited December 21, 2004 by devries Quote Link to comment Share on other sites More sharing options...
Guest januismer Posted November 6, 2004 Report Share Posted November 6, 2004 I've been trying to get my Hauppauge 350 installed. I'm running Mandrake 10.1 and have the sources installed. I can't seem to get past step 5. Here's the first few lines of the attemp to compile: [root@pc-7 driver]# make make -C /lib/modules/2.6.8.1-10mdksmp/build SUBDIRS=/home/januismer/Desktop/Downloads/ivtv-0.3.1i/driver modules make[1]: Entering directory `/usr/src/linux-2.6.8.1-10mdk' CC [M] /home/januismer/Desktop/Downloads/ivtv-0.3.1i/driver/msp3400.o In file included from /home/januismer/Desktop/Downloads/ivtv-0.3.1i/driver/msp3400.c:37: include/linux/config.h:4:28: linux/autoconf.h: No such file or directory Any suggestions? Quote Link to comment Share on other sites More sharing options...
devries Posted November 6, 2004 Author Report Share Posted November 6, 2004 Look's like a problem with the kernel-source. Try uninstalling it (urpme kernel-source) and install again. Make sure the kernel version (type: uname -r) and kernel source match. Good luck Quote Link to comment Share on other sites More sharing options...
Guest januismer Posted November 6, 2004 Report Share Posted November 6, 2004 Aha! /usr/src/linux... and uname -r don't match. Can I just rename /usr/src/linux-2.6.8.1-10mdk to match uname -r (2.6.8.1-10mdksmp)? Quote Link to comment Share on other sites More sharing options...
devries Posted November 6, 2004 Author Report Share Posted November 6, 2004 I don't think it would work. The error mentions a missing file. You could try running make xconfig though. However I would just reinstall it. That way you're sure it will work. Quote Link to comment Share on other sites More sharing options...
fearby Posted November 7, 2004 Report Share Posted November 7, 2004 If anyone has got the Nebula Digitv PCI tuner to work please post instructions - it doesn't seem to be able to find any stations Quote Link to comment Share on other sites More sharing options...
Guest rich776 Posted November 7, 2004 Report Share Posted November 7, 2004 devries Thank you so much for posting this! I've been trying to get this to work for the past week and I was very frustrated and about to give up. I came across your post and decided to try it. It Worked! I am using Mandrake 10.0 with Kernel 2.6.3.7 along wih the source. I downloaded the ivtv driver: ivtv-0.2.0-rc2l and I'm using the thac firmware: ivtv-firmware-18_22037 I followed your directions and WALLAH! I'm watching tv. Thanks, Rich776 Quote Link to comment Share on other sites More sharing options...
Guest sobriez Posted November 14, 2004 Report Share Posted November 14, 2004 I've just tried to install a PVR-250 in my system. I can't get it to work at all... my hw A7N8X-vm (on board nvidia GF4MX) 512MB DDR H`P PVR-250 (recent recent recent) NEC 2510a DVD-+r/w 80gig hdd I've found all of the RPM loot (lame libdvdcss etc) I've got DVD and MP3 working , just this Darn card!!!! It works in Bill's o/s I've followed step by step and no go using the 0.18 f/w RPM ivtv 2.0rc2q note: this is one of the newer cards... 02:06.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) Subsystem: Hauppauge computer works Inc. WinTV PVR 250 Flags: bus master, medium devsel, latency 64, IRQ 3 Memory at ec000000 (32-bit, prefetchable) Capabilities: [44] Power Management version 2 now I'm super rusty at linux, haven't used it since Suse 5. something for anythis other than an internet router.... some q's: where does the IVTV folder have to be (right now i'm doing everything in /home) ? S, Quote Link to comment Share on other sites More sharing options...
devries Posted November 14, 2004 Author Report Share Posted November 14, 2004 The folder can be any where you want :). The 'make install' command will install everything at the right place. Don't worry. Do you get any errors?. Post 'm. Quote Link to comment Share on other sites More sharing options...
Guest sobriez Posted November 14, 2004 Report Share Posted November 14, 2004 Hi devries, this is the message from cat /var/log/messages Nov 14 08:45:18 192 kernel: Linux video capture interface: v1.00 Nov 14 08:45:18 192 kernel: ivtv: version 0.1.9 (0.1.10pre1) loading Nov 14 08:45:18 192 kernel: ivtv: Autodetecting cardtype for card #0 Nov 14 08:45:18 192 kernel: ivtv: Autodetecting cardtype for card #1 Nov 14 08:45:18 192 kernel: ivtv: Autodetecting cardtype for card #2 Nov 14 08:45:18 192 kernel: ivtv: Autodetecting cardtype for card #3 Nov 14 08:45:18 192 kernel: ivtv: Autodetecting cardtype for card #4 Nov 14 08:45:18 192 kernel: ivtv: Autodetecting cardtype for card #5 Nov 14 08:45:18 192 kernel: ivtv: Autodetecting cardtype for card #6 Nov 14 08:45:18 192 kernel: ivtv: Autodetecting cardtype for card #7 Nov 14 08:45:19 192 kernel: ivtv: Autodetecting cardtype for card #8 Nov 14 08:45:19 192 kernel: ivtv: SGarray_size = 420, DSGarray_size = 16 Nov 14 08:45:19 192 kernel: ivtv: Found an iTVC16 based chip Nov 14 08:45:21 192 kernel: ivtv: Encoder revision: 0x02040011 Nov 14 08:45:21 192 kernel: ivtv: i2c client addr: 0x61 not found! Nov 14 08:45:21 192 kernel: ivtv: i2c client addr: 0x61 not found! Nov 14 08:45:21 192 kernel: ivtv: i2c client addr: 0x40 not found! Nov 14 08:45:21 192 kernel: ivtv: Registered v4l2 device, minor 0 Nov 14 08:45:21 192 kernel: ivtv: Registered v4l2 device, minor 32 Nov 14 08:45:21 192 kernel: ivtv: Registered v4l2 device, minor 224 Nov 14 08:45:21 192 kernel: ivtv: Registered v4l2 device, minor 24 Nov 14 08:45:21 192 kernel: ivtv: loaded it seems like its loading ok at boot.... if i do: $ cat /dev/video0 I get... cat: /dev/video0: Input/output error now if I manually do the workaround for this above, I do get the garbage on the console, however when testing it with TVTIME, it can't find the /dev/video0 lspci -v gives: 02:06.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01) Subsystem: Hauppauge computer works Inc. WinTV PVR 250 Flags: bus master, medium devsel, latency 64, IRQ 3 Memory at ec000000 (32-bit, prefetchable) Capabilities: <available only to root> which is expected as its found on boot.... dmesg as user gives: ivtv: version 0.1.9 (0.1.10pre1) loading ivtv: Autodetecting cardtype for card #0 ivtv: Autodetecting cardtype for card #1 ivtv: Autodetecting cardtype for card #2 ivtv: Autodetecting cardtype for card #3 ivtv: Autodetecting cardtype for card #4 ivtv: Autodetecting cardtype for card #5 ivtv: Autodetecting cardtype for card #6 ivtv: Autodetecting cardtype for card #7 ivtv: Autodetecting cardtype for card #8 ivtv: SGarray_size = 420, DSGarray_size = 16 ivtv: Found an iTVC16 based chip ivtv: Encoder revision: 0x02040011 ivtv: i2c client addr: 0x61 not found! ivtv: i2c client addr: 0x61 not found! ivtv: i2c client addr: 0x40 not found! ivtv: Registered v4l2 device, minor 0 ivtv: Registered v4l2 device, minor 32 ivtv: Registered v4l2 device, minor 224 ivtv: Registered v4l2 device, minor 24 ivtv: loaded bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 0 changed to on bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 1 changed to on bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 2 changed to on bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 3 changed to on bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 4 changed to on bootsplash 3.1.6-2004/03/31: looking for picture.... found (800x600, 10377 bytes, v3). bootsplash: status on console 5 changed to on ivtv: i2c client addr: 0x21 not found! ivtv: i2c client addr: 0x21 not found! ivtv: i2c client addr: 0x21 not found! ivtv: Timeout waiting for data! ivtv: i2c client addr: 0x21 not found! ivtv: i2c client addr: 0x21 not found! ivtv: i2c client addr: 0x21 not found! ivtv: Timeout waiting for data! does this help you help me? Anything else you need let me know... ps> I'm using 10.1 DVD version thx S Quote Link to comment Share on other sites More sharing options...
devries Posted November 14, 2004 Author Report Share Posted November 14, 2004 If you get the garbage it works. (just to be sure check if you have a /dev/video0) Try mplayer /dev/video0. You should get 'snow'. There are other tv viewing apps. KDETV is a good one. Have fun. Quote Link to comment Share on other sites More sharing options...
Guest sobriez Posted November 14, 2004 Report Share Posted November 14, 2004 Well KDEtv locks up... on reboot, I still get the i/o error when I CAT /DEV/VIDEO0 I believe that the problem may be the 'newer' version of the PVR-250 I have. Here's when I make reload: root@192 driver]# make reload sudo rmmod ivtv-fb ivtv msp3400 saa7115 saa7127 tuner ERROR: Module ivtv-fb does not exist in /proc/modules ERROR: Module ivtv does not exist in /proc/modules ERROR: Module msp3400 does not exist in /proc/modules ERROR: Module saa7115 does not exist in /proc/modules ERROR: Module saa7127 does not exist in /proc/modules ERROR: Module tuner does not exist in /proc/modules make: [reload] Error 1 (ignored) sync sudo modprobe i2c-core sudo modprobe i2c-algo-bit sudo insmod saa7115.ko sudo insmod msp3400.ko sudo modprobe tuner type=39 sudo modprobe videodev sudo insmod ivtv.ko ivtv_debug=255 [root@192 driver]# although mplayer /dev/video0 does give snow for about 10 seconds then freezes and i get the following on the console: Too many video packets in the buffer: (4096 in 8063364 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Cannot sync MAD frame A: 28.5 V: 37.3 A-V: -8.816 ct: 0.239 1027/1027 9% 3% 30.2% 71 0 0% I did change the makefile to reflect the 'suspected' correct tuner type 39 from 29 and then followed the directions again.. any ideas? Quote Link to comment Share on other sites More sharing options...
devries Posted November 14, 2004 Author Report Share Posted November 14, 2004 Yes, other driver :) The drivers change almost daily. I now have the experimental 0.3 series. (ivtv-0.3.0f). I think that also causes the problems with kdetv. If I rememebr correctly, (haven't looked it up for almost a year) , tvtime doesn't work with ivtv at all so that would explain why it couldn't find /dev/video0. The fact that mplayer shows snow is a good sign. Now you just need to find the ivtv version that works. Have fun. Quote Link to comment Share on other sites More sharing options...
Guest sobriez Posted November 14, 2004 Report Share Posted November 14, 2004 Fun, what fun - lol It would be more fun if it worked ok.... I'm trying t o build an HTPC with this card and if its this unstable, what's the use.... For whatever reason, now my sound has disappeared - what gives with that.... I mean system sound - ALSA Quote Link to comment Share on other sites More sharing options...
devries Posted November 15, 2004 Author Report Share Posted November 15, 2004 I've ivtv running for 29 days now. Still no lock ups :) As for HTPC software I'm using Freevo. It's pretty stable. Only crashes when I scroll through my pictures. Never when recording or watching TV :) PS System sound means system notification (look in kcontrol-sound&multimedia-systemnotification) or 'sound' (you don't hear anything?). Check is alsa is running if yes, and you don't have any errors, check if some important channel isn't muted. If you have errors, post 'm. And check your list with running processes (ctrl-esc) if mplayer isn't running. If it is kill it and you'll probably have sound again :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.