Search code examples
linuxdriverdevice-driverlinux-device-driver

learning linux drivers


I am learning now days programming drivers.

I am doing my learning from this book Linux Device Drivers

But I am little bit lack of practice. Can you recommend me some simple projects that I can get started with.

Or some open source project that newbie can understand what is going on.

Additional examples and tutorials will be welcomed .

Thanks for help.


Solution

  • Free software magazine has an article about that :

    http://www.freesoftwaremagazine.com/articles/drivers_linux?page=0%2C0

    this tutorial is downloadable as PDF.

    This article describes the programming of a USB driver for a home made multicolored light. I think its quite interesting :)

    http://www.linuxjournal.com/article/7353

    For more "complete" drivers, I would look at the code of "serial" drivers (meaning driver for devices connected to a plain old serial port or USB port) because the data transfer between your computer and the device feels more natural.