Debian Codegraph @

drivers/usb/storage/unusual_uas.h

raw
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Driver for USB Attached SCSI devices - Unusual Devices File
4 *
5 * (c) 2013 Hans de Goede <[email protected]>
6 *
7 * Based on the same file for the usb-storage driver, which is:
8 * (c) 2000-2002 Matthew Dharm ([email protected])
9 * (c) 2000 Adam J. Richter ([email protected]), Yggdrasil Computing, Inc.
10 */
11
12 /*
13 * IMPORTANT NOTE: This file must be included in another file which defines
14 * a UNUSUAL_DEV macro before this file is included.
15 */
16
17 /*
18 * If you edit this file, please try to keep it sorted first by VendorID,
19 * then by ProductID.
20 *
21 * If you want to add an entry for this file, be sure to include the
22 * following information:
23 * - a patch that adds the entry for your device, including your
24 * email address right above the entry (plus maybe a brief
25 * explanation of the reason for the entry),
26 * - lsusb -v output for the device
27 * Send your submission to Hans de Goede <[email protected]>
28 * and don't forget to CC: the USB development list <[email protected]>
29 */
30
31 /* Reported-by: Till Dörges <[email protected]> */
32 UNUSUAL_DEV(0x054c, 0x087d, 0x0000, 0x9999,
33 "Sony",
34 "PSZ-HA*",
35 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
36 US_FL_NO_REPORT_OPCODES),
37
38 /*
39 * Initially Reported-by: Julian Groß <[email protected]>
40 * Further reports David C. Partridge <[email protected]>
41 */
42 UNUSUAL_DEV(0x059f, 0x105f, 0x0000, 0x9999,
43 "LaCie",
44 "2Big Quadra USB3",
45 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
46 US_FL_NO_REPORT_OPCODES | US_FL_NO_SAME),
47
48 /* Reported-by: Julian Sikorski <[email protected]> */
49 UNUSUAL_DEV(0x059f, 0x1061, 0x0000, 0x9999,
50 "LaCie",
51 "Rugged USB3-FW",
52 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
53 US_FL_NO_REPORT_OPCODES | US_FL_NO_SAME),
54
55 /* Reported-by: Zhihong Zhou <[email protected]> */
56 UNUSUAL_DEV(0x0781, 0x55e8, 0x0000, 0x9999,
57 "SanDisk",
58 "",
59 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
60 US_FL_IGNORE_UAS),
61
62 /* Reported-by: Hongling Zeng <[email protected]> */
63 UNUSUAL_DEV(0x090c, 0x2000, 0x0000, 0x9999,
64 "Hiksemi",
65 "External HDD",
66 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
67 US_FL_IGNORE_UAS),
68
69 /*
70 * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
71 * commands in UAS mode. Observed with the 1.28 firmware; are there others?
72 */
73 UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
74 "Apricorn",
75 "",
76 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
77 US_FL_IGNORE_UAS),
78
79 /* Reported-by: Tom Hu <[email protected]> */
80 UNUSUAL_DEV(0x0b05, 0x1932, 0x0000, 0x9999,
81 "ASUS",
82 "External HDD",
83 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
84 US_FL_IGNORE_UAS),
85
86 /* Reported-by: David Webb <[email protected]> */
87 UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
88 "Seagate",
89 "Expansion Desk",
90 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
91 US_FL_NO_REPORT_LUNS),
92
93 /* Reported-by: Oliver Neukum <[email protected]> */
94 UNUSUAL_DEV(0x125f, 0xa94a, 0x0160, 0x0160,
95 "ADATA",
96 "Portable HDD CH94",
97 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
98 US_FL_NO_ATA_1X),
99
100 /* Reported-by: Benjamin Tissoires <[email protected]> */
101 UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x0309,
102 "Initio Corporation",
103 "INIC-3069",
104 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
105 US_FL_NO_ATA_1X | US_FL_IGNORE_RESIDUE),
106
107 /* Reported-by: Tom Arild Naess <[email protected]> */
108 UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
109 "JMicron",
110 "JMS539",
111 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
112 US_FL_NO_REPORT_OPCODES),
113
114 /* Reported-by: Claudio Bizzarri <[email protected]> */
115 UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
116 "JMicron",
117 "JMS567",
118 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
119 US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
120
121 /* Reported-by: David Kozub <[email protected]> */
122 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
123 "JMicron",
124 "JMS567",
125 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
126 US_FL_BROKEN_FUA),
127
128 /* Reported by: Yaroslav Furman <[email protected]> */
129 UNUSUAL_DEV(0x152d, 0x0583, 0x0000, 0x9999,
130 "JMicron",
131 "JMS583Gen 2",
132 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
133 US_FL_NO_REPORT_OPCODES),
134
135 /* Reported-by: Sam Burkels <[email protected]> */
136 UNUSUAL_DEV(0x154b, 0xf009, 0x0000, 0x9999,
137 "PNY",
138 "PNY ELITE PSSD",
139 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
140 US_FL_NO_ATA_1X | US_FL_NO_REPORT_OPCODES),
141
142 /* Reported-by: Thinh Nguyen <[email protected]> */
143 UNUSUAL_DEV(0x154b, 0xf00b, 0x0000, 0x9999,
144 "PNY",
145 "Pro Elite SSD",
146 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
147 US_FL_NO_ATA_1X),
148
149 /* Reported-by: Thinh Nguyen <[email protected]> */
150 UNUSUAL_DEV(0x154b, 0xf00d, 0x0000, 0x9999,
151 "PNY",
152 "Pro Elite SSD",
153 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
154 US_FL_NO_ATA_1X),
155
156 /* Reported-by: Hongling Zeng <[email protected]> */
157 UNUSUAL_DEV(0x17ef, 0x3899, 0x0000, 0x9999,
158 "Thinkplus",
159 "External HDD",
160 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
161 US_FL_IGNORE_UAS),
162
163 /* Reported-by: Hans de Goede <[email protected]> */
164 UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
165 "VIA",
166 "VL711",
167 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
168 US_FL_NO_ATA_1X),
169
170 /* Reported-by: Icenowy Zheng <[email protected]> */
171 UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999,
172 "Norelsys",
173 "NS1068X",
174 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
175 US_FL_IGNORE_UAS),
176
177 /*
178 * Initially Reported-by: Takeo Nakayama <[email protected]>
179 * UAS Ignore Reported by Steven Ellis <[email protected]>
180 */
181 UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
182 "JMicron",
183 "JMS566",
184 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
185 US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS),
186
187 /* Reported-by: Hans de Goede <[email protected]> */
188 UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
189 "Hitachi",
190 "External HDD",
191 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
192 US_FL_IGNORE_UAS),
193
194 /* Reported-by: Richard Henderson <[email protected]> */
195 UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999,
196 "SimpleTech",
197 "External HDD",
198 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
199 US_FL_NO_REPORT_OPCODES),
200
201 /* "G-DRIVE" external HDD hangs on write without these.
202 * Patch submitted by Alexander Kappner <[email protected]>
203 */
204 UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
205 "SimpleTech",
206 "External HDD",
207 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
208 US_FL_ALWAYS_SYNC),