xref: /linux/drivers/usb/storage/unusual_devs.h (revision b4ada0618eed0fbd1b1630f73deb048c592b06a1)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Driver for USB Mass Storage compliant devices
4  * Unusual Devices File
5  *
6  * Current development and maintenance by:
7  *   (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
8  *
9  * Initial work by:
10  *   (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
11  */
12 
13 /*
14  * IMPORTANT NOTE: This file must be included in another file which does
15  * the following thing for it to work:
16  * The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
17  * before this file is included.
18  */
19 
20 /*
21  * If you edit this file, please try to keep it sorted first by VendorID,
22  * then by ProductID.
23  *
24  * If you want to add an entry for this file, be sure to include the
25  * following information:
26  *	- a patch that adds the entry for your device, including your
27  *	  email address right above the entry (plus maybe a brief
28  *	  explanation of the reason for the entry),
29  *	- a copy of /sys/kernel/debug/usb/devices with your device plugged in
30  *	  running with this patch.
31  * Send your submission to the USB development list <linux-usb@vger.kernel.org>
32  */
33 
34 /*
35  * Note: If you add an entry only in order to set the CAPACITY_OK flag,
36  * use the COMPLIANT_DEV macro instead of UNUSUAL_DEV.  This is
37  * because such entries mark devices which actually work correctly,
38  * as opposed to devices that do something strangely or wrongly.
39  */
40 
41 /*
42  * In-kernel mode switching is deprecated.  Do not add new devices to
43  * this list for the sole purpose of switching them to a different
44  * mode.  Existing userspace solutions are superior.
45  *
46  * New mode switching devices should instead be added to the database
47  * maintained at https://www.draisberghof.de/usb_modeswitch/
48  */
49 
50 #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
51 		!defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
52 #define NO_SDDR09
53 #endif
54 
55 /* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr> */
56 UNUSUAL_DEV(  0x03eb, 0x2002, 0x0100, 0x0100,
57 		"ATMEL",
58 		"SND1 Storage",
59 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
60 		US_FL_IGNORE_RESIDUE),
61 
62 /* Reported by Rodolfo Quesada <rquesada@roqz.net> */
63 UNUSUAL_DEV(  0x03ee, 0x6906, 0x0003, 0x0003,
64 		"VIA Technologies Inc.",
65 		"Mitsumi multi cardreader",
66 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
67 		US_FL_IGNORE_RESIDUE ),
68 
69 UNUSUAL_DEV(  0x03f0, 0x0107, 0x0200, 0x0200,
70 		"HP",
71 		"CD-Writer+",
72 		USB_SC_8070, USB_PR_CB, NULL, 0),
73 
74 /* Reported by Ben Efros <ben@pc-doctor.com> */
75 UNUSUAL_DEV(  0x03f0, 0x070c, 0x0000, 0x0000,
76 		"HP",
77 		"Personal Media Drive",
78 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
79 		US_FL_SANE_SENSE ),
80 
81 /*
82  * Reported by Grant Grundler <grundler@parisc-linux.org>
83  * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
84  */
85 UNUSUAL_DEV(  0x03f0, 0x4002, 0x0001, 0x0001,
86 		"HP",
87 		"PhotoSmart R707",
88 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
89 
90 UNUSUAL_DEV(  0x03f3, 0x0001, 0x0000, 0x9999,
91 		"Adaptec",
92 		"USBConnect 2000",
93 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
94 		US_FL_SCM_MULT_TARG ),
95 
96 /*
97  * Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
98  * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
99  * for USB floppies that need the SINGLE_LUN enforcement.
100  */
101 UNUSUAL_DEV(  0x0409, 0x0040, 0x0000, 0x9999,
102 		"NEC",
103 		"NEC USB UF000x",
104 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
105 		US_FL_SINGLE_LUN ),
106 
107 /* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
108 UNUSUAL_DEV(  0x040d, 0x6205, 0x0003, 0x0003,
109 		"VIA Technologies Inc.",
110 		"USB 2.0 Card Reader",
111 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
112 		US_FL_IGNORE_RESIDUE ),
113 
114 /*
115  * Deduced by Jonathan Woithe <jwoithe@just42.net>
116  * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
117  * always fails and confuses drive.
118  */
119 UNUSUAL_DEV(  0x0411, 0x001c, 0x0113, 0x0113,
120 		"Buffalo",
121 		"DUB-P40G HDD",
122 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
123 		US_FL_FIX_INQUIRY ),
124 
125 /* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
126 UNUSUAL_DEV(  0x0419, 0x0100, 0x0100, 0x0100,
127 		"Samsung Info. Systems America, Inc.",
128 		"MP3 Player",
129 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
130 		US_FL_IGNORE_RESIDUE ),
131 
132 /* Reported by Orgad Shaneh <orgads@gmail.com> */
133 UNUSUAL_DEV(  0x0419, 0xaace, 0x0100, 0x0100,
134 		"Samsung", "MP3 Player",
135 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
136 		US_FL_IGNORE_RESIDUE ),
137 
138 /* Reported by Christian Leber <christian@leber.de> */
139 UNUSUAL_DEV(  0x0419, 0xaaf5, 0x0100, 0x0100,
140 		"TrekStor",
141 		"i.Beat 115 2.0",
142 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
143 		US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
144 
145 /* Reported by Stefan Werner <dustbln@gmx.de> */
146 UNUSUAL_DEV(  0x0419, 0xaaf6, 0x0100, 0x0100,
147 		"TrekStor",
148 		"i.Beat Joy 2.0",
149 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
150 		US_FL_IGNORE_RESIDUE ),
151 
152 /* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
153 UNUSUAL_DEV(  0x0420, 0x0001, 0x0100, 0x0100,
154 		"GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
155 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
156 		US_FL_IGNORE_RESIDUE ),
157 
158 /*
159  * Reported by Andrew Nayenko <relan@bk.ru>
160  * Updated for new firmware by Phillip Potter <phil@philpotter.co.uk>
161  */
162 UNUSUAL_DEV(  0x0421, 0x0019, 0x0592, 0x0610,
163 		"Nokia",
164 		"Nokia 6288",
165 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
166 		US_FL_MAX_SECTORS_64 ),
167 
168 /* Reported by Mario Rettig <mariorettig@web.de> */
169 UNUSUAL_DEV(  0x0421, 0x042e, 0x0100, 0x0100,
170 		"Nokia",
171 		"Nokia 3250",
172 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
173 		US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
174 
175 /* Reported by <honkkis@gmail.com> */
176 UNUSUAL_DEV(  0x0421, 0x0433, 0x0100, 0x0100,
177 		"Nokia",
178 		"E70",
179 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
180 		US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
181 
182 /* Reported by Jon Hart <Jon.Hart@web.de> */
183 UNUSUAL_DEV(  0x0421, 0x0434, 0x0100, 0x0100,
184 		"Nokia",
185 		"E60",
186 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
187 		US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
188 
189 /*
190  * Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
191  * Einar Th. Einarsson <einarthered@gmail.com>
192  */
193 UNUSUAL_DEV(  0x0421, 0x0444, 0x0100, 0x0100,
194 		"Nokia",
195 		"N91",
196 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
197 		US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
198 
199 /*
200  * Reported by Jiri Slaby <jirislaby@gmail.com> and
201  * Rene C. Castberg <Rene@Castberg.org>
202  */
203 UNUSUAL_DEV(  0x0421, 0x0446, 0x0100, 0x0100,
204 		"Nokia",
205 		"N80",
206 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
207 		US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
208 
209 /* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
210 UNUSUAL_DEV(  0x0421, 0x044e, 0x0100, 0x0100,
211 		"Nokia",
212 		"E61",
213 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
214 		US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
215 
216 /* Reported by Bardur Arantsson <bardur@scientician.net> */
217 UNUSUAL_DEV(  0x0421, 0x047c, 0x0370, 0x0610,
218 		"Nokia",
219 		"6131",
220 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
221 		US_FL_MAX_SECTORS_64 ),
222 
223 /* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
224 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
225 		"Nokia",
226 		"Nokia 6233",
227 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
228 		US_FL_MAX_SECTORS_64 ),
229 
230 /* Reported by Alex Corcoles <alex@corcoles.net> */
231 UNUSUAL_DEV(  0x0421, 0x0495, 0x0370, 0x0370,
232 		"Nokia",
233 		"6234",
234 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
235 		US_FL_MAX_SECTORS_64 ),
236 
237 /* Reported by Daniele Forsi <dforsi@gmail.com> */
238 UNUSUAL_DEV(  0x0421, 0x04b9, 0x0350, 0x0350,
239 		"Nokia",
240 		"5300",
241 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
242 		US_FL_MAX_SECTORS_64 ),
243 
244 /* Patch submitted by Victor A. Santos <victoraur.santos@gmail.com> */
245 UNUSUAL_DEV(  0x0421, 0x05af, 0x0742, 0x0742,
246 		"Nokia",
247 		"305",
248 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
249 		US_FL_MAX_SECTORS_64),
250 
251 /* Patch submitted by Mikhail Zolotaryov <lebon@lebon.org.ua> */
252 UNUSUAL_DEV(  0x0421, 0x06aa, 0x1110, 0x1110,
253 		"Nokia",
254 		"502",
255 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
256 		US_FL_MAX_SECTORS_64 ),
257 
258 /* Added by Lubomir Rintel <lkundrak@v3.sk>, a very fine chap */
259 UNUSUAL_DEV(  0x0421, 0x06c2, 0x0000, 0x0406,
260 		"Nokia",
261 		"Nokia 208",
262 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
263 		US_FL_MAX_SECTORS_64 ),
264 
265 #ifdef NO_SDDR09
266 UNUSUAL_DEV(  0x0436, 0x0005, 0x0100, 0x0100,
267 		"Microtech",
268 		"CameraMate",
269 		USB_SC_SCSI, USB_PR_CB, NULL,
270 		US_FL_SINGLE_LUN ),
271 #endif
272 
273 /*
274  * Patch submitted by Daniel Drake <dsd@gentoo.org>
275  * Device reports nonsense bInterfaceProtocol 6 when connected over USB2
276  */
277 UNUSUAL_DEV(  0x0451, 0x5416, 0x0100, 0x0100,
278 		"Neuros Audio",
279 		"USB 2.0 HD 2.5",
280 		USB_SC_DEVICE, USB_PR_BULK, NULL,
281 		US_FL_NEED_OVERRIDE ),
282 
283 /*
284  * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
285  * The key does not actually break, but it returns zero sense which
286  * makes our SCSI stack to print confusing messages.
287  */
288 UNUSUAL_DEV(  0x0457, 0x0150, 0x0100, 0x0100,
289 		"USBest Technology",	/* sold by Transcend */
290 		"USB Mass Storage Device",
291 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
292 
293 /*
294  * Bohdan Linda <bohdan.linda@gmail.com>
295  * 1GB USB sticks MyFlash High Speed. I have restricted
296  * the revision to my model only
297  */
298 UNUSUAL_DEV(  0x0457, 0x0151, 0x0100, 0x0100,
299 		"USB 2.0",
300 		"Flash Disk",
301 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
302 		US_FL_NOT_LOCKABLE ),
303 
304 /*
305  * Reported by Tamas Kerecsen <kerecsen@bigfoot.com>
306  * Obviously the PROM has not been customized by the VAR;
307  * the Vendor and Product string descriptors are:
308  *	Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
309  *	Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
310  */
311 UNUSUAL_DEV(  0x045e, 0xffff, 0x0000, 0x0000,
312 		"Mitac",
313 		"GPS",
314 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
315 		US_FL_MAX_SECTORS_64 ),
316 
317 /*
318  * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
319  * Reported by Pete Zaitcev <zaitcev@redhat.com>
320  * This device chokes on both version of MODE SENSE which we have, so
321  * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
322  */
323 UNUSUAL_DEV(  0x046b, 0xff40, 0x0100, 0x0100,
324 		"AMI",
325 		"Virtual Floppy",
326 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
327 		US_FL_NO_WP_DETECT),
328 
329 /* Reported by Egbert Eich <eich@suse.com> */
330 UNUSUAL_DEV(  0x0480, 0xd010, 0x0100, 0x9999,
331 		"Toshiba",
332 		"External USB 3.0",
333 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
334 		US_FL_ALWAYS_SYNC),
335 
336 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
337 UNUSUAL_DEV(  0x0482, 0x0100, 0x0100, 0x0100,
338 		"Kyocera",
339 		"Finecam S3x",
340 		USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
341 
342 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
343 UNUSUAL_DEV(  0x0482, 0x0101, 0x0100, 0x0100,
344 		"Kyocera",
345 		"Finecam S4",
346 		USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
347 
348 /* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
349 UNUSUAL_DEV(  0x0482, 0x0103, 0x0100, 0x0100,
350 		"Kyocera",
351 		"Finecam S5",
352 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
353 
354 /* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
355 UNUSUAL_DEV(  0x0482, 0x0107, 0x0100, 0x0100,
356 		"Kyocera",
357 		"CONTAX SL300R T*",
358 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
359 		US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
360 
361 /*
362  * Reported by Paul Stewart <stewart@wetlogic.net>
363  * This entry is needed because the device reports Sub=ff
364  */
365 UNUSUAL_DEV(  0x04a4, 0x0004, 0x0001, 0x0001,
366 		"Hitachi",
367 		"DVD-CAM DZ-MV100A Camcorder",
368 		USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
369 
370 /*
371  * BENQ DC5330
372  * Reported by Manuel Fombuena <mfombuena@ya.com> and
373  * Frank Copeland <fjc@thingy.apana.org.au>
374  */
375 UNUSUAL_DEV(  0x04a5, 0x3010, 0x0100, 0x0100,
376 		"Tekom Technologies, Inc",
377 		"300_CAMERA",
378 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
379 		US_FL_IGNORE_RESIDUE ),
380 
381 /*
382  * Patch for Nikon coolpix 2000
383  * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>
384  */
385 UNUSUAL_DEV(  0x04b0, 0x0301, 0x0010, 0x0010,
386 		"NIKON",
387 		"NIKON DSC E2000",
388 		USB_SC_DEVICE, USB_PR_DEVICE,NULL,
389 		US_FL_NOT_LOCKABLE ),
390 
391 /* Reported by Doug Maxey (dwm@austin.ibm.com) */
392 UNUSUAL_DEV(  0x04b3, 0x4001, 0x0110, 0x0110,
393 		"IBM",
394 		"IBM RSA2",
395 		USB_SC_DEVICE, USB_PR_CB, NULL,
396 		US_FL_MAX_SECTORS_MIN),
397 
398 /*
399  * Reported by Simon Levitt <simon@whattf.com>
400  * This entry needs Sub and Proto fields
401  */
402 UNUSUAL_DEV(  0x04b8, 0x0601, 0x0100, 0x0100,
403 		"Epson",
404 		"875DC Storage",
405 		USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
406 
407 /*
408  * Reported by Khalid Aziz <khalid@gonehiking.org>
409  * This entry is needed because the device reports Sub=ff
410  */
411 UNUSUAL_DEV(  0x04b8, 0x0602, 0x0110, 0x0110,
412 		"Epson",
413 		"785EPX Storage",
414 		USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
415 
416 /*
417  * Reported by James Buren <braewoods+lkml@braewoods.net>
418  * Virtual ISOs cannot be remounted if ejected while the device is locked
419  * Disable locking to mimic Windows behavior that bypasses the issue
420  */
421 UNUSUAL_DEV(  0x04c5, 0x2028, 0x0001, 0x0001,
422 		"iODD",
423 		"2531/2541",
424 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE),
425 
426 /*
427  * Not sure who reported this originally but
428  * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
429  * flag be added */
430 UNUSUAL_DEV(  0x04cb, 0x0100, 0x0000, 0x2210,
431 		"Fujifilm",
432 		"FinePix 1400Zoom",
433 		USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
434 
435 /*
436  * Reported by Ondrej Zary <linux@zary.sk>
437  * The device reports one sector more and breaks when that sector is accessed
438  * Firmwares older than 2.6c (the latest one and the only that claims Linux
439  * support) have also broken tag handling
440  */
441 UNUSUAL_DEV(  0x04ce, 0x0002, 0x0000, 0x026b,
442 		"ScanLogic",
443 		"SL11R-IDE",
444 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
445 		US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
446 UNUSUAL_DEV(  0x04ce, 0x0002, 0x026c, 0x026c,
447 		"ScanLogic",
448 		"SL11R-IDE",
449 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
450 		US_FL_FIX_CAPACITY),
451 
452 /*
453  * Reported by Kriston Fincher <kriston@airmail.net>
454  * Patch submitted by Sean Millichamp <sean@bruenor.org>
455  * This is to support the Panasonic PalmCam PV-SD4090
456  * This entry is needed because the device reports Sub=ff
457  */
458 UNUSUAL_DEV(  0x04da, 0x0901, 0x0100, 0x0200,
459 		"Panasonic",
460 		"LS-120 Camera",
461 		USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
462 
463 /*
464  * From Yukihiro Nakai, via zaitcev@yahoo.com.
465  * This is needed for CB instead of CBI
466  */
467 UNUSUAL_DEV(  0x04da, 0x0d05, 0x0000, 0x0000,
468 		"Sharp CE-CW05",
469 		"CD-R/RW Drive",
470 		USB_SC_8070, USB_PR_CB, NULL, 0),
471 
472 /* Reported by Adriaan Penning <a.penning@luon.net> */
473 UNUSUAL_DEV(  0x04da, 0x2372, 0x0000, 0x9999,
474 		"Panasonic",
475 		"DMC-LCx Camera",
476 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
477 		US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
478 
479 /* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
480 UNUSUAL_DEV(  0x04da, 0x2373, 0x0000, 0x9999,
481 		"LEICA",
482 		"D-LUX Camera",
483 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
484 		US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
485 
486 /*
487  * Most of the following entries were developed with the help of
488  * Shuttle/SCM directly.
489  */
490 UNUSUAL_DEV(  0x04e6, 0x0001, 0x0200, 0x0200,
491 		"Matshita",
492 		"LS-120",
493 		USB_SC_8020, USB_PR_CB, NULL, 0),
494 
495 UNUSUAL_DEV(  0x04e6, 0x0002, 0x0100, 0x0100,
496 		"Shuttle",
497 		"eUSCSI Bridge",
498 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
499 		US_FL_SCM_MULT_TARG ),
500 
501 #ifdef NO_SDDR09
502 UNUSUAL_DEV(  0x04e6, 0x0005, 0x0100, 0x0208,
503 		"SCM Microsystems",
504 		"eUSB CompactFlash Adapter",
505 		USB_SC_SCSI, USB_PR_CB, NULL,
506 		US_FL_SINGLE_LUN),
507 #endif
508 
509 /* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
510 UNUSUAL_DEV(  0x04e6, 0x0006, 0x0100, 0x0100,
511 		"SCM Microsystems Inc.",
512 		"eUSB MMC Adapter",
513 		USB_SC_SCSI, USB_PR_CB, NULL,
514 		US_FL_SINGLE_LUN),
515 
516 /* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
517 UNUSUAL_DEV(  0x04e6, 0x0006, 0x0205, 0x0205,
518 		"Shuttle",
519 		"eUSB MMC Adapter",
520 		USB_SC_SCSI, USB_PR_DEVICE, NULL,
521 		US_FL_SINGLE_LUN),
522 
523 UNUSUAL_DEV(  0x04e6, 0x0007, 0x0100, 0x0200,
524 		"Sony",
525 		"Hifd",
526 		USB_SC_SCSI, USB_PR_CB, NULL,
527 		US_FL_SINGLE_LUN),
528 
529 UNUSUAL_DEV(  0x04e6, 0x0009, 0x0200, 0x0200,
530 		"Shuttle",
531 		"eUSB ATA/ATAPI Adapter",
532 		USB_SC_8020, USB_PR_CB, NULL, 0),
533 
534 UNUSUAL_DEV(  0x04e6, 0x000a, 0x0200, 0x0200,
535 		"Shuttle",
536 		"eUSB CompactFlash Adapter",
537 		USB_SC_8020, USB_PR_CB, NULL, 0),
538 
539 UNUSUAL_DEV(  0x04e6, 0x000b, 0x0100, 0x0100,
540 		"Shuttle",
541 		"eUSCSI Bridge",
542 		USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
543 		US_FL_SCM_MULT_TARG ),
544 
545 UNUSUAL_DEV(  0x04e6, 0x000c, 0x0100, 0x0100,
546 		"Shuttle",
547 		"eUSCSI Bridge",
548 		USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
549 		US_FL_SCM_MULT_TARG ),
550 
551 UNUSUAL_DEV(  0x04e6, 0x000f, 0x0000, 0x9999,
552 		"SCM Microsystems",
553 		"eUSB SCSI Adapter (Bus Powered)",
554 		USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
555 		US_FL_SCM_MULT_TARG ),
556 
557 UNUSUAL_DEV(  0x04e6, 0x0101, 0x0200, 0x0200,
558 		"Shuttle",
559 		"CD-RW Device",
560 		USB_SC_8020, USB_PR_CB, NULL, 0),
561 
562 /* Reported by Dmitry Khlystov <adminimus@gmail.com> */
563 UNUSUAL_DEV(  0x04e8, 0x507c, 0x0220, 0x0220,
564 		"Samsung",
565 		"YP-U3",
566 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
567 		US_FL_MAX_SECTORS_64),
568 
569 /* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
570 UNUSUAL_DEV(  0x04e8, 0x5122, 0x0000, 0x9999,
571 		"Samsung",
572 		"YP-CP3",
573 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
574 		US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
575 
576 /* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
577 UNUSUAL_DEV(  0x04e8, 0x5136, 0x0000, 0x9999,
578 		"Samsung",
579 		"YP-Z3",
580 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
581 		US_FL_MAX_SECTORS_64),
582 
583 /*
584  * Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
585  * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
586  * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
587  */
588 UNUSUAL_DEV(  0x04fc, 0x80c2, 0x0100, 0x0100,
589 		"Kobian Mercury",
590 		"Binocam DCB-132",
591 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
592 		US_FL_BULK32),
593 
594 /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
595 UNUSUAL_DEV(  0x050d, 0x0115, 0x0133, 0x0133,
596 		"Belkin",
597 		"USB SCSI Adaptor",
598 		USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
599 		US_FL_SCM_MULT_TARG ),
600 
601 /*
602  * Iomega Clik! Drive
603  * Reported by David Chatenay <dchatenay@hotmail.com>
604  * The reason this is needed is not fully known.
605  */
606 UNUSUAL_DEV(  0x0525, 0xa140, 0x0100, 0x0100,
607 		"Iomega",
608 		"USB Clik! 40",
609 		USB_SC_8070, USB_PR_DEVICE, NULL,
610 		US_FL_FIX_INQUIRY ),
611 
612 /* Added by Alan Stern <stern@rowland.harvard.edu> */
613 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
614 		"Linux",
615 		"File-backed Storage Gadget",
616 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
617 		US_FL_CAPACITY_OK ),
618 
619 /*
620  * Yakumo Mega Image 37
621  * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
622 UNUSUAL_DEV(  0x052b, 0x1801, 0x0100, 0x0100,
623 		"Tekom Technologies, Inc",
624 		"300_CAMERA",
625 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
626 		US_FL_IGNORE_RESIDUE ),
627 
628 /*
629  * Another Yakumo camera.
630  * Reported by Michele Alzetta <michele.alzetta@aliceposta.it>
631  */
632 UNUSUAL_DEV(  0x052b, 0x1804, 0x0100, 0x0100,
633 		"Tekom Technologies, Inc",
634 		"300_CAMERA",
635 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
636 		US_FL_IGNORE_RESIDUE ),
637 
638 /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
639 UNUSUAL_DEV(  0x052b, 0x1807, 0x0100, 0x0100,
640 		"Tekom Technologies, Inc",
641 		"300_CAMERA",
642 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
643 		US_FL_IGNORE_RESIDUE ),
644 
645 /*
646  * Yakumo Mega Image 47
647  * Reported by Bjoern Paetzel <kolrabi@kolrabi.de>
648  */
649 UNUSUAL_DEV(  0x052b, 0x1905, 0x0100, 0x0100,
650 		"Tekom Technologies, Inc",
651 		"400_CAMERA",
652 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
653 		US_FL_IGNORE_RESIDUE ),
654 
655 /*
656  * Reported by Paul Ortyl <ortylp@3miasto.net>
657  * Note that it's similar to the device above, only different prodID
658  */
659 UNUSUAL_DEV(  0x052b, 0x1911, 0x0100, 0x0100,
660 		"Tekom Technologies, Inc",
661 		"400_CAMERA",
662 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
663 		US_FL_IGNORE_RESIDUE ),
664 
665 UNUSUAL_DEV(  0x054c, 0x0010, 0x0106, 0x0450,
666 		"Sony",
667 		"DSC-S30/S70/S75/505V/F505/F707/F717/P8",
668 		USB_SC_SCSI, USB_PR_DEVICE, NULL,
669 		US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
670 
671 /*
672  * Submitted by Lars Jacob <jacob.lars@googlemail.com>
673  * This entry is needed because the device reports Sub=ff
674  */
675 UNUSUAL_DEV(  0x054c, 0x0010, 0x0500, 0x0610,
676 		"Sony",
677 		"DSC-T1/T5/H5",
678 		USB_SC_8070, USB_PR_DEVICE, NULL,
679 		US_FL_SINGLE_LUN ),
680 
681 
682 /* Reported by wim@geeks.nl */
683 UNUSUAL_DEV(  0x054c, 0x0025, 0x0100, 0x0100,
684 		"Sony",
685 		"Memorystick NW-MS7",
686 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
687 		US_FL_SINGLE_LUN ),
688 
689 /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
690 UNUSUAL_DEV(  0x054c, 0x002c, 0x0501, 0x2000,
691 		"Sony",
692 		"USB Floppy Drive",
693 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
694 		US_FL_SINGLE_LUN ),
695 
696 UNUSUAL_DEV(  0x054c, 0x002d, 0x0100, 0x0100,
697 		"Sony",
698 		"Memorystick MSAC-US1",
699 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
700 		US_FL_SINGLE_LUN ),
701 
702 /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
703 UNUSUAL_DEV(  0x054c, 0x002e, 0x0106, 0x0310,
704 		"Sony",
705 		"Handycam",
706 		USB_SC_SCSI, USB_PR_DEVICE, NULL,
707 		US_FL_SINGLE_LUN ),
708 
709 /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
710 UNUSUAL_DEV(  0x054c, 0x002e, 0x0500, 0x0500,
711 		"Sony",
712 		"Handycam HC-85",
713 		USB_SC_UFI, USB_PR_DEVICE, NULL,
714 		US_FL_SINGLE_LUN ),
715 
716 UNUSUAL_DEV(  0x054c, 0x0032, 0x0000, 0x9999,
717 		"Sony",
718 		"Memorystick MSC-U01N",
719 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
720 		US_FL_SINGLE_LUN ),
721 
722 /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
723 UNUSUAL_DEV(  0x054c, 0x0058, 0x0000, 0x9999,
724 		"Sony",
725 		"PEG N760c Memorystick",
726 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
727 		US_FL_FIX_INQUIRY ),
728 
729 UNUSUAL_DEV(  0x054c, 0x0069, 0x0000, 0x9999,
730 		"Sony",
731 		"Memorystick MSC-U03",
732 		USB_SC_UFI, USB_PR_CB, NULL,
733 		US_FL_SINGLE_LUN ),
734 
735 /* Submitted by Nathan Babb <nathan@lexi.com> */
736 UNUSUAL_DEV(  0x054c, 0x006d, 0x0000, 0x9999,
737 		"Sony",
738 		"PEG Mass Storage",
739 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
740 		US_FL_FIX_INQUIRY ),
741 
742 /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
743 UNUSUAL_DEV(  0x054c, 0x0099, 0x0000, 0x9999,
744 		"Sony",
745 		"PEG Mass Storage",
746 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
747 		US_FL_FIX_INQUIRY ),
748 
749 /* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
750 UNUSUAL_DEV(  0x054c, 0x016a, 0x0000, 0x9999,
751 		"Sony",
752 		"PEG Mass Storage",
753 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
754 		US_FL_FIX_INQUIRY ),
755 
756 /* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
757 UNUSUAL_DEV(  0x054c, 0x02a5, 0x0100, 0x0100,
758 		"Sony Corp.",
759 		"MicroVault Flash Drive",
760 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
761 		US_FL_NO_READ_CAPACITY_16 ),
762 
763 /* floppy reports multiple luns */
764 UNUSUAL_DEV(  0x055d, 0x2020, 0x0000, 0x0210,
765 		"SAMSUNG",
766 		"SFD-321U [FW 0C]",
767 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
768 		US_FL_SINGLE_LUN ),
769 
770 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
771 UNUSUAL_DEV(  0x057b, 0x0000, 0x0000, 0x0299,
772 		"Y-E Data",
773 		"Flashbuster-U",
774 		USB_SC_DEVICE,  USB_PR_CB, NULL,
775 		US_FL_SINGLE_LUN),
776 
777 /*
778  * Reported by Johann Cardon <johann.cardon@free.fr>
779  * This entry is needed only because the device reports
780  * bInterfaceClass = 0xff (vendor-specific)
781  */
782 UNUSUAL_DEV(  0x057b, 0x0022, 0x0000, 0x9999,
783 		"Y-E Data",
784 		"Silicon Media R/W",
785 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
786 
787 /* Reported by RTE <raszilki@yandex.ru> */
788 UNUSUAL_DEV(  0x058f, 0x6387, 0x0141, 0x0141,
789 		"JetFlash",
790 		"TS1GJF2A/120",
791 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
792 		US_FL_MAX_SECTORS_64 ),
793 
794 /* Fabrizio Fellini <fello@libero.it> */
795 UNUSUAL_DEV(  0x0595, 0x4343, 0x0000, 0x2210,
796 		"Fujifilm",
797 		"Digital Camera EX-20 DSC",
798 		USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
799 
800 /*
801  * Reported by Andre Welter <a.r.welter@gmx.de>
802  * This antique device predates the release of the Bulk-only Transport
803  * spec, and if it gets a Get-Max-LUN then it requires the host to do a
804  * Clear-Halt on the bulk endpoints.  The SINGLE_LUN flag will prevent
805  * us from sending the request.
806  */
807 UNUSUAL_DEV(  0x059b, 0x0001, 0x0100, 0x0100,
808 		"Iomega",
809 		"ZIP 100",
810 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
811 		US_FL_SINGLE_LUN ),
812 
813 UNUSUAL_DEV(  0x059b, 0x0040, 0x0100, 0x0100,
814 		"Iomega",
815 		"Jaz USB Adapter",
816 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
817 		US_FL_SINGLE_LUN ),
818 
819 /* Reported by <Hendryk.Pfeiffer@gmx.de> */
820 UNUSUAL_DEV(  0x059f, 0x0643, 0x0000, 0x0000,
821 		"LaCie",
822 		"DVD+-RW",
823 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
824 		US_FL_GO_SLOW ),
825 
826 /* Reported by Christian Schaller <cschalle@redhat.com> */
827 UNUSUAL_DEV(  0x059f, 0x0651, 0x0000, 0x0000,
828 		"LaCie",
829 		"External HDD",
830 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
831 		US_FL_NO_WP_DETECT ),
832 
833 /*
834  * Submitted by Joel Bourquard <numlock@freesurf.ch>
835  * Some versions of this device need the SubClass and Protocol overrides
836  * while others don't.
837  */
838 UNUSUAL_DEV(  0x05ab, 0x0060, 0x1104, 0x1110,
839 		"In-System",
840 		"PyroGate External CD-ROM Enclosure (FCD-523)",
841 		USB_SC_SCSI, USB_PR_BULK, NULL,
842 		US_FL_NEED_OVERRIDE ),
843 
844 /*
845  * Submitted by Sven Anderson <sven-linux@anderson.de>
846  * There are at least four ProductIDs used for iPods, so I added 0x1202 and
847  * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
848  * to change with firmware updates, I changed the range to maximum for all
849  * iPod entries.
850  */
851 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
852 		"Apple",
853 		"iPod",
854 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
855 		US_FL_FIX_CAPACITY ),
856 
857 /* Reported by Avi Kivity <avi@argo.co.il> */
858 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
859 		"Apple",
860 		"iPod",
861 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
862 		US_FL_FIX_CAPACITY ),
863 
864 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
865 		"Apple",
866 		"iPod",
867 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
868 		US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
869 
870 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
871 		"Apple",
872 		"iPod",
873 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
874 		US_FL_FIX_CAPACITY ),
875 
876 /*
877  * Reported by Tyson Vinson <lornoss@gmail.com>
878  * This particular productId is the iPod Nano
879  */
880 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
881 		"Apple",
882 		"iPod",
883 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
884 		US_FL_FIX_CAPACITY ),
885 
886 /*
887  * Reported by Dan Williams <dcbw@redhat.com>
888  * Option N.V. mobile broadband modems
889  * Ignore driver CD mode and force into modem mode by default.
890  */
891 
892 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
893 UNUSUAL_DEV(  0x05c6, 0x1000, 0x0000, 0x9999,
894 		"Option N.V.",
895 		"Mass Storage",
896 		USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
897 		0),
898 
899 /* Reported by Blake Matheny <bmatheny@purdue.edu> */
900 UNUSUAL_DEV(  0x05dc, 0xb002, 0x0000, 0x0113,
901 		"Lexar",
902 		"USB CF Reader",
903 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
904 		US_FL_FIX_INQUIRY ),
905 
906 /*
907  * The following two entries are for a Genesys USB to IDE
908  * converter chip, but it changes its ProductId depending
909  * on whether or not a disk or an optical device is enclosed
910  * They were originally reported by Alexander Oltu
911  * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
912  * respectively.
913  *
914  * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
915  * <phil@ipom.com> as these flags were made and hard-coded
916  * special-cases were pulled from scsiglue.c.
917  */
918 UNUSUAL_DEV(  0x05e3, 0x0701, 0x0000, 0xffff,
919 		"Genesys Logic",
920 		"USB to IDE Optical",
921 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
922 		US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
923 
924 UNUSUAL_DEV(  0x05e3, 0x0702, 0x0000, 0xffff,
925 		"Genesys Logic",
926 		"USB to IDE Disk",
927 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
928 		US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
929 
930 /* Reported by Ben Efros <ben@pc-doctor.com> */
931 UNUSUAL_DEV(  0x05e3, 0x0723, 0x9451, 0x9451,
932 		"Genesys Logic",
933 		"USB to SATA",
934 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
935 		US_FL_SANE_SENSE ),
936 
937 /* Added by Maël GUERIN <mael.guerin@murena.io> */
938 UNUSUAL_DEV(  0x0603, 0x8611, 0x0000, 0xffff,
939 		"Novatek",
940 		"NTK96550-based camera",
941 		USB_SC_SCSI, USB_PR_BULK, NULL,
942 		US_FL_BULK_IGNORE_TAG ),
943 
944 /*
945  * Reported by Hanno Boeck <hanno@gmx.de>
946  * Taken from the Lycoris Kernel
947  */
948 UNUSUAL_DEV(  0x0636, 0x0003, 0x0000, 0x9999,
949 		"Vivitar",
950 		"Vivicam 35Xx",
951 		USB_SC_SCSI, USB_PR_BULK, NULL,
952 		US_FL_FIX_INQUIRY ),
953 
954 UNUSUAL_DEV(  0x0644, 0x0000, 0x0100, 0x0100,
955 		"TEAC",
956 		"Floppy Drive",
957 		USB_SC_UFI, USB_PR_CB, NULL, 0 ),
958 
959 /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
960 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
961 		"SigmaTel",
962 		"USBMSC Audio Player",
963 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
964 		US_FL_FIX_CAPACITY ),
965 
966 /* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
967 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
968 		"Prolific Technology, Inc.",
969 		"Prolific Storage Gadget",
970 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
971 		US_FL_BAD_SENSE ),
972 
973 /* Reported by Rogerio Brito <rbrito@ime.usp.br> */
974 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
975 		"Prolific Technology, Inc.",
976 		"Mass Storage Device",
977 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
978 		US_FL_NOT_LOCKABLE ),
979 
980 /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
981 /*
982  * Change to bcdDeviceMin (0x0100 to 0x0001) reported by
983  * Thomas Bartosik <tbartdev@gmx-topmail.de>
984  */
985 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
986 		"Prolific Technology Inc.",
987 		"Mass Storage Device",
988 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
989 		US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
990 
991 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
992 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
993 		"Prolific Technology Inc.",
994 		"ATAPI-6 Bridge Controller",
995 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
996 		US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
997 
998 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
999 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
1000 		"Minolta",
1001 		"Dimage F300",
1002 		USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
1003 
1004 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
1005 UNUSUAL_DEV(  0x0686, 0x4017, 0x0001, 0x0001,
1006 		"Minolta",
1007 		"DIMAGE E223",
1008 		USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
1009 
1010 UNUSUAL_DEV(  0x0693, 0x0005, 0x0100, 0x0100,
1011 		"Hagiwara",
1012 		"Flashgate",
1013 		USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
1014 
1015 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
1016 UNUSUAL_DEV(  0x069b, 0x3004, 0x0001, 0x0001,
1017 		"Thomson Multimedia Inc.",
1018 		"RCA RD1080 MP3 Player",
1019 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1020 		US_FL_FIX_CAPACITY ),
1021 
1022 UNUSUAL_DEV(  0x06ca, 0x2003, 0x0100, 0x0100,
1023 		"Newer Technology",
1024 		"uSCSI",
1025 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1026 		US_FL_SCM_MULT_TARG ),
1027 
1028 /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
1029 UNUSUAL_DEV(  0x071b, 0x3203, 0x0000, 0x0000,
1030 		"RockChip",
1031 		"MP3",
1032 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1033 		US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
1034 		US_FL_NO_READ_CAPACITY_16),
1035 
1036 /*
1037  * Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
1038  * Support the following product :
1039  *    "Dane-Elec MediaTouch"
1040  */
1041 UNUSUAL_DEV(  0x071b, 0x32bb, 0x0000, 0x0000,
1042 		"RockChip",
1043 		"MTP",
1044 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1045 		US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
1046 
1047 /*
1048  * Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
1049  * This USB MP3/AVI player device fails and disconnects if more than 128
1050  * sectors (64kB) are read/written in a single command, and may be present
1051  * at least in the following products:
1052  *   "Magnex Digital Video Panel DVP 1800"
1053  *   "MP4 AIGO 4GB SLOT SD"
1054  *   "Teclast TL-C260 MP3"
1055  *   "i.Meizu PMP MP3/MP4"
1056  *   "Speed MV8 MP4 Audio Player"
1057  */
1058 UNUSUAL_DEV(  0x071b, 0x3203, 0x0100, 0x0100,
1059 		"RockChip",
1060 		"ROCK MP3",
1061 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1062 		US_FL_MAX_SECTORS_64),
1063 
1064 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
1065 UNUSUAL_DEV(  0x0727, 0x0306, 0x0100, 0x0100,
1066 		"ATMEL",
1067 		"SND1 Storage",
1068 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1069 		US_FL_IGNORE_RESIDUE),
1070 
1071 /* Submitted by Roman Hodek <roman@hodek.net> */
1072 UNUSUAL_DEV(  0x0781, 0x0001, 0x0200, 0x0200,
1073 		"Sandisk",
1074 		"ImageMate SDDR-05a",
1075 		USB_SC_SCSI, USB_PR_CB, NULL,
1076 		US_FL_SINGLE_LUN ),
1077 
1078 UNUSUAL_DEV(  0x0781, 0x0002, 0x0009, 0x0009,
1079 		"SanDisk Corporation",
1080 		"ImageMate CompactFlash USB",
1081 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1082 		US_FL_FIX_CAPACITY ),
1083 
1084 UNUSUAL_DEV(  0x0781, 0x0100, 0x0100, 0x0100,
1085 		"Sandisk",
1086 		"ImageMate SDDR-12",
1087 		USB_SC_SCSI, USB_PR_CB, NULL,
1088 		US_FL_SINGLE_LUN ),
1089 
1090 /* Reported by Eero Volotinen <eero@ping-viini.org> */
1091 UNUSUAL_DEV(  0x07ab, 0xfccd, 0x0000, 0x9999,
1092 		"Freecom Technologies",
1093 		"FHD-Classic",
1094 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1095 		US_FL_FIX_CAPACITY),
1096 
1097 UNUSUAL_DEV(  0x07af, 0x0004, 0x0100, 0x0133,
1098 		"Microtech",
1099 		"USB-SCSI-DB25",
1100 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1101 		US_FL_SCM_MULT_TARG ),
1102 
1103 UNUSUAL_DEV(  0x07af, 0x0005, 0x0100, 0x0100,
1104 		"Microtech",
1105 		"USB-SCSI-HD50",
1106 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1107 		US_FL_SCM_MULT_TARG ),
1108 
1109 #ifdef NO_SDDR09
1110 UNUSUAL_DEV(  0x07af, 0x0006, 0x0100, 0x0100,
1111 		"Microtech",
1112 		"CameraMate",
1113 		USB_SC_SCSI, USB_PR_CB, NULL,
1114 		US_FL_SINGLE_LUN ),
1115 #endif
1116 
1117 /*
1118  * Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1119  * Only revision 1.13 tested (same for all of the above devices,
1120  * based on the Datafab DF-UG-07 chip).  Needed for US_FL_FIX_INQUIRY.
1121  * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
1122  * See also http://martin.wilck.bei.t-online.de/#kecf .
1123  */
1124 UNUSUAL_DEV(  0x07c4, 0xa400, 0x0000, 0xffff,
1125 		"Datafab",
1126 		"KECF-USB",
1127 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1128 		US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1129 
1130 /*
1131  * Reported by Rauch Wolke <rauchwolke@gmx.net>
1132  * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
1133  */
1134 UNUSUAL_DEV(  0x07c4, 0xa4a5, 0x0000, 0xffff,
1135 		"Simple Tech/Datafab",
1136 		"CF+SM Reader",
1137 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1138 		US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1139 
1140 /*
1141  * Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1142  * to the USB storage specification in two ways:
1143  * - They tell us they are using transport protocol CBI. In reality they
1144  *   are using transport protocol CB.
1145  * - They don't like the INQUIRY command. So we must handle this command
1146  *   of the SCSI layer ourselves.
1147  * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1148  *   bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1149  *   So don't remove the USB_PR_CB override!
1150  * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1151  */
1152 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1153 		"Casio",
1154 		"QV DigitalCamera",
1155 		USB_SC_8070, USB_PR_CB, NULL,
1156 		US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1157 
1158 /* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1159 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1160 		"Casio",
1161 		"EX-N1 DigitalCamera",
1162 		USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1163 
1164 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1165 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1166 		"Samsung",
1167 		"Digimax 410",
1168 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1169 		US_FL_FIX_INQUIRY),
1170 
1171 /* Reported by Luciano Rocha <luciano@eurotux.com> */
1172 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1173 		"Argosy",
1174 		"Storage",
1175 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1176 		US_FL_FIX_CAPACITY),
1177 
1178 /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1179 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1180 		"Argosy",
1181 		"Storage",
1182 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1183 		US_FL_FIX_CAPACITY),
1184 
1185 /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1186 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1187 		"Argosy",
1188 		"Storage",
1189 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1190 		US_FL_FIX_CAPACITY),
1191 
1192 /* Supplied with some Castlewood ORB removable drives */
1193 UNUSUAL_DEV(  0x084b, 0xa001, 0x0000, 0x9999,
1194 		"Castlewood Systems",
1195 		"USB to SCSI cable",
1196 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1197 		US_FL_SCM_MULT_TARG ),
1198 
1199 /*
1200  * Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1201  * Flag will support Bulk devices which use a standards-violating 32-byte
1202  * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1203  * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1204  */
1205 
1206 UNUSUAL_DEV(  0x084d, 0x0011, 0x0110, 0x0110,
1207 		"Grandtech",
1208 		"DC2MEGA",
1209 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1210 		US_FL_BULK32),
1211 
1212 /*
1213  * Reported by <ttkspam@free.fr>
1214  * The device reports a vendor-specific device class, requiring an
1215  * explicit vendor/product match.
1216  */
1217 UNUSUAL_DEV(  0x0851, 0x1542, 0x0002, 0x0002,
1218 		"MagicPixel",
1219 		"FW_Omega2",
1220 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1221 
1222 /*
1223  * Andrew Lunn <andrew@lunn.ch>
1224  * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1225  * on LUN 4.
1226  * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1227  */
1228 UNUSUAL_DEV(  0x0851, 0x1543, 0x0200, 0x0200,
1229 		"PanDigital",
1230 		"Photo Frame",
1231 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1232 		US_FL_NOT_LOCKABLE),
1233 
1234 UNUSUAL_DEV(  0x085a, 0x0026, 0x0100, 0x0133,
1235 		"Xircom",
1236 		"PortGear USB-SCSI (Mac USB Dock)",
1237 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1238 		US_FL_SCM_MULT_TARG ),
1239 
1240 UNUSUAL_DEV(  0x085a, 0x0028, 0x0100, 0x0133,
1241 		"Xircom",
1242 		"PortGear USB to SCSI Converter",
1243 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1244 		US_FL_SCM_MULT_TARG ),
1245 
1246 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1247 UNUSUAL_DEV(  0x08bd, 0x1100, 0x0000, 0x0000,
1248 		"CITIZEN",
1249 		"X1DE-USB",
1250 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1251 		US_FL_SINGLE_LUN),
1252 
1253 /*
1254  * Submitted by Dylan Taft <d13f00l@gmail.com>
1255  * US_FL_IGNORE_RESIDUE Needed
1256  */
1257 UNUSUAL_DEV(  0x08ca, 0x3103, 0x0100, 0x0100,
1258 		"AIPTEK",
1259 		"Aiptek USB Keychain MP3 Player",
1260 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1261 		US_FL_IGNORE_RESIDUE),
1262 
1263 /*
1264  * Entry needed for flags. Moreover, all devices with this ID use
1265  * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1266  * One example is "Trumpion Digital Research MYMP3".
1267  * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1268  */
1269 UNUSUAL_DEV(  0x090a, 0x1001, 0x0100, 0x0100,
1270 		"Trumpion",
1271 		"t33520 USB Flash Card Controller",
1272 		USB_SC_DEVICE, USB_PR_BULK, NULL,
1273 		US_FL_NEED_OVERRIDE ),
1274 
1275 /*
1276  * Reported by Filippo Bardelli <filibard@libero.it>
1277  * The device reports a subclass of RBC, which is wrong.
1278  */
1279 UNUSUAL_DEV(  0x090a, 0x1050, 0x0100, 0x0100,
1280 		"Trumpion Microelectronics, Inc.",
1281 		"33520 USB Digital Voice Recorder",
1282 		USB_SC_UFI, USB_PR_DEVICE, NULL,
1283 		0),
1284 
1285 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1286 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1287 		"Trumpion",
1288 		"MP3 player",
1289 		USB_SC_RBC, USB_PR_BULK, NULL,
1290 		0 ),
1291 
1292 /* aeb */
1293 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1294 		"Feiya",
1295 		"5-in-1 Card Reader",
1296 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1297 		US_FL_FIX_CAPACITY ),
1298 
1299 /*
1300  * Reported by Icenowy Zheng <icenowy@aosc.io>
1301  * The SMI SM3350 USB-UFS bridge controller will enter a wrong state
1302  * that do not process read/write command if a long sense is requested,
1303  * so force to use 18-byte sense.
1304  */
1305 UNUSUAL_DEV(  0x090c, 0x3350, 0x0000, 0xffff,
1306 		"SMI",
1307 		"SM3350 UFS-to-USB-Mass-Storage bridge",
1308 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1309 		US_FL_BAD_SENSE ),
1310 
1311 /*
1312  * Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1313  * This card reader returns "Illegal Request, Logical Block Address
1314  * Out of Range" for the first READ(10) after a new card is inserted.
1315  */
1316 UNUSUAL_DEV(  0x090c, 0x6000, 0x0100, 0x0100,
1317 		"Feiya",
1318 		"SD/SDHC Card Reader",
1319 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1320 		US_FL_INITIAL_READ10 ),
1321 
1322 /*
1323  * Patch by Tasos Sahanidis <tasos@tasossah.com>
1324  * This flash drive always shows up with write protect enabled
1325  * during the first mode sense.
1326  */
1327 UNUSUAL_DEV(0x0951, 0x1697, 0x0100, 0x0100,
1328 		"Kingston",
1329 		"DT Ultimate G3",
1330 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1331 		US_FL_NO_WP_DETECT),
1332 
1333 /*
1334  * This Pentax still camera is not conformant
1335  * to the USB storage specification: -
1336  * - It does not like the INQUIRY command. So we must handle this command
1337  *   of the SCSI layer ourselves.
1338  * Tested on Rev. 10.00 (0x1000)
1339  * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1340  */
1341 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1342 		"Pentax",
1343 		"Optio 2/3/400",
1344 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1345 		US_FL_FIX_INQUIRY ),
1346 
1347 /*
1348  * These are virtual windows driver CDs, which the zd1211rw driver
1349  * automatically converts into WLAN devices.
1350  */
1351 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1352 		"ZyXEL",
1353 		"G-220F USB-WLAN Install",
1354 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1355 		US_FL_IGNORE_DEVICE ),
1356 
1357 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1358 		"SiteCom",
1359 		"WL-117 USB-WLAN Install",
1360 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1361 		US_FL_IGNORE_DEVICE ),
1362 
1363 /*
1364  * Reported by Dan Williams <dcbw@redhat.com>
1365  * Option N.V. mobile broadband modems
1366  * Ignore driver CD mode and force into modem mode by default.
1367  */
1368 
1369 /* iCON 225 */
1370 UNUSUAL_DEV(  0x0af0, 0x6971, 0x0000, 0x9999,
1371 		"Option N.V.",
1372 		"Mass Storage",
1373 		USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1374 		0),
1375 
1376 /*
1377  * Reported by F. Aben <f.aben@option.com>
1378  * This device (wrongly) has a vendor-specific device descriptor.
1379  * The entry is needed so usb-storage can bind to it's mass-storage
1380  * interface as an interface driver
1381  */
1382 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1383 		"Option",
1384 		"GI 0401 SD-Card",
1385 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1386 		0 ),
1387 
1388 /*
1389  * Reported by Jan Dumon <j.dumon@option.com>
1390  * These devices (wrongly) have a vendor-specific device descriptor.
1391  * These entries are needed so usb-storage can bind to their mass-storage
1392  * interface as an interface driver
1393  */
1394 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1395 		"Option",
1396 		"GI 0431 SD-Card",
1397 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1398 		0 ),
1399 
1400 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1401 		"Option",
1402 		"GI 0451 SD-Card",
1403 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1404 		0 ),
1405 
1406 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1407 		"Option",
1408 		"GI 0451 SD-Card",
1409 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1410 		0 ),
1411 
1412 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1413 		"Option",
1414 		"GI 0452 SD-Card",
1415 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1416 		0 ),
1417 
1418 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1419 		"Option",
1420 		"GI 0461 SD-Card",
1421 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1422 		0 ),
1423 
1424 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1425 		"Option",
1426 		"GI 0461 SD-Card",
1427 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1428 		0 ),
1429 
1430 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1431 		"Option",
1432 		"GI 033x SD-Card",
1433 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1434 		0 ),
1435 
1436 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1437 		"Option",
1438 		"GI 033x SD-Card",
1439 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1440 		0 ),
1441 
1442 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1443 		"Option",
1444 		"GI 033x SD-Card",
1445 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1446 		0 ),
1447 
1448 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1449 		"Option",
1450 		"GI 070x SD-Card",
1451 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1452 		0 ),
1453 
1454 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1455 		"Option",
1456 		"GI 1505 SD-Card",
1457 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1458 		0 ),
1459 
1460 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1461 		"Option",
1462 		"GI 1509 SD-Card",
1463 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1464 		0 ),
1465 
1466 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1467 		"Option",
1468 		"GI 1515 SD-Card",
1469 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1470 		0 ),
1471 
1472 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1473 		"Option",
1474 		"GI 1215 SD-Card",
1475 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1476 		0 ),
1477 
1478 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1479 		"Option",
1480 		"GI 1505 SD-Card",
1481 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1482 		0 ),
1483 
1484 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1485 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1486 		"Seagate",
1487 		"Portable HDD",
1488 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1489 
1490 /* Reported by Ben Efros <ben@pc-doctor.com> */
1491 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1492 		"Seagate",
1493 		"FreeAgent Pro",
1494 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1495 		US_FL_SANE_SENSE ),
1496 
1497 /* Reported by Kris Lindgren <kris.lindgren@gmail.com> */
1498 UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
1499 		"Seagate",
1500 		"External",
1501 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1502 		US_FL_NO_WP_DETECT ),
1503 
1504 /*
1505  * Reported by Zenm Chen <zenmchen@gmail.com>
1506  * Ignore driver CD mode, otherwise usb_modeswitch may fail to switch
1507  * the device into Wi-Fi mode.
1508  */
1509 UNUSUAL_DEV( 0x0bda, 0x1a2b, 0x0000, 0xffff,
1510 		"Realtek",
1511 		"DISK",
1512 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1513 		US_FL_IGNORE_DEVICE ),
1514 
1515 /*
1516  * Reported by Zenm Chen <zenmchen@gmail.com>
1517  * Ignore driver CD mode, otherwise usb_modeswitch may fail to switch
1518  * the device into Wi-Fi mode.
1519  */
1520 UNUSUAL_DEV( 0x0bda, 0xa192, 0x0000, 0xffff,
1521 		"Realtek",
1522 		"DISK",
1523 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1524 		US_FL_IGNORE_DEVICE ),
1525 
1526 UNUSUAL_DEV(  0x0d49, 0x7310, 0x0000, 0x9999,
1527 		"Maxtor",
1528 		"USB to SATA",
1529 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1530 		US_FL_SANE_SENSE),
1531 
1532 /*
1533  * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1534  * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1535  */
1536 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1537 		"Unknown",
1538 		"Unknown",
1539 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1540 		US_FL_SINGLE_LUN ),
1541 
1542 /* Submitted by Joris Struyve <joris@struyve.be> */
1543 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1544 		"Medion",
1545 		"MD 7425",
1546 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1547 		US_FL_FIX_INQUIRY),
1548 
1549 /*
1550  * Entry for Jenoptik JD 5200z3
1551  *
1552  * email: car.busse@gmx.de
1553  */
1554 UNUSUAL_DEV(  0x0d96, 0x5200, 0x0001, 0x0200,
1555 		"Jenoptik",
1556 		"JD 5200 z3",
1557 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1558 
1559 /* Reported by  Jason Johnston <killean@shaw.ca> */
1560 UNUSUAL_DEV(  0x0dc4, 0x0073, 0x0000, 0x0000,
1561 		"Macpower Technology Co.LTD.",
1562 		"USB 2.0 3.5\" DEVICE",
1563 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1564 		US_FL_FIX_CAPACITY),
1565 
1566 /*
1567  * Reported by Lubomir Blaha <tritol@trilogic.cz>
1568  * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1569  * works for me. Can anybody correct these values? (I able to test corrected
1570  * version.)
1571  */
1572 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1573 		"Netac",
1574 		"USB-CF-Card",
1575 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1576 		US_FL_FIX_INQUIRY ),
1577 
1578 /*
1579  * Reported by Edward Chapman (taken from linux-usb mailing list)
1580  * Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive
1581  */
1582 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1583 		"Netac",
1584 		"USB Flash Disk",
1585 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1586 		US_FL_IGNORE_RESIDUE ),
1587 
1588 
1589 /*
1590  * Patch by Stephan Walter <stephan.walter@epfl.ch>
1591  * I don't know why, but it works...
1592  */
1593 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1594 		"WINWARD",
1595 		"Music Disk",
1596 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1597 		US_FL_IGNORE_RESIDUE ),
1598 
1599 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1600 UNUSUAL_DEV(  0x0dda, 0x0301, 0x0012, 0x0012,
1601 		"PNP_MP3",
1602 		"PNP_MP3 PLAYER",
1603 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1604 		US_FL_IGNORE_RESIDUE ),
1605 
1606 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1607 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1608 		"Cowon Systems",
1609 		"iAUDIO M5",
1610 		USB_SC_DEVICE, USB_PR_BULK, NULL,
1611 		US_FL_NEED_OVERRIDE ),
1612 
1613 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1614 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1615 		"USB",
1616 		"Solid state disk",
1617 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1618 		US_FL_FIX_INQUIRY ),
1619 
1620 /*
1621  * Submitted by Daniel Drake <dsd@gentoo.org>
1622  * Reported by dayul on the Gentoo Forums
1623  */
1624 UNUSUAL_DEV(  0x0ea0, 0x2168, 0x0110, 0x0110,
1625 		"Ours Technology",
1626 		"Flash Disk",
1627 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1628 		US_FL_IGNORE_RESIDUE ),
1629 
1630 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1631 UNUSUAL_DEV(  0x0ea0, 0x6828, 0x0110, 0x0110,
1632 		"USB",
1633 		"Flash Disk",
1634 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1635 		US_FL_IGNORE_RESIDUE ),
1636 
1637 /*
1638  * Reported by Benjamin Schiller <sbenni@gmx.de>
1639  * It is also sold by Easylite as DJ 20
1640  */
1641 UNUSUAL_DEV(  0x0ed1, 0x7636, 0x0103, 0x0103,
1642 		"Typhoon",
1643 		"My DJ 1820",
1644 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1645 		US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1646 
1647 /*
1648  * Patch by Leonid Petrov mail at lpetrov.net
1649  * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1650  * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1651  * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1652  */
1653 UNUSUAL_DEV(  0x0f19, 0x0103, 0x0100, 0x0100,
1654 		"Oracom Co., Ltd",
1655 		"ORC-200M",
1656 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1657 		US_FL_IGNORE_RESIDUE ),
1658 
1659 /*
1660  * David Kuehling <dvdkhlng@gmx.de>:
1661  * for MP3-Player AVOX WSX-300ER (bought in Japan).  Reports lots of SCSI
1662  * errors when trying to write.
1663  */
1664 UNUSUAL_DEV(  0x0f19, 0x0105, 0x0100, 0x0100,
1665 		"C-MEX",
1666 		"A-VOX",
1667 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1668 		US_FL_IGNORE_RESIDUE ),
1669 
1670 /* Submitted by Nick Holloway */
1671 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1672 		"VTech",
1673 		"Kidizoom",
1674 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1675 		US_FL_FIX_CAPACITY ),
1676 
1677 /* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
1678 UNUSUAL_DEV(  0x0fca, 0x8004, 0x0201, 0x0201,
1679 		"Research In Motion",
1680 		"BlackBerry Bold 9000",
1681 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1682 		US_FL_MAX_SECTORS_64 ),
1683 
1684 /* Reported by Michael Stattmann <michael@stattmann.com> */
1685 UNUSUAL_DEV(  0x0fce, 0xd008, 0x0000, 0x0000,
1686 		"Sony Ericsson",
1687 		"V800-Vodafone 802",
1688 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1689 		US_FL_NO_WP_DETECT ),
1690 
1691 /* Reported by The Solutor <thesolutor@gmail.com> */
1692 UNUSUAL_DEV(  0x0fce, 0xd0e1, 0x0000, 0x0000,
1693 		"Sony Ericsson",
1694 		"MD400",
1695 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1696 		US_FL_IGNORE_DEVICE),
1697 
1698 /*
1699  * Reported by Jan Mate <mate@fiit.stuba.sk>
1700  * and by Soeren Sonnenburg <kernel@nn7.de>
1701  */
1702 UNUSUAL_DEV(  0x0fce, 0xe030, 0x0000, 0x0000,
1703 		"Sony Ericsson",
1704 		"P990i",
1705 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1706 		US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1707 
1708 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1709 UNUSUAL_DEV(  0x0fce, 0xe031, 0x0000, 0x0000,
1710 		"Sony Ericsson",
1711 		"M600i",
1712 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1713 		US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1714 
1715 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1716 UNUSUAL_DEV(  0x0fce, 0xe092, 0x0000, 0x0000,
1717 		"Sony Ericsson",
1718 		"P1i",
1719 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1720 		US_FL_IGNORE_RESIDUE ),
1721 
1722 /*
1723  * Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1724  * Tested on hardware version 1.10.
1725  * Entry is needed only for the initializer function override.
1726  * Devices with bcd > 110 seem to not need it while those
1727  * with bcd < 110 appear to need it.
1728  */
1729 UNUSUAL_DEV(  0x1019, 0x0c55, 0x0000, 0x0110,
1730 		"Desknote",
1731 		"UCR-61S2B",
1732 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1733 		0 ),
1734 
1735 UNUSUAL_DEV(  0x1058, 0x0704, 0x0000, 0x9999,
1736 		"Western Digital",
1737 		"External HDD",
1738 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1739 		US_FL_SANE_SENSE),
1740 
1741 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1742 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1743 		"Western Digital",
1744 		"My Passport HDD",
1745 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1746 
1747 /*
1748  * Reported by Fabio Venturi <f.venturi@tdnet.it>
1749  * The device reports a vendor-specific bDeviceClass.
1750  */
1751 UNUSUAL_DEV(  0x10d6, 0x2200, 0x0100, 0x0100,
1752 		"Actions Semiconductor",
1753 		"Mtp device",
1754 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1755 		0),
1756 
1757 /*
1758  * Reported by Pascal Terjan <pterjan@mandriva.com>
1759  * Ignore driver CD mode and force into modem mode by default.
1760  */
1761 UNUSUAL_DEV(  0x1186, 0x3e04, 0x0000, 0x0000,
1762            "D-Link",
1763            "USB Mass Storage",
1764            USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1765 
1766 /*
1767  * Reported by Kevin Lloyd <linux@sierrawireless.com>
1768  * Entry is needed for the initializer function override,
1769  * which instructs the device to load as a modem
1770  * device.
1771  */
1772 UNUSUAL_DEV(  0x1199, 0x0fff, 0x0000, 0x9999,
1773 		"Sierra Wireless",
1774 		"USB MMC Storage",
1775 		USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1776 		0),
1777 
1778 /*
1779  * Reported by Jaco Kroon <jaco@kroon.co.za>
1780  * The usb-storage module found on the Digitech GNX4 (and supposedly other
1781  * devices) misbehaves and causes a bunch of invalid I/O errors.
1782  */
1783 UNUSUAL_DEV(  0x1210, 0x0003, 0x0100, 0x0100,
1784 		"Digitech HMG",
1785 		"DigiTech Mass Storage",
1786 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1787 		US_FL_IGNORE_RESIDUE ),
1788 
1789 /*
1790  * Reported by fangxiaozhi <huananhu@huawei.com>
1791  * This brings the HUAWEI data card devices into multi-port mode
1792  */
1793 UNUSUAL_DEV(  0x12d1, 0x1001, 0x0000, 0x0000,
1794 		"HUAWEI MOBILE",
1795 		"Mass Storage",
1796 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1797 		0),
1798 UNUSUAL_DEV(  0x12d1, 0x1003, 0x0000, 0x0000,
1799 		"HUAWEI MOBILE",
1800 		"Mass Storage",
1801 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1802 		0),
1803 UNUSUAL_DEV(  0x12d1, 0x1004, 0x0000, 0x0000,
1804 		"HUAWEI MOBILE",
1805 		"Mass Storage",
1806 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1807 		0),
1808 UNUSUAL_DEV(  0x12d1, 0x1401, 0x0000, 0x0000,
1809 		"HUAWEI MOBILE",
1810 		"Mass Storage",
1811 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1812 		0),
1813 UNUSUAL_DEV(  0x12d1, 0x1402, 0x0000, 0x0000,
1814 		"HUAWEI MOBILE",
1815 		"Mass Storage",
1816 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1817 		0),
1818 UNUSUAL_DEV(  0x12d1, 0x1403, 0x0000, 0x0000,
1819 		"HUAWEI MOBILE",
1820 		"Mass Storage",
1821 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1822 		0),
1823 UNUSUAL_DEV(  0x12d1, 0x1404, 0x0000, 0x0000,
1824 		"HUAWEI MOBILE",
1825 		"Mass Storage",
1826 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1827 		0),
1828 UNUSUAL_DEV(  0x12d1, 0x1405, 0x0000, 0x0000,
1829 		"HUAWEI MOBILE",
1830 		"Mass Storage",
1831 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1832 		0),
1833 UNUSUAL_DEV(  0x12d1, 0x1406, 0x0000, 0x0000,
1834 		"HUAWEI MOBILE",
1835 		"Mass Storage",
1836 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1837 		0),
1838 UNUSUAL_DEV(  0x12d1, 0x1407, 0x0000, 0x0000,
1839 		"HUAWEI MOBILE",
1840 		"Mass Storage",
1841 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1842 		0),
1843 UNUSUAL_DEV(  0x12d1, 0x1408, 0x0000, 0x0000,
1844 		"HUAWEI MOBILE",
1845 		"Mass Storage",
1846 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1847 		0),
1848 UNUSUAL_DEV(  0x12d1, 0x1409, 0x0000, 0x0000,
1849 		"HUAWEI MOBILE",
1850 		"Mass Storage",
1851 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1852 		0),
1853 UNUSUAL_DEV(  0x12d1, 0x140A, 0x0000, 0x0000,
1854 		"HUAWEI MOBILE",
1855 		"Mass Storage",
1856 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1857 		0),
1858 UNUSUAL_DEV(  0x12d1, 0x140B, 0x0000, 0x0000,
1859 		"HUAWEI MOBILE",
1860 		"Mass Storage",
1861 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1862 		0),
1863 UNUSUAL_DEV(  0x12d1, 0x140C, 0x0000, 0x0000,
1864 		"HUAWEI MOBILE",
1865 		"Mass Storage",
1866 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1867 		0),
1868 UNUSUAL_DEV(  0x12d1, 0x140D, 0x0000, 0x0000,
1869 		"HUAWEI MOBILE",
1870 		"Mass Storage",
1871 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1872 		0),
1873 UNUSUAL_DEV(  0x12d1, 0x140E, 0x0000, 0x0000,
1874 		"HUAWEI MOBILE",
1875 		"Mass Storage",
1876 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1877 		0),
1878 UNUSUAL_DEV(  0x12d1, 0x140F, 0x0000, 0x0000,
1879 		"HUAWEI MOBILE",
1880 		"Mass Storage",
1881 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1882 		0),
1883 UNUSUAL_DEV(  0x12d1, 0x1410, 0x0000, 0x0000,
1884 		"HUAWEI MOBILE",
1885 		"Mass Storage",
1886 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1887 		0),
1888 UNUSUAL_DEV(  0x12d1, 0x1411, 0x0000, 0x0000,
1889 		"HUAWEI MOBILE",
1890 		"Mass Storage",
1891 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1892 		0),
1893 UNUSUAL_DEV(  0x12d1, 0x1412, 0x0000, 0x0000,
1894 		"HUAWEI MOBILE",
1895 		"Mass Storage",
1896 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1897 		0),
1898 UNUSUAL_DEV(  0x12d1, 0x1413, 0x0000, 0x0000,
1899 		"HUAWEI MOBILE",
1900 		"Mass Storage",
1901 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1902 		0),
1903 UNUSUAL_DEV(  0x12d1, 0x1414, 0x0000, 0x0000,
1904 		"HUAWEI MOBILE",
1905 		"Mass Storage",
1906 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1907 		0),
1908 UNUSUAL_DEV(  0x12d1, 0x1415, 0x0000, 0x0000,
1909 		"HUAWEI MOBILE",
1910 		"Mass Storage",
1911 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1912 		0),
1913 UNUSUAL_DEV(  0x12d1, 0x1416, 0x0000, 0x0000,
1914 		"HUAWEI MOBILE",
1915 		"Mass Storage",
1916 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1917 		0),
1918 UNUSUAL_DEV(  0x12d1, 0x1417, 0x0000, 0x0000,
1919 		"HUAWEI MOBILE",
1920 		"Mass Storage",
1921 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1922 		0),
1923 UNUSUAL_DEV(  0x12d1, 0x1418, 0x0000, 0x0000,
1924 		"HUAWEI MOBILE",
1925 		"Mass Storage",
1926 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1927 		0),
1928 UNUSUAL_DEV(  0x12d1, 0x1419, 0x0000, 0x0000,
1929 		"HUAWEI MOBILE",
1930 		"Mass Storage",
1931 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1932 		0),
1933 UNUSUAL_DEV(  0x12d1, 0x141A, 0x0000, 0x0000,
1934 		"HUAWEI MOBILE",
1935 		"Mass Storage",
1936 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1937 		0),
1938 UNUSUAL_DEV(  0x12d1, 0x141B, 0x0000, 0x0000,
1939 		"HUAWEI MOBILE",
1940 		"Mass Storage",
1941 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1942 		0),
1943 UNUSUAL_DEV(  0x12d1, 0x141C, 0x0000, 0x0000,
1944 		"HUAWEI MOBILE",
1945 		"Mass Storage",
1946 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1947 		0),
1948 UNUSUAL_DEV(  0x12d1, 0x141D, 0x0000, 0x0000,
1949 		"HUAWEI MOBILE",
1950 		"Mass Storage",
1951 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1952 		0),
1953 UNUSUAL_DEV(  0x12d1, 0x141E, 0x0000, 0x0000,
1954 		"HUAWEI MOBILE",
1955 		"Mass Storage",
1956 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1957 		0),
1958 UNUSUAL_DEV(  0x12d1, 0x141F, 0x0000, 0x0000,
1959 		"HUAWEI MOBILE",
1960 		"Mass Storage",
1961 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1962 		0),
1963 UNUSUAL_DEV(  0x12d1, 0x1420, 0x0000, 0x0000,
1964 		"HUAWEI MOBILE",
1965 		"Mass Storage",
1966 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1967 		0),
1968 UNUSUAL_DEV(  0x12d1, 0x1421, 0x0000, 0x0000,
1969 		"HUAWEI MOBILE",
1970 		"Mass Storage",
1971 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1972 		0),
1973 UNUSUAL_DEV(  0x12d1, 0x1422, 0x0000, 0x0000,
1974 		"HUAWEI MOBILE",
1975 		"Mass Storage",
1976 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1977 		0),
1978 UNUSUAL_DEV(  0x12d1, 0x1423, 0x0000, 0x0000,
1979 		"HUAWEI MOBILE",
1980 		"Mass Storage",
1981 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1982 		0),
1983 UNUSUAL_DEV(  0x12d1, 0x1424, 0x0000, 0x0000,
1984 		"HUAWEI MOBILE",
1985 		"Mass Storage",
1986 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1987 		0),
1988 UNUSUAL_DEV(  0x12d1, 0x1425, 0x0000, 0x0000,
1989 		"HUAWEI MOBILE",
1990 		"Mass Storage",
1991 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1992 		0),
1993 UNUSUAL_DEV(  0x12d1, 0x1426, 0x0000, 0x0000,
1994 		"HUAWEI MOBILE",
1995 		"Mass Storage",
1996 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1997 		0),
1998 UNUSUAL_DEV(  0x12d1, 0x1427, 0x0000, 0x0000,
1999 		"HUAWEI MOBILE",
2000 		"Mass Storage",
2001 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2002 		0),
2003 UNUSUAL_DEV(  0x12d1, 0x1428, 0x0000, 0x0000,
2004 		"HUAWEI MOBILE",
2005 		"Mass Storage",
2006 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2007 		0),
2008 UNUSUAL_DEV(  0x12d1, 0x1429, 0x0000, 0x0000,
2009 		"HUAWEI MOBILE",
2010 		"Mass Storage",
2011 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2012 		0),
2013 UNUSUAL_DEV(  0x12d1, 0x142A, 0x0000, 0x0000,
2014 		"HUAWEI MOBILE",
2015 		"Mass Storage",
2016 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2017 		0),
2018 UNUSUAL_DEV(  0x12d1, 0x142B, 0x0000, 0x0000,
2019 		"HUAWEI MOBILE",
2020 		"Mass Storage",
2021 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2022 		0),
2023 UNUSUAL_DEV(  0x12d1, 0x142C, 0x0000, 0x0000,
2024 		"HUAWEI MOBILE",
2025 		"Mass Storage",
2026 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2027 		0),
2028 UNUSUAL_DEV(  0x12d1, 0x142D, 0x0000, 0x0000,
2029 		"HUAWEI MOBILE",
2030 		"Mass Storage",
2031 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2032 		0),
2033 UNUSUAL_DEV(  0x12d1, 0x142E, 0x0000, 0x0000,
2034 		"HUAWEI MOBILE",
2035 		"Mass Storage",
2036 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2037 		0),
2038 UNUSUAL_DEV(  0x12d1, 0x142F, 0x0000, 0x0000,
2039 		"HUAWEI MOBILE",
2040 		"Mass Storage",
2041 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2042 		0),
2043 UNUSUAL_DEV(  0x12d1, 0x1430, 0x0000, 0x0000,
2044 		"HUAWEI MOBILE",
2045 		"Mass Storage",
2046 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2047 		0),
2048 UNUSUAL_DEV(  0x12d1, 0x1431, 0x0000, 0x0000,
2049 		"HUAWEI MOBILE",
2050 		"Mass Storage",
2051 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2052 		0),
2053 UNUSUAL_DEV(  0x12d1, 0x1432, 0x0000, 0x0000,
2054 		"HUAWEI MOBILE",
2055 		"Mass Storage",
2056 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2057 		0),
2058 UNUSUAL_DEV(  0x12d1, 0x1433, 0x0000, 0x0000,
2059 		"HUAWEI MOBILE",
2060 		"Mass Storage",
2061 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2062 		0),
2063 UNUSUAL_DEV(  0x12d1, 0x1434, 0x0000, 0x0000,
2064 		"HUAWEI MOBILE",
2065 		"Mass Storage",
2066 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2067 		0),
2068 UNUSUAL_DEV(  0x12d1, 0x1435, 0x0000, 0x0000,
2069 		"HUAWEI MOBILE",
2070 		"Mass Storage",
2071 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2072 		0),
2073 UNUSUAL_DEV(  0x12d1, 0x1436, 0x0000, 0x0000,
2074 		"HUAWEI MOBILE",
2075 		"Mass Storage",
2076 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2077 		0),
2078 UNUSUAL_DEV(  0x12d1, 0x1437, 0x0000, 0x0000,
2079 		"HUAWEI MOBILE",
2080 		"Mass Storage",
2081 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2082 		0),
2083 UNUSUAL_DEV(  0x12d1, 0x1438, 0x0000, 0x0000,
2084 		"HUAWEI MOBILE",
2085 		"Mass Storage",
2086 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2087 		0),
2088 UNUSUAL_DEV(  0x12d1, 0x1439, 0x0000, 0x0000,
2089 		"HUAWEI MOBILE",
2090 		"Mass Storage",
2091 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2092 		0),
2093 UNUSUAL_DEV(  0x12d1, 0x143A, 0x0000, 0x0000,
2094 		"HUAWEI MOBILE",
2095 		"Mass Storage",
2096 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2097 		0),
2098 UNUSUAL_DEV(  0x12d1, 0x143B, 0x0000, 0x0000,
2099 		"HUAWEI MOBILE",
2100 		"Mass Storage",
2101 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2102 		0),
2103 UNUSUAL_DEV(  0x12d1, 0x143C, 0x0000, 0x0000,
2104 		"HUAWEI MOBILE",
2105 		"Mass Storage",
2106 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2107 		0),
2108 UNUSUAL_DEV(  0x12d1, 0x143D, 0x0000, 0x0000,
2109 		"HUAWEI MOBILE",
2110 		"Mass Storage",
2111 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2112 		0),
2113 UNUSUAL_DEV(  0x12d1, 0x143E, 0x0000, 0x0000,
2114 		"HUAWEI MOBILE",
2115 		"Mass Storage",
2116 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2117 		0),
2118 UNUSUAL_DEV(  0x12d1, 0x143F, 0x0000, 0x0000,
2119 		"HUAWEI MOBILE",
2120 		"Mass Storage",
2121 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2122 		0),
2123 
2124 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
2125 UNUSUAL_DEV(  0x132b, 0x000b, 0x0001, 0x0001,
2126 		"Minolta",
2127 		"Dimage Z10",
2128 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2129 		0 ),
2130 
2131 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
2132 UNUSUAL_DEV(  0x1370, 0x6828, 0x0110, 0x0110,
2133 		"SWISSBIT",
2134 		"Black Silver",
2135 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2136 		US_FL_IGNORE_RESIDUE ),
2137 
2138 /*
2139  * Reported by Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
2140  * The INIC-3619 bridge is used in the StarTech SLSODDU33B
2141  * SATA-USB enclosure for slimline optical drives.
2142  *
2143  * The quirk enables MakeMKV to properly exchange keys with
2144  * an installed BD drive.
2145  */
2146 UNUSUAL_DEV(  0x13fd, 0x3609, 0x0209, 0x0209,
2147 		"Initio Corporation",
2148 		"INIC-3619",
2149 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2150 		US_FL_IGNORE_RESIDUE ),
2151 
2152 /* Reported by Qinglin Ye <yestyle@gmail.com> */
2153 UNUSUAL_DEV(  0x13fe, 0x3600, 0x0100, 0x0100,
2154 		"Kingston",
2155 		"DT 101 G2",
2156 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2157 		US_FL_BULK_IGNORE_TAG ),
2158 
2159 /* Reported by Francesco Foresti <frafore@tiscali.it> */
2160 UNUSUAL_DEV(  0x14cd, 0x6600, 0x0201, 0x0201,
2161 		"Super Top",
2162 		"IDE DEVICE",
2163 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2164 		US_FL_IGNORE_RESIDUE ),
2165 
2166 /* Reported by Michael Büsch <m@bues.ch> */
2167 UNUSUAL_DEV(  0x152d, 0x0567, 0x0114, 0x0117,
2168 		"JMicron",
2169 		"USB to ATA/ATAPI Bridge",
2170 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2171 		US_FL_BROKEN_FUA ),
2172 
2173 /* Reported by David Kozub <zub@linux.fjfi.cvut.cz> */
2174 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
2175 		"JMicron",
2176 		"JMS567",
2177 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2178 		US_FL_BROKEN_FUA),
2179 
2180 /*
2181  * Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2182  * JMicron responds to USN and several other SCSI ioctls with a
2183  * residue that causes subsequent I/O requests to fail.  */
2184 UNUSUAL_DEV(  0x152d, 0x2329, 0x0100, 0x0100,
2185 		"JMicron",
2186 		"USB to ATA/ATAPI Bridge",
2187 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2188 		US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2189 
2190 /* Reported by Dmitry Nezhevenko <dion@dion.org.ua> */
2191 UNUSUAL_DEV(  0x152d, 0x2566, 0x0114, 0x0114,
2192 		"JMicron",
2193 		"USB to ATA/ATAPI Bridge",
2194 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2195 		US_FL_BROKEN_FUA ),
2196 
2197 /* Reported by Teijo Kinnunen <teijo.kinnunen@code-q.fi> */
2198 UNUSUAL_DEV(  0x152d, 0x2567, 0x0117, 0x0117,
2199 		"JMicron",
2200 		"USB to ATA/ATAPI Bridge",
2201 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2202 		US_FL_BROKEN_FUA ),
2203 
2204 /* Reported-by George Cherian <george.cherian@cavium.com> */
2205 UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
2206 		"JMicron",
2207 		"JMS56x",
2208 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2209 		US_FL_NO_REPORT_OPCODES),
2210 
2211 /*
2212  * Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
2213  * and Mac USB Dock USB-SCSI */
2214 UNUSUAL_DEV(  0x1645, 0x0007, 0x0100, 0x0133,
2215 		"Entrega Technologies",
2216 		"USB to SCSI Converter",
2217 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2218 		US_FL_SCM_MULT_TARG ),
2219 
2220 /*
2221  * Reported by Robert Schedel <r.schedel@yahoo.de>
2222  * Note: this is a 'super top' device like the above 14cd/6600 device
2223  */
2224 UNUSUAL_DEV(  0x1652, 0x6600, 0x0201, 0x0201,
2225 		"Teac",
2226 		"HD-35PUK-B",
2227 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2228 		US_FL_IGNORE_RESIDUE ),
2229 
2230 /* Reported by Oliver Neukum <oneukum@suse.com> */
2231 UNUSUAL_DEV(  0x174c, 0x55aa, 0x0100, 0x0100,
2232 		"ASMedia",
2233 		"AS2105",
2234 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2235 		US_FL_NEEDS_CAP16),
2236 
2237 /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
2238 UNUSUAL_DEV(  0x177f, 0x0400, 0x0000, 0x0000,
2239 		"Yarvik",
2240 		"PMP400",
2241 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2242 		US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2243 
2244 UNUSUAL_DEV(  0x1822, 0x0001, 0x0000, 0x9999,
2245 		"Ariston Technologies",
2246 		"iConnect USB to SCSI adapter",
2247 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2248 		US_FL_SCM_MULT_TARG ),
2249 
2250 /*
2251  * Reported by Hans de Goede <hdegoede@redhat.com>
2252  * These Appotech controllers are found in Picture Frames, they provide a
2253  * (buggy) emulation of a cdrom drive which contains the windows software
2254  * Uploading of pictures happens over the corresponding /dev/sg device.
2255  */
2256 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2257 		"BUILDWIN",
2258 		"Photo Frame",
2259 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2260 		US_FL_BAD_SENSE ),
2261 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2262 		"BUILDWIN",
2263 		"Photo Frame",
2264 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2265 		US_FL_BAD_SENSE ),
2266 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2267 		"BUILDWIN",
2268 		"Photo Frame",
2269 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2270 		US_FL_NO_READ_DISC_INFO ),
2271 
2272 /*
2273  * Reported by Matthias Schwarzott <zzam@gentoo.org>
2274  * The Amazon Kindle treats SYNCHRONIZE CACHE as an indication that
2275  * the host may be finished with it, and automatically ejects its
2276  * emulated media unless it receives another command within one second.
2277  */
2278 UNUSUAL_DEV( 0x1949, 0x0004, 0x0000, 0x9999,
2279 		"Amazon",
2280 		"Kindle",
2281 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2282 		US_FL_SENSE_AFTER_SYNC ),
2283 
2284 /*
2285  * Reported by Oliver Neukum <oneukum@suse.com>
2286  * This device morphes spontaneously into another device if the access
2287  * pattern of Windows isn't followed. Thus writable media would be dirty
2288  * if the initial instance is used. So the device is limited to its
2289  * virtual CD.
2290  * And yes, the concept that BCD goes up to 9 is not heeded
2291  */
2292 UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
2293 		"ZTE,Incorporated",
2294 		"ZTE WCDMA Technologies MSM",
2295 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2296 		US_FL_SINGLE_LUN ),
2297 
2298 /*
2299  * Reported by Sven Geggus <sven-usbst@geggus.net>
2300  * This encrypted pen drive returns bogus data for the initial READ(10).
2301  */
2302 UNUSUAL_DEV(  0x1b1c, 0x1ab5, 0x0200, 0x0200,
2303 		"Corsair",
2304 		"Padlock v2",
2305 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2306 		US_FL_INITIAL_READ10 ),
2307 
2308 /*
2309  * Reported by Hans de Goede <hdegoede@redhat.com>
2310  * These are mini projectors using USB for both power and video data transport
2311  * The usb-storage interface is a virtual windows driver CD, which the gm12u320
2312  * driver automatically converts into framebuffer & kms dri device nodes.
2313  */
2314 UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
2315 		"Grain-media Technology Corp.",
2316 		"USB3.0 Device GM12U320",
2317 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2318 		US_FL_IGNORE_DEVICE ),
2319 
2320 /*
2321  * Patch by Richard Schütz <r.schtz@t-online.de>
2322  * This external hard drive enclosure uses a JMicron chip which
2323  * needs the US_FL_IGNORE_RESIDUE flag to work properly.
2324  */
2325 UNUSUAL_DEV(  0x1e68, 0x001b, 0x0000, 0x0000,
2326 		"TrekStor GmbH & Co. KG",
2327 		"DataStation maxi g.u",
2328 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2329 		US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2330 
2331 /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
2332 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2333 		"Coby Electronics",
2334 		"MP3 Player",
2335 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2336 		US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2337 
2338 /* Reported by Witold Lipieta <witold.lipieta@thaumatec.com> */
2339 UNUSUAL_DEV( 0x1fc9, 0x0117, 0x0100, 0x0100,
2340 		"NXP Semiconductors",
2341 		"PN7462AU",
2342 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2343 		US_FL_IGNORE_RESIDUE ),
2344 
2345 /* Supplied with some Castlewood ORB removable drives */
2346 UNUSUAL_DEV(  0x2027, 0xa001, 0x0000, 0x9999,
2347 		"Double-H Technology",
2348 		"USB to SCSI Intelligent Cable",
2349 		USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2350 		US_FL_SCM_MULT_TARG ),
2351 
2352 /*
2353  * Reported by DocMAX <mail@vacharakis.de>
2354  * and Thomas Weißschuh <linux@weissschuh.net>
2355  */
2356 UNUSUAL_DEV( 0x2109, 0x0715, 0x9999, 0x9999,
2357 		"VIA Labs, Inc.",
2358 		"VL817 SATA Bridge",
2359 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2360 		US_FL_IGNORE_UAS),
2361 
2362 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2363 		"ST",
2364 		"2A",
2365 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2366 		US_FL_FIX_CAPACITY),
2367 
2368 /*
2369  * patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2370  * and Renato Perini <rperini@email.it>
2371  */
2372 UNUSUAL_DEV(  0x22b8, 0x3010, 0x0001, 0x0001,
2373 		"Motorola",
2374 		"RAZR V3x",
2375 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2376 		US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2377 
2378 /*
2379  * Patch by Constantin Baranov <const@tltsu.ru>
2380  * Report by Andreas Koenecke.
2381  * Motorola ROKR Z6.
2382  */
2383 UNUSUAL_DEV(  0x22b8, 0x6426, 0x0101, 0x0101,
2384 		"Motorola",
2385 		"MSnc.",
2386 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2387 		US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2388 
2389 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2390 UNUSUAL_DEV(  0x2735, 0x100b, 0x0000, 0x9999,
2391 		"MPIO",
2392 		"HS200",
2393 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2394 		US_FL_GO_SLOW ),
2395 
2396 /* Reported-by: Tim Anderson <tsa@biglakesoftware.com> */
2397 UNUSUAL_DEV(  0x2ca3, 0x0031, 0x0000, 0x9999,
2398 		"DJI",
2399 		"CineSSD",
2400 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2401 		US_FL_NO_ATA_1X),
2402 
2403 /*
2404  * Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2405  * Mio Moov 330
2406  */
2407 UNUSUAL_DEV(  0x3340, 0xffff, 0x0000, 0x0000,
2408 		"Mitac",
2409 		"Mio DigiWalker USB Sync",
2410 		USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2411 		US_FL_MAX_SECTORS_64 ),
2412 
2413 /* Reported by Cyril Roelandt <tipecaml@gmail.com> */
2414 UNUSUAL_DEV(  0x357d, 0x7788, 0x0114, 0x0114,
2415 		"JMicron",
2416 		"USB to ATA/ATAPI Bridge",
2417 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2418 		US_FL_BROKEN_FUA | US_FL_IGNORE_UAS ),
2419 
2420 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2421 UNUSUAL_DEV(  0x4102, 0x1020, 0x0100,  0x0100,
2422 		"iRiver",
2423 		"MP3 T10",
2424 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2425 		US_FL_IGNORE_RESIDUE ),
2426 
2427 /* Reported by Sergey Pinaev <dfo@antex.ru> */
2428 UNUSUAL_DEV(  0x4102, 0x1059, 0x0000,  0x0000,
2429                "iRiver",
2430                "P7K",
2431                USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2432                US_FL_MAX_SECTORS_64 ),
2433 
2434 /*
2435  * David Härdeman <david@2gen.com>
2436  * The key makes the SCSI stack print confusing (but harmless) messages
2437  */
2438 UNUSUAL_DEV(  0x4146, 0xba01, 0x0100, 0x0100,
2439 		"Iomega",
2440 		"Micro Mini 1GB",
2441 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2442 
2443 /* "G-DRIVE" external HDD hangs on write without these.
2444  * Patch submitted by Alexander Kappner <agk@godking.net>
2445  */
2446 UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
2447 		"SimpleTech",
2448 		"External HDD",
2449 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2450 		US_FL_ALWAYS_SYNC),
2451 
2452 /*
2453  * Nick Bowler <nbowler@elliptictech.com>
2454  * SCSI stack spams (otherwise harmless) error messages.
2455  */
2456 UNUSUAL_DEV(  0xc251, 0x4003, 0x0100, 0x0100,
2457 		"Keil Software, Inc.",
2458 		"V2M MotherBoard",
2459 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2460 		US_FL_NOT_LOCKABLE),
2461 
2462 /*
2463  * Reported by Icenowy Zheng <uwu@icenowy.me>
2464  * This is an interface for vendor-specific cryptic commands instead
2465  * of real USB storage device.
2466  */
2467 UNUSUAL_DEV(  0xe5b7, 0x0811, 0x0100, 0x0100,
2468 		"ZhuHai JieLi Technology",
2469 		"JieLi BR21",
2470 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2471 		US_FL_IGNORE_DEVICE),
2472 
2473 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2474 UNUSUAL_DEV(  0xed06, 0x4500, 0x0001, 0x0001,
2475 		"DataStor",
2476 		"USB4500 FW1.04",
2477 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2478 		US_FL_CAPACITY_HEURISTICS),
2479 
2480 /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2481 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2482 		"TGE",
2483 		"Digital MP3 Audio Player",
2484 		USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2485 
2486 /* Unusual uas devices */
2487 #if IS_ENABLED(CONFIG_USB_UAS)
2488 #include "unusual_uas.h"
2489 #endif
2490 
2491 /* Control/Bulk transport for all SubClass values */
2492 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2493 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2494 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2495 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2496 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2497 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2498 
2499 /* Control/Bulk/Interrupt transport for all SubClass values */
2500 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2501 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2502 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2503 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2504 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2505 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2506 
2507 /* Bulk-only transport for all SubClass values */
2508 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2509 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2510 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2511 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2512 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2513 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),
2514