APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Writing Unix Device Drivers


© January 1997 Tony Lawrence

Order (or just read more about) Writing Unix Device Drivers from Amazon.com

This is five years old now, but it's hard to find good books on this subject, and particularly hard to find references to SCO.

This book does reference SCO (though 3.2v4.2), and has enough examples to get you started.

Why would you want to do this? Most of us have no pressing need to write driver code. But understanding how such code actually is written can teach you quite a bit, and make otherwise incomprehensible problems in someone else's driver easier to identify, at least.

Sometimes the exercise can even be useful. I once had a combination of a particular computer and printer that just did not work well, for no apparent reason. Both my budget and my general stubbornness rebelled against just accepting that and buying something else, so I set out to write a printer driver that would help me find the problem.

That driver is discussed here in my Device Drivers article, but the really interesting thing was that I never got to use the debugging features because for reasons I still don't understand, the printer immediately began working perfectly with the new driver!


Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> Writing Unix Device Drivers


Inexpensive and informative Apple related e-books:

Take Control of Pages

Sierra: A Take Control Crash Course

Take Control of Numbers

Are Your Bits Flipped?

El Capitan: A Take Control Crash Course




More Articles by © Tony Lawrence




Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





Keeping URIs so that they will still be around in 2, 20 or 200 or even 2000 years is clearly not as simple as it sounds ... However, all over the Web, webmasters are making decisions which will make it really difficult for themselves in the future. (Tim Berners-Lee)




Linux posts

Troubleshooting posts


This post tagged:

Books

Drivers

Hardware

Kernel

Programming

SCO_OSR5



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode