Saturday, December 17, 2011

Device Driver

Discuss Device Driver abstractions and how kernel handles them.

Useful Links:
http://www.engineersgarage.com/mygarage/how-device-drivers-work

2 comments:

  1. http://www.engineersgarage.com/mygarage/how-device-drivers-work

    ReplyDelete
  2. Device drivers works within the kernel layer of the operating system.Instead of accessing a device directly, an operating system loads the device drivers and calls the specific functions in the driver software in order to execute specific tasks on the device.

    Example:---

    Let’s take an example of a printer, when it is connected to the computer and the specific device driver is installed, a device object is created on the computer which is designed to control the device. This device object represents the printer and its physical structure modes that allow your computer’s operating system to control its functions. When we choose an operation (like Control + P to print a document) on the printer then this command goes to the device driver through the kernel of the operating system. Resultantly a calling program invokes a routine in the device driver and the driver issues corresponding commands to the microcontrollers within the printer. Further these microcontrollers control the components of the printer like motors etc. to start printing the document.

    ReplyDelete