]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/3.14.44/usb-storage-add-no_wp_detect-quirk-for-lacie-059f-0651-devices.patch
4.14-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.14.44 / usb-storage-add-no_wp_detect-quirk-for-lacie-059f-0651-devices.patch
1 From 172115090f5e739660b97694618a2ba86457063a Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Thu, 30 Apr 2015 11:09:44 +0200
4 Subject: usb-storage: Add NO_WP_DETECT quirk for Lacie 059f:0651 devices
5
6 From: Hans de Goede <hdegoede@redhat.com>
7
8 commit 172115090f5e739660b97694618a2ba86457063a upstream.
9
10 Without this flag some versions of these enclosures do not work.
11
12 Reported-and-tested-by: Christian Schaller <cschalle@redhat.com>
13 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
14 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15
16 ---
17 drivers/usb/storage/unusual_devs.h | 7 +++++++
18 1 file changed, 7 insertions(+)
19
20 --- a/drivers/usb/storage/unusual_devs.h
21 +++ b/drivers/usb/storage/unusual_devs.h
22 @@ -760,6 +760,13 @@ UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x
23 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
24 US_FL_GO_SLOW ),
25
26 +/* Reported by Christian Schaller <cschalle@redhat.com> */
27 +UNUSUAL_DEV( 0x059f, 0x0651, 0x0000, 0x0000,
28 + "LaCie",
29 + "External HDD",
30 + USB_SC_DEVICE, USB_PR_DEVICE, NULL,
31 + US_FL_NO_WP_DETECT ),
32 +
33 /* Submitted by Joel Bourquard <numlock@freesurf.ch>
34 * Some versions of this device need the SubClass and Protocol overrides
35 * while others don't.