Buy Used
+ £2.80 UK delivery
Used: Very Good | Details
Condition: Used: Very Good
Comment: This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See more of our deals.
Trade in your item
Get a £0.50
Gift Card.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Linux Device Drivers, 2nd Edition Paperback – 5 Jul 2001

1 customer review

See all formats and editions Hide other formats and editions
Amazon Price New from Used from
"Please retry"
£5.00 £0.04

There is a newer edition of this item:

Linux Device Drivers
This title has not yet been released.

Special Offers and Product Promotions

  • Win a £5,000 Gift Card for your child's school by voting for their favourite book. Learn more.
  • Prepare for the summer with our pick of the best selection for children (ages 0 - 12) across

Win a £5,000 Gift Card and 30 Kindle E-readers for your child or pupil's school.
Vote for your child or pupil(s) favourite book(s) here to be in with a chance to win.

Product details

  • Paperback: 592 pages
  • Publisher: O'Reilly Media; 2 edition (5 July 2001)
  • Language: English
  • ISBN-10: 0596000081
  • ISBN-13: 978-0596000080
  • Product Dimensions: 17.8 x 2.9 x 23.3 cm
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 1,479,367 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Authors

Discover books, learn about writers, and more.

Product Description

Amazon Review

Updated to cover version 2.4.x of the Linux kernel, the second edition of Linux Device Drivers remains the best general-purpose, paper-bound guide for programmers wishing to make hardware devices work under the world's most popular open-source operating system. The authors take care to show how to write drivers that are portable--that is, that compile and run under all popular Linux platforms. That, along with the fact that they're careful to explain and illustrate concepts, makes this book very well-suited to any programmer familiar with C but not with the hardware-software interface. It's worth noting that the emphasis in the title is on "device drivers" as much as "Linux". This book will make sense to you if you've never written a driver for any platform before. It helps if you have some Linux or UNIX background, but even that is secondary as a prerequisite to C skill.

For a programming text--and one concerned with low-level instructions and data structures, at that--this book is remarkably rich in prose. You'll typically want to read this book straight through, more or less skipping the code samples, before sketching out your plan for the driver you need to write. Then, go back and pay closer attention to the sections on specific details you need to implement, such as custom task queues. For coding-time details about specific system calls and programming techniques, count on the index to point you to the right passages. --David Wall

Topics covered: Techniques for writing hardware device drivers that run under Linux kernels 2.0.x through 2.2.x. Sections show how to manage memory, time, interrupts, ports and other details of the hardware-software interface.


Linux Journals Editors' Choice Best Technical Book of 2002 Award -- Linux Journals Editors'

Customer Reviews

3.0 out of 5 stars
5 star
4 star
3 star
2 star
1 star
See the customer review
Share your thoughts with other customers

Most Helpful Customer Reviews

Format: Paperback Verified Purchase
This is a book about the nitty gritty of low level drivers. You need to be fluent in C and C++ in order to read and understand this book. It was too complex for me.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Most Helpful Customer Reviews on (beta) 14 reviews
29 of 29 people found the following review helpful
great book for the right person 20 Feb. 2005
By Amazon Customer - Published on
Format: Paperback Verified Purchase
I used this book to write a device driver for my computer engineering senior project. It was very helpfull, but could improve. 2nd edition covers almost everything you'll need for 2.4 kernel drivers. Organization is like a text book that includes reference material, but attempts to be a tutorial. Hopefully the 3rd edition will be better organized. I noticed lots of negative reviews on Amazon, but after reading some chapters on safari (the oreilly free book site) I decided to purchase it any ways. If you buy this book and don't have a solid background in operating systems, computer architecture, and microprocessor interfacing you probably won't have an easy time understanding several key topics well enough to write a working driver. This will probably make you mad enough to write another bad review.
82 of 99 people found the following review helpful
OK reference. Bad tutorial ... 11 Sept. 2002
By "irvine_dude" - Published on
Format: 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.
9 of 10 people found the following review helpful
Good general, if rather intel specific, guide 7 Jan. 2002
By A Customer - Published on
Format: Paperback
This is a good book - and I joined the Linux kernel immortals by writing a driver for a previously unsupported device based on it. But it does have a few flaws.
Firstly, it is pretty much Intel (ix86) specific - other processors are mentioned in passing.
Secondly it doesn't deal with the real world of Linux devices (ie where the manufacturer has told you little or nothing).
And thirdly, it never quite goes far enough in exploring the difficult issues - I thought this was the case with IRQ handling especially.
But, all in all, the best on offer and well worth buying.
5 of 6 people found the following review helpful
Excellent book choice for anyone trying to do device support 16 Aug. 2001
By Frank Earl - Published on
Format: Paperback
If you're looking for a good overview/reference for making device drivers happen on Linux, this book is a must-have. It covers most of the pertinent topics (incl. handling cross-platform support details) and covers them with a view on the 2.4.X kernels- whlie explaining the old functionalities all the way back to the 2.0.X kernels to enable you to write backwards compatible drivers if you so desire.
1 of 1 people found the following review helpful
Nice Try 10 Mar. 2013
By ;^) - Published on
Format: Paperback Verified Purchase
This work is a great introduction to device drivers. Unfortunately, it was obsolete before it go to press... For beginners, check out Xinu, by Doug Comer. For veterans, check online for the latest... and always "use the source".
Were these reviews helpful? Let us know