On Thu, Dec 11, 2014 at 2:22 PM, <p.rameshbabu@globaledgesoft.com> wrote:
For Example,

I have a device, I inserted it and it is working fine after I inserted,
but I don't know what are all the modules are inserted for that particular
device. So how can I check that one?


> Hi All,
>
> How to check which are all the modules are inserted for a particular
> device in linux?
>
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



_______________________________________________

Hi, 

You can :

To see which drivers it's using 
$ ls -l ls -l /sys/class/net/eth0/device/driver
lrwxrwxrwx 1 root root 0 Dec  9 08:28 /sys/class/net/eth0/device/driver -> ../../../bus/pci/drivers/e1000e

To see what else modules are using this module
$ ls -l /sys/module/e1000e/holders/
Total 0

Thanks

--
Lucas Tanure 
+55 (19) 988176559