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

For example, I write my own device driver for a specific device, any kind really, such as maybe a wireless USB mouse or the like ... how do I add it to the Linux kernel?

Will the kernel support drivers? How would this process go about?

Not too familiar with Linux's kernel system...

share|improve this question

A driver is nothing more than a loadable ELF object file, similar to a normal library. Once your driver code has been compiled into such a file, you can load it with the same tools as you use for other drivers (insmod or modprobe). I'd recommend you read Linux Kernel Programming or LDD3 for much more information about what you actually need to do. You'll find that loading the driver is actually the easy bit :)

share|improve this answer
Compared to the fact that I'm going to be writing my own, I'd say yeah. – Bigyellow Bastion Dec 15 '12 at 21:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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