Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5420

Troubleshooting • Re: Raspberry pi 5: usb disk disconnects randomly

$
0
0
Thank you, the command returns this:
usb_max_current_enable=1

And this is the output of

Code:

sudo lsusb -v

Code:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               3.00  bDeviceClass            9 Hub  bDeviceSubClass         0  bDeviceProtocol         3  bMaxPacketSize0         9  idVendor           0x1d6b Linux Foundation  idProduct          0x0003 3.0 root hub  bcdDevice            6.01  iManufacturer           3 Linux 6.1.0-rpi7-rpi-2712 xhci-hcd  iProduct                2 xHCI Host Controller  iSerial                 1 xhci-hcd.1  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x001f    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0    bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower                0mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0      bInterfaceProtocol      0 Full speed (or root) hub      iInterface              0      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0004  1x 4 bytes        bInterval              12        bMaxBurst               0Hub Descriptor:  bLength              12  bDescriptorType      42  nNbrPorts             1  wHubCharacteristic 0x0009    Per-port power switching    Per-port overcurrent protection  bPwrOn2PwrGood       50 * 2 milli seconds  bHubContrCurrent      0 milli Ampere  bHubDecLat          0.0 micro seconds  wHubDelay             0 nano seconds  DeviceRemovable    0x00 Hub Port Status:   Port 1: 0000.02a0 5Gbps power Rx.DetectBinary Object Store Descriptor:  bLength                 5  bDescriptorType        15  wTotalLength       0x000f  bNumDeviceCaps          1  SuperSpeed USB Device Capability:    bLength                10    bDescriptorType        16    bDevCapabilityType      3    bmAttributes         0x02      Latency Tolerance Messages (LTM) Supported    wSpeedsSupported   0x0008      Device can operate at SuperSpeed (5Gbps)    bFunctionalitySupport   1      Lowest fully-functional device speed is Full Speed (12Mbps)    bU1DevExitLat          10 micro seconds    bU2DevExitLat        2047 micro secondsDevice Status:     0x0001  Self PoweredBus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               2.00  bDeviceClass            9 Hub  bDeviceSubClass         0  bDeviceProtocol         1 Single TT  bMaxPacketSize0        64  idVendor           0x1d6b Linux Foundation  idProduct          0x0002 2.0 root hub  bcdDevice            6.01  iManufacturer           3 Linux 6.1.0-rpi7-rpi-2712 xhci-hcd  iProduct                2 xHCI Host Controller  iSerial                 1 xhci-hcd.1  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x0019    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0    bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower                0mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0      bInterfaceProtocol      0 Full speed (or root) hub      iInterface              0      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0004  1x 4 bytes        bInterval              12Hub Descriptor:  bLength               9  bDescriptorType      41  nNbrPorts             2  wHubCharacteristic 0x0009    Per-port power switching    Per-port overcurrent protection    TT think time 8 FS bits  bPwrOn2PwrGood       10 * 2 milli seconds  bHubContrCurrent      0 milli Ampere  DeviceRemovable    0x00  PortPwrCtrlMask    0xff Hub Port Status:   Port 1: 0000.0100 power   Port 2: 0000.0100 powerDevice Status:     0x0001  Self PoweredBus 002 Device 002: ID 152d:1561 JMicron Technology Corp. / JMicron USA Technology Corp. JMS561U two ports SATA 6Gb/s bridgeDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               3.00  bDeviceClass            0  bDeviceSubClass         0  bDeviceProtocol         0  bMaxPacketSize0         9  idVendor           0x152d JMicron Technology Corp. / JMicron USA Technology Corp.  idProduct          0x1561 JMS561U two ports SATA 6Gb/s bridge  bcdDevice            1.04  iManufacturer           1 SABRENT  iProduct                2 SABRENT  iSerial                 3 DB98765432143  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x0079    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0    bmAttributes         0xc0      Self Powered    MaxPower                8mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           2      bInterfaceClass         8 Mass Storage      bInterfaceSubClass      6 SCSI      bInterfaceProtocol     80 Bulk-Only      iInterface              0      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            2          Transfer Type            Bulk          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0400  1x 1024 bytes        bInterval               0        bMaxBurst              15      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x02  EP 2 OUT        bmAttributes            2          Transfer Type            Bulk          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0400  1x 1024 bytes        bInterval               0        bMaxBurst              15    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       1      bNumEndpoints           4      bInterfaceClass         8 Mass Storage      bInterfaceSubClass      6 SCSI      bInterfaceProtocol     98      iInterface              0      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x01  EP 1 OUT        bmAttributes            2          Transfer Type            Bulk          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0400  1x 1024 bytes        bInterval               0        bMaxBurst               0        Command pipe (0x01)      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x82  EP 2 IN        bmAttributes            2          Transfer Type            Bulk          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0400  1x 1024 bytes        bInterval               0        bMaxBurst               0        MaxStreams             32        Status pipe (0x02)      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x83  EP 3 IN        bmAttributes            2          Transfer Type            Bulk          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0400  1x 1024 bytes        bInterval               0        bMaxBurst              15        MaxStreams             32        Data-in pipe (0x03)      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x04  EP 4 OUT        bmAttributes            2          Transfer Type            Bulk          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0400  1x 1024 bytes        bInterval               0        bMaxBurst               7        MaxStreams             32        Data-out pipe (0x04)Binary Object Store Descriptor:  bLength                 5  bDescriptorType        15  wTotalLength       0x0016  bNumDeviceCaps          2  USB 2.0 Extension Device Capability:    bLength                 7    bDescriptorType        16    bDevCapabilityType      2    bmAttributes   0x00000f0e      BESL Link Power Management (LPM) Supported    BESL value     3840 us  SuperSpeed USB Device Capability:    bLength                10    bDescriptorType        16    bDevCapabilityType      3    bmAttributes         0x00    wSpeedsSupported   0x000e      Device can operate at Full Speed (12Mbps)      Device can operate at High Speed (480Mbps)      Device can operate at SuperSpeed (5Gbps)    bFunctionalitySupport   1      Lowest fully-functional device speed is Full Speed (12Mbps)    bU1DevExitLat          10 micro seconds    bU2DevExitLat          32 micro secondsDevice Status:     0x000d  Self Powered  U1 Enabled  U2 EnabledBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               3.00  bDeviceClass            9 Hub  bDeviceSubClass         0  bDeviceProtocol         3  bMaxPacketSize0         9  idVendor           0x1d6b Linux Foundation  idProduct          0x0003 3.0 root hub  bcdDevice            6.01  iManufacturer           3 Linux 6.1.0-rpi7-rpi-2712 xhci-hcd  iProduct                2 xHCI Host Controller  iSerial                 1 xhci-hcd.0  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x001f    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0    bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower                0mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0      bInterfaceProtocol      0 Full speed (or root) hub      iInterface              0      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0004  1x 4 bytes        bInterval              12        bMaxBurst               0Hub Descriptor:  bLength              12  bDescriptorType      42  nNbrPorts             1  wHubCharacteristic 0x0009    Per-port power switching    Per-port overcurrent protection  bPwrOn2PwrGood       50 * 2 milli seconds  bHubContrCurrent      0 milli Ampere  bHubDecLat          0.0 micro seconds  wHubDelay             0 nano seconds  DeviceRemovable    0x00 Hub Port Status:   Port 1: 0000.0203 5Gbps power U0 enable connectBinary Object Store Descriptor:  bLength                 5  bDescriptorType        15  wTotalLength       0x000f  bNumDeviceCaps          1  SuperSpeed USB Device Capability:    bLength                10    bDescriptorType        16    bDevCapabilityType      3    bmAttributes         0x02      Latency Tolerance Messages (LTM) Supported    wSpeedsSupported   0x0008      Device can operate at SuperSpeed (5Gbps)    bFunctionalitySupport   1      Lowest fully-functional device speed is Full Speed (12Mbps)    bU1DevExitLat          10 micro seconds    bU2DevExitLat        2047 micro secondsDevice Status:     0x0001  Self PoweredBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubDevice Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               2.00  bDeviceClass            9 Hub  bDeviceSubClass         0  bDeviceProtocol         1 Single TT  bMaxPacketSize0        64  idVendor           0x1d6b Linux Foundation  idProduct          0x0002 2.0 root hub  bcdDevice            6.01  iManufacturer           3 Linux 6.1.0-rpi7-rpi-2712 xhci-hcd  iProduct                2 xHCI Host Controller  iSerial                 1 xhci-hcd.0  bNumConfigurations      1  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength       0x0019    bNumInterfaces          1    bConfigurationValue     1    iConfiguration          0    bmAttributes         0xe0      Self Powered      Remote Wakeup    MaxPower                0mA    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      bAlternateSetting       0      bNumEndpoints           1      bInterfaceClass         9 Hub      bInterfaceSubClass      0      bInterfaceProtocol      0 Full speed (or root) hub      iInterface              0      Endpoint Descriptor:        bLength                 7        bDescriptorType         5        bEndpointAddress     0x81  EP 1 IN        bmAttributes            3          Transfer Type            Interrupt          Synch Type               None          Usage Type               Data        wMaxPacketSize     0x0004  1x 4 bytes        bInterval              12Hub Descriptor:  bLength               9  bDescriptorType      41  nNbrPorts             2  wHubCharacteristic 0x0009    Per-port power switching    Per-port overcurrent protection    TT think time 8 FS bits  bPwrOn2PwrGood       10 * 2 milli seconds  bHubContrCurrent      0 milli Ampere  DeviceRemovable    0x00  PortPwrCtrlMask    0xff Hub Port Status:   Port 1: 0000.0100 power   Port 2: 0000.0100 powerDevice Status:     0x0001  Self Powered
The interested bus is

Code:

Bus 002 Device 002: ID 152d:1561 JMicron Technology Corp. / JMicron USA Technology Corp. JMS561U two ports SATA 6Gb/s bridge
Hm. Is the drive in a two-bay enclosure?

Statistics: Posted by ejolson — Sat Dec 09, 2023 8:05 pm



Viewing all articles
Browse latest Browse all 5420

Trending Articles