Skip to content
ISBN: 0596005903
ISBN13: 9780596005900

Linux Device Drivers

$8.49List Price: $54.99
Save $46.50!
ISBN: 0596005903
ISBN13: 9780596005900
Formats

Conditions

A read copy, but remains in excellent condition.

Formats

Conditions

A read copy, but remains in excellent condition.

See all 4 editionsfrom $7.19

Book Overview

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 system
  • how to develop and write software for new hardware under Linux
  • the basics of Linux operation even if they are not expecting to write a driver
The 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.
Format:
Paperback
Language:
English
ISBN:
0596005903
ISBN13:
9780596005900
Release Date:
March 2005
Publisher:
O'Reilly Media, Incorporated
Length:
636 Pages
Weight:
2.35 lbs.
Dimensions:
1.5″ × 7.0″ × 9.1″
AdministrationAPIs & Operating EnvironmentsBusiness & ManagementComputersComputers & TechnologyDevice DriversEducation & ReferenceLANLinuxNetwork AdministrationNetworkingNetworking & System AdministrationNetworks, Protocols & APIsOperating SystemsPeripheralsProgrammingSoftwareUnix

More by Alessandro Rubini

Customer Reviews

5 customer ratings | 5 reviews
Write a Review

Possibly still the best book on the subject

Even though the third edition is showing its age - it covers kernel version 2.6.10, which is terribly old - in my opinion this is still the best book on the subject. Generally, it is not possible to create an up to date tutorial for programming the Linux kernel, since it changes constantly. SO, the key is to introduce the reader to the way of thinking necessary in order to understand and develop for the kernel. I think this book succeeds marvelously.

0

Good overview of linux device driver programming concepts

This book takes a hypothetical device driver and explains the concepts nicely. It provides various fundamentals one needs to know before writing linux device drivers, and valuable information like concurrent and race conditions, and gives ideas for debugging problems in real drivers. It is worth read and I liked it. I had already some experience in kernel programming before reading this book, and it filled holes in my kernel knowledge. This book is also available online[...] and you may check yourself before buying this. The objections made by other reviewers fall into the following two classes. Once you are a experienced hacker, all you need is kernel sources (books are for fundamentals only and become obsolete as new kernel constructs are added). If you are looking for cut and paste template code to add new driver for another device, again use kernel source of an existing driver.

0

The best-written introduction to the Linux kernel

This book is a must-have if you want to write your own device drivers for Linux, or if you just need a place to get started hacking the kernel.All the basics are covered and you really don't need to know much about the kernel internals to read this book. If you're not a beginner it still contains valuable information and it's organized in a way to make it very easy to skip the areas you are already familiar with.After a few chapters you'll be able to write your own driver from scratch. When you have read the whole book you'll also be familiar with some of the more complex concepts of kernel programming. You will not be an expert kernel hacker but you will have an excellent base for learning more yourself.The only drawback is that it doesn't completely cover the newer kernels (2.2 and above), but although some details have changed, most of the concepts are still more or less the same, so the knowledge you gain can easily be adapted to the later versions.

0

Excellent, a little bit old (in NO way obsolete!) book

It's just a gift of heaven (and O'Reilly) for any Linux device driver writer. You can find everything you need to know about device driver basics there, in a 'user-friendly' form. Sample code is also included. You'll find there explanation of all file operations, structures and useful functions used by device drivers (character, block and network). In addition, there are hints concerning some tricky things (such as ISA autoprobing), and they are sharpened for Linux!What this book really lacks, is1) Explanation of Linux rules for writing one's own standard (such as Video for Linux), or at least advice for how to do it. There are way too few pure character devices for the question of standartization to be ignored, IMHO!2) New 2.2.* kernel features. If you are seeking for detailed and exact explanation of the functions of _THESE_ kernels, this is not your book. So, Alessandro, we are all waiting for a second edition!

0

Linux Device Drivers

This is the best and most complete book on writing linux device drivers yet. My only suggestions are (1) that the author writes a new addition or supplement for the 2.2 kernel and (2) that this new book include an example driver after the hello world driver that is only slighlty more complicated in that it uses the fops and one method. An example of how user-space code would then call this driver would be helpful as well.Bravo

0