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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-13-2014, 04:02 PM
|
#1
|
Member
Registered: Apr 2009
Posts: 390
Rep:
|
Saving Linux Drivers for Future Re-Installation and Use on Other Computers
(1) Since it takes considerable work to create and debug hardware drivers not provided by my Linux distribution, I would like to learn how to save user-created Linux drivers for future re-installation and use on other computers.
(2) How does one install such saved drivers on another Linux system?
Any advice and help will be greatly appreciated.
julianvb
|
|
|
07-14-2014, 02:50 PM
|
#2
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
If a driver is not installed by default on a newer distro then I'd assume that you have some driver package or source. I'd keep that source and try to use it on newer systems. It may be that some tools might be needed or other apps and at some point it may not install due to changes.
The other way is to use windows drivers for some things with ndiswrapper.
|
|
1 members found this post helpful.
|
07-14-2014, 05:14 PM
|
#3
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
what jeffro mentiond is pretty much the only way to do so, as drivers are kernel modules and have to be compiled against the active kernel on a given system, as well as the installed versions of any libraries/headers present, so really, the best way would be to create a make file, and if necessary a 'configure' script to make any necessary changes to the makefiles and simply create a tarball of that, umpack, compile/install.
|
|
1 members found this post helpful.
|
07-14-2014, 08:04 PM
|
#4
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
I'll just mention this as a note relating to this topic.
Three ways exist to have a driver for the most part.
One is built into the kernel or you can add it to the kernel.(kernel space)
Two is outside the kernel.(userspace)
Three is using windows drivers.
|
|
1 members found this post helpful.
|
07-15-2014, 12:40 PM
|
#5
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
jefro and frieza,
Thank you both very much for your valuable advice. I conclude that the cleanest, safest method would be to save the original source and re-derive the driver accordingly. I've been creating Linux network-adapter drivers from Windows XP ones via Ndiswrapper.
julianvb
|
|
|
07-15-2014, 11:24 PM
|
#6
|
Member
Registered: Apr 2009
Posts: 390
Original Poster
Rep:
|
Hi, jefro and frieza,
I need your help badly. About half an hour ago I started writing a long post on K3B. But somehow I got lost and could not get back to it. Can you help me? I was going to write frieza but I don't have an MSN address. Your help will be greatly appreciated. I wish this website had a general webmaster e-mail address available to registered users.
julianvb
---------- Post added 07-16-14 at 12:24 AM ----------
Hi, jefro and frieza,
I need your help badly. About half an hour ago I started writing a long post on K3B. But somehow I got lost and could not get back to it. Can you help me? I was going to write frieza but I don't have an MSN address. Your help will be greatly appreciated. I wish this website had a general webmaster e-mail address available to registered users.
julianvb
|
|
|
All times are GMT -5. The time now is 01:45 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|