If you have the .config
file, this is a good start; any modules marked 'y' will be installed (assuming the build is successful). If it is running dynamic module support (and many embedded environments don't), then /lib/modules
will have all of the potential loadable drivers.
On a running system, the sysfs
(mounted at '/sys') will give you a good idea which drivers are actually in use, since most expose an interface. There is documentation
for many of these interfaces. Dynamic modules are listed in /proc/modules
and by lsmod
, but this is more useful on a desktop system (where most modules are dynamic) than an embedded one.