
問題描述
我剛剛購買了一台新的寬螢幕顯示器(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