Answer the question
In order to leave comments, you need to log in
How to write a driver in linux?
I dug around in the net, I realized that drivers are like linux kernel modules. And this was followed by advice on adding the source code to folders to recompile the entire system! (The meaning is clear!) But isn't there a simpler mechanism?
Answer the question
In order to leave comments, you need to log in
The Linux driver can be compiled as a kernel module and connected online using the modprobe command.
the lsmod command will show how many "module" drivers are installed on the system.
it is quite possible to distribute kernel modules in a separate package (and in your own repository) and install them into the system as needed. see virtualbox kernel modules for an example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question