我有一台没有文档的服务器,我打算购买一个 USB 3 的 USB 存储设备,现在我想知道服务器是否有 USB2 或 USB3。
我试过了
dmesg | grep usb
[ 1.337094] usbcore: registered new interface driver usbfs
[ 1.337101] usbcore: registered new interface driver hub
[ 1.337120] usbcore: registered new device driver usb
[ 1.545696] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.545699] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.545702] usb usb1: Product: EHCI Host Controller
[ 1.545704] usb usb1: Manufacturer: Linux 4.9.0-9-amd64 ehci_hcd
[ 1.545707] usb usb1: SerialNumber: 0000:00:1a.0
[ 1.565669] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.565671] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.565674] usb usb2: Product: EHCI Host Controller
[ 1.565676] usb usb2: Manufacturer: Linux 4.9.0-9-amd64 ehci_hcd
[ 1.565678] usb usb2: SerialNumber: 0000:00:1d.0
[ 1.873567] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 1.893527] usb 2-1: new high-speed USB device number 2 using ehci-pci
[ 2.021963] usb 1-1: New USB device found, idVendor=8087, idProduct=8008
[ 2.021976] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.041898] usb 2-1: New USB device found, idVendor=8087, idProduct=8000
[ 2.041899] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.309587] usb 1-1.3: new high-speed USB device number 3 using ehci-pci
[ 2.447522] usb 1-1.3: New USB device found, idVendor=0bb4, idProduct=2910
[ 2.447524] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.447525] usb 1-1.3: Product: portable SSD
[ 2.447526] usb 1-1.3: Manufacturer: Intenso
[ 2.447527] usb 1-1.3: SerialNumber: 07076349A77F4990
[ 2.449093] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 2.449841] scsi host5: usb-storage 1-1.3:1.0
[ 2.450040] usbcore: registered new interface driver usb-storage
[ 2.450551] usbcore: registered new interface driver uas
[ 2.525517] usb 1-1.5: new high-speed USB device number 4 using ehci-pci
[ 2.635029] usb 1-1.5: New USB device found, idVendor=03f0, idProduct=2212
[ 2.635034] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.635038] usb 1-1.5: Product: Officejet Pro L7600
[ 2.635041] usb 1-1.5: Manufacturer: HP
[ 2.635044] usb 1-1.5: SerialNumber: MY768550M5
[ 2.635883] usb-storage 1-1.5:1.3: USB Mass Storage device detected
[ 2.635995] scsi host6: usb-storage 1-1.5:1.3
[ 23.960989] usblp 1-1.5:1.1: usblp0: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x03F0 pid 0x2212
[ 23.961022] usbcore: registered new interface driver usblp
我不太了解,但在我看来好像只有 USB1 和 USB2
如果有其他方法可以检查?
从您的日志看来,系统具有 EHCI USB 控制器。这意味着 USB2。试试
grep
XHCI。我会使用提供的信息
dmidecode -t 2
来查找主板的型号。然后你可能会在网上找到规格。感谢 Krasi,我发现了 dmidecode 和选项:
dmidecode --type 连接器
所以我有 4 个 USB 3.0 端口