Check hardware using ‘Hwinfo’ in Ubuntu

Kamis, 25 November 2010

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?
@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) …
admin@zyrex:~$


Help file
admin@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.)
admin@zyrex:~$

Let’s start.
admin@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
admin@zyrex:~$

Check your modem
admin@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-0x14ff (rw)
I/O Ports: 0×1080-0x10ff (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_intel8x0m is not active
Driver Activation Cmd: “modprobe snd_intel8x0m”
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_intel8x0
I/O Ports: 0x1c00-0x1cff (rw)
I/O Ports: 0×1800-0x187f (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_intel8x0 is active
Driver Activation Cmd: “modprobe snd_intel8x0
Config Status: cfg=new, avail=yes, need=no, active=unknown
taufanlubis@zyrex:~$









0 komentar: