LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 09-12-2009, 04:32 AM   #1
harindu
LQ Newbie
 
Registered: Sep 2009
Location: Piliyandala,Sri Lanka
Distribution: Ubuntu Jaunty 9.04
Posts: 10

Rep: Reputation: 1
Question 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
 
Old 09-12-2009, 08:03 AM   #2
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
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)
 
Old 09-13-2009, 11:00 AM   #3
harindu
LQ Newbie
 
Registered: Sep 2009
Location: Piliyandala,Sri Lanka
Distribution: Ubuntu Jaunty 9.04
Posts: 10

Original Poster
Rep: Reputation: 1
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.
 
Old 09-13-2009, 11:40 AM   #4
karlatLQ
Member
 
Registered: Sep 2009
Posts: 67

Rep: Reputation: 19
Quote:
Originally Posted by harindu View Post
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.
 
Old 09-14-2009, 09:56 AM   #5
harindu
LQ Newbie
 
Registered: Sep 2009
Location: Piliyandala,Sri Lanka
Distribution: Ubuntu Jaunty 9.04
Posts: 10

Original Poster
Rep: Reputation: 1
Smile

Quote:
Originally Posted by karlatLQ View Post
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 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 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Kernel Log: What's coming in 2.6.30 Drivers: New drivers for audio, video, US LXer Syndicated Linux News 0 06-01-2009 04:30 PM
NVidia drivers won't work with new kernel forrest44 Slackware 4 04-29-2006 03:03 AM
Can NVidia drivers work on Fedora/ 2.6 Kernel? alex00p Fedora 1 02-09-2006 10:28 AM
ATI DRIVERS WORK NOW! Kernel 2.6.11 antidelldude Fedora 51 08-25-2005 12:49 PM
DISCUSSION: Making ATI drivers work with nforce2 and kernel 2.6 in Gentoo ElPuello LinuxAnswers Discussion 1 07-24-2005 12:41 AM


All times are GMT -5. The time now is 09:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration