Results 1 to 5 of 5
Hi Everyone
I'm learning about device drivers.
Where can I find drivers source code to look in?
Isn't it part of the kernel headers?
I'm looking for simple device drivers ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-27-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 9
Device Drivers source code
Hi Everyone
I'm learning about device drivers.
Where can I find drivers source code to look in?
Isn't it part of the kernel headers?
I'm looking for simple device drivers code to begin with. Is there something like that?
Thanks,
Tal
- 09-28-2010 #2
welcome in forum first you search in goggle ond then post to forum i.e second option in goggle is
HTML Code:http://www.adaptec.com/en-US/downloads/linux_source/linux_source_code?productId=ASC-29160LP&dn=Adaptec+SCSI+Card+29160LP
asking good questionHTML Code:http://www.linuxforums.org/forum/newbie/57918-all-new-users-read-first.html
HTML Code:http://www.linuxforums.org/forum/newbie/42937-google-your-best-friend.html
- 09-28-2010 #3
Lots of device drivers are part of Linux kernel, get kernel sources and you'll have plenty of drivers source code to look at.
- 09-28-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,141
As Segfault said, you need to download the full kernel sources. The headers are only useful in order to build your own kernel modules, but they don't contain any of the kernel and driver sources themselves. There are 3 main types of device drivers in Linux: character, block, and network. Each type is quite different from the others. You can find and download a PDF copy of "Linux Device Drivers, 3rd Edition" published by O'Reilly. All the chapters in PDF format are available here: Open Book - Linux Device Drivers, 3rd Edition
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-30-2010 #5Just Joined!
- Join Date
- Sep 2010
- Posts
- 9
Tnx
Thanks for the information.
Tal


Reply With Quote

