Hi Antonio, You may start from the Writing Device Drivers book: http://docs.sun.com/app/docs/doc/816-4854 There is a dedicated chapter on USB device drivers.
The OpenSolaris ON Developer Reference Guide is at: http://hub.opensolaris.org/bin/view/Community+Group+on/devref_toc This is a good reference on how to setup the building environment and more. The source code of USB HID drivers and STREAMS modules is at: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/usb/clients You can write a new driver/STREAMS module from scratch, or reference the existing ones as templates. A X.org XInput driver may also be necessary for the USB Notetaker. For X.org XInput drivers, you can check x.org for more information: http://www.x.org/wiki/XInputSpec http://cgit.freedesktop.org/xorg/driver/xf86-input-evdev Best, Tim On 12/31/09 05:39 AM, Antonio wrote: > Hi all, > > I have access to a Pegasus USB Notetaker and I was wondering if I could write > a device driver of it. I'm not experienced in writing device drivers, but I'd > like to give it a go. > > I'd appreciate any pointers/advice on how to get started! > > Thanks in advance, > Antonio