如何让usb 3.0驱动程序工作或检查它是否已经正常工作

# lsmod |grep xhc 

没有什么,但在dmesg

 # dmesg |grep xhc [ 0.650446] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 0.650450] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1 [ 0.651518] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x00109810 [ 0.651523] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported [ 0.651580] usb usb1: Manufacturer: Linux 4.2.0-25-generic xhci-hcd [ 0.659081] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 0.659083] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2 [ 0.659105] usb usb2: Manufacturer: Linux 4.2.0-25-generic xhci-hcd [ 0.969678] usb 1-5: new full-speed USB device number 2 using xhci_hcd [ 1.269906] usb 1-6: new low-speed USB device number 3 using xhci_hcd [ 1.722308] usb 1-11: new high-speed USB device number 4 using xhci_hcd [ 3487.664191] usb 1-1: new high-speed USB device number 5 using xhci_hcd [ 3555.543441] usb 1-1: reset high-speed USB device number 5 using xhci_hcd 

它已经在内核中内置了吗?

 #locate xhci /lib/modules/4.2.0-16-generic/kernel/drivers/usb/host/xhci-plat-hcd.ko /lib/modules/4.2.0-22-generic/kernel/drivers/usb/host/xhci-plat-hcd.ko /lib/modules/4.2.0-23-generic/kernel/drivers/usb/host/xhci-plat-hcd.ko /lib/modules/4.2.0-25-generic/kernel/drivers/usb/host/xhci-plat-hcd.ko /usr/src/linux-headers-4.2.0-16/... ... 

您可以使用例如lsusb -t检查USB设备。 还应列出正在使用的驱动程序以及设备连接的速度。

看起来驱动程序是在内核中构建的。 但您可以使用以下命令检查它。 当设置为y ,它内置在内核中。

grep -i xhci /boot/config-$(uname -r)

通常不需要_PLATFORM并将其设置为m ,这是一个可加载模块。

这很简单,我多年来一直使用Ubuntu和Ubuntu风味的发行版(Mint,Elementary OS等)来解决这个问题。 回到BIOS,打开USB 3.0,打开任何其他选项,但关闭传统的USB选项。

遗留usb的描述是,如果你关闭它,那将禁用任何不是“usb意识”的操作系统。 但是我想翻转开关,因为它是2018年,现在大多数操作系统都知道了。 它不应该起作用,但它解决了困扰我多年的问题。

我的usb 3.0现在完美运行。 我的理论是usb遗留与os对3.0的理解发生冲突,所以现在没有冲突。 如果它适合你,欢迎你。

我搜索了这么多,似乎没有其他人尝试或得出相同的结论。 我希望这有助于其他与之斗争的人。

如果BIOS中启用了USB 3.0端口,内核应自动接收并支持它们。 要确认您可以发出命令lspci -v | grep xhci lspci -v | grep xhci如果您的输出类似于:

 Kernel driver in use: xhci_hcd 

驱动程序是活动的并由内核提供。

在14.04(Trusty)和16.04(Xenial)下测试