* module for particular device
@ 2014-12-11 16:12 p.rameshbabu at globaledgesoft.com
2014-12-11 16:22 ` p.rameshbabu at globaledgesoft.com
2014-12-11 20:33 ` Andrej Manduch
0 siblings, 2 replies; 6+ messages in thread
From: p.rameshbabu at globaledgesoft.com @ 2014-12-11 16:12 UTC (permalink / raw)
To: kernelnewbies
Hi All,
How to check which are all the modules are inserted for a particular
device in linux?
^ permalink raw reply [flat|nested] 6+ messages in thread
* module for particular device
2014-12-11 16:12 module for particular device p.rameshbabu at globaledgesoft.com
@ 2014-12-11 16:22 ` p.rameshbabu at globaledgesoft.com
2014-12-11 16:38 ` Greg KH
2014-12-11 16:44 ` Lucas Tanure
2014-12-11 20:33 ` Andrej Manduch
1 sibling, 2 replies; 6+ messages in thread
From: p.rameshbabu at globaledgesoft.com @ 2014-12-11 16:22 UTC (permalink / raw)
To: kernelnewbies
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
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* module for particular device
2014-12-11 16:22 ` p.rameshbabu at globaledgesoft.com
@ 2014-12-11 16:38 ` Greg KH
2014-12-11 16:44 ` Lucas Tanure
1 sibling, 0 replies; 6+ messages in thread
From: Greg KH @ 2014-12-11 16:38 UTC (permalink / raw)
To: kernelnewbies
On Thu, Dec 11, 2014 at 09:52:06PM +0530, 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?
The book, Linux Kernel in a Nutshell, free online, has a chapter that
helps you figure this type of thing out, with scripts you can run. Try
looking at that, it's not a "simple" question to determine at times.
Hope this helps,
greg k-h
^ permalink raw reply [flat|nested] 6+ messages in thread
* module for particular device
2014-12-11 16:22 ` p.rameshbabu at globaledgesoft.com
2014-12-11 16:38 ` Greg KH
@ 2014-12-11 16:44 ` Lucas Tanure
1 sibling, 0 replies; 6+ messages in thread
From: Lucas Tanure @ 2014-12-11 16:44 UTC (permalink / raw)
To: kernelnewbies
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 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* module for particular device
2014-12-11 16:12 module for particular device p.rameshbabu at globaledgesoft.com
2014-12-11 16:22 ` p.rameshbabu at globaledgesoft.com
@ 2014-12-11 20:33 ` Andrej Manduch
2014-12-11 21:24 ` Valdis.Kletnieks at vt.edu
1 sibling, 1 reply; 6+ messages in thread
From: Andrej Manduch @ 2014-12-11 20:33 UTC (permalink / raw)
To: kernelnewbies
It looks like `lspci -k` is what you want.
On 12/11/2014 11:12 AM, p.rameshbabu at globaledgesoft.com wrote:
> 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
>
--
Kind regards,
b.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-12-11 21:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-11 16:12 module for particular device p.rameshbabu at globaledgesoft.com
2014-12-11 16:22 ` p.rameshbabu at globaledgesoft.com
2014-12-11 16:38 ` Greg KH
2014-12-11 16:44 ` Lucas Tanure
2014-12-11 20:33 ` Andrej Manduch
2014-12-11 21:24 ` Valdis.Kletnieks at vt.edu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).