我有一个主板,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/