4.0 out of 5 stars
Linux Device Drivers by O'Reilly, Jan 13 2012
Linux Device Drivers by O'Reilly is a very good comprehensive book on the subject. I found it very helpful in every area of writing a device driver for Linux. It is written with the understanding that the reader has had some device driver programming experience, it is not a book for beginners. The only area I felt was lacking was in the number of examples of actual C code. The examples that are given are very good, there just isn't enough of them. I was able to get some code examples from the internet which helped me finish the driver I was working on.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
2 of 3 people found the following review helpful
1.0 out of 5 stars
OK reference. Bad tutorial ..., Sep 10 2002
This review is from: Linux Device Drivers (Paperback)
Before starting let me assure you that I had written SCSI drivers for SVR4 and 4.2. I had also done some proprietary drivers for *BSDs earlier during undergrad/grad years.
After reading all the reviews and all the ravings about this book, I made the mistake of spending my money on it! Alas! What a waste. Its like one gigantic piece of mish-mash-mess. All the information might be in there (who knows). But, finding out the correct info is almost impossible! The scull driver is a joke.
Another irritating thing about the book is that it attempts to throw all sorts of info at you, all at the same time! Guys, take a break. Present information, one at a time, and only when needed.
Essentially, I was trying to write a driver to read information off my Nikon F100 onto my TP600 running Mandrake 8.0. And life was miserable till I finally started digging through some other driver code that you get with the kernel sources. Gosh, that made life so simple.
But, when I first read this book, I was almost ready to give up writing Linux drivers. I didn't know where to start and where I would end up! I was lost, confused, and felt utterly hopeless.
Also, I wondered if the other guys who had raved about this book were:
1. the authors and their friends?
2. guys who had no clue what they were talking/writing about?
3. guys who were happy to see that there was a book on Linux drivers, but neither bought nor read it!
So, don't trust these reviews. This is one heck of a horrible book that you should most definitely stay away from. Cause if you read, you would never be able to write any useful drivers.
Read the source.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
4.0 out of 5 stars
Linux Device Drivers, Third Edition, Feb 27 2006
By A Customer
I found this book to give a decent coverage of device driver issues for the Linux OS. General driver/OS concepts are briefly considered before delving into Linux-specific ones. Some prior knowledge of driver concepts is useful.
The book covers:
* An introduction to device drivers and building and running modules. The second chapter is especially useful since it serves to document the building process for the kernel space.
* Debugging techniques and concurrency/race conditions. These two chapters briefly document general concepts before detailing Linux constructs.
* A basic char driver (scull - Simple Character Utility for Loading Localities) is considered in chapter 3 and referred through later throughout the text.
* Memory allocation, hardware I/O, and interrupt handlers are discussed next.
* Various types of drivers (PCI, USB, block, network, and TTY) drivers are taken up in the last half of the book. These chapters should be especially useful for anybody writing drivers for these types of devices.
The index is fairly exhaustive so looking up terms should not be a problem. Overall, I recommend this book to anybody writing device drivers for the Linux platform. It contains a wealth of Linux knowledge in one convenient book.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No