Whenever you want to add something to the kernel code, there are two options – either add your code to the kernel code and compile/build the entire kernel image or compile your code separately and add it to the kernel…
Tag: Linux
Components of Device Driver
To interact with the hardware, driver needs to communicate with the kernel and before that, it must notify the kernel about its presence. This is achieved by the “init” call by which the driver is registered with the kernel and…
Device Drivers : Role & Types
As briefly discussed in our previous article, device driver is a software that is used to control a hardware device and make it work. It acts as an interface between the user-application and the hardware. Any user-application reaches out to…
Device Drivers and Linux Architecture
Device driver is a computer program that controls a particular device that is connected to the system be it printers, CD-ROM readers etc. Before we go into device drivers, let us get a brief of the Linux architecture. The Linux…