mirror of
https://github.com/sysprog21/lkmpg.git
synced 2024-11-22 15:05:54 +08:00
The Linux Kernel Module Programming Guide (updated for 5.0+ kernels)
bookscdevice-driverdocumentationkernellinuxlinux-kernellinux-kernel-driverlinux-kernel-modulelkmlkmpg
50e9d9176f
The device file create in this example is "chardev". So input command "sudo cat /dev/chardev" will get a valid message "I already told you %d times Hello world!" |
||
---|---|---|
examples | ||
lib | ||
.gitignore | ||
GPL-2 | ||
LICENSE | ||
lkmpg.tex | ||
Makefile | ||
README.md |
The Linux Kernel Module Programming Guide
This project keeps the Linux Kernel Module Programming Guide reasonably up to date, with working examples for recent 5.x kernel versions.
The guide has been around since 2001 and most copies of it on the web only describe old 2.6.x kernels.
The original guide may be found at http://www.tldp.org/LDP/lkmpg/
License
The Linux Kernel Module Programming Guide is a free book; you may reproduce and/or modify it under the terms of the Open Software License.
Use of this work is governed by a copyleft license that can be found in the LICENSE
file.
The complementary sample code is licensed under GNU GPL version 2, as same as Linux kernel.