3 ms·
Arch linux has a decent tutorial: https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_
by drewg123 12y ago
Arch linux has a decent tutorial: https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_S...
As for a simple example.. At a previous job, I did dkms support for a driver. Grab https://www.myricom.com/pub/Myri10GE/myri10ge-linux.1.5.3.p5.tgz https://www.myricom.com/pub/Myri10GE/myri10ge-linux.1.5.3.p5... & look at dkms.conf and read linux/README.dkms
For more complex examples, look at zfs-on-linux. I know that is also how nvidia packages their hybrid binary blob drivers.
- efuquen 12y agoI really love Arch, even though I don't use it on a daily basis anymore the community wiki is the best resource I've found for guides on how to do a large number of tasks with the kernel that can work in most other distros.