The Linux Kernel Module Programming Guide (updated for 5.0+ kernels)
Go to file
fennecJ 044cfefe65
Generate HTML via make4ht (#20)
This patch generates HTML files with "make4ht" in the "html" directory.

Known issues with "make4ht":
Running "make4ht -suf html5 -d html lkmpg.tex" will cause the following
flaws:
1. The layout was unsatisfying.
2. After parsing TeX, it stoped at "\tableofcontents" with errors.
3. Several unneeded files were generated.
4. No way to specify the destination filename for HTML generation.

Solutions/workaround:
1. Use customized configuration file "html.cfg" to specify the layout style.
2. Turn off the \tableofcontents section when using make4ht. However, this
    results in the lack of table of contents in HTML. It can be fixed by
    appending "\Configure{tableofcontents*}{chapter,section,subsection}"
    to configuration file.
3. The build system removes the temporary files.
4. Use a symbolic link "index.html" to "lkmpg.html".
2021-08-02 02:42:39 +08:00
.github/workflows Delete existing release asset before releasing 2021-08-01 21:05:47 +08:00
examples chardev: Revise comment on device node (#23) 2021-07-31 23:03:16 +08:00
lib Add LaTeX script and sample code 2021-07-22 06:35:24 +08:00
.gitignore Generate HTML via make4ht (#20) 2021-08-02 02:42:39 +08:00
GPL-2 Initial import 2021-07-22 06:34:19 +08:00
html.cfg Generate HTML via make4ht (#20) 2021-08-02 02:42:39 +08:00
LICENSE Initial import 2021-07-22 06:34:19 +08:00
lkmpg.tex Generate HTML via make4ht (#20) 2021-08-02 02:42:39 +08:00
Makefile Generate HTML via make4ht (#20) 2021-08-02 02:42:39 +08:00
README.md Open Software License is not popular. Explicitly refer to OSI 2021-07-27 10:10:16 +08:00

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.