[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writting device drivers



"Writing Unix Device Drivers" is indeed a excellent book however I found
I did not need it. You can extrapolate most of what you need to know by
examining the source of a similar driver that's already been written. I
would start buy examining a pseudo device driver and perhaps writing
your own to do something similar, a  good starting place is to start
with  passing messages through ioctl(), netbsd wrote a quick and dirty
tutorial in doing such things there however subtle differences between
netbsd and openbsd if pressed I could write them up so you could
recreate what they are doing (assuming you can't figure the difference's
out).  

Writing a pseudo device driver, 
http://www.netbsd.org/Documentation/kernel/pseudo/  

Jonathan




Visit your host, monkey.org