> I'm after a utility that will catalogue the hardware on a computer (Video card, PCI 
> cards, sound, memory, cpu info, IRQs etc) 
> There is a shareware DOS utility called hwinfo.  Is there a Linux equivalent?

Sure is, and it's called hwinfo :) Some of its output obviously comes from
/proc/...* or lspci, but for each piece of hardware it also produces
output like

40: IDE 02.0: 10600 Disk
  [Created at manual.241]
  Unique ID: hY5p.gbat9awCRmF
  Hardware Class: disk
  Model: "Maxtor 51536H2"
  Device: "Maxtor 51536H2"
  Revision: "JAC61HU0"
  Serial ID: "F20NHMLC"
  Device File: /dev/hdc
  Geometry (Physical): CHS 29777/16/63
  Geometry (Logical): CHS 1868/255/63
  Size: 30015216 sectors a 512 bytes
  Cache: 2048 kb
  Config Status: cfg=yes, avail=no, need=no

45: SCSI 03.0: 10c00 Scanner
  [Created at manual.241]
  Unique ID: +XM_.wom1AmpMP78
  Hardware Class: scanner
  Model: "Nikon LS-2000"
  Vendor: "Nikon"
  Device: "LS-2000"
  Revision: "1.31"
  Device File: /dev/sg1
  Config Status: cfg=yes, avail=no, need=no

It's based on a library by the looks of it:
libhd version 6.19u (ia32)
The rpm description says "A simple program that lists results from the
hardware detection library."
GPL, don't know where it originally comes from but you can get a copy
here:

ftp://ftp.suse.com/pub/suse/i386/9.0/suse/i586/hwinfo-7.30-32.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/9.0/suse/i586/hwinfo-devel-7.30-32.i586.rpm
ftp://ftp.suse.com/pub/suse/i386/9.0/suse/src/hwinfo-7.30-32.src.rpm

It's also included on SuSE's live-eval CD, and on any of their first
distribution media. I.e. after booting a CD you can run it on any
computer even if that doesn't have any Linux on it.

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.

Reply via email to