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!
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them.
I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
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. We appreciate comments and article submissions.
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar