LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-18-2001, 10:12 AM   #1
scgadgets
LQ Newbie
 
Registered: Sep 2001
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
Compile Kernal with New Drivers...How to add drivers?


Ok I'm running slack 8 on my laptop. I've recompiled my kernal before....and I understand that process. However, what I don't "see" is how one would include a new updated driver.

For example, I need to latest pcmcia to be added to the kernal. I've downloaded the latest pcmcia and have the source in my usr/src/pcmcia...... folder.

I believe the pcmcia FAQ includes instructions for configuring the new drivers, however, how does my kernal source configuration know to use the NEW drivers??? This is where i'm a bit confused.

Thanks,
SCG
 
Old 09-19-2001, 12:48 AM   #2
Aurga
LQ Newbie
 
Registered: Sep 2001
Distribution: Debian - Potato
Posts: 21

Rep: Reputation: 15
Not every pcmcia card is supported automatically by the linux kernel. You may get lucky and find that our pcmcia card is supported directly in the kernel. So, go though the choices for the pcmcia modules and find out. If not, thats when you will need the driver that you downloaded.

Now i am unsure of how to use a downloaded driver as a module for the kernel, as I have never needed to do this. (I use only linux compatible harware)

Perhaps this is where someone else can pick up the thread should it be needed.

Id say check your kernel before you try adding this driver.
 
Old 09-19-2001, 09:26 AM   #3
ozzy983
LQ Newbie
 
Registered: Sep 2001
Posts: 11

Rep: Reputation: 0
Yea, I had to recompile my kernal when I installed my ATA100 Promise controller drivers.

Kinda a strage and can be, long and tedious process, I got some errors, which I ignored, as stated in the readme. Worked fine. I would look for some instructions or something to clarify why you need or to not need to do what you are tryin' to do.

Later,
Oz
 
Old 09-19-2001, 07:48 PM   #4
scgadgets
LQ Newbie
 
Registered: Sep 2001
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Well, specifically, I'm using an 802.11b Linksys wireless PCMCIA card that I've got source support for. My question is not how to compile the kernal or if I actually need to.....I know I have to.

The question I have is how is the driver compile AND kernal compile accomplished? How does the kernal source KNOW that I have a new driver to include?

Again, I've compiled a couple of kernals and am very familiar with that process, however, I have never ADDED anything.

Thanks,
SCG
 
Old 09-19-2001, 09:27 PM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
I've done something similar for my DVD card, after I compiled the module and did make install I did "depmod -a" and then edited rc.modules to load it at boot.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2.6.3 Kernal doesn't allow for latest nVidia drivers Newb_Linux_Geek Linux - Hardware 18 07-13-2006 04:49 PM
How do I add/install new drivers Wolfy Linux - Hardware 3 07-17-2004 02:38 PM
Can't rmmod kernal sound drivers Forezt Fedora 2 02-29-2004 01:02 PM
Add drivers during installation id10t Slackware 2 01-14-2004 10:57 PM
Compiling new drivers directly into the kernal as opposed to modules scgadgets Linux - General 2 09-23-2001 06:37 AM


All times are GMT -5. The time now is 05:48 AM.

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