ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have some experience with C/C++ and have authored a couple CLI and GUI programs, mostly in Perl, but I've lately been wanting to move onto something different. I've tried to no avail to find an entry point to low level, kernel/systems programming. Do you know a good place to start?
One of the most-hacked pieces of hardware is the PC parallel port. It is easy to understand, and easy to interface electrically. Start with writing a character device driver that makes it read some switches and turn on some LEDs. If you can get an old motherboard that has one on-board, or an ISA-bus motherboard, you will avoid the complications of dealing with PCI.
the book Linux Device Drivers is a good place to start to play with low level programing.
it is available online: http://lwn.net/Kernel/LDD3/
the chapter 9 have an example using the parallel port.
the book also have examples with PCI driver, USB, network, block drivers, interrupt handling, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.