LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Linux Source Code For Drivers (https://www.linuxquestions.org/questions/linux-general-1/linux-source-code-for-drivers-625109/)

atmurali 03-02-2008 06:48 AM

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

MS3FGX 03-02-2008 07:14 AM

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/

Lenard 03-02-2008 07:17 AM

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.

jayacharan 09-06-2008 06:21 AM

linux device drivers
 
Quote:

Originally Posted by Lenard (Post 3075564)
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.

ErV 09-06-2008 06:36 AM

Quote:

Originally Posted by jayacharan (Post 3271403)
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.

jiml8 09-06-2008 11:33 PM

Quote:

Originally Posted by jayacharan (Post 3271403)
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.

rob.rice 09-09-2008 11:16 PM

Quote:

Originally Posted by jayacharan (Post 3271403)
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 "


All times are GMT -5. The time now is 05:35 PM.