檢查住機板型號
❯ sudo dmidecode -t 2
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: PRIME B250M-K
Version: Rev X.0x
Serial Number: 161190432104045
Asset Tag: Default string
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Default string
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0
檢查USB 等設備
KERNEL[3434.892293] add /devices/pci0000:00/0000:00:14.0/usb1/1-1 (usb)
KERNEL[3434.893220] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0 (usb)
KERNEL[3434.893454] bind /devices/pci0000:00/0000:00:14.0/usb1/1-1 (usb)
UDEV [3434.935105] add /devices/pci0000:00/0000:00:14.0/usb1/1-1 (usb)
KERNEL[3435.021095] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/host2 (scsi)
KERNEL[3435.022326] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/host2/scsi_host/host2 (scsi_host)
KERNEL[3435.022768] bind /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0 (usb)
檢查 SCSI 總線上有哪些串流設備
> sudo lsscsi
[2:0:0:0] disk General UDisk 5.00 /dev/sda
[N:0:0:1] disk CT500P1SSD8__1 /dev/nvme0n1
參考資料
Linux 如何查看 主機板型號