Search code examples
linuxkernelopen-source

Where can I find sample source files for Linux Device Drivers, Third Edition?


I am working through Linux Device Drivers, Third Edition and while the book is released under Creative Commons Attribution-Share Alike license, I can't seem to locate the source code for the examples used in the book.

Some Amazon reviews mention that they do exist, but fail to provide a reference. In the book snippets you can see that the license is GPL, so they must exist somewhere.

My google-fu is bringing up malware infested pits of despair.

What would be a good source for those example files used in LDD book?

Turns out there are two good sources:

Former is more authoritative, but latter might be better for later kernel revisions.


Solution

  • That was published by O'Reilly's publisher, it might be worth your while to check there at their site. The link is here. Also is the link to their source code.

    Edit: Adding another link.

    Hope this helps