lsusb -t查看系统中的USB拓扑,类似cat /sys/kernel/debug/usb/devices
[email protected]:/home/peng# lsusb -t/:Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M|__ Port 2: Dev 3, If 0, Class=Hub, Driver=hub/7p, 12M/:Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
/var/lib/usbutils/usb.ids还保存了很多设备商的VID信息
[email protected]:/home/peng# cat /var/lib/usbutils/usb.ids | grep King 7778Counterfeit flash drive [Kingston] 0100Kingston Flash Drive (128MB) c010Kingston FCR-HS2/ATA Card Reader07cbKingmax Technology, Inc. 4100Kingsun SF-620 Infrared Adapter 4959Kingsun KS-959 Infrared Adapter 0015Kingston DataTraveler ELITE 0016Kingston DataTraveler U3 0998Kingston Data Traveler2.0 Disk Driver 0999Kingston Data Traveler2.0 Disk Driver 6519Kingston DataTraveler 2.0 USB Stick 653cKingston DataTraveler 2.0 Stick (512M) 653dKingston DataTraveler 2.0 Stick (1GB) 6544TransMemory-Mini / Kingston DataTraveler 2.0 Stick (2GB) 6545Kingston DataTraveler 102/2.0 / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick0951Kingston Technology0d8aKing Jim Co., Ltd 00a3Smart King PRO Uninterruptible Power Supply (HID PDC)0e56Kingston Technology Company, Inc.0f8eKingnet Technology Co., Ltd13feKingston Technology Company Inc. 1f00Kingston DataTraveler / Patriot Xporter1687Kingmax Digital Inc.16dfKing Billion Electronics Co., Ltd. 2149EntropyKing Random Number Generator
lsusb -v查看系统中USB设备的详细信息
lsusb -v
7. lshw查看所有硬件摘要信息下面命令可以查看所有硬件摘要信息,并输出成一个html文件,把此html文件导出到电脑上,直接打开,可以清楚的看到硬件信息:
lshw -html > /hardware.html
8. lsscsi查看SCSI控制器设备的信息可以看到SCSI信息和所有虚拟磁盘以及光驱的信息,如果没有硬件SCSI控制器,那就不会返回信息:
[email protected]:/home/peng# lsscsi[2:0:0:0]diskVMware,VMware Virtual S 1.0/dev/sda [4:0:0:0]cd/dvdNECVMWar VMware SATA CD01 1.00/dev/sr0
插入一个U盘后再查看:
[email protected]:/home/peng# lsscsi[2:0:0:0]diskVMware,VMware Virtual S 1.0/dev/sda [4:0:0:0]cd/dvdNECVMWar VMware SATA CD01 1.00/dev/sr0 [33:0:0:0]diskKingston DataTraveler G21.00/dev/sdb
可以看到U盘为Kingston 。
9. 查看bios信息[email protected]:/home/peng# dmidecode -t bios# dmidecode 3.0Getting SMBIOS data from sysfs.SMBIOS 2.7 present.Handle 0x0000, DMI type 0, 24 bytesBIOS Information Vendor: Phoenix Technologies LTD Version: 6.00 Release Date: 07/29/2019 Address: 0xEA480 Runtime Size: 88960 bytes ROM Size: 64 kB Characteristics:ISA is supportedPCI is supportedPC Card (PCMCIA) is supportedPNP is supportedAPM is supportedBIOS is upgradeableBIOS shadowing is allowedESCD support is availableBoot from CD is supportedSelectable boot is supportedEDD is supportedPrint screen service is supported (int 5h)8042 keyboard services are supported (int 9h)Serial services are supported (int 14h)Printer services are supported (int 17h)CGA/mono video services are supported (int 10h)ACPI is supportedSmart battery is supportedBIOS boot specification is supportedFunction key-initiated network boot is supportedTargeted content distribution is supported BIOS Revision: 4.6 Firmware Revision: 0.0
dmidecode以一种可读的方式dump出机器的DMI(Desktop Management Interface)信息 。这些信息包括了硬件以及BIOS,既可以得到当前的配置,也可以得到系统支持的最大配置,比如说支持的最大内存数等 。
如果要查看所有有用的信息
dmidecode -q
里面包含了很多硬件信息 。
以上关于本文的内容,仅作参考!温馨提示:如遇健康、疾病相关的问题,请您及时就医或请专业人士给予相关指导!
「四川龙网」www.sichuanlong.com小编还为您精选了以下内容,希望对您有所帮助:- 考研如何查看档案
- 夫妻之间要不要查看对方手机 夫妻间该不该互看手机
- 移动硬盘灯亮但不读取 移动硬盘闪灯但读不出
- 联想yoga11s换固态硬盘 yoga 11s拆解
- 最安全长久的存储工具 移动硬盘容易坏吗能修好了
- 格式化硬盘操作方法 新买的移动硬盘如何分区
- 手机号码忘了怎么查号码多少 怎么查看本机号码
- 如果查看路由器SSID ssid是什么意思
- 共同好友能查看是谁吗 qq共同好友具体是谁
- 如果查看路由器SSID 网络ssid是什么意思