Skip to content

Grinfield/Linux-Device-Driver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

186 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux-Device-Driver

Examples of Linux Device Drivers, currently for my own machine with kernel 3.10(Centos 7.9.2009).

NOTE: This is a GPL licensed fork of the original Linux-Device-Driver. It's just for the aim of learning. For for information, please visit the original work.

Before start

The examples in this repo are compiled against Linux Kernel 5.10. Other versions of the Kernel are not tested.

Set KERNELDIR environment variable to the Linux kernel source dir, and export it to your local shell.

export KERNELDIR=/path/to/kernel/source/

This environment variable is mainly used in Makefile to determine which kernel source tree the drivers are built against.


License

Linux-Device-Driver by d0u9 is licensed under a GNU General Public License, version 2.


¶ The end

About

Advanced examples of Linux Device Drivers (LDD3) and detailed manual for running examples in QEMU which is patched with virtual PCI, USB, serial devices. I am actively composing a new book about Driver Development in Linux Kernel.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 86.2%
  • Shell 7.9%
  • Makefile 5.9%