How can a simple character device driver be developed for the Solaris OS? How can a new device driver for the Solaris OS be installed and uninstalled?
Many sample drivers are available in the Solaris Driver Development area of the Sun Developer site: see code samples. However, these are full-blown drivers and cannot be easily stripped down to a basic driver. To this end, we provide here a bare-bones skeleton driver (called as skelton.c below) that demonstrates the basic structure of a device driver. It can be run as is, and it is intended for quick testing and also as a framework that you can extend. Refer to this program and follow the comments in it.
Related Questions
- What can I do if the Windows Device Manager tells me the network adapter has an IRQ conflict or the device driver is not installed?
- Under certain conditions on the Solaris OS, a device driver cannot be unloaded. What are those conditions?
- Are the LAN driver and the display driver installed in OS pre-installation model ?