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