lost and found ( for me ? )

Ubuntu 10.10 : how to check hardware info w/ lswh

lswh command will output hardware information such as drivers , configuration info.

For example , you can check network info , just type “lshw -C network”

Seen from an output , I can find out that iwlagn driver is used for my wireless network card.
# lshw -C network
      description: Wireless interface
      product: Centrino Advanced-N + WiMAX 6250
      vendor: Intel Corporation
      physical id: 0
      bus info: pci@0000:02:00.0
      logical name: wlan0
      version: 5e
      serial: 00:23:15:47:b1:94
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
      configuration: broadcast=yes driver=iwlagn driverversion=2.6.35-28-generic firmware= build 24255 ip= latency=0 link=yes multicast=yes wireless=IEEE 802.11abg
      resources: irq:45 memory:f8000000-f8001fff
      description: Ethernet interface
      product: RTL8111/8168B PCI Express Gigabit Ethernet controller
      vendor: Realtek Semiconductor Co., Ltd.
      physical id: 0
      bus info: pci@0000:04:00.0
      logical name: eth0
      version: 03
      serial: 00:22:20:0b:5e:3b
      size: 10MB/s
      capacity: 1GB/s
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
      configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10MB/s
      resources: irq:43 ioport:3000(size=256) memory:f4000000-f4000fff memory:f2000000-f2003fff memory:f2010000-f201ffff
      description: Ethernet interface
      physical id: 4
      bus info: usb@1:5
      logical name: wmx0
      serial: 00:1d:e1:37:35:2d
      capabilities: ethernet physical
      configuration: driver=i2400m firmware=i6050-fw-usb-1.5.sbcf link=no

# lsmod | grep wla
iwlagn                178948  0
iwlcore               127415  1 iwlagn
mac80211              231959  2 iwlagn,iwlcore
cfg80211              144694  3 iwlagn,iwlcore,mac80211

There’s a GUI version of lshw.
Install GUI version of lshw.
# apt-get install lshw-gtk

# lshw -X

GUI will pop up like this.
You can check hardware info through a GUI.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.