kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: davide@gengisdave.org (Davide Gianforte)
To: kernelnewbies@lists.kernelnewbies.org
Subject: List my Staging Drivers
Date: Tue, 09 Dec 2014 21:53:33 +0100	[thread overview]
Message-ID: <42976981.0zcCP3BMYl@mayhem> (raw)
In-Reply-To: <CAJyon0tny1BjTUDN3WF=cXAKQ5u6_jHUAfOuW6m7NzLsnxmGvQ@mail.gmail.com>

In data marted? 9/12/2014 18:45:59, Lucas Tanure ha scritto:
> Hi,
> 
> How do I list where are the modules that I'm using inside kernel ?
> 
> Goal: find drivers that I could start improving ( understand, develop,
> test , submit )
> How : If my machine uses a driver, I can read the code, modify and
> test in my machine
> 
> So, if I'm able to see where is located the source for a driver that
> my machine uses, I can modify and test.
> 
> Ideas ?
> 
> Thanks

'lsmod' and 'lspci -k' show your loaded modules and which module is handling a device.

'find /lib/modules/$(uname -r)/kernel $module_name' show you where the module is located; /lib/modules/<kernel_version>/kernel folder tree is equal to the source tree.

Dave

  reply	other threads:[~2014-12-09 20:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09 20:45 List my Staging Drivers Lucas Tanure
2014-12-09 20:53 ` Davide Gianforte [this message]
2014-12-09 21:19   ` Saket Sinha
2014-12-09 22:42     ` Lucas Tanure
2014-12-10  0:18       ` Lucas Tanure
2014-12-10  1:50         ` Valdis.Kletnieks at vt.edu
2014-12-10 13:21           ` Lucas Tanure
2014-12-09 21:04 ` Bjørn Mork

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=42976981.0zcCP3BMYl@mayhem \
    --to=davide@gengisdave.org \
    --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).