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

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to