LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 07-11-2007, 02:57 PM   #1
SEAP Four
LQ Newbie
 
Registered: Jul 2007
Posts: 1

Rep: Reputation: 0
Help installing driver


Hello,
I have a driver for a USB device containing one ".c" and one ".h" file and no makefile. The computer is running fedora core 5 and linux kernel 2.6.15 I have everything I know to compile and install this driver, but have so far been unable. Any help in writing a suitable makefile or otherwise installing this driver would be much appreciated.

I think part of the problem is a messed up /lib/modules/2.6.15-1.2054_FC5/build file. In the file browser, it appears with two red circles with lines through them, one with a pencil. I assume this means no read, no write, but the permissions are set to allow reading, writing, and executing. Additionally, when I open the file in text editor, the file appears to be completely blank. In the file's properties, the file type is "link(broken)" and the size is 47 Bytes.

Thanks,
SEAP Four
 
Old 07-11-2007, 03:52 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
You should be looking in /usr/srv/linux for .config (hidden file) which is the configuration for the current kernel. Look for it to see if the USB module you want is already conpiled. Look for that module in /lib/modules. If you don't find it, it's time to configure and compile your kernel to include the module of interest. If I remember correctly, there is an option to make a new kernel with an EXTRAVERSION option so that the new kernel doesn't replace the old one (that way you have a fallback option if the new one doesn't work).

You will need the kernel source installed to configure a new kernel.

Then add the kernel image to /boot, make a new initrd, and edit /boot/grub/grub.conf to add an entry for the new kernel (keep the old one until you are certain the new one works).
 
  


Reply

Tags
driver, fedora, hardware, install


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 03:44 PM
please help with installing the hostap-driver-o.1.3 driver for wireless card chrisseattle Linux - Wireless Networking 1 03-26-2004 01:46 PM
I need help installing a driver matahchuah Linux - General 1 03-19-2004 10:19 AM
Installing a driver rjc915 Linux - General 2 10-16-2003 09:30 AM
Installing driver abiagi Linux - Software 3 09-01-2003 08:07 PM


All times are GMT -5. The time now is 04:12 AM.

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