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