Description from its manual
hwinfo is used to probe for the hardware present in the system. It can be used to generate a system overview log which can be later used for support.
How to install the program?
taufanlubis@zyrex:~$ sudo apt-get install hwinfo
Password:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
libhd13
The following NEW packages will be installed:
hwinfo libhd13
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 622kB of archives.
After unpacking 1692kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com feisty/universe libhd13 13.11-3 [580kB]
Get:2 http://archive.ubuntu.com feisty/universe hwinfo 13.11-3 [41.2kB]
Fetched 622kB in 7s (78.1kB/s)
Selecting previously deselected package libhd13.
(Reading database … 154977 files and directories currently installed.)
Unpacking libhd13 (from …/libhd13_13.11-3_i386.deb) …
Selecting previously deselected package hwinfo.
Unpacking hwinfo (from …/hwinfo_13.11-3_i386.deb) …
Setting up libhd13 (13.11-3) …
Setting up hwinfo (13.11-3) …
taufanlubis@zyrex:~$
Help file
taufanlubis@zyrex:~$ hwinfo –help
Usage: hwinfo [options]
Probe for hardware.
–short just a short listing
–log logfile write info to logfile
–debug level set debuglevel
–version show libhd version
–dump-db n dump hardware data base, 0: external, 1: internal
–hw_item probe for hw_item
hw_item is one of:
all, bios, block, bluetooth, braille, bridge, camera, cdrom, chipcard, cpu,
disk, dsl, dvb, floppy, framebuffer, gfxcard, hub, ide, isapnp, isdn,
joystick, keyboard, memory, modem, monitor, mouse, netcard, network,
partition, pci, pcmcia, pcmcia-ctrl, pppoe, printer, scanner, scsi, smp,
sound, storage-ctrl, sys, tape, tv, usb, usb-ctrl, vbe, wlan, zip
Note: debug info is shown only in the log file. (If you specify a log file the debug level is implicitly set to a reasonable value.)
taufanlubis@zyrex:~$
Let’s start.
taufanlubis@zyrex:~$ hwinfo –short
cpu:
Intel(R) Pentium(R) 4 CPU 2.40GHz, 2400 MHz
keyboard:
/dev/input/event1 AT Translated Set 2 keyboard
mouse:
/dev/input/mice Apple Macintosh mouse button emulation
/dev/input/mice PS/2 Mouse
/dev/input/mice AlpsPS/2 ALPS GlidePoint
graphics card:
CLEVO/KAPOK SiS 660
sound:
CLEVO/KAPOK AC’97 Sound Controller
storage:
Floppy disk controller
CLEVO/KAPOK 5513 [IDE]
network:
eth0 CLEVO/KAPOK RTL-8139/8139C/8139C+
modem:
/dev/ttySL0 CLEVO/KAPOK AC’97 Modem Controller
network interface:
lo Loopback network interface
eth0 Ethernet network interface
disk:
/dev/sda SAMSUNG MP0402H
/dev/sdb GENERIC USB Storage-SMC
/dev/sdc GENERIC USB Storage-CFC
/dev/sdd GENERIC USB Storage-MMC
/dev/sde GENERIC USB Storage-MSC
partition:
/dev/sda1 Partition
/dev/sda2 Partition
/dev/sda3 Partition
/dev/sda4 Partition
/dev/sda5 Partition
cdrom:
/dev/sr0 TSSTcorp CDRW/DVD TSL462D
usb controller:
CLEVO/KAPOK USB 1.0 Controller
CLEVO/KAPOK USB 1.0 Controller
CLEVO/KAPOK USB 1.0 Controller
CLEVO/KAPOK USB 2.0 Controller
bios:
BIOS
bridge:
CLEVO/KAPOK 661FX/M661FX/M661MX Host
Silicon Integrated SiS AGP Port (virtual PCI-to-PCI bridge)
Silicon Integrated SiS963 [MuTIOL Media IO]
CLEVO/KAPOK CB1410 Cardbus Controller
hub:
Linux 2.6.20-16-generic ohci_hcd OHCI Host Controller
Linux 2.6.20-16-generic ohci_hcd OHCI Host Controller
Linux 2.6.20-16-generic ohci_hcd OHCI Host Controller
Linux 2.6.20-16-generic ehci_hcd EHCI Host Controller
memory:
Main Memory
firewire controller:
CLEVO/KAPOK FireWire Controller
unknown:
FPU
DMA controller
PIC
Timer
RTC
Keyboard controller
/dev/lp0 Parallel controller
Silicon Integrated SiS961/2 SMBus Controller
PnP Unclassified device
PnP Unclassified device
PnP Unclassified device
PnP Unclassified device
PnP Unclassified device
PnP Unclassified device
PnP Unclassified device
PnP Unclassified device
PnP Unclassified device
PnP Unclassified device
PnP Unclassified device
Unclassified device
Serial controller
taufanlubis@zyrex:~$
Check your modem
taufanlubis@zyrex:~$ hwinfo –modem
16: PCI 02.6: 10204 LinModem (Generic)
[Created at pci.281]
UDI: /org/freedesktop/Hal/devices/pci_1039_7013
Unique ID: AXjq.2_zl0UorD89
SysFS ID: /devices/pci0000:00/0000:00:02.6
SysFS BusID: 0000:00:02.6
Hardware Class: modem
Model: “CLEVO/KAPOK AC’97 Modem Controller”
Vendor: pci 0×1039 “Silicon Integrated Systems Corp.”
Device: pci 0×7013 “AC’97 Modem Controller”
SubVendor: pci 0×1558 “CLEVO/KAPOK Computer”
SubDevice: pci 0×4201
Revision: 0xa0
Device File: /dev/ttySL0
Device Number: char 212:0
I/O Ports: 0×1400-0×14ff (rw)
I/O Ports: 0×1080-0×10ff (rw)
IRQ: 5 (1367 events)
Module Alias: “pci:v00001039d00007013sv00001558sd00004201bc07sc03i00″
Driver Info #0:
Driver Status: slamr is not active
Driver Activation Cmd: “modprobe slamr”
Driver Info #1:
Driver Status: snd_intel8×0m is not active
Driver Activation Cmd: “modprobe snd_intel8×0m”
Driver Info #2:
Driver Status: hsfmc97sis is active
Driver Activation Cmd: “modprobe hsfmc97sis”
Config Status: cfg=new, avail=yes, need=no, active=unknown
taufanlubis@zyrex:~$
Check your Sound Card
taufanlubis@zyrex:~$ hwinfo –sound
17: PCI 02.7: 0401 Multimedia audio controller
[Created at pci.281]
UDI: /org/freedesktop/Hal/devices/pci_1039_7012
Unique ID: 1sCg.DueFQE3euaD
SysFS ID: /devices/pci0000:00/0000:00:02.7
SysFS BusID: 0000:00:02.7
Hardware Class: sound
Model: “CLEVO/KAPOK AC’97 Sound Controller”
Vendor: pci 0×1039 “Silicon Integrated Systems Corp.”
Device: pci 0×7012 “AC’97 Sound Controller”
SubVendor: pci 0×1558 “CLEVO/KAPOK Computer”
SubDevice: pci 0×0480
Revision: 0xa0
Driver: “Intel ICH”
Driver Modules: “snd_intel8×0″
I/O Ports: 0×1c00-0×1cff (rw)
I/O Ports: 0×1800-0×187f (rw)
IRQ: 5 (516 events)
Module Alias: “pci:v00001039d00007012sv00001558sd00000480bc04sc01i00″
Driver Info #0:
Driver Status: i810_audio is not active
Driver Activation Cmd: “modprobe i810_audio”
Driver Info #1:
Driver Status: snd_intel8×0 is active
Driver Activation Cmd: “modprobe snd_intel8×0″
Config Status: cfg=new, avail=yes, need=no, active=unknown
taufanlubis@zyrex:~$



taufan,
Um…why do linux dudes always do this…start an explanation, but never follow through on it. ADD?
Anyway, why did you assume everyone using hwinfo knows where to find the html output?
Maybe you could give complete instructions here instead of just a ‘cool it runs’ guide.
How about the output format, and the location of that output.
Thanks.
Every Linux Command Line must be run in Linux Terminal.
To open Linux Terminal in Ubuntu,
open Applications > Accessories > Terminal.
Inside the Terminal then you can type the command line like in my instructions.
The output is directly displayed in the terminal.
It’s almost the same like if you open DOS screen in Windows or Terminal in Mac.
Hope it’s clear enough.
boss, kok gak mau ya
didiek@didiek-desktop:~$ hwinfo -short
oops: don’t know what to do with “short”
didiek@didiek-desktop:~$
kenapa yah?
Thanks for this article, exactly what I needed!
For me I had to follow this format:
hwinfo –short
That made it work for me.
@didiek
hwinfo –short | more
@didiek
hwinfo -–short | more
I really don’t get why you posted all output on here too… The only things you need are these, not all the other crap you posted:
Install:
sudo apt-get install hwinfo
Use:
hwinfo –help
hwinfo –short
hwinfo –modem
hwinfo -sound
Also, hwinfouser, those 5 lines ARE the full instructions. Never used a terminal?
Why are people so rude? IF you can use the info, use it, dont criticize or bash him for trying to help. I have been using linux for 14 years and i still like to see sample outputs for things so i can do a quick check to see if mine is correct.
[...] Mais informações em inglês. [...]
Sometimes the ones that criticize the most know the least.
For me i have to put the switches in like:
hwinfo –short
with the two dashes. I’m using kubuntu, maybe that’s the reason for the extra dash. I figured this out by reading the manual, located by typing “man hwinfo.”
Also, the “| more” part at the end is helpful as the amount of info can run past what you buffer will hold.
Nice tool, nice explanation.
I totally…
Thanks for the tips Taufan (if that’s your name). I just went straight to it from your post…. the other tips were a key part of that – and that’s what it’s all about!
The open source world is a wonderful place to live in… may all naivety give way to leaning and all ignorance be repaid in full.
[...] [...]
Thanks for the guide! Very helpful.