我试图使用有线鼠标和有线键盘,我的13“戴尔XPS运行Ubuntu (内核@ Linux 5.19.0-38-泛型),只有两个USB端口,通过一个USB对接站。
当连接到我的Ubuntu设备时,有线鼠标和键盘没有与USB集线器一起工作。如果使用Windows,相同的设置在相同的硬件中工作。
测试了不止一个有线鼠标(它们都在不同的计算机中工作)。带有USB适配器的无线鼠标也无法工作。
我的集线器识别外部显示器的DP连接,也识别外部HDs,但不识别较小的闪存。
在运行相同Ubuntu版本的HP Zbook上通过常规USB端口(而不是通过集线器)测试相同的有线组件时,所有设备都可以工作。
集线器为我连接的有线鼠标提供动力。
# with the USB Hub, with a DP monitor, wired mouse and wired keyboard connected to hub
lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:5517 Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 003 Device 002: ID 27c6:532d Shenzhen Goodix Technology Co.,Ltd. Fingerprint
Bus 003 Device 004: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# The two lines below are the diff when connecting the hub
Bus 002 Device 007: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 006: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
# without the USB Hub
lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0bda:5517 Realtek Semiconductor Corp. Integrated_Webcam_HD
Bus 003 Device 002: ID 27c6:532d Shenzhen Goodix Technology Co.,Ltd. Fingerprint
Bus 003 Device 004: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sudo dmesg -Hw
........
# disconnecting the device
[abr18 12:19] usb 2-3: USB disconnect, device number 8
[ +0,000007] usb 2-3.3: USB disconnect, device number 9
[ +0,001302] r8152 2-3.3:1.0 enx34298f73ac4b: Stop submitting intr, status -108
# reconnecting the device
[ +13,142854] usb 2-3: new SuperSpeed USB device number 10 using xhci_hcd
[ +0,048035] usb 2-3: New USB device found, idVendor=2109, idProduct=0817, bcdDevice=90.14
[ +0,000017] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ +0,000003] usb 2-3: Product: USB3.0 Hub
[ +0,000003] usb 2-3: Manufacturer: VIA Labs, Inc.
[ +0,000003] usb 2-3: SerialNumber: 000000000
[ +0,002106] hub 2-3:1.0: USB hub found
[ +0,000539] hub 2-3:1.0: 4 ports detected
[ +2,217332] usb 2-3.3: new SuperSpeed USB device number 11 using xhci_hcd
[ +0,020410] usb 2-3.3: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
[ +0,000011] usb 2-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[ +0,000004] usb 2-3.3: Product: USB 10/100/1000 LAN
[ +0,000002] usb 2-3.3: Manufacturer: Realtek
[ +0,000003] usb 2-3.3: SerialNumber: 000001
[ +0,083779] usb 2-3.3: reset SuperSpeed USB device number 11 using xhci_hcd
[ +0,046035] r8152 2-3.3:1.0: load rtl8153a-4 v2 02/07/20 successfully
[ +0,026758] r8152 2-3.3:1.0 eth0: v1.12.13
[ +0,056425] r8152 2-3.3:1.0 enx34298f73ac4b: renamed from eth0
xinput list
# Shows no diff when using or not using the USB hub with wired mouse and keyboard如果我尝试连接集线器的sudo dmesg -Hw,然后插入鼠标或键盘,什么都不会显示。
根据一个usb,在mambaforge/lib/udev/rules.d的唯一文件(即90-pulseaudio.rules )中注释掉所有的相似话题行。
此外,我还做了一个对PC usikng的探索,我无法真正得到任何地方,但可以提供这里,如果有任何帮助。
好像有这里描述的相关错误,但是..。当我导航到自己的/lib/modules/5.19.0-38-generic/kernel/drivers/usb时,这里唯一的文件是ledtrig-usbport.ko,而不是任何相关版本(例如https://github.com/torvalds/linux/tree/v5.19/drivers/usb/core)中显示的大量文件。想知道这是否指向了我的终端丢失的文件,即使在经常安装UbuntuInstallandsudo apt-get update之后也是如此。
提前谢谢!!
发布于 2023-04-15 02:30:40
原来我有一个扩展电缆(USB到USB),这是罪魁祸首。它在Windows中运行得很好,但很明显,Linux中的集线器( USB-B端口)的一部分是不兼容的。
https://askubuntu.com/questions/1463333
复制相似问题