AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 1002782
Accepted
Max Muster
Max Muster
Asked: 2020-02-13 05:38:40 +0800 CST2020-02-13 05:38:40 +0800 CST 2020-02-13 05:38:40 +0800 CST

Linux 如何判断服务器是 USB2 还是 USB3

  • 772

我有一台没有文档的服务器,我打算购买一个 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

如果有其他方法可以检查?

usb
  • 2 2 个回答
  • 154 Views

2 个回答

  • Voted
  1. Best Answer
    Krasi
    2020-02-13T05:48:12+08:002020-02-13T05:48:12+08:00

    从您的日志看来,系统具有 EHCI USB 控制器。这意味着 USB2。试试grepXHCI。

    我会使用提供的信息dmidecode -t 2来查找主板的型号。然后你可能会在网上找到规格。

    • 1
  2. Max Muster
    2020-02-13T07:00:46+08:002020-02-13T07:00:46+08:00

    感谢 Krasi,我发现了 dmidecode 和选项:

    dmidecode --type 连接器

    所以我有 4 个 USB 3.0 端口

    Handle 0x001F, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: PS2
            Internal Connector Type: None
            External Reference Designator: Keyboard
            External Connector Type: PS/2
            Port Type: Keyboard Port
    
    Handle 0x0020, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: PS2
            Internal Connector Type: None
            External Reference Designator: PS2Mouse
            External Connector Type: PS/2
            Port Type: Mouse Port
    
    Handle 0x0021, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: VGA
            Internal Connector Type: None
            External Reference Designator: VGA
            External Connector Type: DB-15 female
            Port Type: Video Port
    
    Handle 0x0022, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: DisplayPort
            Internal Connector Type: None
            External Reference Designator: DisplayPort
            External Connector Type: Other
            Port Type: Video Port
    
    Handle 0x0023, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: DisplayPort
            Internal Connector Type: None
            External Reference Designator: DisplayPort 2
            External Connector Type: Other
            Port Type: Video Port
    
    Handle 0x0024, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: RJ45/USB
            Internal Connector Type: None
            External Reference Designator: LAN
            External Connector Type: RJ-45
            Port Type: Network Port
    
    Handle 0x0025, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: IN/OUT
            Internal Connector Type: None
            External Reference Designator: Rear line in
            External Connector Type: Mini DIN
            Port Type: Audio Port
    
    Handle 0x0026, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: IN/OUT
            Internal Connector Type: None
            External Reference Designator: Rear line out
            External Connector Type: Mini DIN
            Port Type: Audio Port
    
    Handle 0x0027, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: FRONT AUD
            Internal Connector Type: None
            External Reference Designator: Front mic in
            External Connector Type: Mini DIN
            Port Type: Audio Port
    
    Handle 0x0028, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: FRONT AUD
            Internal Connector Type: None
            External Reference Designator: Front headphone/line out
            External Connector Type: Mini DIN
            Port Type: Audio Port
    
    Handle 0x0029, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: SPKR
            Internal Connector Type: Other
            External Reference Designator: Not Specified
            External Connector Type: None
            Port Type: Other
    
    Handle 0x002A, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: Not Specified
            Internal Connector Type: Proprietary
            External Reference Designator: Front USB Port 1
            External Connector Type: Access Bus (USB)
            Port Type: USB
    
    Handle 0x002B, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: Not Specified
            Internal Connector Type: Proprietary
            External Reference Designator: Front USB Port 2
            External Connector Type: Access Bus (USB)
            Port Type: USB
    
    Handle 0x002C, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: Not Specified
            Internal Connector Type: None
            External Reference Designator: Front USB 3.0 Port 1
            External Connector Type: Access Bus (USB)
            Port Type: USB
    
    Handle 0x002D, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: Not Specified
            Internal Connector Type: None
            External Reference Designator: Front USB 3.0 Port 2
            External Connector Type: Access Bus (USB)
            Port Type: USB
    
    Handle 0x002E, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: REAR USB
            Internal Connector Type: None
            External Reference Designator: Rear USB Port 1
            External Connector Type: Access Bus (USB)
            Port Type: USB
    
    Handle 0x002F, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: REAR USB
            Internal Connector Type: None
            External Reference Designator: Rear USB Port 2
            External Connector Type: Access Bus (USB)
            Port Type: USB
    
    Handle 0x0030, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: RJ45/USB
            Internal Connector Type: None
            External Reference Designator: Rear USB Port 3
            External Connector Type: Access Bus (USB)
            Port Type: USB
    
    Handle 0x0031, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: RJ45/USB
            Internal Connector Type: None
            External Reference Designator: Rear USB Port 4
            External Connector Type: Access Bus (USB)
            Port Type: USB
    
    Handle 0x0032, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: USB
            Internal Connector Type: None
            External Reference Designator: Rear USB 3.0 Port 1
            External Connector Type: Access Bus (USB)
            Port Type: USB
    
    Handle 0x0033, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: USB
            Internal Connector Type: None
            External Reference Designator: Rear USB 3.0 Port 2
            External Connector Type: Access Bus (USB)
            Port Type: USB
    
    Handle 0x0034, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: MEDIA 3.0
            Internal Connector Type: Proprietary
            External Reference Designator: Not Specified
            External Connector Type: None
            Port Type: USB
    
    Handle 0x0035, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: SATA1
            Internal Connector Type: SAS/SATA Plug Receptacle
            External Reference Designator: Not Specified
            External Connector Type: None
            Port Type: SATA
    
    Handle 0x0036, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: MSATA
            Internal Connector Type: SAS/SATA Plug Receptacle
            External Reference Designator: Not Specified
            External Connector Type: None
            Port Type: SATA
    
    Handle 0x0037, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: SATAPWR
            Internal Connector Type: Other
            External Reference Designator: Not Specified
            External Connector Type: None
            Port Type: Other
    
    Handle 0x0038, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: CHFAN
            Internal Connector Type: Other
            External Reference Designator: Not Specified
            External Connector Type: None
            Port Type: Other
    
    Handle 0x0039, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: CHFAN2
            Internal Connector Type: Other
            External Reference Designator: Not Specified
            External Connector Type: None
            Port Type: Other
    
    Handle 0x003A, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: PB/LED (Power Button and Front LED)
            Internal Connector Type: Proprietary
            External Reference Designator: Not Specified
            External Connector Type: None
            Port Type: Other
    
    Handle 0x003E, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: HLCK
            Internal Connector Type: Other
            External Reference Designator: Not Specified
            External Connector Type: Other
            Port Type: Other
    
    Handle 0x003F, DMI type 8, 9 bytes
    Port Connector Information
            Internal Reference Designator: HSNR
            Internal Connector Type: Other
            External Reference Designator: Not Specified
            External Connector Type: Other
            Port Type: Other
    
    • 0

相关问题

  • 拔下 USB 设备时强制卸载内核模块?

  • 将软盘 A 驱动器映射到 USB

  • Rsyncing到USB驱动器时不时地失败

  • 外部 (USB) 硬盘驱动器/USB 存储介质的最佳文件系统

  • USB 软盘密钥

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve