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