Misc Kernel Driver

How to Write Your First Linux Kernel Driver Using the Misc Device Framework Introduction This article explains how to write a simple Linux kernel driver using the misc device framework. The misc framework is a good starting point because it automatically creates the device node when the driver registers, reducing setup complexity. In this example driver, a PID written from user space is stored in the kernel, and reading from the device triggers the driver to look up and display information about the corresponding task. ...

December 1, 2025

Install Ubuntu Server on Qemu

Installation of ubuntu server on qemu-x86_64 At First I want to run the custom modules on linux. But this is something that is not good to do on host machine. So i searched a lot of stuff. Tinkering with buildroot, after some days i was able to run the build on qemu. But i found out build actually didn’t have my basic tool like gnu make. Everytime i try to do something i need to find particular tool on menuconfig then make the build again. Learning was so slow. ...

August 16, 2025