I'm trying to get a Hauppauge WinTV-HVR-1950 working. It uses the pvrusb2 driver.
I have the firmware and everything extracted. dmesg shows:
Quote:
# dmesg | grep pvrusb2
[ 12.161392] usbcore: registered new interface driver pvrusb2
[ 12.161398] pvrusb2: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : V4L in-tree version
[ 12.161401] pvrusb2: Debug mask is 31 (0x1f)
[ 13.192050] firmware: requesting v4l-pvrusb2-73xxx-01.fw
[ 13.326439] pvrusb2: wrong fx2 firmware size
[ 13.326464] pvrusb2: Failure uploading firmware1
[ 13.326468] pvrusb2: Device initialization was not successful.
[ 13.326470] pvrusb2: ***WARNING*** pvrusb2 device hardware appears to be jammed and I can't clear it.
[ 13.326473] pvrusb2: You might need to power cycle the pvrusb2 device in order to recover.
|
"wrong fx2 firmware size" is a known problem according to
http://www.isely.net/pvrusb2/setup.html for all kernels 2.6.32 and earlier.
To run the standalone I've tried instructions here:
http://www.isely.net/pvrusb2/setup.html
Quote:
export KREL=`uname -r`
export KDIR=/lib/modules/$KREL/source
make --directory driver
|
But I don't have a "source" directory under /lib/modules/2.4.26-2-686/
I've used apt-get to grab the source, headers, etc. Everything ends up in /usr/src. When I extract there, I get /usr/src/linux-source-2.6.26 Try the above commands with new path, no luck.
I get:
Quote:
# make --directory driver
make: Entering directory `/usr/src/pvrusb2-mci-20100424/driver'
make INSTALL_MOD_DIR=pvrusb2 -C /usr/src/linux-source-2.6.26-2-686/ M=/usr/src/pvrusb2-mci-20100424/driver CONFIG_VIDEO_PVRUSB2=m CONFIG_VIDEO_PVRUSB2_24XXX=y CONFIG_VIDEO_PVRUSB2_SYSFS=y CONFIG_VIDEO_PVRUSB2_DVB=y CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y CONFIG_VIDEO_ADV_DEBUG=y modules
make: Entering an unknown directory
make: *** /usr/src/linux-source-2.6.26-2-686/: No such file or directory. Stop.
make: Leaving an unknown directory
make: *** [modules] Error 2
make: Leaving directory `/usr/src/pvrusb2-mci-20100424/driver'
|
So I gave up, decided I would install v4l as an alternative per
http://www.isely.net/pvrusb2/setup.html.
So I use these instructions:
http://www.linuxtv.org/wiki/index.ph...Device_Drivers
Everytime I try to run make, I get:
Quote:
# make
make -C /usr/src/v4l-dvb/v4l
make[1]: Entering directory `/usr/src/v4l-dvb/v4l'
Updating/Creating .config
Preparing to compile for kernel version
File not found: /usr/src/linux-source-2.6.26-2-686//.config at ./scripts/make_kconfig.pl line 32.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/usr/src/v4l-dvb/v4l'
make: *** [all] Error 2
|
File not found: /usr/src/linux-source-2.6.26-2-686//.config at ./scripts/make_kconfig.pl line 32. Makes sense since I don't have that folder. I have /usr/src/linux-source-2.6.26.
I'm at a loss.