LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to chnange old drivers to work with new kernel (http://www.linuxquestions.org/questions/linux-hardware-18/how-to-chnange-old-drivers-to-work-with-new-kernel-754601/)

harindu 09-12-2009 04:32 AM

How to chnange old drivers to work with new kernel
 
I have a Prolink H9601 adsl-usb modem that has drivers for linux but are for kernel ver 2.6.10 so can anybody tell how to modify those to work with new kernel in ubuntu jaunty??
Drivers are on:http://www.prolink2u.com/downloads/d...nux_Driver.ziphttp://www.prolink2u.com/downloads/d...nux_Driver.zip

ongte 09-12-2009 08:03 AM

There's a file in there called /Notes for Kernel 2.6/monaco_linux/MonacoReadme.txt, this file contains instructions on how to compile the driver. (Which you will probably need to do)

You'll first need to install the compilers and kernel source.
Code:

sudo apt-get install build-essential kernel-headers-$(uname -r)

harindu 09-13-2009 11:00 AM

Ive tried that but without sucess it starts compiling dependancies are ok but the driver contains functions which are no longer in the libusb-dev.

karlatLQ 09-13-2009 11:40 AM

Quote:

Originally Posted by harindu (Post 3681064)
but the driver contains functions which are no longer in the libusb-dev.

Then you would need to change those functions to the new library! Have fun and post your driver adaptions after you get it to work to help others who want to use it with a newer kernel.

Another option would be to downgrade your kernel to the older one. You could find the older kernel and install it for your distribution, or you could get the kernel from Kernel and compile it yourself.

harindu 09-14-2009 09:56 AM

Quote:

Originally Posted by karlatLQ (Post 3681115)
Then you would need to change those functions to the new library! Have fun and post your driver adaptions after you get it to work to help others who want to use it with a newer kernel.

I would like to do it but as a linux newbie:newbie: i dont know how so can anybody who can do it for me or tell or point to a guide how to do it.the latter is much appreciated because i like to learn sutff and DIY.:)
Quote:

Originally Posted by karlatLQ (Post 3681115)
Another option would be to downgrade your kernel to the older one. You could find the older kernel and install it for your distribution, or you could get the kernel from Kernel and compile it yourself.

Its better buying compatible hardware than doing it because it might not support newer hardware.:tisk:


All times are GMT -5. The time now is 01:31 PM.