Skip to content

lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or EFI (IA-64) systems and on some PowerPC machines ( PowerMac G4 …

License

kaseya/lshw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lshw: HardWare LiSter for Linux
===============================

lshw is a small tool to provide detailed information on the hardware confi-
guration of the machine. It can report exact memory configuration, firmware
version, mainboard configuration, CPU version and speed, cache configuration,
bus speed, etc. on DMI-capable x86 or EFI (IA-64) systems and on some PowerPC
machines (PowerMac G4 is known to work).

Information can be output in plain text, XML or HTML.

It currently supports DMI (x86 and EFI only), OpenFirmware device tree
(PowerPC only), PCI/AGP, ISA PnP (x86), CPUID (x86), IDE/ATA/ATAPI, PCMCIA
(only tested on x86), USB and SCSI.

 * Requirements
	. Linux 2.4.x or 2.6.x (2.2.x might work, though)
	. a PA-RISC, Alpha, IA-64 (Itanium), PowerPC or x86 based machine
	. an ANSI (or close enough to ANSI compliance) C++ compiler
	(tested with g++ 2.95.4 and 3.2.2)
	. for the (optional) GTK+ graphical user interface, you will need a
	complete GTK+ 2.4 development environment (gtk2-devel on RedHat/Fedora
	derivatives) 

 * To compile it, just use:

	$ make

 * If you want to build the optional GUI, do:

	$ make
	$ make gui

 * the lshw home page is http://lshw.org/
 * send bug reports, requests for help, feature requests, comments, etc. to
   bugs@ezix.org.  The author can be contacted directly (lyonel@ezix.org)
   Please make sure you include enough information in your bug report: XML out-
   put from lshw is preferred over text or HTML, indicate the affected version
   of lshw, your platform (i386, x86-64, PA-RISC, PowerPC, etc.) and your dis-
   tribution.

NOTE TO DISTRIBUTIONS
---------------------

(1) By default, lshw includes its own lists of PCI IDs, USB IDs, etc. but will
also look for this information in

	/usr/share/lshw/,
	/usr/local/share/,
	/usr/share/,
	/etc/,
	/usr/share/hwdata/,
	/usr/share/misc/.

(2) Statically-linked and/or compressed binaries can be built by using

	$ make static
or
	$ make compressed

in the src/ directory
Building compressed binaries requires upx (cf. http://upx.sourceforge.net/).

About

lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. It can report exact memory configuration, firmware version, mainboard configuration, CPU version and speed, cache configuration, bus speed, etc. on DMI-capable x86 or EFI (IA-64) systems and on some PowerPC machines ( PowerMac G4 …

Resources

License

Stars

Watchers

Forks

Packages

No packages published