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