lkml.org 
[lkml]   [2013]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: listing drivers
On 01/23/2013 04:30 PM, Thiago Farina wrote:
> Hi,
>
> On Tue, Jan 22, 2013 at 12:27 PM, Arend van Spriel <arend@broadcom.com> wrote:
>> On 01/22/2013 02:46 PM, Thiago Farina wrote:
>>> Hi folks,
>>>
>>> Is there a way to list the drivers installed/used in my desktop and
>>> map them (the path) to their source code in the linux kernel tree?
>>
>> This might work for you (if using bash):
>>
>> for m in $(cat /proc/modules | gawk '{ print $1; }');do modinfo $m |
>> grep 'filename:'; done
>>
> Thanks a lot Arend! That is exactly what I wanted ;)

You are welcome. Of course, not all modules are (device) drivers.

Gr. AvS

> --
> Thiago
>




\
 
 \ /
  Last update: 2013-01-23 19:01    [W:0.050 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site