From: me@tobin.cc (Tobin C. Harding)
To: kernelnewbies@lists.kernelnewbies.org
Subject: What all are the drivers those get compiled with the kernel?
Date: Wed, 13 Sep 2017 22:42:23 -0700 [thread overview]
Message-ID: <20170914054223.GA3448@caerus> (raw)
In-Reply-To: <CAEK-7JKK=jnZqf=SDrJf=GtLHyfqBOJF4ihjxiGW9NRBhoCuOg@mail.gmail.com>
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.
prev parent reply other threads:[~2017-09-14 5:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170914054223.GA3448@caerus \
--to=me@tobin.cc \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).