LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2010, 12:32 AM   #1
hellbillyJoker
LQ Newbie
 
Registered: Dec 2008
Location: Minneapolis
Distribution: Debian 5
Posts: 15

Rep: Reputation: 0
Kernel Source Location - pvrusb2 on Debian 5 Lenny 2.6.26-2-686


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.
 
Old 07-09-2010, 09:26 AM   #2
hellbillyJoker
LQ Newbie
 
Registered: Dec 2008
Location: Minneapolis
Distribution: Debian 5
Posts: 15

Original Poster
Rep: Reputation: 0
Since I keep hitting these roadblocks when trying to either use the stand alone driver or install v4l, could I solve everything by just upgrading the kernel to 2.6.34 so I can use the in kernel driver? Is that a simple task, or given my luck so far will it result in the computer being thrown out the second floor window?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Seeking for the kernel source tree in Debian 5.04 - Lenny grautu Debian 2 03-07-2010 09:18 AM
HP StorageWorks DAT 72 not recognized on Debian Lenny 2.6.26-2-686; HP Proliant DL360 4Him Linux - Hardware 10 12-17-2009 01:44 AM
I need a link to kernel-source-2.6.18-5-686 - Can't use apt-get Virtuality Linux - Software 10 12-12-2007 05:04 PM
Debian Kernel 2.6 686 SMP alorents Linux - Software 4 02-17-2006 07:26 PM
Kernel Panic Debian v3.1(2.6.8-2-686) MKSrivastava Debian 4 12-02-2005 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration