Question about book Linux Driver Development (3rd edition)?

3 replies [Last post]
longsongfreedom
Offline
Joined: 07/13/2013

I have learned the book Advanced Linux Programming.
http://www.advancedlinuxprogramming.com/

I don't know whether I am able to learn the book Linux Driver Development (3rd edition).
https://lwn.net/Kernel/LDD3/

Is the book too difficult for me? Do I need to learn some other book first? If so, which book should I learn first?

Thanks!

lembas
Offline
Joined: 05/13/2010

You probably know this documentation https://www.kernel.org/doc/Documentation/

Just watch out for blobs!

FreedomOfTheOpenCode
Offline
Joined: 12/13/2013

I don't think there is anything easier for getting started with device driver programming except maybe Essential Linux Device Drivers published by Prentice Hall, but it isn't free. This book has more-complete examples included, and also has more information about user space device drivers. On the other hand, the LDD3 book is better for learning the basics of writing kernel code.

It is easier to start with user space device drivers because you can use ordinary library functions in your code, and because the device driver library probably includes some complete examples already.

longsongfreedom
Offline
Joined: 07/13/2013

It'll be helpful.

Thank you all!