Re: [uas] ORICO 2588US3 USB HDD enclosure goes offline after idle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2016-09-05 at 14:31 +0300, Dmitry Gutov wrote:
> On 05.09.2016 14:19, Oliver Neukum wrote:
> 
> > You add the device to the kernel quirks list. But if
> > you don't use autosuspend, the point is moot.
> 
> The device does get spinned down (after not using it for a while, I have 
> to wait before it responds for the first time), but not sure which 
> method is used.

Well, it is supposed to spin down actually. The problem is
not spinning up again. I see three possibilities

1. Your drive is defective with respect to LPM.
   The attached patch will test that
2. It claims to not need START_STOP_UNIT but needs it
3. It reports some wierd error

> > Do you use LPM, as described in
> > Documentation/usb/power-management.txt
> > ?
> 
> Is this what you're looking for?
> 
> $ cat /sys/bus/usb/devices/2-1/power/usb3_hardware_lpm_u1
> enabled
> 
> $ cat /sys/bus/usb/devices/2-1/power/usb3_hardware_lpm_u2
> enabled

Could you apply the attached patch, enable SCSI logging (with
scsi_logging_level) and retest?

	Regards
		Oliver



From c3e03c4946727a73de1777372f9f626b083cce1d Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@xxxxxxxx>
Date: Tue, 6 Sep 2016 11:52:33 +0200
Subject: [PATCH] uas: experimentally NO_LPM quirk

Add USB_QUIRK_NO_LPM for ORICO 2588US3 USB HDD

Signed-off-by: Oliver Neukum <oneukum@xxxxxxxx>
---
 drivers/usb/core/quirks.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index d2e50a2..81e1d33 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -211,6 +211,9 @@ static const struct usb_device_id usb_quirk_list[] = {
 	/* Blackmagic Design UltraStudio SDI */
 	{ USB_DEVICE(0x1edb, 0xbd4f), .driver_info = USB_QUIRK_NO_LPM },
 
+	/* ORICO 2588US3 USB HDD */
+	{ USB_DEVICE(0x357d, 0x7788), .driver_info = USB_QUIRK_NO_LPM },
+
 	/* INTEL VALUE SSD */
 	{ USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
 
-- 
2.1.4


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux