Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I do not know how to write this any simpler. I have several books on Linux device-drivers, but I need a little help to get started.

share|improve this question

closed as off topic by izx, belacqua, ajmitch, John S Gruber, jokerdino Aug 22 '12 at 8:07

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Since you are asking here at askubuntu, I'll just assume that you intend to develop for the Linux kernel. You are not mentioning anything in specific, so here are some tips:


A device driver is a program that controls a particular type of device that is attached to your computer.

This means that a device driver acts as translator between a hardware device and the applications or operating systems that use it.


In order to develop Linux device drivers, it is necessary to have an understanding of the following:

  • C programming. Some in-depth knowledge of C programming is needed, like pointer usage, bit manipulating functions, etc.

  • Microprocessor programming. It is necessary to know how microcomputers work internally: memory addressing, interrupts, etc. All of these concepts should be familiar to an assembler programmer.

  • Last but not the least, the Linux Kernel is what stands between all that you'll be doing.

Resources, Links and Help:

Practical example:

A step by step how-to, with a goal of making a simple USB lamp device, and its driver for Linux:

Writing a Simple USB Driver | Linux Journal

Give your Linux box a multicolored light you can see from across the room, and learn how to write a simple driver for the next piece of hardware you want to hook up.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.