どのデバイスが故障したかをどうやって知ることができますか?

どのデバイスが故障したかをどうやって知ることができますか?

1つずつプラグを抜くだけでなく、定期的に次のようなスパムメッセージも受け取ります(約5分間隔)dmesg -w

[766815.453149] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?
[767077.289501] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?
[767086.925521] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?
[767125.821544] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?
[767131.049562] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?
[767155.309577] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?
[767246.089644] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?
[767270.581663] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?
[767433.853761] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?
[767509.977803] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?

私のものlsusb

Bus 003 Device 003: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE
Bus 003 Device 004: ID 0bc2:ab38 Seagate RSS LLC Backup Plus Hub (Mass Storage)
Bus 003 Device 002: ID 0bc2:ab45 Seagate RSS LLC Backup+ Hub
Bus 003 Device 006: ID 17ef:1015 Lenovo TP USB 3.0 Ultra Dock
Bus 003 Device 007: ID 17e9:4340 DisplayLink ThinkPad USB 3.0 Ultra Dock
Bus 003 Device 005: ID 17ef:1014 Lenovo TP USB 3.0 Ultra Dock
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 003: ID 0bc2:ab44 Seagate RSS LLC Backup Plus Hub
Bus 002 Device 117: ID 17ef:1015 Lenovo TP USB 3.0 Ultra Dock
Bus 002 Device 121: ID 0951:170f Kingston Technology HyperX SoloCast
Bus 002 Device 116: ID 17ef:1014 Lenovo TP USB 3.0 Ultra Dock
Bus 002 Device 120: ID 256c:006d  Huion Tablet_GT1562
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE
Bus 004 Device 002: ID 1058:25ee Western Digital Technologies, Inc. My Book 25EE
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 05ac:8290 Apple, Inc. Bluetooth Host Controller
Bus 001 Device 078: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 077: ID 1b3f:2008 Generalplus Technology Inc. USB Audio Device
Bus 001 Device 076: ID 258a:002a SINO WEALTH Gaming KB
Bus 001 Device 074: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 073: ID 2109:2811 VIA Labs, Inc. Hub
Bus 001 Device 072: ID 2109:2811 VIA Labs, Inc. Hub
Bus 001 Device 005: ID 26ce:01a2 ASRock LED Controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

0004ポート0004なし

修正する lsusb --tree:

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    |__ Port 2: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    |__ Port 4: Dev 40, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 1: Dev 41, If 5, Class=Communications, Driver=, 5000M
        |__ Port 1: Dev 41, If 3, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 1: Dev 41, If 1, Class=Application Specific Interface, Driver=, 5000M
        |__ Port 1: Dev 41, If 6, Class=CDC Data, Driver=, 5000M
        |__ Port 1: Dev 41, If 4, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 1: Dev 41, If 2, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 1: Dev 41, If 0, Class=Vendor Specific Class, Driver=, 5000M
        |__ Port 4: Dev 43, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 2: Dev 42, If 0, Class=Hub, Driver=hub/4p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    |__ Port 2: Dev 5, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 1: Dev 7, If 5, Class=Communications, Driver=, 5000M
        |__ Port 1: Dev 7, If 3, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 1: Dev 7, If 1, Class=Application Specific Interface, Driver=, 5000M
        |__ Port 1: Dev 7, If 6, Class=CDC Data, Driver=, 5000M
        |__ Port 1: Dev 7, If 4, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 1: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 1: Dev 7, If 0, Class=Vendor Specific Class, Driver=, 5000M
        |__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/4p, 5000M
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/3p, 5000M
        |__ Port 1: Dev 4, If 0, Class=Mass Storage, Driver=uas, 5000M
    |__ Port 4: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 1: Dev 125, If 2, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 1: Dev 125, If 0, Class=Human Interface Device, Driver=usbfs, 12M
    |__ Port 1: Dev 125, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 2: Dev 116, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 3: Dev 121, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 3: Dev 121, If 2, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 3: Dev 121, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 4: Dev 117, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 126, If 2, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 2: Dev 126, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        |__ Port 2: Dev 126, If 3, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 2: Dev 126, If 1, Class=Audio, Driver=snd-usb-audio, 12M
    |__ Port 3: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
    |__ Port 4: Dev 72, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 73, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 2: Dev 79, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 4: Dev 82, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            |__ Port 2: Dev 83, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 83, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 5: Dev 3, If 2, Class=Vendor Specific Class, Driver=btusb, 12M
    |__ Port 5: Dev 3, If 3, Class=Wireless, Driver=btusb, 12M
    |__ Port 5: Dev 3, If 4, Class=Vendor Specific Class, Driver=btusb, 12M
    |__ Port 5: Dev 3, If 5, Class=Application Specific Interface, Driver=, 12M
    |__ Port 10: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 12M

どのポートに問題があるのか​​、どうすればわかりますか?

ベストアンサー1

このメッセージは、USBバス4のUSBハブポート4に関連しています。ポートを有効にできないため、ポートに接続されているすべてのデバイスは習慣で見ることができますlsusb

したがって、USBデバイスのリストを作成してUSBデバイスがあることを確認する必要があります。リストにないlsusb出力から。ここはテストを始めるのに最適な場所です。

エラーメッセージにUSBバス4が記載されており、そのバスにはルートハブ()以外のハブがないため、Bus 004 Device 001問題を報告するポートは一部の外部USBハブではなく実際のコンピュータにあるようです。もちろん、Thunderbolt接続ドックなどのデバイスがある場合は、USBサブシステムに関する限り、「実際のコンピュータ」の一部と見なされる追加のUSBバスを提供できます。

それにもかかわらず、2つ以上のWD My Book 25EEポータブルハードドライブが接続されている部品を見つけて、USB経由でその部品に接続されている他のデバイスがあることを確認してください。

USBデバイスがかなり多いため、ツリー形式のリストにハブポート番号が含まれているため、lsusb --treeこれは一般的なものよりも便利です。lsusb

Bus 04ただし、エラーはハブポートで報告されるため、ポートレベルで問題が検出されるため、どのデバイスも表示したくありませんPort 4。 USBケーブルが短絡してデバイスとの通信が遮断されることがあります。そのケーブルのもう一方の端。ツリー構造の同じ「分岐」にある他のデバイスを確認してポートを識別する必要があります。

おすすめ記事