Computer devices and device drivers

In general, if we agree that the computer system is comprised of a computer case, monitor, keyboard, and mouse, as shown in Figure 3.1, then computer devices are organized into internal, external, peripheral, and network devices:

>
Figure 3.1. The computer

Another categorization of computer devices are input and output devices. These devices either create input or output for the computer core architecture. Lately, with the advancement of technology, there are devices that act as an input and output device at the same time. Touch-enabled devices are an example of both input/output devices.

Note that, in today's literature, often external devices are referred to as peripheral devices too because these devices are connected to a computer case to add functionality. This perspective brings us to the conclusion that almost any device that resides outside of the core computer architecture is considered to be a peripheral device.

A device driver is a program that acts as a translator between computer hardware and an operating system. So, an OS operates the computer hardware by way of device drivers. Usually, the device drivers come with a DVD disk accompanying the device or can be downloaded from the manufacturer's website. However, there will often be no device driver accompanying the device, since nowadays, devices are PnP. PnP is explained in the Explaining PnP, IRQ, interrupts, and driver signing section of this chapter.