How do I tell which kernel module is servicing a /dev device?

Posted by regulatre on Server Fault See other posts from Server Fault or by regulatre
Published on 2010-05-12T22:17:16Z Indexed on 2010/05/12 22:25 UTC
Read the original article Hit count: 185

Filed under:
|
|
|

How do I find out which kernel module (as seen by typing lsmod) is servicing a particular device in /dev ?

In other words, say I have a device, /dev/mouse0 and I want to find out which kernel module is installed to service that device. How do I do that?

Another way to look at this is, some loaded kernel modules associate themselves with a device in /dev. How does one find out which device(s) a module is "attached" to?

© Server Fault or respective owner

Related posts about linux

Related posts about kernel-modules