|
|||
Part I Designing Device Drivers for the Solaris Platform 1. Overview of Solaris Device Drivers 2. Solaris Kernel and Device Tree 5. Managing Events and Queueing Tasks 7. Device Access: Programmed I/O 10. Mapping Device and Kernel Memory 14. Layered Driver Interface (LDI) Part II Designing Specific Kinds of Device Drivers 15. Drivers for Character Devices 18. SCSI Host Bus Adapter Drivers 19. Drivers for Network Devices USB in the Solaris Environment Part III Building a Device Driver 21. Compiling, Loading, Packaging, and Testing Drivers 22. Debugging, Testing, and Tuning Device Drivers 23. Recommended Coding Practices B. Summary of Solaris DDI/DKI Services C. Making a Device Driver 64-Bit Ready |
Sample USB Device DriverThis section describes a template USB device driver that uses the USBA 2.0 framework for the Solaris environment. This driver demonstrates many of the features discussed in this chapter. This template or skeleton driver is named usbskel. The usbskel driver is a template that you can use to start your own USB device driver. The usbskel driver demonstrates the following features:
This usbskel driver is available on Sun's web site at http://www.sun.com/bigadmin/software/usbskel/. For source for additional USB drivers, see the OpenSolaris web site. Go to http://www.opensolaris.org/os/, and click “Source Browser” in the menu on the left side of the page. |
||
|