]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
usb-storage: unusual_devs entry to fix write-access regression for Seagate external...
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 21 Sep 2017 19:59:30 +0000 (15:59 -0400)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 19 Oct 2017 14:48:40 +0000 (09:48 -0500)
BugLink: http://bugs.launchpad.net/bugs/1723145
commit 113f6eb6d50cfa5e2a1cdcf1678b12661fa272ab upstream.

Kris Lindgren reports that without the NO_WP_DETECT flag, his Seagate
external disk drive fails all write accesses.  This regresssion dates
back approximately to the start of the 4.x kernel releases.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Kris Lindgren <kris.lindgren@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/usb/storage/unusual_devs.h

index 6bcc1505f9c1c8311920fb0fd8e63b9a29607daa..9916ebdf48b4e2c9ce8f8e3eaa4f51bc0e093355 100644 (file)
@@ -1466,6 +1466,13 @@ UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
                USB_SC_DEVICE, USB_PR_DEVICE, NULL,
                US_FL_SANE_SENSE ),
 
+/* Reported by Kris Lindgren <kris.lindgren@gmail.com> */
+UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
+               "Seagate",
+               "External",
+               USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+               US_FL_NO_WP_DETECT ),
+
 UNUSUAL_DEV(  0x0d49, 0x7310, 0x0000, 0x9999,
                "Maxtor",
                "USB to SATA",