[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <51001CB6.2090900@broadcom.com>
Date: Wed, 23 Jan 2013 18:24:06 +0100
From: "Arend van Spriel" <arend@...adcom.com>
To: "Thiago Farina" <tfransosi@...il.com>
cc: "linux list" <linux-kernel@...r.kernel.org>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>
Subject: Re: 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@...adcom.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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists