I want to see all hardware supported by the kernel in use. For example, if I have the 3.8.x.x version of the Linux kernel, how will I know what hardware is supported there. Tools like lspci, lshw, lscpu and dmidecode only check the hardware that is used at the moment and trying to find this using the loaded modules with lsmod is not handy either.
What I want is something that checks all hardware actually supported by the kernel in use without taking into consideration if I am using that hardware or not.
For the moment I thought of stuff like:
- Reading the
/lib/modules/3.8.0-5-generic/kernel/driversand parsing every file. - Downloading the git source of the kernel and grepping it for information about this.
- Any other crazy and very long way of doing it.
Is there any other smaller way of achieving this.

