What do I need to write device drivers on Ubuntu?

Solution 1:

You should check the "Linux Device Drivers" book at O'Reilly. It's a very common reference and it is really written in a way that explains the basics.

Solution 2:

Here are a set of links which you might find interesting. Good Luck!!! and happy coding!

  1. freesoftwaremagazine (slightly outdated)
  2. Linux Device Drivers, Third Edition never read it but i hear some good things about it order or read as a pdf online
  3. Essential Linux Device Drivers
  4. wiki.ubuntu.com wiki about the development of Ubuntu. good two know
  5. The Linux Kernel Module Programming Guide

Source:

Are there recommended tutorials for writing drivers for Gnu/Linux? - Stack Overflow