Linuxでハードウェアの詳細な情報を表示する!(lshw)

Linuxでハードウェアの詳細な情報をlshwコマンドで表示します。dmidecodeと比較すると、デバイスファイルやドライバーの情報などOSよりの情報も表示されmす。

lshwコマンドのヘルプを表示する!

lshwコマンドのヘルプを表示して、使用方法を確認します。出力形式を指定したり、出力対象を絞ったりすることがわかります。

$ lshw --help
Hardware Lister (lshw) - 
usage: lshw [-format] [-options ...]
       lshw -version

	-version        print program version ()

format can be
	-html           output hardware tree as HTML
	-xml            output hardware tree as XML
	-json           output hardware tree as a JSON object
	-short          output hardware paths
	-businfo        output bus information

options can be
	-class CLASS    only show a certain class of hardware
	-C CLASS        same as '-class CLASS'
	-c CLASS        same as '-class CLASS'
	-disable TEST   disable a test (like pci, isapnp, cpuid, etc. )
	-enable TEST    enable a test (like pci, isapnp, cpuid, etc. )
	-quiet          don't display status
	-sanitize       sanitize output (remove sensitive information like serial numbers, etc.)
	-numeric        output numeric IDs (for PCI, USB, etc.)
	-notime         exclude volatile attributes (timestamps) from output

lshwコマンドでハードウェア情報を表示する!

lshwコマンドで、オプションなしで、ハードウェア情報を表示してみます。

$ sudo lshw
dpc001p1                    
    description: Desktop Computer
    product: TB250-BTC (None)
    vendor: BIOSTAR Group
    version: Default string
    serial: None
    width: 64 bits
    capabilities: smbios-3.0.0 dmi-3.0.0 smp vsyscall32
    configuration: chassis=desktop family=None sku=None uuid=03000200-0400-0500-0006-000700080009
  *-core
       description: Motherboard
       product: TB250-BTC
       vendor: BIOSTAR Group
       physical id: 0
       serial: None
       slot: None
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: 5.12
          date: 06/08/2017
          size: 64KiB
          capacity: 16MiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
          vendor: Intel Corp.
          physical id: d
          bus info: cpu@0
          version: 6.158.9
          serial: To Be Filled By O.E.M.
          slot: U3E1
          size: 4007MHz
          capacity: 4200MHz
          width: 64 bits
          clock: 100MHz
          capabilities: lm 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 pdpe1gb rdtscp x86-64 constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust sgx bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities cpufreq
          configuration: cores=4 enabledcores=4 microcode=240 threads=8
        *-cache:0
             description: L1 cache
             physical id: a
             slot: L1 Cache
             size: 256KiB
             capacity: 256KiB
             capabilities: synchronous internal write-back unified
             configuration: level=1
        *-cache:1
             description: L2 cache
             physical id: b
             slot: L2 Cache
             size: 1MiB
             capacity: 1MiB
             capabilities: synchronous internal write-back unified
             configuration: level=2
        *-cache:2
             description: L3 cache
             physical id: c
             slot: L3 Cache
             size: 8MiB
             capacity: 8MiB
             capabilities: synchronous internal write-back unified
             configuration: level=3
     *-memory
          description: System Memory
          physical id: 4
          slot: System board or motherboard
          size: 32GiB
        *-bank:0
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 3200 MHz (0.3 ns)
             product: 16ATF2G64AZ-3G2E1
             vendor: Micron
             physical id: 0
             serial: F3B1E171
             slot: ChannelA-DIMM0
             size: 16GiB
             width: 64 bits
             clock: 3200MHz (0.3ns)
        *-bank:1
             description: [empty]
             physical id: 1
             slot: ChannelA-DIMM1
        *-bank:2
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 3200 MHz (0.3 ns)
             product: 16ATF2G64AZ-3G2E1
             vendor: Micron
             physical id: 2
             serial: F3B1E17B
             slot: ChannelB-DIMM0
             size: 16GiB
             width: 64 bits
             clock: 3200MHz (0.3ns)
        *-bank:3
             description: [empty]
             physical id: 3
             slot: ChannelB-DIMM1
     *-pci
          description: Host bridge
          product: Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 05
          width: 32 bits
          clock: 33MHz
          configuration: driver=skl_uncore
          resources: irq:0
        *-pci:0
             description: PCI bridge
             product: 6th-10th Gen Core Processor PCIe Controller (x16)
             vendor: Intel Corporation
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 05
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:122 ioport:e000(size=4096) memory:de000000-df0fffff ioport:c0000000(size=301989888)
           *-display
                description: VGA compatible controller
                product: GP106 [GeForce GTX 1060 3GB]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                configuration: driver=nouveau latency=0
                resources: irq:139 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
           *-multimedia
                description: Audio device
                product: GP106 High Definition Audio Controller
                vendor: NVIDIA Corporation
                physical id: 0.1
                bus info: pci@0000:01:00.1
                logical name: card1
                logical name: /dev/snd/controlC1
                logical name: /dev/snd/hwC1D0
                logical name: /dev/snd/pcmC1D10p
                logical name: /dev/snd/pcmC1D11p
                logical name: /dev/snd/pcmC1D12p
                logical name: /dev/snd/pcmC1D3p
                logical name: /dev/snd/pcmC1D7p
                logical name: /dev/snd/pcmC1D8p
                logical name: /dev/snd/pcmC1D9p
                version: a1
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:17 memory:df080000-df083fff
              *-input:0
                   product: HDA NVidia HDMI/DP,pcm=9
                   physical id: 0
                   logical name: input10
                   logical name: /dev/input/event7
              *-input:1
                   product: HDA NVidia HDMI/DP,pcm=10
                   physical id: 1
                   logical name: input11
                   logical name: /dev/input/event8
              *-input:2
                   product: HDA NVidia HDMI/DP,pcm=11
                   physical id: 2
                   logical name: input12
                   logical name: /dev/input/event9
              *-input:3
                   product: HDA NVidia HDMI/DP,pcm=12
                   physical id: 3
                   logical name: input13
                   logical name: /dev/input/event10
              *-input:4
                   product: HDA NVidia HDMI/DP,pcm=3
                   physical id: 4
                   logical name: input7
                   logical name: /dev/input/event4
              *-input:5
                   product: HDA NVidia HDMI/DP,pcm=7
                   physical id: 5
                   logical name: input8
                   logical name: /dev/input/event5
              *-input:6
                   product: HDA NVidia HDMI/DP,pcm=8
                   physical id: 6
                   logical name: input9
                   logical name: /dev/input/event6
        *-display
             description: VGA compatible controller
             product: HD Graphics 630
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             logical name: /dev/fb0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
             configuration: depth=32 driver=i915 latency=0 resolution=3840,2160
             resources: irq:138 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff
        *-generic UNCLAIMED
             description: System peripheral
             product: Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
             vendor: Intel Corporation
             physical id: 8
             bus info: pci@0000:00:08.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm cap_list
             configuration: latency=0
             resources: memory:df32e000-df32efff
        *-usb
             description: USB controller
             product: 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:126 memory:df310000-df31ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 5.15.0-58-generic xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 5.15
                capabilities: usb-2.00
                configuration: driver=hub slots=12 speed=480Mbit/s
              *-usb:0
                   description: USB hub
                   product: USB 2.0 Hub
                   vendor: Terminus Technology Inc.
                   physical id: 1
                   bus info: usb@1:1
                   version: 1.11
                   capabilities: usb-2.00
                   configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
                 *-usb
                      description: USB hub
                      product: USB2.0 Hub
                      vendor: VIA Labs, Inc.
                      physical id: 1
                      bus info: usb@1:1.1
                      version: 90.11
                      capabilities: usb-2.10
                      configuration: driver=hub slots=4 speed=480Mbit/s
                    *-usb
                         description: Generic USB device
                         product: Nexus 5
                         vendor: LGE
                         physical id: 4
                         bus info: usb@1:1.1.4
                         version: 2.32
                         serial: 06deacdc13cca310
                         capabilities: usb-2.00
                         configuration: driver=usbfs maxpower=500mA speed=480Mbit/s
              *-usb:1
                   description: USB hub
                   product: USB 2.0 Hub
                   vendor: Terminus Technology Inc.
                   physical id: 2
                   bus info: usb@1:2
                   version: 1.11
                   capabilities: usb-2.00
                   configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
                 *-usb:0
                      description: Mass storage device
                      product: USB3.0 Card Reader
                      vendor: Realtek
                      physical id: 1
                      bus info: usb@1:2.1
                      logical name: scsi6
                      version: 1.31
                      serial: ABNA11000146
                      capabilities: usb-2.10 scsi emulated scsi-host
                      configuration: driver=usb-storage maxpower=500mA speed=480Mbit/s
                    *-disk:0
                         description: SCSI Disk
                         product: BSCR17TU3     -0
                         vendor: BUFFALO
                         physical id: 0.0.0
                         bus info: scsi@6:0.0.0
                         logical name: /dev/sdb
                         version: 1.00
                         serial: 2012062914345300
                         capabilities: removable
                         configuration: ansiversion=4 logicalsectorsize=512 sectorsize=512
                       *-medium
                            physical id: 0
                            logical name: /dev/sdb
                    *-disk:1
                         description: SCSI Disk
                         product: BSCR17TU3     -1
                         vendor: BUFFALO
                         physical id: 0.0.1
                         bus info: scsi@6:0.0.1
                         logical name: /dev/sdc
                         version: 1.00
                         serial: 2012062914345300
                         size: 7580MiB (7948MB)
                         capabilities: removable
                         configuration: ansiversion=4 logicalsectorsize=512 sectorsize=512
                       *-medium
                            physical id: 0
                            logical name: /dev/sdc
                            size: 7580MiB (7948MB)
                            capabilities: partitioned partitioned:dos
                          *-volume
                               description: Windows FAT volume
                               physical id: 1
                               logical name: /dev/sdc1
                               logical name: /media/usradmin/disk1
                               version: FAT32
                               serial: 0000-0000
                               size: 7569MiB
                               capacity: 7576MiB
                               capabilities: primary bootable fat initialized
                               configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro state=mounted
                    *-disk:2
                         description: SCSI Disk
                         product: BSCR17TU3     -2
                         vendor: BUFFALO
                         physical id: 0.0.2
                         bus info: scsi@6:0.0.2
                         logical name: /dev/sdd
                         version: 1.00
                         serial: 2012062914345300
                         size: 14GiB (16GB)
                         capabilities: removable
                         configuration: ansiversion=4 logicalsectorsize=512 sectorsize=512
                       *-medium
                            physical id: 0
                            logical name: /dev/sdd
                            size: 14GiB (16GB)
                            capabilities: partitioned partitioned:dos
                          *-volume
                               description: Windows FAT volume
                               physical id: 1
                               logical name: /dev/sdd1
                               logical name: /media/usradmin/disk2
                               version: FAT32
                               serial: 0000-0000
                               size: 14GiB
                               capacity: 14GiB
                               capabilities: primary bootable fat initialized
                               configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro state=mounted
                 *-usb:1
                      description: USB hub
                      product: USB2.0 Hub
                      vendor: Genesys Logic, Inc.
                      physical id: 3
                      bus info: usb@1:2.3
                      version: 32.98
                      capabilities: usb-2.00
                      configuration: driver=hub maxpower=100mA slots=4 speed=480Mbit/s
                    *-usb:0
                         description: Mouse
                         product: SONiX Full-Speed Mouse
                         vendor: SONiX
                         physical id: 2
                         bus info: usb@1:2.3.2
                         logical name: input14
                         logical name: /dev/input/event11
                         logical name: /dev/input/mouse0
                         version: 1.06
                         capabilities: usb-2.00 usb
                         configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
                    *-usb:1
                         description: Keyboard
                         product: ELECOM ELECOM TK-FCP096 System Control
                         vendor: ELECOM
                         physical id: 3
                         bus info: usb@1:2.3.3
                         logical name: input15
                         logical name: /dev/input/event12
                         logical name: input15::capslock
                         logical name: input15::numlock
                         logical name: input15::scrolllock
                         logical name: input26
                         logical name: /dev/input/event18
                         logical name: input27
                         logical name: /dev/input/event20
                         version: 1.11
                         capabilities: usb-1.10 usb
                         configuration: driver=usbhid maxpower=98mA speed=2Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 5.15.0-58-generic xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.15
                capabilities: usb-3.00
                configuration: driver=hub slots=6 speed=5000Mbit/s
        *-communication
             description: Communication controller
             product: 200 Series PCH CSME HECI #1
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: irq:137 memory:df32d000-df32dfff
        *-sata
             description: SATA controller
             product: 200 Series PCH SATA controller [AHCI mode]
             vendor: Intel Corporation
             physical id: 17
             bus info: pci@0000:00:17.0
             logical name: scsi0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: sata msi pm ahci_1.0 bus_master cap_list emulated
             configuration: driver=ahci latency=0
             resources: irq:125 memory:df328000-df329fff memory:df32c000-df32c0ff ioport:f090(size=8) ioport:f080(size=4) ioport:f060(size=32) memory:df32b000-df32b7ff
           *-disk
                description: ATA Disk
                product: SUNEAST SE900 SS
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/sda
                version: AA20
                serial: 30084390959
                size: 953GiB (1024GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=fd16b426
              *-volume
                   description: EXT4 volume
                   vendor: Linux
                   physical id: 1
                   bus info: scsi@0:0.0.0,1
                   logical name: /dev/sda1
                   logical name: /home/usradmin/vms
                   version: 1.0
                   serial: 3a9d88e4-bd88-40b4-a521-f30f9d604144
                   size: 953GiB
                   capacity: 953GiB
                   capabilities: primary journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                   configuration: created=2020-04-25 09:47:37 filesystem=ext4 label=data01 lastmountpoint=/home/usradmin/vms modified=2023-01-22 07:26:24 mount.fstype=ext4 mount.options=rw,relatime mounted=2023-01-22 07:26:24 state=mounted
        *-pci:1
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #5
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:123 ioport:d000(size=4096) memory:df200000-df2fffff
           *-network
                description: Ethernet interface
                product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: enp2s0
                version: 15
                serial: b8:97:5a:7e:ed:53
                size: 1Gbit/s
                capacity: 1Gbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.15.0-58-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=10.1.1.1 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
                resources: irq:16 ioport:d000(size=256) memory:df204000-df204fff memory:df200000-df203fff
        *-pci:2
             description: PCI bridge
             product: 200 Series PCH PCI Express Root Port #9
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: f0
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:124 memory:df100000-df1fffff
           *-nvme
                description: NVMe device
                product: CT500P2SSD8
                vendor: Micron/Crucial Technology
                physical id: 0
                bus info: pci@0000:03:00.0
                logical name: /dev/nvme0
                version: P2CR048
                serial: 2214E62480A9
                width: 64 bits
                clock: 33MHz
                capabilities: nvme pciexpress msix msi pm nvm_express bus_master cap_list
                configuration: driver=nvme latency=0 nqn=nqn.2014.08.org.nvmexpress:c0a9c0a92214E62480A9        CT500P2SSD8 state=live
                resources: irq:16 memory:df100000-df103fff
              *-namespace:0
                   description: NVMe disk
                   physical id: 0
                   logical name: hwmon1
              *-namespace:1
                   description: NVMe disk
                   physical id: 2
                   logical name: /dev/ng0n1
              *-namespace:2
                   description: NVMe disk
                   physical id: 1
                   bus info: nvme@0:1
                   logical name: /dev/nvme0n1
                   size: 465GiB (500GB)
                   capabilities: partitioned partitioned:dos
                   configuration: logicalsectorsize=512 sectorsize=512 signature=c45d00db wwid=eui.00a07560f0000025
                 *-volume:0 UNCLAIMED
                      description: Windows FAT volume
                      vendor: mkfs.fat
                      physical id: 1
                      bus info: nvme@0:1,1
                      version: FAT32
                      serial: c51b-3d36
                      size: 474MiB
                      capacity: 476MiB
                      capabilities: primary bootable boot fat initialized
                      configuration: FATs=2 filesystem=fat
                 *-volume:1
                      description: EXT4 volume
                      vendor: Linux
                      physical id: 3
                      bus info: nvme@0:1,3
                      logical name: /dev/nvme0n1p3
                      logical name: /home/usradmin/Documents/local
                      version: 1.0
                      serial: f267dac4-1a62-4fbe-8e9e-43ff9cb93df6
                      size: 43GiB
                      capacity: 43GiB
                      capabilities: primary journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                      configuration: created=2019-11-18 00:30:11 filesystem=ext4 lastmountpoint=/home/usradmin/Documents/local modified=2023-01-22 07:26:24 mount.fstype=ext4 mount.options=rw,relatime mounted=2023-01-22 07:26:24 state=mounted
                 *-volume:2
                      description: EXT4 volume
                      vendor: Linux
                      physical id: 4
                      bus info: nvme@0:1,4
                      logical name: /dev/nvme0n1p4
                      logical name: /
                      logical name: /var/snap/firefox/common/host-hunspell
                      version: 1.0
                      serial: 8f467422-f6e0-46ae-9991-7f7e293aab67
                      size: 194GiB
                      capacity: 194GiB
                      capabilities: primary journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized
                      configuration: created=2021-01-10 16:41:41 filesystem=ext4 lastmountpoint=/ modified=2023-01-22 07:26:23 mount.fstype=ext4 mount.options=ro,noexec,noatime,errors=remount-ro mounted=2023-01-22 07:26:23 state=mounted
        *-isa
             description: ISA bridge
             product: 200 Series PCH LPC Controller (B250)
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
           *-pnp00:00
                product: PnP device PNP0c02
                physical id: 0
                capabilities: pnp
                configuration: driver=system
           *-pnp00:01
                product: PnP device PNP0303
                physical id: 1
                capabilities: pnp
                configuration: driver=i8042 kbd
           *-pnp00:02
                product: PnP device PNP0f03
                physical id: 2
                capabilities: pnp
                configuration: driver=i8042 aux
           *-pnp00:03
                product: PnP device PNP0501
                physical id: 3
                capabilities: pnp
                configuration: driver=serial
           *-pnp00:04
                product: PnP device PNP0c02
                physical id: 4
                capabilities: pnp
                configuration: driver=system
           *-pnp00:05
                product: PnP device PNP0c02
                physical id: 5
                capabilities: pnp
                configuration: driver=system
           *-pnp00:06
                product: PnP device PNP0b00
                physical id: 6
                capabilities: pnp
                configuration: driver=rtc_cmos
           *-pnp00:07
                product: PnP device INT3f0d
                physical id: 7
                capabilities: pnp
                configuration: driver=system
           *-pnp00:08
                product: PnP device PNP0c02
                physical id: 8
                capabilities: pnp
                configuration: driver=system
           *-pnp00:09
                product: PnP device PNP0c02
                physical id: 9
                capabilities: pnp
                configuration: driver=system
           *-pnp00:0a
                product: PnP device PNP0c02
                physical id: a
                capabilities: pnp
                configuration: driver=system
           *-pnp00:0b
                product: PnP device PNP0c02
                physical id: b
                capabilities: pnp
                configuration: driver=system
        *-memory UNCLAIMED
             description: Memory controller
             product: 200 Series/Z370 Chipset Family Power Management Controller
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 00
             width: 32 bits
             clock: 33MHz (30.3ns)
             configuration: latency=0
             resources: memory:df324000-df327fff
        *-multimedia
             description: Audio device
             product: 200 Series PCH HD Audio
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             logical name: card0
             logical name: /dev/snd/controlC0
             logical name: /dev/snd/hwC0D1
             logical name: /dev/snd/hwC0D2
             logical name: /dev/snd/pcmC0D0c
             logical name: /dev/snd/pcmC0D0p
             logical name: /dev/snd/pcmC0D10p
             logical name: /dev/snd/pcmC0D2c
             logical name: /dev/snd/pcmC0D3p
             logical name: /dev/snd/pcmC0D7p
             logical name: /dev/snd/pcmC0D8p
             logical name: /dev/snd/pcmC0D9p
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=snd_hda_intel latency=32
             resources: irq:140 memory:df320000-df323fff memory:df300000-df30ffff
           *-input:0
                product: HDA Intel PCH Rear Mic
                physical id: 0
                logical name: input16
                logical name: /dev/input/event13
           *-input:1
                product: HDA Intel PCH Front Mic
                physical id: 1
                logical name: input17
                logical name: /dev/input/event14
           *-input:2
                product: HDA Intel PCH Line
                physical id: 2
                logical name: input18
                logical name: /dev/input/event15
           *-input:3
                product: HDA Intel PCH Line Out
                physical id: 3
                logical name: input19
                logical name: /dev/input/event16
           *-input:4
                product: HDA Intel PCH Front Headphone
                physical id: 4
                logical name: input20
                logical name: /dev/input/event17
           *-input:5
                product: HDA Intel PCH HDMI/DP,pcm=3
                physical id: 5
                logical name: input21
                logical name: /dev/input/event19
           *-input:6
                product: HDA Intel PCH HDMI/DP,pcm=7
                physical id: 6
                logical name: input22
                logical name: /dev/input/event21
           *-input:7
                product: HDA Intel PCH HDMI/DP,pcm=8
                physical id: 7
                logical name: input23
                logical name: /dev/input/event22
           *-input:8
                product: HDA Intel PCH HDMI/DP,pcm=9
                physical id: 8
                logical name: input24
                logical name: /dev/input/event23
           *-input:9
                product: HDA Intel PCH HDMI/DP,pcm=10
                physical id: 9
                logical name: input25
                logical name: /dev/input/event24
        *-serial
             description: SMBus
             product: 200 Series/Z370 Chipset Family SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.4
             bus info: pci@0000:00:1f.4
             version: 00
             width: 64 bits
             clock: 33MHz
             configuration: driver=i801_smbus latency=0
             resources: irq:16 memory:df32a000-df32a0ff ioport:f040(size=32)
  *-input:0
       product: Sleep Button
       physical id: 1
       logical name: input0
       logical name: /dev/input/event0
       capabilities: platform
  *-input:1
       product: Power Button
       physical id: 2
       logical name: input1
       logical name: /dev/input/event1
       capabilities: platform
  *-input:2
       product: Power Button
       physical id: 3
       logical name: input2
       logical name: /dev/input/event2
       capabilities: platform
  *-input:3
       product: Video Bus
       physical id: 4
       logical name: input6
       logical name: /dev/input/event3
       capabilities: platform

おわりに

Linuxでハードウェアの情報を知りたい場合は、「dmidecode」に合わせて、「lshw」コマンドを使用するとOSよりの情報も知ることができます。

関連記事

関連書籍(Amazon)

N/A