Learn Linux Device Drivers

Introduction:

1. Hello World Linux Device Driver Program
2. What happens when we do insmod on a module
3. insmod vs modprobe
4. Steps to Build and Install Latest Kernel
5. Understanding Makefile of Linux Device Driver
6. Linux dmesg command Tutorial
7. Linux Kernel Driver to print all Processes:name,ID and its State
8. Passing parameters to Linux Device Drivers - builtin, modules
9.Passing a bigger string with space as command line to linux modules
10. Kernel Panic in Linux - What, Reason, Configure, Generate
11. Analyzing OOPS Message of Linux Kernel
12. BUG_ON vs WARN_ON macros in Linux Kernel
13. Linux Symbol table - Symbol, Symbol table, System.map, /proc/kallsysms, Sample Code
14. Linux Module Stacking Example
15. Internals of module_init and module_exit



Character driver:

1. Creating Null Character device - /dev/my_null

2. Automatically Creating Device Nodes
3. Creating multiple device nodes
4. Creating jiffie character device - /dev/jiffies
5. Creating message character device - /dev/msg
6. Internal flow of what happens when you call write in userspace on a device file in Kernel
7. How many times open and release function is called of a character driver after fork
8. Atomic variables in Linux
9. Access Control on Device Files - Allow only one process to open at a time







Interrupts:

1.  Linux Device Driver for counting keyboard strokes

2. Linux Device Driver displaying what character pressed

IO Ports:

1. Linux Device Driver to on/off keyboard LED



Kernel Threads:

1. Kernel thread to print the running tasks on the CPU every 500ms


Comments

Popular posts from this blog

bb.utils.contains yocto

make config vs oldconfig vs defconfig vs menuconfig vs savedefconfig

PR, PN and PV Variable in Yocto