Writing Device Drives for SCO Unix
Addison Weslley
IUSBN 0-201-54425-3
This was published in 1993, , 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.
The deails of that are covered at , but the funny 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! I used that driver until I upgraded to OSR5, by which time the original printer had been replaced anyway.
Tony Lawrence
Addison Weslley
IUSBN 0-201-54425-3
This was published in 1993, , 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.
The deails of that are covered at , but the funny 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! I used that driver until I upgraded to OSR5, by which time the original printer had been replaced anyway.
Tony Lawrence