Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 4411  / 3 Years ago, sun, august 22, 2021, 9:33:12

So I'm entering the business of buying and selling laptops. For me, it's convenient to boot up a laptop in Ubuntu to see some of the hardware still works. The screen, hard drive, wifi, bluetooth, yadda yadda.



I think this may come across as a software/library shopping question, but I will fire it off anyways.



So, I want to go collect hardware information on a per laptop basis and store it somewhere. I can use this to debug or figure out hardware issues after something is already sold. It would also be useful to see which hardware is particularly common or buggy and avoid those. Or provide proper support for them.



I have been using Linux for a while, so I know of lshw -html and inxi. Is that all I need, or are there any supplementary programs? It would be useful to know the BIOS versions of various laptops too, if I can query that sort of thing. Does lshw report correctly on computers that have poorly supported hardware?



Edit:



I should add that I would like additional information that may be available, like how many hours the screen has seen, SMART info on hard drives, or anything else that may be logged. This will vary greatly from laptop to laptop, but some laptops do keep track of useful information. The firmware in Thinkpad batteries keep track of how many hours they've been used, recharged, current capacity, and other jazz like that.



It would be very useful for me to have a huge datadump of information like this.



For extra stuff, it would be nice to have performance tests on the USB ports, hard drives, graphics card, testing battery life, etc. I don't mind whipping up the tests myself, but if there was a starting point out there, that'd be fairly useful to build on top of. No need reinventing the wheel, afterall.



Edit 2:



In addition to lshw and inxi, it seems like there are other useful tools, like hwinfo and hardinfo. hardinfo doesn't have a command-line only mode, but it can also be used to generate reports. These are good enough to suffice for now. Thanks.


More From » hardware

 Answers
7

This seems to have been discussed before but your needs are a little bit different, I think.



However, take a look at this answer, which contents is placed here for your convenience:




You may wish to give a try to HardInfo or Phoronics which doesn't
indeed do as many things as Sandra does, but it shouldn't as we are
talking about Linux Systems.



Take a look at:



Hardinfo at http://hardinfo.berlios.de/HomePage



From the site: System Profiler and Benchmark HardInfo can gather information about your system's hardware and operating system, perform
benchmarks, and generate printable reports either in HTML or in plain
text formats.



I prefer to use Hardinfo, here is my screenshot of a benchmark in
action in my system:



enter image description here



Phoronics at http://www.phoronix-test-suite.com/



From the site: The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available that provides an
extensible framework for which new tests can be easily added. The
software is designed to effectively carry out both qualitative and
quantitative benchmarks in a clean, reproducible, and easy-to-use
manner.




Additional answers to the original question maybe useful for you.



Good luck!


[#32479] Monday, August 23, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
avilyexplor

Total Points: 20
Total Questions: 102
Total Answers: 120

Location: Maldives
Member since Mon, Jun 21, 2021
3 Years ago
;