Regular readers here know that I have been very disappointed with most Linux kernel and device driver books. I did like The Linux Kernel Primer, but until this "Essential Linux Device Drivers" book landed on my desk, that was about it.
I admit that it's very hard to write a good book in this area. You simply have to make assumptions about the readers knowledge - if you don't, you'll be writing an encyclopedia or two. However, I still think that my complaints have been justified, and this author proves that you CAN write a readable, information packed book about Linux device drivers without glossing over vast areas.
Well, that's not entirely true: vast areas are still passed by at break-neck speed, but there's a difference here: every chapter tries to give a high level overview of the area to be discussed, which is then followed by very well explained examples of code, and finally finishes up with pointers to the parts of Linux source code that are relevant. That's a formula that works, and the author also often includes pointers to other relevant resources too. With a little Googling, you should be able to really get a lot out of this book.
As you'd expect, this starts out with an overview of the kernel itself, and it's probably the best I've ever seen. Individual Linux boot messages are pulled out, explained, and the the source code that produced them is examined. It then goes on to discuss kernel locks, briefly looks at procfs and memory allocation, and closes (as each chapter does) with pointers to where to look in the source for the subjects discussed. The next few chapters cover more basic concepts like kernel locks and threads, and then the rest of the book is all device drivers.. starting simply and progressing to more complicated hardware, but always following the format of first giving an overview of the how and why, then presenting sample driver(s), a bit on how to most easily debug, and finally pointers to real kernel sources.
Very well done, and I recommend it. It is a bit expensive, but I think it's worth it.
Tony Lawrence 2008-05-06 Rating:
Order (or just read more about) Essential Linux Device Drivers from Amazon.com
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Tue May 6 13:28:28 2008: Subject: TonyLawrence
I should look at covers.. Alan Cox has a blurb:
“Probably the most wide ranging and complete Linux device driver book I’ve read.”
That's a pretty solid recommendation, isn't it?
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar