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@zary.sk>
420 * The device reports one sector more and breaks when that sector is accessed
421 * Firmwares older than 2.6c (the latest one and the only that claims Linux
422 * support) have also broken tag handling
424 UNUSUAL_DEV( 0x04ce, 0x0002, 0x0000, 0x026b,
427 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
428 US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
429 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
432 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
436 * Reported by Kriston Fincher <kriston@airmail.net>
437 * Patch submitted by Sean Millichamp <sean@bruenor.org>
438 * This is to support the Panasonic PalmCam PV-SD4090
439 * This entry is needed because the device reports Sub=ff
441 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
444 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
447 * From Yukihiro Nakai, via zaitcev@yahoo.com.
448 * This is needed for CB instead of CBI
450 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
453 USB_SC_8070, USB_PR_CB, NULL, 0),
455 /* Reported by Adriaan Penning <a.penning@luon.net> */
456 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
459 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
460 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
462 /* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
463 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
466 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
467 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
470 * Most of the following entries were developed with the help of
471 * Shuttle/SCM directly.
473 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
476 USB_SC_8020, USB_PR_CB, NULL, 0),
478 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
481 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
482 US_FL_SCM_MULT_TARG ),
485 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
487 "eUSB CompactFlash Adapter",
488 USB_SC_SCSI, USB_PR_CB, NULL,
492 /* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
493 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
494 "SCM Microsystems Inc.",
496 USB_SC_SCSI, USB_PR_CB, NULL,
499 /* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
500 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
503 USB_SC_SCSI, USB_PR_DEVICE, NULL,
506 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
509 USB_SC_SCSI, USB_PR_CB, NULL,
512 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
514 "eUSB ATA/ATAPI Adapter",
515 USB_SC_8020, USB_PR_CB, NULL, 0),
517 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
519 "eUSB CompactFlash Adapter",
520 USB_SC_8020, USB_PR_CB, NULL, 0),
522 UNUSUAL_DEV( 0x04e6, 0x000b, 0x0100, 0x0100,
525 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
526 US_FL_SCM_MULT_TARG ),
528 UNUSUAL_DEV( 0x04e6, 0x000c, 0x0100, 0x0100,
531 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
532 US_FL_SCM_MULT_TARG ),
534 UNUSUAL_DEV( 0x04e6, 0x000f, 0x0000, 0x9999,
536 "eUSB SCSI Adapter (Bus Powered)",
537 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
538 US_FL_SCM_MULT_TARG ),
540 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
543 USB_SC_8020, USB_PR_CB, NULL, 0),
545 /* Reported by Dmitry Khlystov <adminimus@gmail.com> */
546 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
549 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
550 US_FL_MAX_SECTORS_64),
552 /* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
553 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
556 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
557 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
559 /* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
560 UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
563 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
564 US_FL_MAX_SECTORS_64),
567 * Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
568 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
569 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
571 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
574 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
577 /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
578 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
581 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
582 US_FL_SCM_MULT_TARG ),
586 * Reported by David Chatenay <dchatenay@hotmail.com>
587 * The reason this is needed is not fully known.
589 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
592 USB_SC_8070, USB_PR_DEVICE, NULL,
595 /* Added by Alan Stern <stern@rowland.harvard.edu> */
596 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
598 "File-backed Storage Gadget",
599 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
603 * Yakumo Mega Image 37
604 * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
605 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
606 "Tekom Technologies, Inc",
608 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
609 US_FL_IGNORE_RESIDUE ),
612 * Another Yakumo camera.
613 * Reported by Michele Alzetta <michele.alzetta@aliceposta.it>
615 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
616 "Tekom Technologies, Inc",
618 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
619 US_FL_IGNORE_RESIDUE ),
621 /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
622 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
623 "Tekom Technologies, Inc",
625 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
626 US_FL_IGNORE_RESIDUE ),
629 * Yakumo Mega Image 47
630 * Reported by Bjoern Paetzel <kolrabi@kolrabi.de>
632 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
633 "Tekom Technologies, Inc",
635 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
636 US_FL_IGNORE_RESIDUE ),
639 * Reported by Paul Ortyl <ortylp@3miasto.net>
640 * Note that it's similar to the device above, only different prodID
642 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
643 "Tekom Technologies, Inc",
645 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
646 US_FL_IGNORE_RESIDUE ),
648 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
650 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
651 USB_SC_SCSI, USB_PR_DEVICE, NULL,
652 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
655 * Submitted by Lars Jacob <jacob.lars@googlemail.com>
656 * This entry is needed because the device reports Sub=ff
658 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
661 USB_SC_8070, USB_PR_DEVICE, NULL,
665 /* Reported by wim@geeks.nl */
666 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
668 "Memorystick NW-MS7",
669 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
672 /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
673 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
676 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
679 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
681 "Memorystick MSAC-US1",
682 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
685 /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
686 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
689 USB_SC_SCSI, USB_PR_DEVICE, NULL,
692 /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
693 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
696 USB_SC_UFI, USB_PR_DEVICE, NULL,
699 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
701 "Memorystick MSC-U01N",
702 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
705 /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
706 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
708 "PEG N760c Memorystick",
709 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
712 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
714 "Memorystick MSC-U03",
715 USB_SC_UFI, USB_PR_CB, NULL,
718 /* Submitted by Nathan Babb <nathan@lexi.com> */
719 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
722 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
725 /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
726 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
729 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
732 /* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
733 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
736 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
739 /* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
740 UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
742 "MicroVault Flash Drive",
743 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
744 US_FL_NO_READ_CAPACITY_16 ),
746 /* floppy reports multiple luns */
747 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
750 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
753 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
754 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
757 USB_SC_DEVICE, USB_PR_CB, NULL,
761 * Reported by Johann Cardon <johann.cardon@free.fr>
762 * This entry is needed only because the device reports
763 * bInterfaceClass = 0xff (vendor-specific)
765 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
768 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
770 /* Reported by RTE <raszilki@yandex.ru> */
771 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
774 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
775 US_FL_MAX_SECTORS_64 ),
777 /* Fabrizio Fellini <fello@libero.it> */
778 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
780 "Digital Camera EX-20 DSC",
781 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
784 * Reported by Andre Welter <a.r.welter@gmx.de>
785 * This antique device predates the release of the Bulk-only Transport
786 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
787 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
788 * us from sending the request.
790 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
793 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
796 UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
799 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
802 /* Reported by <Hendryk.Pfeiffer@gmx.de> */
803 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
806 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
809 /* Reported by Christian Schaller <cschalle@redhat.com> */
810 UNUSUAL_DEV( 0x059f, 0x0651, 0x0000, 0x0000,
813 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
814 US_FL_NO_WP_DETECT ),
817 * Submitted by Joel Bourquard <numlock@freesurf.ch>
818 * Some versions of this device need the SubClass and Protocol overrides
819 * while others don't.
821 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
823 "PyroGate External CD-ROM Enclosure (FCD-523)",
824 USB_SC_SCSI, USB_PR_BULK, NULL,
825 US_FL_NEED_OVERRIDE ),
828 * Submitted by Sven Anderson <sven-linux@anderson.de>
829 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
830 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
831 * to change with firmware updates, I changed the range to maximum for all
834 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
837 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
838 US_FL_FIX_CAPACITY ),
840 /* Reported by Avi Kivity <avi@argo.co.il> */
841 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
844 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
845 US_FL_FIX_CAPACITY ),
847 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
850 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
851 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
853 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
856 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
857 US_FL_FIX_CAPACITY ),
860 * Reported by Tyson Vinson <lornoss@gmail.com>
861 * This particular productId is the iPod Nano
863 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
866 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
867 US_FL_FIX_CAPACITY ),
870 * Reported by Dan Williams <dcbw@redhat.com>
871 * Option N.V. mobile broadband modems
872 * Ignore driver CD mode and force into modem mode by default.
875 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
876 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
879 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
882 /* Reported by Blake Matheny <bmatheny@purdue.edu> */
883 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
886 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
890 * The following two entries are for a Genesys USB to IDE
891 * converter chip, but it changes its ProductId depending
892 * on whether or not a disk or an optical device is enclosed
893 * They were originally reported by Alexander Oltu
894 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
897 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
898 * <phil@ipom.com> as these flags were made and hard-coded
899 * special-cases were pulled from scsiglue.c.
901 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
903 "USB to IDE Optical",
904 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
905 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
907 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
910 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
911 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
913 /* Reported by Ben Efros <ben@pc-doctor.com> */
914 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
917 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
921 * Reported by Hanno Boeck <hanno@gmx.de>
922 * Taken from the Lycoris Kernel
924 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
927 USB_SC_SCSI, USB_PR_BULK, NULL,
930 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
933 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
935 /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
936 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
938 "USBMSC Audio Player",
939 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
940 US_FL_FIX_CAPACITY ),
942 /* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
943 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
944 "Prolific Technology, Inc.",
945 "Prolific Storage Gadget",
946 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
949 /* Reported by Rogerio Brito <rbrito@ime.usp.br> */
950 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
951 "Prolific Technology, Inc.",
952 "Mass Storage Device",
953 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
954 US_FL_NOT_LOCKABLE ),
956 /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
958 * Change to bcdDeviceMin (0x0100 to 0x0001) reported by
959 * Thomas Bartosik <tbartdev@gmx-topmail.de>
961 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
962 "Prolific Technology Inc.",
963 "Mass Storage Device",
964 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
965 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
967 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
968 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
969 "Prolific Technology Inc.",
970 "ATAPI-6 Bridge Controller",
971 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
972 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
974 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
975 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
978 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
980 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
981 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
984 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
986 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
989 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
991 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
992 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
993 "Thomson Multimedia Inc.",
994 "RCA RD1080 MP3 Player",
995 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
996 US_FL_FIX_CAPACITY ),
998 UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
1001 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1002 US_FL_SCM_MULT_TARG ),
1004 /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
1005 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
1008 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1009 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
1010 US_FL_NO_READ_CAPACITY_16),
1013 * Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
1014 * Support the following product :
1015 * "Dane-Elec MediaTouch"
1017 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
1020 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1021 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
1024 * Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
1025 * This USB MP3/AVI player device fails and disconnects if more than 128
1026 * sectors (64kB) are read/written in a single command, and may be present
1027 * at least in the following products:
1028 * "Magnex Digital Video Panel DVP 1800"
1029 * "MP4 AIGO 4GB SLOT SD"
1030 * "Teclast TL-C260 MP3"
1031 * "i.Meizu PMP MP3/MP4"
1032 * "Speed MV8 MP4 Audio Player"
1034 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
1037 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1038 US_FL_MAX_SECTORS_64),
1040 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
1041 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
1044 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1045 US_FL_IGNORE_RESIDUE),
1047 /* Submitted by Roman Hodek <roman@hodek.net> */
1048 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
1050 "ImageMate SDDR-05a",
1051 USB_SC_SCSI, USB_PR_CB, NULL,
1054 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
1055 "SanDisk Corporation",
1056 "ImageMate CompactFlash USB",
1057 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1058 US_FL_FIX_CAPACITY ),
1060 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
1062 "ImageMate SDDR-12",
1063 USB_SC_SCSI, USB_PR_CB, NULL,
1066 /* Reported by Eero Volotinen <eero@ping-viini.org> */
1067 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
1068 "Freecom Technologies",
1070 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1071 US_FL_FIX_CAPACITY),
1073 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
1076 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1077 US_FL_SCM_MULT_TARG ),
1079 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
1082 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1083 US_FL_SCM_MULT_TARG ),
1086 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1089 USB_SC_SCSI, USB_PR_CB, NULL,
1094 * Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1095 * Only revision 1.13 tested (same for all of the above devices,
1096 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1097 * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
1098 * See also http://martin.wilck.bei.t-online.de/#kecf .
1100 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1103 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1104 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1107 * Reported by Rauch Wolke <rauchwolke@gmx.net>
1108 * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
1110 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1111 "Simple Tech/Datafab",
1113 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1114 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1117 * Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1118 * to the USB storage specification in two ways:
1119 * - They tell us they are using transport protocol CBI. In reality they
1120 * are using transport protocol CB.
1121 * - They don't like the INQUIRY command. So we must handle this command
1122 * of the SCSI layer ourselves.
1123 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1124 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1125 * So don't remove the USB_PR_CB override!
1126 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1128 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1131 USB_SC_8070, USB_PR_CB, NULL,
1132 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1134 /* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1135 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1137 "EX-N1 DigitalCamera",
1138 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1140 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1141 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1144 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1147 /* Reported by Luciano Rocha <luciano@eurotux.com> */
1148 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1151 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1152 US_FL_FIX_CAPACITY),
1154 /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1155 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1158 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1159 US_FL_FIX_CAPACITY),
1161 /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1162 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1165 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1166 US_FL_FIX_CAPACITY),
1168 /* Supplied with some Castlewood ORB removable drives */
1169 UNUSUAL_DEV( 0x084b, 0xa001, 0x0000, 0x9999,
1170 "Castlewood Systems",
1171 "USB to SCSI cable",
1172 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1173 US_FL_SCM_MULT_TARG ),
1176 * Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1177 * Flag will support Bulk devices which use a standards-violating 32-byte
1178 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1179 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1182 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1185 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1189 * Reported by <ttkspam@free.fr>
1190 * The device reports a vendor-specific device class, requiring an
1191 * explicit vendor/product match.
1193 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1196 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1199 * Andrew Lunn <andrew@lunn.ch>
1200 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1202 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1204 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1207 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1208 US_FL_NOT_LOCKABLE),
1210 UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1212 "PortGear USB-SCSI (Mac USB Dock)",
1213 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1214 US_FL_SCM_MULT_TARG ),
1216 UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1218 "PortGear USB to SCSI Converter",
1219 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1220 US_FL_SCM_MULT_TARG ),
1222 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1223 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1226 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1230 * Submitted by Dylan Taft <d13f00l@gmail.com>
1231 * US_FL_IGNORE_RESIDUE Needed
1233 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1235 "Aiptek USB Keychain MP3 Player",
1236 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1237 US_FL_IGNORE_RESIDUE),
1240 * Entry needed for flags. Moreover, all devices with this ID use
1241 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1242 * One example is "Trumpion Digital Research MYMP3".
1243 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1245 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1247 "t33520 USB Flash Card Controller",
1248 USB_SC_DEVICE, USB_PR_BULK, NULL,
1249 US_FL_NEED_OVERRIDE ),
1252 * Reported by Filippo Bardelli <filibard@libero.it>
1253 * The device reports a subclass of RBC, which is wrong.
1255 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1256 "Trumpion Microelectronics, Inc.",
1257 "33520 USB Digital Voice Recorder",
1258 USB_SC_UFI, USB_PR_DEVICE, NULL,
1261 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1262 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1265 USB_SC_RBC, USB_PR_BULK, NULL,
1268 UNUSUAL_DEV(0x090c, 0x1000, 0x1100, 0x1100,
1271 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1272 US_FL_MAX_SECTORS_64),
1275 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1277 "5-in-1 Card Reader",
1278 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1279 US_FL_FIX_CAPACITY ),
1282 * Reported by Icenowy Zheng <icenowy@aosc.io>
1283 * The SMI SM3350 USB-UFS bridge controller will enter a wrong state
1284 * that do not process read/write command if a long sense is requested,
1285 * so force to use 18-byte sense.
1287 UNUSUAL_DEV( 0x090c, 0x3350, 0x0000, 0xffff,
1289 "SM3350 UFS-to-USB-Mass-Storage bridge",
1290 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1294 * Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1295 * This card reader returns "Illegal Request, Logical Block Address
1296 * Out of Range" for the first READ(10) after a new card is inserted.
1298 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1300 "SD/SDHC Card Reader",
1301 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1302 US_FL_INITIAL_READ10 ),
1305 * This Pentax still camera is not conformant
1306 * to the USB storage specification: -
1307 * - It does not like the INQUIRY command. So we must handle this command
1308 * of the SCSI layer ourselves.
1309 * Tested on Rev. 10.00 (0x1000)
1310 * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1312 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1315 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1316 US_FL_FIX_INQUIRY ),
1319 * These are virtual windows driver CDs, which the zd1211rw driver
1320 * automatically converts into WLAN devices.
1322 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1324 "G-220F USB-WLAN Install",
1325 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1326 US_FL_IGNORE_DEVICE ),
1328 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1330 "WL-117 USB-WLAN Install",
1331 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1332 US_FL_IGNORE_DEVICE ),
1335 * Reported by Dan Williams <dcbw@redhat.com>
1336 * Option N.V. mobile broadband modems
1337 * Ignore driver CD mode and force into modem mode by default.
1341 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1344 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1348 * Reported by F. Aben <f.aben@option.com>
1349 * This device (wrongly) has a vendor-specific device descriptor.
1350 * The entry is needed so usb-storage can bind to it's mass-storage
1351 * interface as an interface driver
1353 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1356 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1360 * Reported by Jan Dumon <j.dumon@option.com>
1361 * These devices (wrongly) have a vendor-specific device descriptor.
1362 * These entries are needed so usb-storage can bind to their mass-storage
1363 * interface as an interface driver
1365 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1368 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1371 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1374 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1377 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1380 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1383 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1386 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1389 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1392 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1395 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1398 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1401 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1404 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1407 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1410 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1413 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1416 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1419 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1422 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1425 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1428 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1431 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1434 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1437 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1440 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1443 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1446 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1449 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1452 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1455 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1456 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1459 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1461 /* Reported by Ben Efros <ben@pc-doctor.com> */
1462 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1465 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1468 /* Reported by Kris Lindgren <kris.lindgren@gmail.com> */
1469 UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
1472 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1473 US_FL_NO_WP_DETECT ),
1475 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1478 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1482 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1483 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1485 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1488 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1491 /* Submitted by Joris Struyve <joris@struyve.be> */
1492 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1495 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1499 * Entry for Jenoptik JD 5200z3
1501 * email: car.busse@gmx.de
1503 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1506 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1508 /* Reported by Jason Johnston <killean@shaw.ca> */
1509 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1510 "Macpower Technology Co.LTD.",
1511 "USB 2.0 3.5\" DEVICE",
1512 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1513 US_FL_FIX_CAPACITY),
1516 * Reported by Lubomir Blaha <tritol@trilogic.cz>
1517 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1518 * works for me. Can anybody correct these values? (I able to test corrected
1521 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1524 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1525 US_FL_FIX_INQUIRY ),
1528 * Reported by Edward Chapman (taken from linux-usb mailing list)
1529 * Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive
1531 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1534 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1535 US_FL_IGNORE_RESIDUE ),
1539 * Patch by Stephan Walter <stephan.walter@epfl.ch>
1540 * I don't know why, but it works...
1542 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1545 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1546 US_FL_IGNORE_RESIDUE ),
1548 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1549 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1552 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1553 US_FL_IGNORE_RESIDUE ),
1555 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1556 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1559 USB_SC_DEVICE, USB_PR_BULK, NULL,
1560 US_FL_NEED_OVERRIDE ),
1562 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1563 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1566 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1567 US_FL_FIX_INQUIRY ),
1570 * Submitted by Daniel Drake <dsd@gentoo.org>
1571 * Reported by dayul on the Gentoo Forums
1573 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1576 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1577 US_FL_IGNORE_RESIDUE ),
1579 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1580 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1583 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1584 US_FL_IGNORE_RESIDUE ),
1587 * Reported by Benjamin Schiller <sbenni@gmx.de>
1588 * It is also sold by Easylite as DJ 20
1590 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1593 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1594 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1597 * Patch by Leonid Petrov mail at lpetrov.net
1598 * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1599 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1600 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1602 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1605 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1606 US_FL_IGNORE_RESIDUE ),
1609 * David Kuehling <dvdkhlng@gmx.de>:
1610 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1611 * errors when trying to write.
1613 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1616 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1617 US_FL_IGNORE_RESIDUE ),
1619 /* Submitted by Nick Holloway */
1620 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1623 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1624 US_FL_FIX_CAPACITY ),
1626 /* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
1627 UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1628 "Research In Motion",
1629 "BlackBerry Bold 9000",
1630 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1631 US_FL_MAX_SECTORS_64 ),
1633 /* Reported by Michael Stattmann <michael@stattmann.com> */
1634 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1636 "V800-Vodafone 802",
1637 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1638 US_FL_NO_WP_DETECT ),
1640 /* Reported by The Solutor <thesolutor@gmail.com> */
1641 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1644 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1645 US_FL_IGNORE_DEVICE),
1648 * Reported by Jan Mate <mate@fiit.stuba.sk>
1649 * and by Soeren Sonnenburg <kernel@nn7.de>
1651 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1654 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1655 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1657 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1658 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1661 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1662 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1664 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1665 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1668 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1669 US_FL_IGNORE_RESIDUE ),
1672 * Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1673 * Tested on hardware version 1.10.
1674 * Entry is needed only for the initializer function override.
1675 * Devices with bcd > 110 seem to not need it while those
1676 * with bcd < 110 appear to need it.
1678 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1681 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1684 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1687 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1690 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1691 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1694 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1697 * Reported by Fabio Venturi <f.venturi@tdnet.it>
1698 * The device reports a vendor-specific bDeviceClass.
1700 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1701 "Actions Semiconductor",
1703 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1707 * Reported by Pascal Terjan <pterjan@mandriva.com>
1708 * Ignore driver CD mode and force into modem mode by default.
1710 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1713 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1716 * Reported by Kevin Lloyd <linux@sierrawireless.com>
1717 * Entry is needed for the initializer function override,
1718 * which instructs the device to load as a modem
1721 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1724 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1728 * Reported by Jaco Kroon <jaco@kroon.co.za>
1729 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1730 * devices) misbehaves and causes a bunch of invalid I/O errors.
1732 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1734 "DigiTech Mass Storage",
1735 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1736 US_FL_IGNORE_RESIDUE ),
1739 * Reported by fangxiaozhi <huananhu@huawei.com>
1740 * This brings the HUAWEI data card devices into multi-port mode
1742 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1745 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1747 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1750 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1752 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1755 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1757 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1760 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1762 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1765 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1767 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1770 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1772 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1775 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1777 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1780 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1782 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1785 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1787 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1790 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1792 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1795 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1797 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1800 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1802 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1805 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1807 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1810 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1812 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1815 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1817 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1820 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1822 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1825 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1827 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1830 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1832 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1835 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1837 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1840 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1842 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1845 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1847 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1850 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1852 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1855 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1857 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1860 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1862 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1865 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1867 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1870 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1872 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1875 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1877 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1880 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1882 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1885 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1887 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1890 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1892 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1895 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1897 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1900 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1902 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1905 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1907 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1910 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1912 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1915 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1917 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1920 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1922 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1925 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1927 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1930 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1932 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1935 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1937 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1940 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1942 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1945 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1947 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1950 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1952 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1955 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1957 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1960 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1962 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1965 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1967 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1970 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1972 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1975 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1977 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1980 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1982 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1985 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1987 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1990 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1992 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1995 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1997 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
2000 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2002 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
2005 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2007 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
2010 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2012 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
2015 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2017 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
2020 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2022 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
2025 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2027 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
2030 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2032 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
2035 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2037 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
2040 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2042 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
2045 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2047 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
2050 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2052 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
2055 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2057 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
2060 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2062 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
2065 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2067 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
2070 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2073 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
2074 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
2077 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2080 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
2081 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
2084 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2085 US_FL_IGNORE_RESIDUE ),
2088 * Reported by Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
2089 * The INIC-3619 bridge is used in the StarTech SLSODDU33B
2090 * SATA-USB enclosure for slimline optical drives.
2092 * The quirk enables MakeMKV to properly exchange keys with
2093 * an installed BD drive.
2095 UNUSUAL_DEV( 0x13fd, 0x3609, 0x0209, 0x0209,
2096 "Initio Corporation",
2098 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2099 US_FL_IGNORE_RESIDUE ),
2101 /* Reported by Qinglin Ye <yestyle@gmail.com> */
2102 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
2105 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2106 US_FL_BULK_IGNORE_TAG ),
2108 /* Reported by Francesco Foresti <frafore@tiscali.it> */
2109 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
2112 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2113 US_FL_IGNORE_RESIDUE ),
2115 /* Reported by Michael Büsch <m@bues.ch> */
2116 UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0117,
2118 "USB to ATA/ATAPI Bridge",
2119 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2122 /* Reported by David Kozub <zub@linux.fjfi.cvut.cz> */
2123 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
2126 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2130 * Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2131 * JMicron responds to USN and several other SCSI ioctls with a
2132 * residue that causes subsequent I/O requests to fail. */
2133 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
2135 "USB to ATA/ATAPI Bridge",
2136 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2137 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2139 /* Reported by Dmitry Nezhevenko <dion@dion.org.ua> */
2140 UNUSUAL_DEV( 0x152d, 0x2566, 0x0114, 0x0114,
2142 "USB to ATA/ATAPI Bridge",
2143 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2146 /* Reported by Teijo Kinnunen <teijo.kinnunen@code-q.fi> */
2147 UNUSUAL_DEV( 0x152d, 0x2567, 0x0117, 0x0117,
2149 "USB to ATA/ATAPI Bridge",
2150 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2153 /* Reported-by George Cherian <george.cherian@cavium.com> */
2154 UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
2157 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2158 US_FL_NO_REPORT_OPCODES),
2161 * Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
2162 * and Mac USB Dock USB-SCSI */
2163 UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
2164 "Entrega Technologies",
2165 "USB to SCSI Converter",
2166 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2167 US_FL_SCM_MULT_TARG ),
2170 * Reported by Robert Schedel <r.schedel@yahoo.de>
2171 * Note: this is a 'super top' device like the above 14cd/6600 device
2173 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
2176 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2177 US_FL_IGNORE_RESIDUE ),
2179 /* Reported by Oliver Neukum <oneukum@suse.com> */
2180 UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
2183 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2186 /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
2187 UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
2190 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2191 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2193 UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2194 "Ariston Technologies",
2195 "iConnect USB to SCSI adapter",
2196 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2197 US_FL_SCM_MULT_TARG ),
2200 * Reported by Hans de Goede <hdegoede@redhat.com>
2201 * These Appotech controllers are found in Picture Frames, they provide a
2202 * (buggy) emulation of a cdrom drive which contains the windows software
2203 * Uploading of pictures happens over the corresponding /dev/sg device.
2205 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2208 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2210 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2213 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2215 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2218 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2219 US_FL_NO_READ_DISC_INFO ),
2222 * Reported by Matthias Schwarzott <zzam@gentoo.org>
2223 * The Amazon Kindle treats SYNCHRONIZE CACHE as an indication that
2224 * the host may be finished with it, and automatically ejects its
2225 * emulated media unless it receives another command within one second.
2227 UNUSUAL_DEV( 0x1949, 0x0004, 0x0000, 0x9999,
2230 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2231 US_FL_SENSE_AFTER_SYNC ),
2234 * Reported by Oliver Neukum <oneukum@suse.com>
2235 * This device morphes spontaneously into another device if the access
2236 * pattern of Windows isn't followed. Thus writable media would be dirty
2237 * if the initial instance is used. So the device is limited to its
2239 * And yes, the concept that BCD goes up to 9 is not heeded
2241 UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
2243 "ZTE WCDMA Technologies MSM",
2244 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2248 * Reported by Sven Geggus <sven-usbst@geggus.net>
2249 * This encrypted pen drive returns bogus data for the initial READ(10).
2251 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2254 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2255 US_FL_INITIAL_READ10 ),
2258 * Reported by Hans de Goede <hdegoede@redhat.com>
2259 * These are mini projectors using USB for both power and video data transport
2260 * The usb-storage interface is a virtual windows driver CD, which the gm12u320
2261 * driver automatically converts into framebuffer & kms dri device nodes.
2263 UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
2264 "Grain-media Technology Corp.",
2265 "USB3.0 Device GM12U320",
2266 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2267 US_FL_IGNORE_DEVICE ),
2270 * Patch by Richard Schütz <r.schtz@t-online.de>
2271 * This external hard drive enclosure uses a JMicron chip which
2272 * needs the US_FL_IGNORE_RESIDUE flag to work properly.
2274 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2275 "TrekStor GmbH & Co. KG",
2276 "DataStation maxi g.u",
2277 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2278 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2280 /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
2281 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2284 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2285 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2287 /* Supplied with some Castlewood ORB removable drives */
2288 UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
2289 "Double-H Technology",
2290 "USB to SCSI Intelligent Cable",
2291 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2292 US_FL_SCM_MULT_TARG ),
2294 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2297 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2298 US_FL_FIX_CAPACITY),
2301 * patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2302 * and Renato Perini <rperini@email.it>
2304 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2307 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2308 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2311 * Patch by Constantin Baranov <const@tltsu.ru>
2312 * Report by Andreas Koenecke.
2315 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2318 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2319 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2321 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2322 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2325 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2328 /* Reported-by: Tim Anderson <tsa@biglakesoftware.com> */
2329 UNUSUAL_DEV( 0x2ca3, 0x0031, 0x0000, 0x9999,
2332 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2336 * Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2339 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2341 "Mio DigiWalker USB Sync",
2342 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2343 US_FL_MAX_SECTORS_64 ),
2345 /* Reported by Cyril Roelandt <tipecaml@gmail.com> */
2346 UNUSUAL_DEV( 0x357d, 0x7788, 0x0114, 0x0114,
2348 "USB to ATA/ATAPI Bridge",
2349 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2350 US_FL_BROKEN_FUA | US_FL_IGNORE_UAS ),
2352 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2353 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2356 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2357 US_FL_IGNORE_RESIDUE ),
2359 /* Reported by Sergey Pinaev <dfo@antex.ru> */
2360 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2363 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2364 US_FL_MAX_SECTORS_64 ),
2367 * David Härdeman <david@2gen.com>
2368 * The key makes the SCSI stack print confusing (but harmless) messages
2370 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2373 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2375 /* "G-DRIVE" external HDD hangs on write without these.
2376 * Patch submitted by Alexander Kappner <agk@godking.net>
2378 UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
2381 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2385 * Nick Bowler <nbowler@elliptictech.com>
2386 * SCSI stack spams (otherwise harmless) error messages.
2388 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2389 "Keil Software, Inc.",
2391 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2392 US_FL_NOT_LOCKABLE),
2394 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2395 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2398 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2399 US_FL_CAPACITY_HEURISTICS),
2401 /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2402 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2404 "Digital MP3 Audio Player",
2405 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2407 /* Unusual uas devices */
2408 #if IS_ENABLED(CONFIG_USB_UAS)
2409 #include "unusual_uas.h"
2412 /* Control/Bulk transport for all SubClass values */
2413 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2414 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2415 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2416 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2417 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2418 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2420 /* Control/Bulk/Interrupt transport for all SubClass values */
2421 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2422 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2423 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2424 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2425 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2426 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2428 /* Bulk-only transport for all SubClass values */
2429 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2430 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2431 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2432 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2433 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2434 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),