1 From 113f6eb6d50cfa5e2a1cdcf1678b12661fa272ab Mon Sep 17 00:00:00 2001
2 From: Alan Stern <stern@rowland.harvard.edu>
3 Date: Thu, 21 Sep 2017 15:59:30 -0400
4 Subject: usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives
6 From: Alan Stern <stern@rowland.harvard.edu>
8 commit 113f6eb6d50cfa5e2a1cdcf1678b12661fa272ab upstream.
10 Kris Lindgren reports that without the NO_WP_DETECT flag, his Seagate
11 external disk drive fails all write accesses. This regresssion dates
12 back approximately to the start of the 4.x kernel releases.
14 Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
15 Reported-by: Kris Lindgren <kris.lindgren@gmail.com>
16 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19 drivers/usb/storage/unusual_devs.h | 7 +++++++
20 1 file changed, 7 insertions(+)
22 --- a/drivers/usb/storage/unusual_devs.h
23 +++ b/drivers/usb/storage/unusual_devs.h
24 @@ -1459,6 +1459,13 @@ UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0
25 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
28 +/* Reported by Kris Lindgren <kris.lindgren@gmail.com> */
29 +UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
32 + USB_SC_DEVICE, USB_PR_DEVICE, NULL,
33 + US_FL_NO_WP_DETECT ),
35 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,