6.5. lshw - list hardware
$ sudo lshw
[sudo] password for neo:
neo-presario-c700-notebook-pc
description: Notebook
product: Presario C700 Notebook PC (GS095PA#AB5)
vendor: Hewlett-Packard
version: F.08
serial: CND7492C7R
width: 64 bits
capabilities: smbios-2.4 dmi-2.4 vsyscall32
configuration: boot=normal chassis=notebook family=103C_5335KV sku=GS095PA#AB5 uuid=A7C95A0A-99FE-11DC-933C-001B38BAB11A
*-core
description: Motherboard
product: 30D9
vendor: Hewlett-Packard
physical id: 0
version: 83.19
serial: CND7492C7R
slot: Base Board Chassis Location
*-firmware
description: BIOS
vendor: Hewlett-Packard
physical id: 0
version: F.08
date: 09/13/2007
size: 1MiB
capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb
*-cpu
description: CPU
product: Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz
vendor: Intel Corp.
physical id: e
bus info: cpu@0
version: Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz
serial: NotSupport
slot: CPU
size: 800MHz
capacity: 800MHz
width: 64 bits
clock: 533MHz
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm cpufreq
*-cache:0
description: L2 cache
physical id: f
slot: Unknown
size: 1MiB
capacity: 1MiB
capabilities: asynchronous internal write-back unified
*-cache:1
description: L1 cache
physical id: 11
slot: Unknown
size: 32KiB
capacity: 32KiB
capabilities: asynchronous internal write-back data
*-cache
description: L1 cache
physical id: 10
slot: Unknown
size: 32KiB
capacity: 32KiB
capabilities: asynchronous internal write-back instruction
*-memory
description: System Memory
physical id: 12
slot: System board or motherboard
size: 2GiB
capacity: 2GiB
*-bank:0
description: SODIMM DDR2 Synchronous 533 MHz (1.9 ns)
product: 0x393930353239352D3031392E4148304C4600
vendor: Kingston
physical id: 0
serial: 0x690A0D82
slot: DIMM0
size: 1GiB
width: 64 bits
clock: 533MHz (1.9ns)
*-bank:1
description: SODIMM DDR2 Synchronous 533 MHz (1.9 ns)
product: 0x393930353239352D3031392E4148304C4600
vendor: Kingston
physical id: 1
serial: 0x690AE381
slot: DIMM2
size: 1GiB
width: 64 bits
clock: 533MHz (1.9ns)
*-pci
description: Host bridge
product: Mobile PM965/GM965/GL960 Memory Controller Hub
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 03
width: 32 bits
clock: 33MHz
configuration: driver=agpgart-intel
resources: irq:0
*-display:0
description: VGA compatible controller
product: Mobile GM965/GL960 Integrated Graphics Controller (primary)
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:42 memory:91000000-910fffff memory:80000000-8fffffff ioport:30d0(size=8)
*-display:1 UNCLAIMED
description: Display controller
product: Mobile GM965/GL960 Integrated Graphics Controller (secondary)
vendor: Intel Corporation
physical id: 2.1
bus info: pci@0000:00:02.1
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=0
resources: memory:91100000-911fffff
*-multimedia
description: Audio device
product: 82801H (ICH8 Family) HD Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:43 memory:92400000-92403fff
*-pci:0
description: PCI bridge
product: 82801H (ICH8 Family) PCI Express Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:40 ioport:2000(size=4096) memory:91300000-923fffff ioport:90000000(size=16777216)
*-network
description: Network controller
product: BCM4311 802.11b/g WLAN
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=b43-pci-bridge latency=0
resources: irq:16 memory:91300000-91303fff
*-usb:0
description: USB controller
product: 82801H (ICH8 Family) USB UHCI Controller #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:21 ioport:3080(size=32)
*-usb:1
description: USB controller
product: 82801H (ICH8 Family) USB UHCI Controller #2
vendor: Intel Corporation
physical id: 1d.1
bus info: pci@0000:00:1d.1
version: 03
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:20 ioport:3060(size=32)
*-usb:2
description: USB controller
product: 82801H (ICH8 Family) USB UHCI Controller #3
vendor: Intel Corporation
physical id: 1d.2
bus info: pci@0000:00:1d.2
version: 03
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd latency=0
resources: irq:19 ioport:3040(size=32)
*-usb:3
description: USB controller
product: 82801H (ICH8 Family) USB2 EHCI Controller #1
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@0000:00:1d.7
version: 03
width: 32 bits
clock: 33MHz
capabilities: pm debug ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:23 memory:92404800-92404bff
*-pci:1
description: PCI bridge
product: 82801 Mobile PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: f3
width: 32 bits
clock: 33MHz
capabilities: pci subtractive_decode bus_master cap_list
resources: ioport:1000(size=4096) memory:91200000-912fffff
*-network
description: Ethernet interface
product: RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 1
bus info: pci@0000:02:01.0
logical name: eth0
version: 10
serial: 00:1b:38:ba:b1:1a
size: 100Mbit/s
capacity: 100Mbit/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=192.168.6.2 latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
resources: irq:16 ioport:1000(size=256) memory:91200000-912000ff
*-isa
description: ISA bridge
product: 82801HM (ICH8M) LPC Interface Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-ide
description: IDE interface
product: 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller
vendor: Intel Corporation
physical id: 1f.1
bus info: pci@0000:00:1f.1
version: 03
width: 32 bits
clock: 33MHz
capabilities: ide bus_master
configuration: driver=ata_piix latency=0
resources: irq:19 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:30a0(size=16)
*-storage
description: SATA controller
product: 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 03
width: 32 bits
clock: 66MHz
capabilities: storage msi pm ahci_1.0 bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:41 ioport:30b8(size=8) ioport:30dc(size=4) ioport:30b0(size=8) ioport:30d8(size=4) ioport:3020(size=32) memory:92404000-924047ff
*-serial UNCLAIMED
description: SMBus
product: 82801H (ICH8 Family) SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 03
width: 32 bits
clock: 33MHz
configuration: latency=0
resources: memory:92404c00-92404cff ioport:3000(size=32)
*-scsi:0
physical id: 1
logical name: scsi0
capabilities: emulated
*-cdrom
description: DVD reader
product: CDRWDVD CRX890A
vendor: Optiarc
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/cdrom
logical name: /dev/cdrw
logical name: /dev/dvd
logical name: /dev/sr0
version: P802
capabilities: removable audio cd-r cd-rw dvd
configuration: ansiversion=5 status=nodisc
*-scsi:1
physical id: 2
logical name: scsi2
capabilities: emulated
*-disk
description: ATA Disk
product: Hitachi HTS54161
vendor: Hitachi
physical id: 0.0.0
bus info: scsi@2:0.0.0
logical name: /dev/sda
version: C7KP
serial: SB348DHRJR71GH
size: 149GiB (160GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 sectorsize=512 signature=0004d306
*-volume:0
description: Linux filesystem partition
physical id: 1
bus info: scsi@2:0.0.0,1
logical name: /dev/sda1
logical name: /
logical name: /home
logical name: /var/lib/docker/btrfs
capacity: 53GiB
capabilities: primary bootable
configuration: mount.fstype=btrfs mount.options=rw,relatime,space_cache state=mounted
*-volume:1
description: Extended partition
physical id: 2
bus info: scsi@2:0.0.0,2
logical name: /dev/sda2
size: 95GiB
capacity: 95GiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume:0
description: Linux swap / Solaris partition
physical id: 5
logical name: /dev/sda5
capacity: 2037MiB
capabilities: nofs
*-logicalvolume:1
description: Linux filesystem partition
physical id: 6
logical name: /dev/sda6
logical name: /srv
capacity: 93GiB
configuration: mount.fstype=btrfs mount.options=rw,relatime,space_cache state=mounted
*-scsi:2
physical id: 3
bus info: usb@1:5
logical name: scsi5
capabilities: emulated scsi-host
configuration: driver=usb-storage
*-disk
description: SCSI Disk
physical id: 0.0.0
bus info: scsi@5:0.0.0
logical name: /dev/sdb
configuration: sectorsize=512
*-network DISABLED
description: Wireless interface
physical id: 1
logical name: wlan0
serial: 00:1a:73:de:5f:d5
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=b43 driverversion=3.16.0-25-generic firmware=666.2 link=no multicast=yes wireless=IEEE 802.11bg
6.5.1. only show a certain class of hardware
$ sudo lshw -C network
[sudo] password for neo:
*-network
description: Network controller
product: BCM4311 802.11b/g WLAN
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=b43-pci-bridge latency=0
resources: irq:16 memory:91300000-91303fff
*-network
description: Ethernet interface
product: RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 1
bus info: pci@0000:02:01.0
logical name: eth0
version: 10
serial: 00:1b:38:ba:b1:1a
size: 100Mbit/s
capacity: 100Mbit/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=172.30.5.73 latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
resources: irq:16 ioport:1000(size=256) memory:91200000-912000ff
*-network:0 DISABLED
description: Ethernet interface
physical id: 1
logical name: virbr0-nic
serial: 52:54:00:5c:25:d6
size: 10Mbit/s
capabilities: ethernet physical
configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
*-network:1 DISABLED
description: Wireless interface
physical id: 2
logical name: wlan0
serial: 00:1a:73:de:5f:d5
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=b43 driverversion=3.19.0-26-generic firmware=666.2 link=no multicast=yes wireless=IEEE 802.11bg
*-network:2 DISABLED
description: Wireless interface
physical id: 3
bus info: usb@1:3
logical name: wlan1
serial: 5c:63:bf:27:3f:b6
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=ath9k_htc driverversion=3.19.0-26-generic firmware=1.3 link=no multicast=yes wireless=IEEE 802.11bgn