问题描述

问题描述

问题描述

我刚刚购买了一台新的宽屏显示器 (Dell Ultrasharp U4919DW),我在分屏模式下使用它,其中我的工作笔记本电脑的一侧与 DP 连接,另一侧我的私人笔记本电脑(均为 Lenovo ThinkPad)与 USB-C 连接。该显示器还有一个内置 USB 集线器,我已将键盘和鼠标连接到该集线器上。显示器提供了一种在笔记本电脑之间切换外围设备的方法(一个通过 USB-C 连接,另一个通过 USB 3 连接),我认为这有效(因此配置正确),因为一开始它是有效的。然而,当我切换到我的工作笔记本电脑(运行 Windows 10,按预期工作),然后切换回我的私人笔记本电脑(运行 Ubuntu)时,键盘和鼠标都没有被检测到。

我检查了应该是最新的驱动程序。但是,我不确定是否使用了正确的(见附件)。

我查看了输出dmesg -w,它显示设备已断开连接,但从未再次连接。

如果我将 USB-C 电缆从笔记本电脑中拔出并再次插入,当再次检测到 USB 集线器时,它会再次工作。

另外,如果我cat /dev/bus/usb/003/001(集线器的总线)它再次检测到设备。

我真的希望不必再次拔出和插入 USB-C 电缆,因为这真的很麻烦,并且破坏了拥有该功能的整体体验:=)

我希望你能帮助我,并要求进一步的日志或输出:)

值得注意的是,视频和数据都在同一个 USB-C 端口上运行(可能是驱动程序问题?)。

附件:

lsusb输出:

插入时:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 029: ID 0451:82ff Texas Instruments, Inc.
Bus 003 Device 028: ID 0451:8242 Texas Instruments, Inc.
Bus 003 Device 027: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 003 Device 031: ID 413c:2110 Dell Computer Corp.
Bus 003 Device 030: ID 413c:1010 Dell Computer Corp.
Bus 003 Device 026: ID 0451:8442 Texas Instruments, Inc.
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 005: ID 138a:0097 Validity Sensors, Inc.
Bus 001 Device 004: ID 13d3:5682 IMC Networks
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 008: ID 1199:9079 Sierra Wireless, Inc.
Bus 001 Device 006: ID 056a:50b8 Wacom Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

切换回来后:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
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 005: ID 138a:0097 Validity Sensors, Inc.
Bus 001 Device 004: ID 13d3:5682 IMC Networks
Bus 001 Device 003: ID 8087:0a2b Intel Corp.
Bus 001 Device 008: ID 1199:9079 Sierra Wireless, Inc.
Bus 001 Device 006: ID 056a:50b8 Wacom Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

dmesg -w输出:

交换集线器:

[26612.261206] usb 3-2: USB disconnect, device number 20
[26612.261215] usb 3-2.1: USB disconnect, device number 24
[26612.261220] usb 3-2.1.4: USB disconnect, device number 25
[26612.496703] usb 3-2.2: USB disconnect, device number 21
[26612.555497] usb 3-2.4: USB disconnect, device number 22
[26612.555994] usb 3-2.5: USB disconnect, device number 23

再次切换,什么也没有发生。跑步cat /dev/bus/usb/003/001

[26636.878929] usb 3-2: new high-speed USB device number 26 using xhci_hcd
[26636.899790] usb 3-2: New USB device found, idVendor=0451, idProduct=8442, bcdDevice= 1.00
[26636.899796] usb 3-2: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[26636.899800] usb 3-2: SerialNumber: 520100899856
[26636.900723] hub 3-2:1.0: USB hub found
[26636.900761] hub 3-2:1.0: 6 ports detected
[26637.187059] usb 3-2.2: new low-speed USB device number 27 using xhci_hcd
[26637.292037] usb 3-2.2: New USB device found, idVendor=046d, idProduct=c069, bcdDevice=56.01
[26637.292044] usb 3-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[26637.292048] usb 3-2.2: Product: USB Laser Mouse
[26637.292052] usb 3-2.2: Manufacturer: Logitech
[26637.303877] input: Logitech USB Laser Mouse as /devices/pci0000:00/0000:00:1d.0/0000:06:00.0/0000:07:02.0/0000:3c:00.0/usb3/3-2/3-2.2/3-2.2:1.0/0003:046D:C069.0064/input/input143
[26637.304366] hid-generic 0003:046D:C069.0064: input,hidraw2: USB HID v1.10 Mouse [Logitech USB Laser Mouse] on usb-0000:3c:00.0-2.2/input0
[26637.383038] usb 3-2.4: new high-speed USB device number 28 using xhci_hcd
[26637.407245] usb 3-2.4: New USB device found, idVendor=0451, idProduct=8242, bcdDevice= 1.00
[26637.407251] usb 3-2.4: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[26637.407255] usb 3-2.4: SerialNumber: 320108798C82
[26637.408443] hub 3-2.4:1.0: USB hub found
[26637.408511] hub 3-2.4:1.0: 2 ports detected
[26637.487049] usb 3-2.5: new high-speed USB device number 29 using xhci_hcd
[26637.511239] usb 3-2.5: New USB device found, idVendor=0451, idProduct=82ff, bcdDevice= 1.00
[26637.511247] usb 3-2.5: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[26637.511252] usb 3-2.5: SerialNumber: 520100899856
[26637.514732] hid-generic 0003:0451:82FF.0065: hiddev0,hidraw3: USB HID v1.11 Device [HID 0451:82ff] on usb-0000:3c:00.0-2.5/input0
[26637.743054] usb 3-2.1: new high-speed USB device number 30 using xhci_hcd
[26637.779756] usb 3-2.1: New USB device found, idVendor=413c, idProduct=1010, bcdDevice=32.98
[26637.779763] usb 3-2.1: New USB device strings: Mfr=0, Product=11, SerialNumber=0
[26637.779766] usb 3-2.1: Product: USB 2.0 Hub [MTT]
[26637.781487] hub 3-2.1:1.0: USB hub found
[26637.783268] hub 3-2.1:1.0: 4 ports detected
[26638.070958] usb 3-2.1.4: new low-speed USB device number 31 using xhci_hcd
[26638.178914] usb 3-2.1.4: New USB device found, idVendor=413c, idProduct=2110, bcdDevice= 0.06
[26638.178921] usb 3-2.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[26638.178924] usb 3-2.1.4: Product: Dell Wired Multimedia Keyboard
[26638.178928] usb 3-2.1.4: Manufacturer: Dell
[26638.193018] input: Dell Dell Wired Multimedia Keyboard as /devices/pci0000:00/0000:00:1d.0/0000:06:00.0/0000:07:02.0/0000:3c:00.0/usb3/3-2/3-2.1/3-2.1.4/3-2.1.4:1.0/0003:413C:2110.0066/input/input144
[26638.252082] hid-generic 0003:413C:2110.0066: input,hidraw4: USB HID v1.10 Keyboard [Dell Dell Wired Multimedia Keyboard] on usb-0000:3c:00.0-2.1.4/input0
[26638.265114] input: Dell Dell Wired Multimedia Keyboard Mouse as /devices/pci0000:00/0000:00:1d.0/0000:06:00.0/0000:07:02.0/0000:3c:00.0/usb3/3-2/3-2.1/3-2.1.4/3-2.1.4:1.1/0003:413C:2110.0067/input/input145
[26638.265604] input: Dell Dell Wired Multimedia Keyboard System Control as /devices/pci0000:00/0000:00:1d.0/0000:06:00.0/0000:07:02.0/0000:3c:00.0/usb3/3-2/3-2.1/3-2.1.4/3-2.1.4:1.1/0003:413C:2110.0067/input/input146
[26638.323670] input: Dell Dell Wired Multimedia Keyboard Consumer Control as /devices/pci0000:00/0000:00:1d.0/0000:06:00.0/0000:07:02.0/0000:3c:00.0/usb3/3-2/3-2.1/3-2.1.4/3-2.1.4:1.1/0003:413C:2110.0067/input/input147
[26638.324373] hid-generic 0003:413C:2110.0067: input,hiddev1,hidraw5: USB HID v1.10 Mouse [Dell Dell Wired Multimedia Keyboard] on usb-0000:3c:00.0-2.1.4/input1

相关内容