LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-02-2008, 07:48 AM   #1
atmurali
Member
 
Registered: Nov 2007
Location: Kerala
Posts: 42

Rep: Reputation: 15
Linux Source Code For Drivers


I Would like to see the source code for device drivers under linux.
I have a linux 2.6.20 kernel and untarred at root directory. Where I Can find code for Parallel ports etc....?
 
Old 03-02-2008, 08:14 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
There is a directory aptly named "drivers" in the kernel source which contains...all of the drivers. They are organized by device, so for example the parallel port drivers are under:

/usr/src/linux-2.x.x/drivers/parport/
 
Old 03-02-2008, 08:17 AM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
If you have the Linux source code then you have everything (for the most part) already, try looking in the /drivers directory and in answer to the parallel port query look in the /parport subdirectory.

FYI Having the code at the root directory is not a good idea, the textbook location is /usr/src/linux-2.6.20 for example using the stated fact that you have the 2.6.20 kernel source.
 
Old 09-06-2008, 07:21 AM   #4
jayacharan
LQ Newbie
 
Registered: Sep 2008
Posts: 11

Rep: Reputation: 0
linux device drivers

Quote:
Originally Posted by Lenard View Post
If you have the Linux source code then you have everything (for the most part) already, try looking in the /drivers directory and in answer to the parallel port query look in the /parport subdirectory.

FYI Having the code at the root directory is not a good idea, the textbook location is /usr/src/linux-2.6.20 for example using the stated fact that you have the 2.6.20 kernel source.


hi,

i'm new to linux device drivers i would like to read the book

"Essential Linux Device Drivers by Robbins " pdf

If u hav this book plz send it to my mail id:

jayacharan.rampog@gmail.com


and any suggestions to write dd.


thanks in advance,

Jayacharan.
 
Old 09-06-2008, 07:36 AM   #5
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by jayacharan View Post
hi,

i'm new to linux device drivers i would like to read the book

"Essential Linux Device Drivers by Robbins " pdf

If u hav this book plz send it to my mail id:

jayacharan.rampog@gmail.com


and any suggestions to write dd.


thanks in advance,

Jayacharan.
Asking (in public forum) to send something to your to your email is a bit impolite. Information is public, so answer to your questions should be available to everyone else, not just you. Besides, you at least could try to find the book yourself.
 
Old 09-07-2008, 12:33 AM   #6
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by jayacharan View Post
hi,

i'm new to linux device drivers i would like to read the book

"Essential Linux Device Drivers by Robbins " pdf

If u hav this book plz send it to my mail id:

jayacharan.rampog@gmail.com


and any suggestions to write dd.


thanks in advance,

Jayacharan.
How many different threads are you asking people to give you this book on? This is the second one I have seen.

Get your lazy, cheap ass up, and go buy it if you want it.

edit:

I just checked. You have made 5 posts on this site, and 4 of them are asking for someone to give you this book. I think the mods need to become aware of you.

Last edited by jiml8; 09-07-2008 at 12:35 AM.
 
Old 09-10-2008, 12:16 AM   #7
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 796

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by jayacharan View Post
hi,

i'm new to linux device drivers i would like to read the book

"Essential Linux Device Drivers by Robbins " pdf

If u hav this book plz send it to my mail id:

jayacharan.rampog@gmail.com


and any suggestions to write dd.


thanks in advance,

Jayacharan.
goto http://google.com/linus and search for "Essential Linux Device Drivers "
 
  


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
Need source code of FCC ID:NHPWLG1500 Drivers FC6 Person_1873 Linux - Wireless Networking 10 09-25-2007 02:21 AM
Linux source-code tejprakash_kolla Linux - General 2 10-29-2005 05:54 PM
Get Source Code for Linux seventhsense Linux - Software 6 07-12-2005 05:44 AM
where i will get the source code of Linux?? and ... nazib Linux - General 1 02-16-2005 03:28 AM
mandrake10 install kernel source code /radeon 9800xtpro drivers UberNo0ber Mandriva 0 06-07-2004 06:18 PM


All times are GMT -5. The time now is 03:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration