Send and receive data from user space and kernel using Netlink sockets

As mentioned in Linux kernel souce code net/netlink/af_netlink.c, netlink is a Kernel-user communication protocol which allows user … Read more

Communication between user-space and kernel space using Netlink sockets

As mentioned in Linux kernel souce code net/netlink/af_netlink.c, netlink is a Kernel-user communication protocol which allows user … Read more

Integrating Linux kernel module inside Linux kernel source

If you have already followed “Writing first Linux kernel Module and understanding Kernel module compilation, loading and … Read more

Building kernel module as part of kernel compilation procedure

If you have already followed “Writing first Linux kernel Module and understanding Kernel module compilation, loading and … Read more

Implementation of Interrupt Handler (IRQ) in Linux kernel driver

Following driver implements, how we can allocate an interrupt line using request_irq kernel API and how to … Read more

How Linux Kernel Module Loading works ?

The kernel bus drivers probe for devices. For every detected device, the kernel creates an internal device … Read more

Compile custom Linux kernel for Android / AOSP on Ubuntu

If you want to compile compile custom kernel for your android platform, android provides the open source … Read more

Linux Kernel module to reboot the system using emergency_restart API

The following kernel module calls emergency_restart function from linux kernel to reboot the device / platform. This … Read more