LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to find out which module runs hardware? (https://www.linuxquestions.org/questions/linux-software-2/how-to-find-out-which-module-runs-hardware-746156/)

sulacco 08-09-2009 01:06 AM

How to find out which module runs hardware?
 
Hi, ppl. I'm trying to learn to develop modules for some hardware,
but now I'm learning from an example. First need to know which module
in /proc/modules runs mouse or keyboard.
How to find this out? Simple command like lsmod or cat /proc/modules
didn't say that. How to find our relation between a loaded module and
it's source code?

knudfl 08-09-2009 11:03 AM

Something to start with ......

Google .. kernel driver keyboard ..
http://www.linuxjournal.com/article/1080
... = first hit : The Linux keyboard driver
http://www.google.com/search?hl=en&q...Search&aq=&oq=

Google .. linux driver keyboard ..
http://www.google.com/url?sa=t&sourc...I1rXkkJ0smBZ3A
"Writing device drivers in Linux: A brief tutorial"

http://www.google.com/search?hl=en&q...&aq=f&oq=&aqi=
... And by the way : The driver used in X isn't a kernel module.
.....
.....
Google .. linux driver mouse ..
http://www.google.com/search?hl=en&q...&aq=f&oq=&aqi=

http://www.google.com/url?sa=t&sourc...k0OzI5JZing20A
> > " mouse is an Xorg input driver for mice.
The driver supports most available mouse types.... "

http://www.google.com/url?sa=t&sourc...hgLiZ4J8S1V-Cg
> "Mice are conceptually one of the simplest device drivers in
the Linux operating system. Not all mice are handled by the kernel;
rather, there is a two-layer..."
.....

tredegar 08-09-2009 11:41 AM

And google's special Penguin searches for all-things-linux even better ;)

Try him out here


All times are GMT -5. The time now is 11:45 AM.