WinTV PVR USB2

From ThorstensHome
Jump to: navigation, search

My Hauppauge WinTV PVR USB 2 worked well with SUSE 11.1, but not with SUSE 11.2. However I need 11.2 to run my KVM machines.

I still get video and sound from /dev/video0, but xawtv cannot display the video any longer, so I cannot switch channel. xawtv complains

ioctl: VIDIOC_S_FREQUENCY(tuner=0;type=ANALOG_TV;frequency=772): Numerical result out of range v4l2: read: rc)262144/size=331776

So I try to build kernel 2.6.27.2, but that gives me the problem https://patchwork.kernel.org/patch/11166/ Having resolved that error as described, I cannot boot my system from 2.6.26.8, because ext4 is unknown to the kernel. So I

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git;

and try to analyze it with qgit, but to no avail. So I switch on ext4 support in 2.6.26.8 and compile again.

Trying to compile the kernel driver from source I get

/root/pvrusb2-mci-20081019/driver/pvrusb2-dvb.h:5:26: error: dvb_frontend.h: No such file or directory

v4l-dvb contains it, see

hg clone http://linuxtv.org/hg/v4l-dvb

Even the kernel sources contain /usr/src/linux/drivers/media/dvb/dvb-core/dvb_frontend.h

Found

xawtv-remote setstation 27

Get a decimal volume

xawtv-remote volume dec

2010-08-15

My video looks much nicer when I play it using

mplayer pvr://dev/video

as adviced at http://www.isely.net/pvrusb2/usage.html#Logging

Tried http://sourceforge.net/projects/tv-viewer/files/tv-viewer_stable_0.8.x/0.8.1.1/tv-viewer-0.8.1.1.tar.gz/download. This program helped me find out the frequences I needed.

Changed the channel via

tweedleburg:~/tv-viewer-0.8.1.1 # echo "224250000"> /sys/class/pvrusb2/sn-8567330/ctl_frequency/cur_val
tweedleburg:~/tv-viewer-0.8.1.1 # cat /sys/class/pvrusb2/sn-8567330/ctl_frequency/cur_val
224250000

2010-09-08

  • vdr gives me
vdr.c:35:28: fatal error: sys/capability.h: No such file or directory

Solution was

yast -i libcap-devel

Now I got an error, solution was to #include <types.h> into vdr.c. Then I got an error and had to copy two config files to /video Now when I start vdr, I only get

vdr: no primary device found - using first device!