Skip to content
Scan a barcode
Scan
Paperback Writing UNIX Device Drivers Book

ISBN: 0201523744

ISBN13: 9780201523744

Writing UNIX Device Drivers

Select Format

Select Condition ThriftBooks Help Icon

Recommended

Format: Paperback

Condition: Very Good

$5.99
Save $33.96!
List Price $39.95
Almost Gone, Only 1 Left!

Book Overview

"Writing UNIX Device Drivers" provides application programmers with definitive information on writing device drivers for the UNIX operating system. It explains, through working examples, the issues related to the design and implementation of these important components of application programs.

Written by an acknowledged expert, the book uses full source code listings of real devices to explain the underlying concepts. Complete source code is provided...

Customer Reviews

4 ratings

One-of-a-kind book not supplanted by more recent texts

This book is written in a very approachable style that starts off with a very simple software-only character driver and builds up to more complicated hardware combinations. The code fragments are C code of course, but are preceded where necessary by pseudocode to give a better idea of the underlying algorithm. Complete code is given for the drivers, but this book is not really about programming as such. It probably tells you more about hardware than most programmers ever wanted to know, unless they were asked to write a device driver- which this book presumes you are. The book is biased towards IBM PC interfacing (8250 UART, LPT1, etc) but not exclusively. More importantly the principles remain the same and the author always seeks to explain things and make you think about what is happening. Furthermore the book is based on Unix version 3 (SVR3) with particular reference to SCO Unix, with only the last chapter introducing the principles of SVR4. However streams are treated more thoroughly with separate chapters on a loop-back driver and a rewrite of the terminal driver for COM1. After a general explanation, the book is divided into chapters covering individual drivers in increasing levels of complexity. There are character drivers for a test data generator, an A/D converter, a line printer, a more complicated test data generator, a raw disk driver, and a tape driver. Block drivers cover a test data generator, RAM disk, and SCSI disk. There is a terminal driver for COM1 and streams drivers for a loop-back driver and COM1. Finally, there is a chapter on installation and one on Zen and Driver Writing. The installation chapter refers you to your system manual for specific details, but explains how device installation is meant to work. The Zen chapter is general philosophy on when to write a driver and problems in debugging. Of particular note is the assertion that it is easy to write drivers provided that you have "..a mind unbound to conventional hang-ups about determinism, causal theory, logic, and the expectation that any piece of hardware will work the way its designers described." There have been more recent books on writing device drivers for various flavors of Unix, but none is as instructive and detailed as this book. You may need an additional text on device drivers for the particular flavor of Unix you are working with, but this book is still essential.

Plain English, thoughtful flow of topics

What I'm appreciating about this book is the simplicity and the vigor of the writing. It's *really* easy to make this topic sound really complicated. Pajari's approach lays out as few issues at one time as possible, then adds gradually to the mix. The early parts are not taxing, but the pace does pick up.In teaching the subject, I often find it difficult to slow students down, and get them to confine their questions to one problem domain at a time. Device drivers have to fit into the kernel subsystem and communicate with a device through interrupts; there are LOTS of side questions people can dream up.This book gave me a few insights into containing the discussions and forestall all that anxiety. Well worth the wait to get the book.

Complete Examples, and Much More

If nothing else, the thoroughness of the example code makes this book worth the cost. The variety of exampe types (nic, ram-based fs, etc) make it all the better.

One of the best book for learning UNIX drivers.

This book is a priceless collection in the shelf of a Device Driver writer. Whether you are writing device drivers or just want to know more about them this is the book to read. The easy-to-understand language and style adopted by the author is also an added benefit to the reader.
Copyright © 2024 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks® and the ThriftBooks® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured