LinuxMCE Forums
May 20, 2013, 03:04:11 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: 10.04 does not seem to install correct hdpvr.ko driver please help  (Read 324 times)
sedgington
Veteran
***
Posts: 78


View Profile
« on: September 15, 2012, 08:55:48 pm »

Loaded 10.04 and overall very impressed however I again found a problem detecting hdpvr if you have a new model  "4903"

In all fairness, it looks like the files to make and install the driver are there--it just didn't get compiled against the correct kernel and was never installed. I need to know how to make and install the hdpvr.ko driver agains the current kernel. Since the files are in different places than in 8.10 I'm hesitant to wade in without some guidance.

Background:
When you do a modinfo hdpvr you get:

filename:       /lib/modules/2.6.32-42-generic/kernel/drivers/media/video/hdpvr/hdpvr.ko
description:    Hauppauge HD PVR driver
author:         Janne Grunau
license:        GPL
srcversion:     B206354E5E27473B8EAF8BB
alias:          usb:v2040p4902d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4901d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4900d*dc*dsc*dp*ic*isc*ip*
depends:        videodev,v4l2-common
vermagic:       2.6.32-42-generic SMP mod_unload modversions 586
....

which shows that the driver has loaded but 4903 is not included in the list and it was compiled against the 2.6.32-42-generic kernel.

However, if you go to

/mnt/device/38/copy _root_files/v4l-dvb/v4l

(38 is the device number of my hard drive)

there is another hdpvr.ko which--if you check hdpvr.h--has been compiled to include the 4903 id
The problem is that you can not simply copy it to the folder the system looks for the modules because it is compiled against the wrong version of linux and will not load:

 modprobe hdpvr
FATAL: Error inserting hdpvr (/lib/modules/2.6.32-42-generic/kernel/drivers/media/video/hdpvr/hdpvr.ko): Invalid module format

however, a modinfo reveals what the hdpvr.h file reveals--it is setup for 4903--just the wrong kernel

filename:       hdpvr.ko
description:    Hauppauge HD PVR driver
author:         Janne Grunau
license:        GPL
srcversion:     F6C2EB82D72336F87FBCDC3
alias:          usb:v2040p4982d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4902d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4901d*dc*dsc*dp*ic*isc*ip*
alias:          usb:v2040p4903d*dc*dsc*dp*ic*isc*ip*
depends:        usbcore,videodev,v4l2-common
vermagic:       2.6.27-17-generic SMP mod_unload modversions 586

I don't want to mess anything up at this point--so does anyone have a suggestion about how to compile these files agains the current kernel? A simple make does not work even though the makefile is there as it wants a target which I am hesitant to give without some more guidance.

As from my earlier post in 8.10, the problem is that unless LMCE has the correct driver in place it does not see "4903" and the PNP will not detect the device. And please, if any developers are reading this, it looks like everything has been fixed except for compiling/loading the correct driver. Please help!

Here is the link to my 8.10 post:
http://forum.linuxmce.org/index.php/topic,10945.0.html
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!