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