問題の説明

問題の説明

問題の説明

新しいワイドスクリーン モニター (Dell Ultrasharp U4919DW) を購入し、分割画面モードで使用しています。片側には仕事用のノート PC が DP で接続され、もう片側にはプライベート用のノート PC (どちらも Lenovo ThinkPad) が USB-C で接続されています。モニターには USB ハブも内蔵されており、キーボードとマウスを接続しています。モニターにはノート PC 間で周辺機器を切り替える方法があり (1 つは USB-C 経由で接続し、もう 1 つは USB 3 経由で接続)、最初は機能するため、これは機能している (したがって正しく構成されている) と思います。ただし、仕事用のノート PC (Windows 10 を実行、これは期待どおりに機能) に切り替えてから、プライベート用のノート PC (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

関連情報