Coder Social home page Coder Social logo

uri247 / lshw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lyonel/lshw

0.0 3.0 0.0 6.1 MB

lshw: HardWare LiSter for Linux

Home Page: http://lshw.ezix.org

License: GNU General Public License v2.0

Makefile 1.28% C++ 94.61% C 3.02% Roff 0.68% CMake 0.41%

lshw's Introduction

lshw: HardWare LiSter for Linux

lshw 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 ARM and 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.

Installation

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

    $ make
    
  2. If you want to build the optional GUI, do:

    $ make
    $ make gui
    
  3. If you want to install the result, do:

    $ make install
    $ make install-gui
    

Getting help

  1. the lshw home page is http://lshw.ezix.org/
  2. bug reports and feature requests: http://ezix.org/project/newticket?component=lshw

Please make sure you include enough information in your bug report: XML output 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 distribution.

NOTE TO DISTRIBUTIONS

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/

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/).

lshw's People

Contributors

lyonel avatar jk-ozlabs avatar themoken avatar gustavoz avatar uri247 avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.