|
Linux Device Drivers |  | Author: Greg Kroah-Hartman Publisher: O'Reilly Media, Inc. Category: eBooks
This item is no longer available
Rating: 50 reviews Sales Rank: 71855
Format: Kindle Book Media: Kindle Edition Edition: 3 Pages: 636 Number Of Items: 1
Dewey Decimal Number: 004.56 ASIN: B0026OR2XQ
Publication Date: February 9, 2009
| |
| Similar Items:
| |
| Editorial Reviews:
Amazon.com 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, like 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.
Product Description Device drivers literally drive everything you're interested in--disks, monitors, keyboards, modems--everything outside the computer chip and memory. And writing device drivers is one of the few areas of programming for the Linux operating system that calls for unique, Linux-specific knowledge. For years now, programmers have relied on the classic Linux Device Drivers from O'Reilly to master this critical subject. Now in its third edition, this bestselling guide provides all the information you'll need to write drivers for a wide range of devices.Over the years the book has helped countless programmers learn:how to support computer peripherals under the Linux operating systemhow to develop and write software for new hardware under Linuxthe basics of Linux operation even if they are not expecting to write a driverThe new edition of Linux Device Drivers is better than ever. The book covers all the significant changes to Version 2.6 of the Linux kernel, which simplifies many activities, and contains subtle new features that can make a driver both more efficient and more flexible. Readers will find new chapters on important types of drivers not covered previously, such as consoles, USB drivers, and more.Best of all, you don't have to be a kernel hacker to understand and enjoy this book. All you need is an understanding of the C programming language and some background in Unix system calls. And for maximum ease-of-use, the book uses full-featured examples that you can compile and run without special hardware.Today Linux holds fast as the most rapidly growing segment of the computer market and continues to win over enthusiastic adherents in many application areas. With this increasing support, Linux is now absolutely mainstream, and viewed as a solid platform for embedded systems. If you're writing device drivers, you'll want this book. In fact, you'll wonder how drivers are ever written without it.
|
| Customer Reviews:
Showing reviews 1-5 of 50
Highly Overrated, but the only text on the market. July 15, 2010 d. time 1 out of 1 found this review helpful
Honestly, I really don't understand how anyone can give this book 5 stars. To start off on a positive tone, I'll say what I liked about it.
1) Lots of information. There is no denying this, it is very informitive. However, this is a double edged swords (will discuss later)
2) The basic drivers are described pretty well. The scull driver is a good way to ease into driver development, imo. Simple enough that it's not too overwhelming and ununderstandable, but not overly simple so that you actually get an idea of what's going on.
3) It's free.
That's it for the positives. Now for a huge list of negatives.
1) Most of the information is irrelevent. I feel like the authors lost focus as the book went on, and forgot they were not writing a general "Linux Kernel" book but a specific book for drivers. Many a time do they spend pages upon pages going on about something, only to mention "but this is never used by read driver developers" at the end. You end up in a really unpleasant situation where you have to sift through a bunch of useless info to get to the useful stuff. Most of the time I ended up just searching google, and got better results.
2) Lack of more complex examples. Let's face it, no one needs to write an extremely simple char driver. However, that's as complex as the examples get. Beyond the scull driver, it's just code fragments. I sincerely hope you don't have to write a serial tty device. Which leads me to my next point.
3) Outdated. Many kernel API changes have been made to the point where the code is no longer compilable (especially on the tty front). Methods used in the book have been done away with in the newer kernel API's.
Honestly, you're much better off just resorting to Google. If you want to write your own driver and you read through this book, you'll still have no idea where to start. The functions in the scull driver are well-described, but that's it. The authors use too much space writing about useless crap you really don't care about, and this comes at the expense of useful info
that will actually help you write drivers.
This book will probably come up on your google searches, and it might be worth it to skim the regular chapters. Honestly though, it's not going to tell you anything your other search results won't. This is most definitely not the "end all, be all" of writing linux drivers, it just happens to be the only one.
Excellent February 11, 2010 Fco Javier Rodriguez (Mexico City) Great book. It takes the most interesting stuff about Linux device drivers. There are not a single book that can cover all topics, nevertheless this one is a great companion when programming at linux box no matter whether you are either newbie or experienced developer. Highly recomended.
hands on way to learn LDD December 23, 2009 snath (CA USA) This books gives you hands on experience with LDD. All that you need is a linux box and latest 2.6 linux kernel with little or no real experience with kernel development. Also I like pointers to linux source code, which gives you chance to browse linux source code without feeling overwhelmed.
Invaluable June 30, 2009 Dave Dopson (Seattle, WA) 0 out of 1 found this review helpful
If you have to write a linux kernel module, this book is a lifesaver. The source-code for the samples is available online and saved me a ton of time getting the basics of a device file / ioctls / etc going so I could communicate with my module and focus on value add instead of boilerplate.
A good balance of "How" and "Why" May 9, 2009 Yong Zhi (FL USA) 2 out of 2 found this review helpful
I have read both this book and Sreekrishnan Venkateswaran's Essential Linux Device Drivers, both are excellent, I prefer this one on generic topics such as:
Chapter 5. Concurrency and race conditions
Chapter 8. Allocating memory
Chapter 10. Interrupt Handling
Chapter 14. The Linux Device Model
How ever Sreekrishnan's book covers video and audio driver which are useful for my work.
As for styles, both keep a good balance of "how" and "why", I think the "why" parts are more important, the whole s/w is all about concepts.
Showing reviews 1-5 of 50
|
|
|
CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED ‘AS IS’ AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME. | |