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