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