December 2018
Beginner
826 pages
22h 54m
English
A particularly useful program, lshw has the built-in ability to output your hardware tree as JSON, XML, HTML, and presumably more as they're developed.
By default, the output of lshw is very verbose, but should look something like the following:
$ sudo lshw localhost.localdomain description: Computer product: VirtualBox vendor: innotek GmbH version: 1.2 serial: 0 width: 64 bits capabilities: smbios-2.5 dmi-2.5 vsyscall32<SNIP> *-pnp00:00 product: PnP device PNP0303 physical id: 3 capabilities: pnp configuration: driver=i8042 kbd *-pnp00:01 product: PnP device PNP0f03 physical id: 4 capabilities: pnp configuration: driver=i8042 aux
I tend to find that at-a-glance solutions can work better a lot of the time. So, with that in mind, let's ...