GNU Linux-libre 4.4.283-gnu1
[releases.git] / drivers / usb / storage / unusual_uas.h
1 /* Driver for USB Attached SCSI devices - Unusual Devices File
2  *
3  *   (c) 2013 Hans de Goede <hdegoede@redhat.com>
4  *
5  * Based on the same file for the usb-storage driver, which is:
6  *   (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
7  *   (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
8  *
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU General Public License as published by the
11  * Free Software Foundation; either version 2, or (at your option) any
12  * later version.
13  *
14  * This program is distributed in the hope that it will be useful, but
15  * WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License along
20  * with this program; if not, write to the Free Software Foundation, Inc.,
21  * 675 Mass Ave, Cambridge, MA 02139, USA.
22  */
23
24 /*
25  * IMPORTANT NOTE: This file must be included in another file which defines
26  * a UNUSUAL_DEV macro before this file is included.
27  */
28
29 /*
30  * If you edit this file, please try to keep it sorted first by VendorID,
31  * then by ProductID.
32  *
33  * If you want to add an entry for this file, be sure to include the
34  * following information:
35  *      - a patch that adds the entry for your device, including your
36  *        email address right above the entry (plus maybe a brief
37  *        explanation of the reason for the entry),
38  *      - lsusb -v output for the device
39  * Send your submission to Hans de Goede <hdegoede@redhat.com>
40  * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>
41  */
42
43 /* Reported-by: Till Dörges <doerges@pre-sense.de> */
44 UNUSUAL_DEV(0x054c, 0x087d, 0x0000, 0x9999,
45                 "Sony",
46                 "PSZ-HA*",
47                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
48                 US_FL_NO_REPORT_OPCODES),
49
50 /* Reported-by: Julian Groß <julian.g@posteo.de> */
51 UNUSUAL_DEV(0x059f, 0x105f, 0x0000, 0x9999,
52                 "LaCie",
53                 "2Big Quadra USB3",
54                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
55                 US_FL_NO_REPORT_OPCODES),
56
57 /* Reported-by: Julian Sikorski <belegdol@gmail.com> */
58 UNUSUAL_DEV(0x059f, 0x1061, 0x0000, 0x9999,
59                 "LaCie",
60                 "Rugged USB3-FW",
61                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
62                 US_FL_IGNORE_UAS),
63
64 /*
65  * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
66  * commands in UAS mode.  Observed with the 1.28 firmware; are there others?
67  */
68 UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
69                 "Apricorn",
70                 "",
71                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
72                 US_FL_IGNORE_UAS),
73
74 /* https://bugzilla.kernel.org/show_bug.cgi?id=79511 */
75 UNUSUAL_DEV(0x0bc2, 0x2312, 0x0000, 0x9999,
76                 "Seagate",
77                 "Expansion Desk",
78                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
79                 US_FL_NO_ATA_1X),
80
81 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
82 UNUSUAL_DEV(0x0bc2, 0x3312, 0x0000, 0x9999,
83                 "Seagate",
84                 "Expansion Desk",
85                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
86                 US_FL_NO_ATA_1X),
87
88 /* Reported-by: David Webb <djw@noc.ac.uk> */
89 UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
90                 "Seagate",
91                 "Expansion Desk",
92                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
93                 US_FL_NO_REPORT_LUNS),
94
95 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
96 UNUSUAL_DEV(0x0bc2, 0x3320, 0x0000, 0x9999,
97                 "Seagate",
98                 "Expansion Desk",
99                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
100                 US_FL_NO_ATA_1X),
101
102 /* Reported-by: Bogdan Mihalcea <bogdan.mihalcea@infim.ro> */
103 UNUSUAL_DEV(0x0bc2, 0xa003, 0x0000, 0x9999,
104                 "Seagate",
105                 "Backup Plus",
106                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
107                 US_FL_NO_ATA_1X),
108
109 /* Reported-by: Marcin Zajączkowski <mszpak@wp.pl> */
110 UNUSUAL_DEV(0x0bc2, 0xa013, 0x0000, 0x9999,
111                 "Seagate",
112                 "Backup Plus",
113                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
114                 US_FL_NO_ATA_1X),
115
116 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
117 UNUSUAL_DEV(0x0bc2, 0xa0a4, 0x0000, 0x9999,
118                 "Seagate",
119                 "Backup Plus Desk",
120                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
121                 US_FL_NO_ATA_1X),
122
123 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
124 UNUSUAL_DEV(0x0bc2, 0xab20, 0x0000, 0x9999,
125                 "Seagate",
126                 "Backup+ BK",
127                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
128                 US_FL_NO_ATA_1X),
129
130 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
131 UNUSUAL_DEV(0x0bc2, 0xab21, 0x0000, 0x9999,
132                 "Seagate",
133                 "Backup+ BK",
134                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
135                 US_FL_NO_ATA_1X),
136
137 /* Reported-by: G. Richard Bellamy <rbellamy@pteradigm.com> */
138 UNUSUAL_DEV(0x0bc2, 0xab2a, 0x0000, 0x9999,
139                 "Seagate",
140                 "BUP Fast HDD",
141                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
142                 US_FL_NO_ATA_1X),
143
144 /* Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> */
145 UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999,
146                 "Initio Corporation",
147                 "INIC-3069",
148                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
149                 US_FL_NO_ATA_1X | US_FL_IGNORE_RESIDUE),
150
151 /* Reported-by: Tom Arild Naess <tanaess@gmail.com> */
152 UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
153                 "JMicron",
154                 "JMS539",
155                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
156                 US_FL_NO_REPORT_OPCODES),
157
158 /* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
159 UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
160                 "JMicron",
161                 "JMS567",
162                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
163                 US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
164
165 /* Reported-by: David Kozub <zub@linux.fjfi.cvut.cz> */
166 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
167                 "JMicron",
168                 "JMS567",
169                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
170                 US_FL_BROKEN_FUA),
171
172 /* Reported-by: Thinh Nguyen <thinhn@synopsys.com> */
173 UNUSUAL_DEV(0x154b, 0xf00b, 0x0000, 0x9999,
174                 "PNY",
175                 "Pro Elite SSD",
176                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
177                 US_FL_NO_ATA_1X),
178
179 /* Reported-by: Thinh Nguyen <thinhn@synopsys.com> */
180 UNUSUAL_DEV(0x154b, 0xf00d, 0x0000, 0x9999,
181                 "PNY",
182                 "Pro Elite SSD",
183                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
184                 US_FL_NO_ATA_1X),
185
186 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
187 UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
188                 "VIA",
189                 "VL711",
190                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
191                 US_FL_NO_ATA_1X),
192
193 /* Reported-by: Icenowy Zheng <icenowy@aosc.io> */
194 UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999,
195                 "Norelsys",
196                 "NS1068X",
197                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
198                 US_FL_IGNORE_UAS),
199
200 /*
201  * Initially Reported-by: Takeo Nakayama <javhera@gmx.com>
202  * UAS Ignore Reported by Steven Ellis <sellis@redhat.com>
203  */
204 UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
205                 "JMicron",
206                 "JMS566",
207                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
208                 US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS),
209
210 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
211 UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
212                 "Hitachi",
213                 "External HDD",
214                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
215                 US_FL_IGNORE_UAS),
216
217 /* Reported-by: Richard Henderson <rth@redhat.com> */
218 UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999,
219                 "SimpleTech",
220                 "External HDD",
221                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
222                 US_FL_NO_REPORT_OPCODES),