* What all are the drivers those get compiled with the kernel?
@ 2017-09-12 2:42 Dipanjan Das
2017-09-14 5:42 ` Tobin C. Harding
0 siblings, 1 reply; 2+ messages in thread
From: Dipanjan Das @ 2017-09-12 2:42 UTC (permalink / raw)
To: kernelnewbies
There are numerous drivers present in the 'drivers' directory of Linux
kernel. The kernel source for any Android mobile device [e.g.
https://android.googlesource.com/kernel/msm/+/android-msm-2.6.35] is, too,
not an exception. Definitely all the drivers are not relevant for the
chipset which the mobile device is built on.
It leads me to believe that *not* all the drivers which are present in the
kernel source for a mobile device are built and shipped on commercial
phones. Given the kernel source, how can one figure out what all are the
drivers those get compiled for that particular mobile device?
--
Thanks & Regards,
Dipanjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170911/0780a178/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* What all are the drivers those get compiled with the kernel?
2017-09-12 2:42 What all are the drivers those get compiled with the kernel? Dipanjan Das
@ 2017-09-14 5:42 ` Tobin C. Harding
0 siblings, 0 replies; 2+ messages in thread
From: Tobin C. Harding @ 2017-09-14 5:42 UTC (permalink / raw)
To: kernelnewbies
On Mon, Sep 11, 2017 at 07:42:42PM -0700, Dipanjan Das wrote:
> There are numerous drivers present in the 'drivers' directory of Linux
> kernel. The kernel source for any Android mobile device [e.g.
> https://android.googlesource.com/kernel/msm/+/android-msm-2.6.35] is, too,
> not an exception. Definitely all the drivers are not relevant for the
> chipset which the mobile device is built on.
>
> It leads me to believe that *not* all the drivers which are present in the
> kernel source for a mobile device are built and shipped on commercial
> phones. Given the kernel source, how can one figure out what all are the
> drivers those get compiled for that particular mobile device?
One way you could go about this;
If you have a shell on the device you could run `lsmod` to list modules. Then, from within a
kernel source tree you can search for files matching the module name
find . -name 'FOO*'
Good luck,
Tobin.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-14 5:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-12 2:42 What all are the drivers those get compiled with the kernel? Dipanjan Das
2017-09-14 5:42 ` Tobin C. Harding
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).