LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  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: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
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



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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:57 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