[fpc-pascal] Getting Hardware information in Linux

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Oct 19 09:33:57 CEST 2011


On 19/10/2011 00:31, Den Jean wrote:
> read the output of lshw or read its source on how to do it yourself.

problems with that is that to get most of the information you must run
lshw as super-user (root).

eg: Serial numbers, product codes, vendor names etc are all missing from
the output if you don't run it as root. :-(

I guess Linux takes security really serious when it comes to hardware
information.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/




More information about the fpc-pascal mailing list