1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Driver for USB Mass Storage compliant devices
6 * Current development and maintenance by:
7 * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
10 * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
14 * IMPORTANT NOTE: This file must be included in another file which does
15 * the following thing for it to work:
16 * The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
17 * before this file is included.
21 * If you edit this file, please try to keep it sorted first by VendorID,
24 * If you want to add an entry for this file, be sure to include the
25 * following information:
26 * - a patch that adds the entry for your device, including your
27 * email address right above the entry (plus maybe a brief
28 * explanation of the reason for the entry),
29 * - a copy of /sys/kernel/debug/usb/devices with your device plugged in
30 * running with this patch.
31 * Send your submission to the USB development list <linux-usb@vger.kernel.org>
35 * Note: If you add an entry only in order to set the CAPACITY_OK flag,
36 * use the COMPLIANT_DEV macro instead of UNUSUAL_DEV. This is
37 * because such entries mark devices which actually work correctly,
38 * as opposed to devices that do something strangely or wrongly.
42 * In-kernel mode switching is deprecated. Do not add new devices to
43 * this list for the sole purpose of switching them to a different
44 * mode. Existing userspace solutions are superior.
46 * New mode switching devices should instead be added to the database
47 * maintained at https://www.draisberghof.de/usb_modeswitch/
50 #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
51 !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
55 /* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr> */
56 UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
59 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
60 US_FL_IGNORE_RESIDUE),
62 /* Reported by Rodolfo Quesada <rquesada@roqz.net> */
63 UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
64 "VIA Technologies Inc.",
65 "Mitsumi multi cardreader",
66 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
67 US_FL_IGNORE_RESIDUE ),
69 UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
72 USB_SC_8070, USB_PR_CB, NULL, 0),
74 /* Reported by Ben Efros <ben@pc-doctor.com> */
75 UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
77 "Personal Media Drive",
78 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
82 * Reported by Grant Grundler <grundler@parisc-linux.org>
83 * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
85 UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
88 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
90 UNUSUAL_DEV( 0x03f3, 0x0001, 0x0000, 0x9999,
93 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
94 US_FL_SCM_MULT_TARG ),
97 * Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
98 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
99 * for USB floppies that need the SINGLE_LUN enforcement.
101 UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
104 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
107 /* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
108 UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
109 "VIA Technologies Inc.",
110 "USB 2.0 Card Reader",
111 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
112 US_FL_IGNORE_RESIDUE ),
115 * Deduced by Jonathan Woithe <jwoithe@just42.net>
116 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
117 * always fails and confuses drive.
119 UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
122 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
125 /* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
126 UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
127 "Samsung Info. Systems America, Inc.",
129 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
130 US_FL_IGNORE_RESIDUE ),
132 /* Reported by Orgad Shaneh <orgads@gmail.com> */
133 UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
134 "Samsung", "MP3 Player",
135 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
136 US_FL_IGNORE_RESIDUE ),
138 /* Reported by Christian Leber <christian@leber.de> */
139 UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
142 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
143 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
145 /* Reported by Stefan Werner <dustbln@gmx.de> */
146 UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
149 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
150 US_FL_IGNORE_RESIDUE ),
152 /* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
153 UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
154 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
155 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
156 US_FL_IGNORE_RESIDUE ),
159 * Reported by Andrew Nayenko <relan@bk.ru>
160 * Updated for new firmware by Phillip Potter <phil@philpotter.co.uk>
162 UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
165 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
166 US_FL_MAX_SECTORS_64 ),
168 /* Reported by Mario Rettig <mariorettig@web.de> */
169 UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
172 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
173 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
175 /* Reported by <honkkis@gmail.com> */
176 UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
179 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
180 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
182 /* Reported by Jon Hart <Jon.Hart@web.de> */
183 UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
186 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
187 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
190 * Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
191 * Einar Th. Einarsson <einarthered@gmail.com>
193 UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
196 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
197 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
200 * Reported by Jiri Slaby <jirislaby@gmail.com> and
201 * Rene C. Castberg <Rene@Castberg.org>
203 UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
206 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
207 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
209 /* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
210 UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
213 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
214 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
216 /* Reported by Bardur Arantsson <bardur@scientician.net> */
217 UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
220 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
221 US_FL_MAX_SECTORS_64 ),
223 /* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
224 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
227 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
228 US_FL_MAX_SECTORS_64 ),
230 /* Reported by Alex Corcoles <alex@corcoles.net> */
231 UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
234 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
235 US_FL_MAX_SECTORS_64 ),
237 /* Reported by Daniele Forsi <dforsi@gmail.com> */
238 UNUSUAL_DEV( 0x0421, 0x04b9, 0x0350, 0x0350,
241 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
242 US_FL_MAX_SECTORS_64 ),
244 /* Patch submitted by Victor A. Santos <victoraur.santos@gmail.com> */
245 UNUSUAL_DEV( 0x0421, 0x05af, 0x0742, 0x0742,
248 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
249 US_FL_MAX_SECTORS_64),
251 /* Patch submitted by Mikhail Zolotaryov <lebon@lebon.org.ua> */
252 UNUSUAL_DEV( 0x0421, 0x06aa, 0x1110, 0x1110,
255 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
256 US_FL_MAX_SECTORS_64 ),
259 UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
262 USB_SC_SCSI, USB_PR_CB, NULL,
267 * Patch submitted by Daniel Drake <dsd@gentoo.org>
268 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2
270 UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
273 USB_SC_DEVICE, USB_PR_BULK, NULL,
274 US_FL_NEED_OVERRIDE ),
277 * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
278 * The key does not actually break, but it returns zero sense which
279 * makes our SCSI stack to print confusing messages.
281 UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
282 "USBest Technology", /* sold by Transcend */
283 "USB Mass Storage Device",
284 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
287 * Bohdan Linda <bohdan.linda@gmail.com>
288 * 1GB USB sticks MyFlash High Speed. I have restricted
289 * the revision to my model only
291 UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
294 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
295 US_FL_NOT_LOCKABLE ),
298 * Reported by Tamas Kerecsen <kerecsen@bigfoot.com>
299 * Obviously the PROM has not been customized by the VAR;
300 * the Vendor and Product string descriptors are:
301 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
302 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
304 UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
307 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
308 US_FL_MAX_SECTORS_64 ),
311 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
312 * Reported by Pete Zaitcev <zaitcev@redhat.com>
313 * This device chokes on both version of MODE SENSE which we have, so
314 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
316 UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
319 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
322 /* Reported by Egbert Eich <eich@suse.com> */
323 UNUSUAL_DEV( 0x0480, 0xd010, 0x0100, 0x9999,
326 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
329 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
330 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
333 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
335 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
336 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
339 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
341 /* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
342 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
345 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
347 /* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
348 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
351 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
352 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
355 * Reported by Paul Stewart <stewart@wetlogic.net>
356 * This entry is needed because the device reports Sub=ff
358 UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
360 "DVD-CAM DZ-MV100A Camcorder",
361 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
365 * Reported by Manuel Fombuena <mfombuena@ya.com> and
366 * Frank Copeland <fjc@thingy.apana.org.au>
368 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
369 "Tekom Technologies, Inc",
371 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
372 US_FL_IGNORE_RESIDUE ),
375 * Patch for Nikon coolpix 2000
376 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>
378 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
381 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
382 US_FL_NOT_LOCKABLE ),
384 /* Reported by Doug Maxey (dwm@austin.ibm.com) */
385 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
388 USB_SC_DEVICE, USB_PR_CB, NULL,
389 US_FL_MAX_SECTORS_MIN),
392 * Reported by Simon Levitt <simon@whattf.com>
393 * This entry needs Sub and Proto fields
395 UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
398 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
401 * Reported by Khalid Aziz <khalid@gonehiking.org>
402 * This entry is needed because the device reports Sub=ff
404 UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
407 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
410 * Not sure who reported this originally but
411 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
413 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
416 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
419 * Reported by Ondrej Zary <linux@rainbow-software.org>
420 * The device reports one sector more and breaks when that sector is accessed
422 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
425 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
429 * Reported by Kriston Fincher <kriston@airmail.net>
430 * Patch submitted by Sean Millichamp <sean@bruenor.org>
431 * This is to support the Panasonic PalmCam PV-SD4090
432 * This entry is needed because the device reports Sub=ff
434 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
437 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
440 * From Yukihiro Nakai, via zaitcev@yahoo.com.
441 * This is needed for CB instead of CBI
443 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
446 USB_SC_8070, USB_PR_CB, NULL, 0),
448 /* Reported by Adriaan Penning <a.penning@luon.net> */
449 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
452 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
453 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
455 /* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
456 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
459 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
460 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
463 * Most of the following entries were developed with the help of
464 * Shuttle/SCM directly.
466 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
469 USB_SC_8020, USB_PR_CB, NULL, 0),
471 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
474 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
475 US_FL_SCM_MULT_TARG ),
478 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
480 "eUSB CompactFlash Adapter",
481 USB_SC_SCSI, USB_PR_CB, NULL,
485 /* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
486 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
487 "SCM Microsystems Inc.",
489 USB_SC_SCSI, USB_PR_CB, NULL,
492 /* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
493 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
496 USB_SC_SCSI, USB_PR_DEVICE, NULL,
499 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
502 USB_SC_SCSI, USB_PR_CB, NULL,
505 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
507 "eUSB ATA/ATAPI Adapter",
508 USB_SC_8020, USB_PR_CB, NULL, 0),
510 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
512 "eUSB CompactFlash Adapter",
513 USB_SC_8020, USB_PR_CB, NULL, 0),
515 UNUSUAL_DEV( 0x04e6, 0x000b, 0x0100, 0x0100,
518 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
519 US_FL_SCM_MULT_TARG ),
521 UNUSUAL_DEV( 0x04e6, 0x000c, 0x0100, 0x0100,
524 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
525 US_FL_SCM_MULT_TARG ),
527 UNUSUAL_DEV( 0x04e6, 0x000f, 0x0000, 0x9999,
529 "eUSB SCSI Adapter (Bus Powered)",
530 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
531 US_FL_SCM_MULT_TARG ),
533 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
536 USB_SC_8020, USB_PR_CB, NULL, 0),
538 /* Reported by Dmitry Khlystov <adminimus@gmail.com> */
539 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
542 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
543 US_FL_MAX_SECTORS_64),
545 /* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
546 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
549 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
550 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
552 /* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
553 UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
556 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
557 US_FL_MAX_SECTORS_64),
560 * Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
561 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
562 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
564 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
567 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
570 /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
571 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
574 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
575 US_FL_SCM_MULT_TARG ),
579 * Reported by David Chatenay <dchatenay@hotmail.com>
580 * The reason this is needed is not fully known.
582 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
585 USB_SC_8070, USB_PR_DEVICE, NULL,
588 /* Added by Alan Stern <stern@rowland.harvard.edu> */
589 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
591 "File-backed Storage Gadget",
592 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
596 * Yakumo Mega Image 37
597 * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
598 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
599 "Tekom Technologies, Inc",
601 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
602 US_FL_IGNORE_RESIDUE ),
605 * Another Yakumo camera.
606 * Reported by Michele Alzetta <michele.alzetta@aliceposta.it>
608 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
609 "Tekom Technologies, Inc",
611 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
612 US_FL_IGNORE_RESIDUE ),
614 /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
615 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
616 "Tekom Technologies, Inc",
618 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
619 US_FL_IGNORE_RESIDUE ),
622 * Yakumo Mega Image 47
623 * Reported by Bjoern Paetzel <kolrabi@kolrabi.de>
625 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
626 "Tekom Technologies, Inc",
628 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
629 US_FL_IGNORE_RESIDUE ),
632 * Reported by Paul Ortyl <ortylp@3miasto.net>
633 * Note that it's similar to the device above, only different prodID
635 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
636 "Tekom Technologies, Inc",
638 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
639 US_FL_IGNORE_RESIDUE ),
641 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
643 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
644 USB_SC_SCSI, USB_PR_DEVICE, NULL,
645 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
648 * Submitted by Lars Jacob <jacob.lars@googlemail.com>
649 * This entry is needed because the device reports Sub=ff
651 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
654 USB_SC_8070, USB_PR_DEVICE, NULL,
658 /* Reported by wim@geeks.nl */
659 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
661 "Memorystick NW-MS7",
662 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
665 /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
666 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
669 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
672 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
674 "Memorystick MSAC-US1",
675 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
678 /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
679 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
682 USB_SC_SCSI, USB_PR_DEVICE, NULL,
685 /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
686 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
689 USB_SC_UFI, USB_PR_DEVICE, NULL,
692 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
694 "Memorystick MSC-U01N",
695 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
698 /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
699 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
701 "PEG N760c Memorystick",
702 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
705 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
707 "Memorystick MSC-U03",
708 USB_SC_UFI, USB_PR_CB, NULL,
711 /* Submitted by Nathan Babb <nathan@lexi.com> */
712 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
715 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
718 /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
719 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
722 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
725 /* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
726 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
729 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
732 /* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
733 UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
735 "MicroVault Flash Drive",
736 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
737 US_FL_NO_READ_CAPACITY_16 ),
739 /* floppy reports multiple luns */
740 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
743 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
746 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
747 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
750 USB_SC_DEVICE, USB_PR_CB, NULL,
754 * Reported by Johann Cardon <johann.cardon@free.fr>
755 * This entry is needed only because the device reports
756 * bInterfaceClass = 0xff (vendor-specific)
758 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
761 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
763 /* Reported by RTE <raszilki@yandex.ru> */
764 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
767 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
768 US_FL_MAX_SECTORS_64 ),
770 /* Fabrizio Fellini <fello@libero.it> */
771 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
773 "Digital Camera EX-20 DSC",
774 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
777 * Reported by Andre Welter <a.r.welter@gmx.de>
778 * This antique device predates the release of the Bulk-only Transport
779 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
780 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
781 * us from sending the request.
783 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
786 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
789 UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
792 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
795 /* Reported by <Hendryk.Pfeiffer@gmx.de> */
796 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
799 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
802 /* Reported by Christian Schaller <cschalle@redhat.com> */
803 UNUSUAL_DEV( 0x059f, 0x0651, 0x0000, 0x0000,
806 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
807 US_FL_NO_WP_DETECT ),
810 * Submitted by Joel Bourquard <numlock@freesurf.ch>
811 * Some versions of this device need the SubClass and Protocol overrides
812 * while others don't.
814 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
816 "PyroGate External CD-ROM Enclosure (FCD-523)",
817 USB_SC_SCSI, USB_PR_BULK, NULL,
818 US_FL_NEED_OVERRIDE ),
821 * Submitted by Sven Anderson <sven-linux@anderson.de>
822 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
823 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
824 * to change with firmware updates, I changed the range to maximum for all
827 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
830 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
831 US_FL_FIX_CAPACITY ),
833 /* Reported by Avi Kivity <avi@argo.co.il> */
834 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
837 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
838 US_FL_FIX_CAPACITY ),
840 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
843 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
844 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
846 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
849 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
850 US_FL_FIX_CAPACITY ),
853 * Reported by Tyson Vinson <lornoss@gmail.com>
854 * This particular productId is the iPod Nano
856 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
859 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
860 US_FL_FIX_CAPACITY ),
863 * Reported by Dan Williams <dcbw@redhat.com>
864 * Option N.V. mobile broadband modems
865 * Ignore driver CD mode and force into modem mode by default.
868 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
869 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
872 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
875 /* Reported by Blake Matheny <bmatheny@purdue.edu> */
876 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
879 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
883 * The following two entries are for a Genesys USB to IDE
884 * converter chip, but it changes its ProductId depending
885 * on whether or not a disk or an optical device is enclosed
886 * They were originally reported by Alexander Oltu
887 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
890 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
891 * <phil@ipom.com> as these flags were made and hard-coded
892 * special-cases were pulled from scsiglue.c.
894 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
896 "USB to IDE Optical",
897 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
898 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
900 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
903 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
904 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
906 /* Reported by Ben Efros <ben@pc-doctor.com> */
907 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
910 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
914 * Reported by Hanno Boeck <hanno@gmx.de>
915 * Taken from the Lycoris Kernel
917 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
920 USB_SC_SCSI, USB_PR_BULK, NULL,
923 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
926 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
928 /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
929 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
931 "USBMSC Audio Player",
932 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
933 US_FL_FIX_CAPACITY ),
935 /* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
936 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
937 "Prolific Technology, Inc.",
938 "Prolific Storage Gadget",
939 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
942 /* Reported by Rogerio Brito <rbrito@ime.usp.br> */
943 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
944 "Prolific Technology, Inc.",
945 "Mass Storage Device",
946 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
947 US_FL_NOT_LOCKABLE ),
949 /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
951 * Change to bcdDeviceMin (0x0100 to 0x0001) reported by
952 * Thomas Bartosik <tbartdev@gmx-topmail.de>
954 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
955 "Prolific Technology Inc.",
956 "Mass Storage Device",
957 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
958 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
960 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
961 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
962 "Prolific Technology Inc.",
963 "ATAPI-6 Bridge Controller",
964 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
965 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
967 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
968 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
971 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
973 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
974 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
977 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
979 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
982 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
984 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
985 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
986 "Thomson Multimedia Inc.",
987 "RCA RD1080 MP3 Player",
988 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
989 US_FL_FIX_CAPACITY ),
991 UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
994 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
995 US_FL_SCM_MULT_TARG ),
997 /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
998 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
1001 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1002 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
1003 US_FL_NO_READ_CAPACITY_16),
1006 * Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
1007 * Support the following product :
1008 * "Dane-Elec MediaTouch"
1010 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
1013 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1014 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
1017 * Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
1018 * This USB MP3/AVI player device fails and disconnects if more than 128
1019 * sectors (64kB) are read/written in a single command, and may be present
1020 * at least in the following products:
1021 * "Magnex Digital Video Panel DVP 1800"
1022 * "MP4 AIGO 4GB SLOT SD"
1023 * "Teclast TL-C260 MP3"
1024 * "i.Meizu PMP MP3/MP4"
1025 * "Speed MV8 MP4 Audio Player"
1027 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
1030 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1031 US_FL_MAX_SECTORS_64),
1033 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
1034 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
1037 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1038 US_FL_IGNORE_RESIDUE),
1040 /* Submitted by Roman Hodek <roman@hodek.net> */
1041 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
1043 "ImageMate SDDR-05a",
1044 USB_SC_SCSI, USB_PR_CB, NULL,
1047 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
1048 "SanDisk Corporation",
1049 "ImageMate CompactFlash USB",
1050 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1051 US_FL_FIX_CAPACITY ),
1053 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
1055 "ImageMate SDDR-12",
1056 USB_SC_SCSI, USB_PR_CB, NULL,
1059 /* Reported by Eero Volotinen <eero@ping-viini.org> */
1060 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
1061 "Freecom Technologies",
1063 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1064 US_FL_FIX_CAPACITY),
1066 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
1069 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1070 US_FL_SCM_MULT_TARG ),
1072 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
1075 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1076 US_FL_SCM_MULT_TARG ),
1079 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1082 USB_SC_SCSI, USB_PR_CB, NULL,
1087 * Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1088 * Only revision 1.13 tested (same for all of the above devices,
1089 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1090 * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
1091 * See also http://martin.wilck.bei.t-online.de/#kecf .
1093 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1096 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1097 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1100 * Reported by Rauch Wolke <rauchwolke@gmx.net>
1101 * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
1103 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1104 "Simple Tech/Datafab",
1106 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1107 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1110 * Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1111 * to the USB storage specification in two ways:
1112 * - They tell us they are using transport protocol CBI. In reality they
1113 * are using transport protocol CB.
1114 * - They don't like the INQUIRY command. So we must handle this command
1115 * of the SCSI layer ourselves.
1116 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1117 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1118 * So don't remove the USB_PR_CB override!
1119 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1121 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1124 USB_SC_8070, USB_PR_CB, NULL,
1125 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1127 /* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1128 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1130 "EX-N1 DigitalCamera",
1131 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1133 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1134 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1137 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1140 /* Reported by Luciano Rocha <luciano@eurotux.com> */
1141 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1144 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1145 US_FL_FIX_CAPACITY),
1147 /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1148 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1151 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1152 US_FL_FIX_CAPACITY),
1154 /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1155 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1158 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1159 US_FL_FIX_CAPACITY),
1161 /* Supplied with some Castlewood ORB removable drives */
1162 UNUSUAL_DEV( 0x084b, 0xa001, 0x0000, 0x9999,
1163 "Castlewood Systems",
1164 "USB to SCSI cable",
1165 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1166 US_FL_SCM_MULT_TARG ),
1169 * Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1170 * Flag will support Bulk devices which use a standards-violating 32-byte
1171 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1172 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1175 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1178 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1182 * Reported by <ttkspam@free.fr>
1183 * The device reports a vendor-specific device class, requiring an
1184 * explicit vendor/product match.
1186 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1189 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1192 * Andrew Lunn <andrew@lunn.ch>
1193 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1195 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1197 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1200 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1201 US_FL_NOT_LOCKABLE),
1203 UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1205 "PortGear USB-SCSI (Mac USB Dock)",
1206 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1207 US_FL_SCM_MULT_TARG ),
1209 UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1211 "PortGear USB to SCSI Converter",
1212 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1213 US_FL_SCM_MULT_TARG ),
1215 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1216 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1219 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1223 * Submitted by Dylan Taft <d13f00l@gmail.com>
1224 * US_FL_IGNORE_RESIDUE Needed
1226 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1228 "Aiptek USB Keychain MP3 Player",
1229 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1230 US_FL_IGNORE_RESIDUE),
1233 * Entry needed for flags. Moreover, all devices with this ID use
1234 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1235 * One example is "Trumpion Digital Research MYMP3".
1236 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1238 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1240 "t33520 USB Flash Card Controller",
1241 USB_SC_DEVICE, USB_PR_BULK, NULL,
1242 US_FL_NEED_OVERRIDE ),
1245 * Reported by Filippo Bardelli <filibard@libero.it>
1246 * The device reports a subclass of RBC, which is wrong.
1248 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1249 "Trumpion Microelectronics, Inc.",
1250 "33520 USB Digital Voice Recorder",
1251 USB_SC_UFI, USB_PR_DEVICE, NULL,
1254 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1255 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1258 USB_SC_RBC, USB_PR_BULK, NULL,
1261 UNUSUAL_DEV(0x090c, 0x1000, 0x1100, 0x1100,
1264 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1265 US_FL_MAX_SECTORS_64),
1268 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1270 "5-in-1 Card Reader",
1271 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1272 US_FL_FIX_CAPACITY ),
1275 * Reported by Icenowy Zheng <icenowy@aosc.io>
1276 * The SMI SM3350 USB-UFS bridge controller will enter a wrong state
1277 * that do not process read/write command if a long sense is requested,
1278 * so force to use 18-byte sense.
1280 UNUSUAL_DEV( 0x090c, 0x3350, 0x0000, 0xffff,
1282 "SM3350 UFS-to-USB-Mass-Storage bridge",
1283 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1287 * Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1288 * This card reader returns "Illegal Request, Logical Block Address
1289 * Out of Range" for the first READ(10) after a new card is inserted.
1291 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1293 "SD/SDHC Card Reader",
1294 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1295 US_FL_INITIAL_READ10 ),
1298 * This Pentax still camera is not conformant
1299 * to the USB storage specification: -
1300 * - It does not like the INQUIRY command. So we must handle this command
1301 * of the SCSI layer ourselves.
1302 * Tested on Rev. 10.00 (0x1000)
1303 * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1305 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1308 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1309 US_FL_FIX_INQUIRY ),
1312 * These are virtual windows driver CDs, which the zd1211rw driver
1313 * automatically converts into WLAN devices.
1315 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1317 "G-220F USB-WLAN Install",
1318 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1319 US_FL_IGNORE_DEVICE ),
1321 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1323 "WL-117 USB-WLAN Install",
1324 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1325 US_FL_IGNORE_DEVICE ),
1328 * Reported by Dan Williams <dcbw@redhat.com>
1329 * Option N.V. mobile broadband modems
1330 * Ignore driver CD mode and force into modem mode by default.
1334 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1337 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1341 * Reported by F. Aben <f.aben@option.com>
1342 * This device (wrongly) has a vendor-specific device descriptor.
1343 * The entry is needed so usb-storage can bind to it's mass-storage
1344 * interface as an interface driver
1346 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1349 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1353 * Reported by Jan Dumon <j.dumon@option.com>
1354 * These devices (wrongly) have a vendor-specific device descriptor.
1355 * These entries are needed so usb-storage can bind to their mass-storage
1356 * interface as an interface driver
1358 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1361 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1364 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1367 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1370 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1373 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1376 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1379 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1382 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1385 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1388 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1391 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1394 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1397 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1400 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1403 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1406 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1409 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1412 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1415 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1418 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1421 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1424 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1427 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1430 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1433 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1436 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1439 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1442 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1445 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1448 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1449 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1452 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1454 /* Reported by Ben Efros <ben@pc-doctor.com> */
1455 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1458 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1461 /* Reported by Kris Lindgren <kris.lindgren@gmail.com> */
1462 UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
1465 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1466 US_FL_NO_WP_DETECT ),
1468 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1471 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1475 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1476 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1478 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1481 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1484 /* Submitted by Joris Struyve <joris@struyve.be> */
1485 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1488 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1492 * Entry for Jenoptik JD 5200z3
1494 * email: car.busse@gmx.de
1496 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1499 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1501 /* Reported by Jason Johnston <killean@shaw.ca> */
1502 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1503 "Macpower Technology Co.LTD.",
1504 "USB 2.0 3.5\" DEVICE",
1505 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1506 US_FL_FIX_CAPACITY),
1509 * Reported by Lubomir Blaha <tritol@trilogic.cz>
1510 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1511 * works for me. Can anybody correct these values? (I able to test corrected
1514 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1517 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1518 US_FL_FIX_INQUIRY ),
1521 * Reported by Edward Chapman (taken from linux-usb mailing list)
1522 * Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive
1524 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1527 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1528 US_FL_IGNORE_RESIDUE ),
1532 * Patch by Stephan Walter <stephan.walter@epfl.ch>
1533 * I don't know why, but it works...
1535 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1538 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1539 US_FL_IGNORE_RESIDUE ),
1541 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1542 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1545 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1546 US_FL_IGNORE_RESIDUE ),
1548 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1549 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1552 USB_SC_DEVICE, USB_PR_BULK, NULL,
1553 US_FL_NEED_OVERRIDE ),
1555 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1556 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1559 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1560 US_FL_FIX_INQUIRY ),
1563 * Submitted by Daniel Drake <dsd@gentoo.org>
1564 * Reported by dayul on the Gentoo Forums
1566 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1569 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1570 US_FL_IGNORE_RESIDUE ),
1572 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1573 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1576 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1577 US_FL_IGNORE_RESIDUE ),
1580 * Reported by Benjamin Schiller <sbenni@gmx.de>
1581 * It is also sold by Easylite as DJ 20
1583 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1586 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1587 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1590 * Patch by Leonid Petrov mail at lpetrov.net
1591 * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1592 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1593 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1595 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1598 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1599 US_FL_IGNORE_RESIDUE ),
1602 * David Kuehling <dvdkhlng@gmx.de>:
1603 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1604 * errors when trying to write.
1606 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1609 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1610 US_FL_IGNORE_RESIDUE ),
1612 /* Submitted by Nick Holloway */
1613 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1616 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1617 US_FL_FIX_CAPACITY ),
1619 /* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
1620 UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1621 "Research In Motion",
1622 "BlackBerry Bold 9000",
1623 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1624 US_FL_MAX_SECTORS_64 ),
1626 /* Reported by Michael Stattmann <michael@stattmann.com> */
1627 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1629 "V800-Vodafone 802",
1630 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1631 US_FL_NO_WP_DETECT ),
1633 /* Reported by The Solutor <thesolutor@gmail.com> */
1634 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1637 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1638 US_FL_IGNORE_DEVICE),
1641 * Reported by Jan Mate <mate@fiit.stuba.sk>
1642 * and by Soeren Sonnenburg <kernel@nn7.de>
1644 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1647 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1648 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1650 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1651 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1654 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1655 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1657 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1658 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1661 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1662 US_FL_IGNORE_RESIDUE ),
1665 * Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1666 * Tested on hardware version 1.10.
1667 * Entry is needed only for the initializer function override.
1668 * Devices with bcd > 110 seem to not need it while those
1669 * with bcd < 110 appear to need it.
1671 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1674 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1677 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1680 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1683 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1684 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1687 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1690 * Reported by Fabio Venturi <f.venturi@tdnet.it>
1691 * The device reports a vendor-specific bDeviceClass.
1693 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1694 "Actions Semiconductor",
1696 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1700 * Reported by Pascal Terjan <pterjan@mandriva.com>
1701 * Ignore driver CD mode and force into modem mode by default.
1703 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1706 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1709 * Reported by Kevin Lloyd <linux@sierrawireless.com>
1710 * Entry is needed for the initializer function override,
1711 * which instructs the device to load as a modem
1714 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1717 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1721 * Reported by Jaco Kroon <jaco@kroon.co.za>
1722 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1723 * devices) misbehaves and causes a bunch of invalid I/O errors.
1725 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1727 "DigiTech Mass Storage",
1728 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1729 US_FL_IGNORE_RESIDUE ),
1732 * Reported by fangxiaozhi <huananhu@huawei.com>
1733 * This brings the HUAWEI data card devices into multi-port mode
1735 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1738 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1740 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1743 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1745 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1748 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1750 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1753 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1755 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1758 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1760 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1763 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1765 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1768 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1770 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1773 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1775 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1778 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1780 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1783 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1785 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1788 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1790 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1793 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1795 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1798 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1800 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1803 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1805 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1808 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1810 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1813 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1815 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1818 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1820 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1823 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1825 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1828 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1830 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1833 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1835 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1838 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1840 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1843 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1845 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1848 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1850 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1853 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1855 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1858 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1860 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1863 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1865 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1868 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1870 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1873 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1875 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1878 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1880 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1883 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1885 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1888 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1890 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1893 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1895 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1898 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1900 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1903 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1905 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1908 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1910 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1913 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1915 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1918 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1920 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1923 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1925 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1928 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1930 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1933 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1935 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1938 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1940 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1943 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1945 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1948 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1950 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1953 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1955 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1958 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1960 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1963 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1965 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1968 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1970 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1973 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1975 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1978 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1980 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1983 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1985 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1988 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1990 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
1993 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1995 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
1998 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2000 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
2003 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2005 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
2008 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2010 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
2013 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2015 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
2018 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2020 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
2023 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2025 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
2028 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2030 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
2033 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2035 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
2038 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2040 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
2043 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2045 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
2048 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2050 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
2053 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2055 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
2058 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2060 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
2063 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2066 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
2067 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
2070 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2073 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
2074 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
2077 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2078 US_FL_IGNORE_RESIDUE ),
2081 * Reported by Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
2082 * The INIC-3619 bridge is used in the StarTech SLSODDU33B
2083 * SATA-USB enclosure for slimline optical drives.
2085 * The quirk enables MakeMKV to properly exchange keys with
2086 * an installed BD drive.
2088 UNUSUAL_DEV( 0x13fd, 0x3609, 0x0209, 0x0209,
2089 "Initio Corporation",
2091 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2092 US_FL_IGNORE_RESIDUE ),
2094 /* Reported by Qinglin Ye <yestyle@gmail.com> */
2095 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
2098 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2099 US_FL_BULK_IGNORE_TAG ),
2101 /* Reported by Francesco Foresti <frafore@tiscali.it> */
2102 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
2105 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2106 US_FL_IGNORE_RESIDUE ),
2108 /* Reported by Michael Büsch <m@bues.ch> */
2109 UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0117,
2111 "USB to ATA/ATAPI Bridge",
2112 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2115 /* Reported by David Kozub <zub@linux.fjfi.cvut.cz> */
2116 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
2119 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2123 * Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2124 * JMicron responds to USN and several other SCSI ioctls with a
2125 * residue that causes subsequent I/O requests to fail. */
2126 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
2128 "USB to ATA/ATAPI Bridge",
2129 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2130 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2132 /* Reported by Dmitry Nezhevenko <dion@dion.org.ua> */
2133 UNUSUAL_DEV( 0x152d, 0x2566, 0x0114, 0x0114,
2135 "USB to ATA/ATAPI Bridge",
2136 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2139 /* Reported by Teijo Kinnunen <teijo.kinnunen@code-q.fi> */
2140 UNUSUAL_DEV( 0x152d, 0x2567, 0x0117, 0x0117,
2142 "USB to ATA/ATAPI Bridge",
2143 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2146 /* Reported-by George Cherian <george.cherian@cavium.com> */
2147 UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
2150 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2151 US_FL_NO_REPORT_OPCODES),
2154 * Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
2155 * and Mac USB Dock USB-SCSI */
2156 UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
2157 "Entrega Technologies",
2158 "USB to SCSI Converter",
2159 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2160 US_FL_SCM_MULT_TARG ),
2163 * Reported by Robert Schedel <r.schedel@yahoo.de>
2164 * Note: this is a 'super top' device like the above 14cd/6600 device
2166 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
2169 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2170 US_FL_IGNORE_RESIDUE ),
2172 /* Reported by Oliver Neukum <oneukum@suse.com> */
2173 UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
2176 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2179 /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
2180 UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
2183 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2184 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2186 UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2187 "Ariston Technologies",
2188 "iConnect USB to SCSI adapter",
2189 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2190 US_FL_SCM_MULT_TARG ),
2193 * Reported by Hans de Goede <hdegoede@redhat.com>
2194 * These Appotech controllers are found in Picture Frames, they provide a
2195 * (buggy) emulation of a cdrom drive which contains the windows software
2196 * Uploading of pictures happens over the corresponding /dev/sg device.
2198 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2201 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2203 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2206 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2208 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2211 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2212 US_FL_NO_READ_DISC_INFO ),
2215 * Reported by Matthias Schwarzott <zzam@gentoo.org>
2216 * The Amazon Kindle treats SYNCHRONIZE CACHE as an indication that
2217 * the host may be finished with it, and automatically ejects its
2218 * emulated media unless it receives another command within one second.
2220 UNUSUAL_DEV( 0x1949, 0x0004, 0x0000, 0x9999,
2223 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2224 US_FL_SENSE_AFTER_SYNC ),
2227 * Reported by Oliver Neukum <oneukum@suse.com>
2228 * This device morphes spontaneously into another device if the access
2229 * pattern of Windows isn't followed. Thus writable media would be dirty
2230 * if the initial instance is used. So the device is limited to its
2232 * And yes, the concept that BCD goes up to 9 is not heeded
2234 UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
2236 "ZTE WCDMA Technologies MSM",
2237 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2241 * Reported by Sven Geggus <sven-usbst@geggus.net>
2242 * This encrypted pen drive returns bogus data for the initial READ(10).
2244 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2247 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2248 US_FL_INITIAL_READ10 ),
2251 * Reported by Hans de Goede <hdegoede@redhat.com>
2252 * These are mini projectors using USB for both power and video data transport
2253 * The usb-storage interface is a virtual windows driver CD, which the gm12u320
2254 * driver automatically converts into framebuffer & kms dri device nodes.
2256 UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
2257 "Grain-media Technology Corp.",
2258 "USB3.0 Device GM12U320",
2259 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2260 US_FL_IGNORE_DEVICE ),
2263 * Patch by Richard Schütz <r.schtz@t-online.de>
2264 * This external hard drive enclosure uses a JMicron chip which
2265 * needs the US_FL_IGNORE_RESIDUE flag to work properly.
2267 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2268 "TrekStor GmbH & Co. KG",
2269 "DataStation maxi g.u",
2270 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2271 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2273 /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
2274 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2277 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2278 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2280 /* Supplied with some Castlewood ORB removable drives */
2281 UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
2282 "Double-H Technology",
2283 "USB to SCSI Intelligent Cable",
2284 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2285 US_FL_SCM_MULT_TARG ),
2287 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2290 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2291 US_FL_FIX_CAPACITY),
2294 * patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2295 * and Renato Perini <rperini@email.it>
2297 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2300 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2301 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2304 * Patch by Constantin Baranov <const@tltsu.ru>
2305 * Report by Andreas Koenecke.
2308 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2311 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2312 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2314 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2315 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2318 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2321 /* Reported-by: Tim Anderson <tsa@biglakesoftware.com> */
2322 UNUSUAL_DEV( 0x2ca3, 0x0031, 0x0000, 0x9999,
2325 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2329 * Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2332 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2334 "Mio DigiWalker USB Sync",
2335 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2336 US_FL_MAX_SECTORS_64 ),
2338 /* Reported by Cyril Roelandt <tipecaml@gmail.com> */
2339 UNUSUAL_DEV( 0x357d, 0x7788, 0x0114, 0x0114,
2341 "USB to ATA/ATAPI Bridge",
2342 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2343 US_FL_BROKEN_FUA | US_FL_IGNORE_UAS ),
2345 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2346 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2349 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2350 US_FL_IGNORE_RESIDUE ),
2352 /* Reported by Sergey Pinaev <dfo@antex.ru> */
2353 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2356 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2357 US_FL_MAX_SECTORS_64 ),
2360 * David Härdeman <david@2gen.com>
2361 * The key makes the SCSI stack print confusing (but harmless) messages
2363 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2366 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2368 /* "G-DRIVE" external HDD hangs on write without these.
2369 * Patch submitted by Alexander Kappner <agk@godking.net>
2371 UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
2374 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2378 * Nick Bowler <nbowler@elliptictech.com>
2379 * SCSI stack spams (otherwise harmless) error messages.
2381 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2382 "Keil Software, Inc.",
2384 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2385 US_FL_NOT_LOCKABLE),
2387 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2388 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2391 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2392 US_FL_CAPACITY_HEURISTICS),
2394 /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2395 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2397 "Digital MP3 Audio Player",
2398 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2400 /* Unusual uas devices */
2401 #if IS_ENABLED(CONFIG_USB_UAS)
2402 #include "unusual_uas.h"
2405 /* Control/Bulk transport for all SubClass values */
2406 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2407 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2408 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2409 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2410 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2411 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2413 /* Control/Bulk/Interrupt transport for all SubClass values */
2414 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2415 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2416 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2417 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2418 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2419 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2421 /* Bulk-only transport for all SubClass values */
2422 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2423 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2424 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2425 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2426 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2427 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),