Re: module for particular device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 11, 2014 at 2:22 PM, <p.rameshbabu@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
> 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 
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux