23 Dec 2005
Linux Video Capture

I just spent several hours getting my WinTV PVR USB2 video capture device up and running on my laptop running Fedora Core 4. Here’s the really quick rundown of what I did…

1. I started with Mike Isley’s work on the driver which seems to be the only one active still; or rather the latest iteration on this driver.

2. I did not have to set up a kernel source tree as he describes (luckily because I didn’t really know how to do that…). Instead I had to install the kernel-devel package with yum and then I discovered that it had downloaded sources for the latest kernel and I needed to update mine before it worked. See the FC4 release notes for more detail.

3. Once I had installed the kernel-devel package and made sure my kernel was up to date I was able to run make and make install for both the driver subfolder and the ivtv subfolder in the source code downloaded from Mike Isley’s site. I followed his instructions for loading the modules and checking for dependencies etc. The first time I tried to load the module I got an error. I restarted and tried again and got a slightly different error. I was about to give up but decided to just plug the capture device in anyway to see what would happen and it seemed to work.

4. UPDATE: When I returned to this a few days later I found it no longer working and spent several more hours in utter frustration unable to figure out what had happened. Many thanks to Julian and Mike from the PVRUSB2 mailing list for their quick responses which set me on track. Apparently my problem was that I was loading the support modules provided by the driver (from Mike Isley’s site above) rather than using those provided my kernel. Specifically, I had renamed these modules in favor of those installed in /lib/modules/2.6.14-1.1653_FC4/pvrusb2 by the “make install” task when compiling the driver and support modules. This was my problem… Make sure you have the following modules and delete the modules of the same name in the pvrusb2 folder.

comments powered by Disqus
JANDER.ME