Hardware Information Tool (hwinfo) is a small utility created by OpenSUSE to gather information on system hardware.
sudo hwinfo
sudo hwinfo +all
NOTE: This usually takes longer, but provides oodles of information.
To shorten information to a more human-friendly format, add the –short option to the command:
sudo hwinfo --short all
Use log=.
sudo hwinfo log=hardware.txt all