3 ms·
The article mentions someone giving a tutorial on linux drivers and someone building a USB thermometer(quite tangential to the story). I've been interested in t
by throwaway1979 13y ago
The article mentions someone giving a tutorial on linux drivers and someone building a USB thermometer(quite tangential to the story). I've been interested in this topic for quite a while but have found it a bit inaccessible.. can anyone point at a good book or simple project I can work with to develop my chops? I'm pretty handy with Arduino and RasberryPI. But I've never written any code in kernel space and want to satiate my curiosity.
Thanks in advance if anyone replies.
- philips 13y agoLDD3 is good but slightly out of date. http://lwn.net/Kernel/LDD3/ http://lwn.net/Kernel/LDD3/ You can also find lots of skeleton code in the kernel that can help you learn: Filesystem, ramfs: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/fs/ramfs/inode.c https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.... USB device driver, skeleton: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/usb-skeleton.c https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.... PCI, probably UIO: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/uio https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.... Video, skeleton FB: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/video/skeletonfb.c https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux....
- jnbiche 13y agokernelnewbies.org has some excellent information, including a good kernel howto and advice on intro Linux kernel projects: http://kernelnewbies.org/CompleteNewbiesClickHere http://kernelnewbies.org/CompleteNewbiesClickHere