|
The best way to write any driver, after carefully checking to see that it has not already been done, is ... "use the source, Luke!" Find devices that are similar to the one you're considering, and study their working drivers. Remember that, most of the time, "writing new software" actually consists of adapting what is already out there.
|