Skip to contentSkip to conversation

uas: disable UAS on Apricorn SATA dongles

PATCH In review Darrick J. Wong 3 participants 3 messages Dec 11, 2014 – Dec 12, 2014 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uas: disable UAS on Apricorn SATA dongles

The Apricorn SATA dongle will occasionally return "USBSUSBSUSB" in response to SCSI commands when running in UAS mode. Therefore, disable UAS mode on this dongle.

---
 drivers/usb/storage/unusual_uas.h |   10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/usb/storage/unusual_uas.h +10 -0
index 18a283d..3530cb0 100644
@@ -40,6 +40,16 @@
  * and don't forget to CC: the USB development list <[email protected]>
  */
 
+/*
+ * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
+ * commands in UAS mode.  Observed with the 1.28 firmware; are there others?
+ */
+UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
+		"Apricorn",
+		"",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+		US_FL_IGNORE_UAS),
+
 /* https://bugzilla.kernel.org/show_bug.cgi?id=79511 */
 UNUSUAL_DEV(0x0bc2, 0x2312, 0x0000, 0x9999,
 		"Seagate",

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

Acked-by
#2 lore raw

<Adding Greg and stable to the cc>

Quoted 5 lines · Darrick J. Wong

The Apricorn SATA dongle will occasionally return "USBSUSBSUSB" in response to SCSI commands when running in UAS mode. Therefore, disable UAS mode on this dongle.

Looks good:

Greg, can you add this to your tree please ?

Regards,

Hans

Quoted 16 lines
---
  drivers/usb/storage/unusual_uas.h |   10 ++++++++++
  1 file changed, 10 insertions(+)
drivers/usb/storage/unusual_uas.h +3 -0
index 18a283d..3530cb0 100644
@@ -40,6 +40,16 @@
   * and don't forget to CC: the USB development list <[email protected]>
   */
 
+/*
+ * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
+ * commands in UAS mode.  Observed with the 1.28 firmware; are there others?

drivers/usb/storage/unusual_uas.h line 55

Quoted 10 lines
drivers/usb/storage/unusual_uas.h +7 -0
+ */
+UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
+		"Apricorn",
+		"",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+		US_FL_IGNORE_UAS),
+
  /* https://bugzilla.kernel.org/show_bug.cgi?id=79511 */
  UNUSUAL_DEV(0x0bc2, 0x2312, 0x0000, 0x9999,
  		"Seagate",

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 7 lines · Hans de Goede

<Adding Greg and stable to the cc>

Quoted 4 lines · Darrick J. Wong

The Apricorn SATA dongle will occasionally return "USBSUSBSUSB" in response to SCSI commands when running in UAS mode. Therefore, disable UAS mode on this dongle.

Quoted 7 lines
Quoted 1 line

Looks good:

Greg, can you add this to your tree please ?

Sure, will queue up after 3.19-rc1 is out.

thanks,

greg k-h