0

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...

1 Answer 1

0

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 :)

1
  • Compared to the fact that I'm going to be writing my own, I'd say yeah. Dec 15, 2012 at 21:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .