module for particular device
Lucas Tanure
tanure at linux.com
Thu Dec 11 11:44:28 EST 2014
On Thu, Dec 11, 2014 at 2:22 PM, <p.rameshbabu at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141211/d844a974/attachment.html
More information about the Kernelnewbies
mailing list