linux - USB端口在Gentoo Linux中不起作用

标签 linux linux-kernel usb hid libusb

我有一个主板,Gigabyte Z170-D3H,安装了新的Gentoo Linux(自编译内核4.9.6-Gentoo-r1)和两个USB设备(闪存驱动器和鼠标)。但是USB端口不工作。
当我输入lsblk时,只有我的系统磁盘sda
lspci | grep USB返回:

00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)

lsusb返回:
libusb: debug [libusb_init] created default context
libusb: debug [libusb_init] libusb v1.0.19.10903
libusb: error [op_init] could not find usbfs
unable to initialize libusb: -99

dmesg | grep 'USB\|usb'返回:
[    0.293570] ACPI: bus type USB registered
[    0.293665] usbcore: registered new interface driver usbfs
[    0.293756] usbcore: registered new interface driver hub
[    0.293850] usbcore: registered new device driver usb
[    0.987392] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.987449] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.987487] uhci_hcd: USB Universal Host Controller Interface driver
[    0.987548] usbcore: registered new interface driver usblp
[    0.987592] usbcore: registered new interface driver usb-storage
[    0.992362] usbcore: registered new interface driver usbhid
[    0.992376] usbhid: USB HID core driver

usb-devices不返回任何内容。
内核配置截图:
USB支持
HID总线支持

最佳答案

请将xhcd驱动程序的配置选项从M改为*并查看是否有效?我的建议是不要将XHCI驱动程序设置为可加载模块。

关于linux - USB端口在Gentoo Linux中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42732948/

相关文章:

linux - 如何通过ssh在多台服务器上执行命令?

c - 如何修复 copy_from_user 不起作用?

c# - Arduino串行监视器和java重置变量

java - 有没有Java Android代码可以从USB端口的数据线输出短脉冲?

linux - 使用选项 -D -R SessionName 时的 screen 消息 "Must be connected to a terminal"

linux - 丢失的 httpd.conf 文件位于 apache

linux - 授予模块参数 S_IWUGO 权限会导致编译错误(而 S_IRUGO 或 S_IXUGO 则不会)- 为什么?

linux - 一旦 linux 维护者应用了补丁,我何时以及在哪个 linux git 分支中可以看到我的补丁?

linux - 连接两个特定USB设备时运行linux程序

regex - 使用 sed 替换等长文本