1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Driver for USB Mass Storage compliant devices
6 * Current development and maintenance by:
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.
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)
56 UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
59 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
60 US_FL_IGNORE_RESIDUE),
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),
75 UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
77 "Personal Media Drive",
78 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
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 ),
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,
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 ),
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,
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 ),
133 UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
134 "Samsung", "MP3 Player",
135 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
136 US_FL_IGNORE_RESIDUE ),
139 UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
142 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
143 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
146 UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
149 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
150 US_FL_IGNORE_RESIDUE ),
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 ),
162 UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
165 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
166 US_FL_MAX_SECTORS_64 ),
169 UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
172 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
173 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
176 UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
179 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
180 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
183 UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
186 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
187 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
193 UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
196 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
197 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
203 UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
206 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
207 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
210 UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
213 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
214 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
217 UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
220 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
221 US_FL_MAX_SECTORS_64 ),
224 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
227 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
228 US_FL_MAX_SECTORS_64 ),
231 UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
234 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
235 US_FL_MAX_SECTORS_64 ),
238 UNUSUAL_DEV( 0x0421, 0x04b9, 0x0350, 0x0350,
241 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
242 US_FL_MAX_SECTORS_64 ),
245 UNUSUAL_DEV( 0x0421, 0x05af, 0x0742, 0x0742,
248 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
249 US_FL_MAX_SECTORS_64),
252 UNUSUAL_DEV( 0x0421, 0x06aa, 0x1110, 0x1110,
255 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
256 US_FL_MAX_SECTORS_64 ),
259 UNUSUAL_DEV( 0x0421, 0x06c2, 0x0000, 0x0406,
262 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
263 US_FL_MAX_SECTORS_64 ),
266 UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
269 USB_SC_SCSI, USB_PR_CB, NULL,
275 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2
277 UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
280 USB_SC_DEVICE, USB_PR_BULK, NULL,
281 US_FL_NEED_OVERRIDE ),
285 * The key does not actually break, but it returns zero sense which
286 * makes our SCSI stack to print confusing messages.
288 UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
289 "USBest Technology", /* sold by Transcend */
290 "USB Mass Storage Device",
291 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
295 * 1GB USB sticks MyFlash High Speed. I have restricted
296 * the revision to my model only
298 UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
301 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
302 US_FL_NOT_LOCKABLE ),
306 * Obviously the PROM has not been customized by the VAR;
307 * the Vendor and Product string descriptors are:
308 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
309 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
311 UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
314 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
315 US_FL_MAX_SECTORS_64 ),
318 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
320 * This device chokes on both version of MODE SENSE which we have, so
321 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
323 UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
326 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
330 UNUSUAL_DEV( 0x0480, 0xd010, 0x0100, 0x9999,
333 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
337 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
340 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
343 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
346 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
349 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
352 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
355 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
358 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
359 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
363 * This entry is needed because the device reports Sub=ff
365 UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
367 "DVD-CAM DZ-MV100A Camcorder",
368 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
375 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
376 "Tekom Technologies, Inc",
378 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
379 US_FL_IGNORE_RESIDUE ),
382 * Patch for Nikon coolpix 2000
385 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
388 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
389 US_FL_NOT_LOCKABLE ),
392 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
395 USB_SC_DEVICE, USB_PR_CB, NULL,
396 US_FL_MAX_SECTORS_MIN),
400 * This entry needs Sub and Proto fields
402 UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
405 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
409 * This entry is needed because the device reports Sub=ff
411 UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
414 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
418 * Virtual ISOs cannot be remounted if ejected while the device is locked
419 * Disable locking to mimic Windows behavior that bypasses the issue
421 UNUSUAL_DEV( 0x04c5, 0x2028, 0x0001, 0x0001,
424 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE),
427 * Not sure who reported this originally but
430 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
433 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
437 * The device reports one sector more and breaks when that sector is accessed
438 * Firmwares older than 2.6c (the latest one and the only that claims Linux
439 * support) have also broken tag handling
441 UNUSUAL_DEV( 0x04ce, 0x0002, 0x0000, 0x026b,
444 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
445 US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
446 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
449 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
455 * This is to support the Panasonic PalmCam PV-SD4090
456 * This entry is needed because the device reports Sub=ff
458 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
461 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
465 * This is needed for CB instead of CBI
467 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
470 USB_SC_8070, USB_PR_CB, NULL, 0),
473 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
476 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
477 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
480 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
483 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
484 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
487 * Most of the following entries were developed with the help of
488 * Shuttle/SCM directly.
490 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
493 USB_SC_8020, USB_PR_CB, NULL, 0),
495 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
498 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
499 US_FL_SCM_MULT_TARG ),
502 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
504 "eUSB CompactFlash Adapter",
505 USB_SC_SCSI, USB_PR_CB, NULL,
510 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
511 "SCM Microsystems Inc.",
513 USB_SC_SCSI, USB_PR_CB, NULL,
517 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
520 USB_SC_SCSI, USB_PR_DEVICE, NULL,
523 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
526 USB_SC_SCSI, USB_PR_CB, NULL,
529 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
531 "eUSB ATA/ATAPI Adapter",
532 USB_SC_8020, USB_PR_CB, NULL, 0),
534 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
536 "eUSB CompactFlash Adapter",
537 USB_SC_8020, USB_PR_CB, NULL, 0),
539 UNUSUAL_DEV( 0x04e6, 0x000b, 0x0100, 0x0100,
542 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
543 US_FL_SCM_MULT_TARG ),
545 UNUSUAL_DEV( 0x04e6, 0x000c, 0x0100, 0x0100,
548 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
549 US_FL_SCM_MULT_TARG ),
551 UNUSUAL_DEV( 0x04e6, 0x000f, 0x0000, 0x9999,
553 "eUSB SCSI Adapter (Bus Powered)",
554 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
555 US_FL_SCM_MULT_TARG ),
557 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
560 USB_SC_8020, USB_PR_CB, NULL, 0),
563 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
566 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
567 US_FL_MAX_SECTORS_64),
570 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
573 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
574 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
577 UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
580 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
581 US_FL_MAX_SECTORS_64),
585 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
586 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
588 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
591 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
595 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
598 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
599 US_FL_SCM_MULT_TARG ),
604 * The reason this is needed is not fully known.
606 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
609 USB_SC_8070, USB_PR_DEVICE, NULL,
613 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
615 "File-backed Storage Gadget",
616 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
620 * Yakumo Mega Image 37
622 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
623 "Tekom Technologies, Inc",
625 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
626 US_FL_IGNORE_RESIDUE ),
629 * Another Yakumo camera.
632 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
633 "Tekom Technologies, Inc",
635 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
636 US_FL_IGNORE_RESIDUE ),
639 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
640 "Tekom Technologies, Inc",
642 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
643 US_FL_IGNORE_RESIDUE ),
646 * Yakumo Mega Image 47
649 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
650 "Tekom Technologies, Inc",
652 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
653 US_FL_IGNORE_RESIDUE ),
657 * Note that it's similar to the device above, only different prodID
659 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
660 "Tekom Technologies, Inc",
662 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
663 US_FL_IGNORE_RESIDUE ),
665 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
667 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
668 USB_SC_SCSI, USB_PR_DEVICE, NULL,
669 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
673 * This entry is needed because the device reports Sub=ff
675 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
678 USB_SC_8070, USB_PR_DEVICE, NULL,
683 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
685 "Memorystick NW-MS7",
686 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
690 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
693 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
696 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
698 "Memorystick MSAC-US1",
699 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
703 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
706 USB_SC_SCSI, USB_PR_DEVICE, NULL,
710 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
713 USB_SC_UFI, USB_PR_DEVICE, NULL,
716 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
718 "Memorystick MSC-U01N",
719 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
723 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
725 "PEG N760c Memorystick",
726 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
729 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
731 "Memorystick MSC-U03",
732 USB_SC_UFI, USB_PR_CB, NULL,
736 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
739 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
743 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
746 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
750 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
753 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
757 UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
759 "MicroVault Flash Drive",
760 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
761 US_FL_NO_READ_CAPACITY_16 ),
763 /* floppy reports multiple luns */
764 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
767 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
770 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
771 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
774 USB_SC_DEVICE, USB_PR_CB, NULL,
779 * This entry is needed only because the device reports
780 * bInterfaceClass = 0xff (vendor-specific)
782 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
785 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
788 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
791 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
792 US_FL_MAX_SECTORS_64 ),
795 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
797 "Digital Camera EX-20 DSC",
798 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
802 * This antique device predates the release of the Bulk-only Transport
803 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
804 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
805 * us from sending the request.
807 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
810 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
813 UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
816 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
820 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
823 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
827 UNUSUAL_DEV( 0x059f, 0x0651, 0x0000, 0x0000,
830 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
831 US_FL_NO_WP_DETECT ),
835 * Some versions of this device need the SubClass and Protocol overrides
836 * while others don't.
838 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
840 "PyroGate External CD-ROM Enclosure (FCD-523)",
841 USB_SC_SCSI, USB_PR_BULK, NULL,
842 US_FL_NEED_OVERRIDE ),
846 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
847 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
848 * to change with firmware updates, I changed the range to maximum for all
851 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
854 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
855 US_FL_FIX_CAPACITY ),
858 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
861 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
862 US_FL_FIX_CAPACITY ),
864 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
867 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
868 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
870 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
873 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
874 US_FL_FIX_CAPACITY ),
878 * This particular productId is the iPod Nano
880 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
883 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
884 US_FL_FIX_CAPACITY ),
888 * Option N.V. mobile broadband modems
889 * Ignore driver CD mode and force into modem mode by default.
892 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
893 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
896 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
900 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
903 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
907 * The following two entries are for a Genesys USB to IDE
908 * converter chip, but it changes its ProductId depending
909 * on whether or not a disk or an optical device is enclosed
910 * They were originally reported by Alexander Oltu
914 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
916 * special-cases were pulled from scsiglue.c.
918 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
920 "USB to IDE Optical",
921 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
922 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
924 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
927 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
928 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
931 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
934 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
939 * Taken from the Lycoris Kernel
941 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
944 USB_SC_SCSI, USB_PR_BULK, NULL,
947 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
950 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
953 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
955 "USBMSC Audio Player",
956 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
957 US_FL_FIX_CAPACITY ),
960 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
961 "Prolific Technology, Inc.",
962 "Prolific Storage Gadget",
963 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
967 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
968 "Prolific Technology, Inc.",
969 "Mass Storage Device",
970 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
971 US_FL_NOT_LOCKABLE ),
975 * Change to bcdDeviceMin (0x0100 to 0x0001) reported by
978 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
979 "Prolific Technology Inc.",
980 "Mass Storage Device",
981 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
982 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
985 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
986 "Prolific Technology Inc.",
987 "ATAPI-6 Bridge Controller",
988 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
989 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
992 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
995 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
998 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
1001 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
1003 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
1006 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
1009 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
1010 "Thomson Multimedia Inc.",
1011 "RCA RD1080 MP3 Player",
1012 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1013 US_FL_FIX_CAPACITY ),
1015 UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
1018 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1019 US_FL_SCM_MULT_TARG ),
1022 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
1025 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1026 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
1027 US_FL_NO_READ_CAPACITY_16),
1031 * Support the following product :
1032 * "Dane-Elec MediaTouch"
1034 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
1037 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1038 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
1042 * This USB MP3/AVI player device fails and disconnects if more than 128
1043 * sectors (64kB) are read/written in a single command, and may be present
1044 * at least in the following products:
1045 * "Magnex Digital Video Panel DVP 1800"
1046 * "MP4 AIGO 4GB SLOT SD"
1047 * "Teclast TL-C260 MP3"
1048 * "i.Meizu PMP MP3/MP4"
1049 * "Speed MV8 MP4 Audio Player"
1051 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
1054 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1055 US_FL_MAX_SECTORS_64),
1058 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
1061 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1062 US_FL_IGNORE_RESIDUE),
1065 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
1067 "ImageMate SDDR-05a",
1068 USB_SC_SCSI, USB_PR_CB, NULL,
1071 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
1072 "SanDisk Corporation",
1073 "ImageMate CompactFlash USB",
1074 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1075 US_FL_FIX_CAPACITY ),
1077 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
1079 "ImageMate SDDR-12",
1080 USB_SC_SCSI, USB_PR_CB, NULL,
1084 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
1085 "Freecom Technologies",
1087 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1088 US_FL_FIX_CAPACITY),
1090 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
1093 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1094 US_FL_SCM_MULT_TARG ),
1096 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
1099 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1100 US_FL_SCM_MULT_TARG ),
1103 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1106 USB_SC_SCSI, USB_PR_CB, NULL,
1111 * Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1112 * Only revision 1.13 tested (same for all of the above devices,
1113 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1115 * See also http://martin.wilck.bei.t-online.de/#kecf .
1117 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1120 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1121 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1127 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1128 "Simple Tech/Datafab",
1130 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1131 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1134 * Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1135 * to the USB storage specification in two ways:
1136 * - They tell us they are using transport protocol CBI. In reality they
1137 * are using transport protocol CB.
1138 * - They don't like the INQUIRY command. So we must handle this command
1139 * of the SCSI layer ourselves.
1140 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1141 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1142 * So don't remove the USB_PR_CB override!
1143 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1145 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1148 USB_SC_8070, USB_PR_CB, NULL,
1149 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1152 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1154 "EX-N1 DigitalCamera",
1155 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1158 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1165 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1168 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1169 US_FL_FIX_CAPACITY),
1172 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1175 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1176 US_FL_FIX_CAPACITY),
1179 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1182 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1183 US_FL_FIX_CAPACITY),
1185 /* Supplied with some Castlewood ORB removable drives */
1186 UNUSUAL_DEV( 0x084b, 0xa001, 0x0000, 0x9999,
1187 "Castlewood Systems",
1188 "USB to SCSI cable",
1189 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1190 US_FL_SCM_MULT_TARG ),
1194 * Flag will support Bulk devices which use a standards-violating 32-byte
1195 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1196 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1199 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1202 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1207 * The device reports a vendor-specific device class, requiring an
1208 * explicit vendor/product match.
1210 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1213 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1217 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1219 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1221 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1224 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1225 US_FL_NOT_LOCKABLE),
1227 UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1229 "PortGear USB-SCSI (Mac USB Dock)",
1230 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1231 US_FL_SCM_MULT_TARG ),
1233 UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1235 "PortGear USB to SCSI Converter",
1236 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1237 US_FL_SCM_MULT_TARG ),
1240 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1243 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1248 * US_FL_IGNORE_RESIDUE Needed
1250 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1252 "Aiptek USB Keychain MP3 Player",
1253 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1254 US_FL_IGNORE_RESIDUE),
1257 * Entry needed for flags. Moreover, all devices with this ID use
1258 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1259 * One example is "Trumpion Digital Research MYMP3".
1260 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1262 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1264 "t33520 USB Flash Card Controller",
1265 USB_SC_DEVICE, USB_PR_BULK, NULL,
1266 US_FL_NEED_OVERRIDE ),
1270 * The device reports a subclass of RBC, which is wrong.
1272 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1273 "Trumpion Microelectronics, Inc.",
1274 "33520 USB Digital Voice Recorder",
1275 USB_SC_UFI, USB_PR_DEVICE, NULL,
1279 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1282 USB_SC_RBC, USB_PR_BULK, NULL,
1286 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1288 "5-in-1 Card Reader",
1289 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1290 US_FL_FIX_CAPACITY ),
1294 * The SMI SM3350 USB-UFS bridge controller will enter a wrong state
1295 * that do not process read/write command if a long sense is requested,
1296 * so force to use 18-byte sense.
1298 UNUSUAL_DEV( 0x090c, 0x3350, 0x0000, 0xffff,
1300 "SM3350 UFS-to-USB-Mass-Storage bridge",
1301 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1306 * This card reader returns "Illegal Request, Logical Block Address
1307 * Out of Range" for the first READ(10) after a new card is inserted.
1309 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1311 "SD/SDHC Card Reader",
1312 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1313 US_FL_INITIAL_READ10 ),
1317 * This flash drive always shows up with write protect enabled
1318 * during the first mode sense.
1320 UNUSUAL_DEV(0x0951, 0x1697, 0x0100, 0x0100,
1323 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1324 US_FL_NO_WP_DETECT),
1327 * This Pentax still camera is not conformant
1328 * to the USB storage specification: -
1329 * - It does not like the INQUIRY command. So we must handle this command
1330 * of the SCSI layer ourselves.
1331 * Tested on Rev. 10.00 (0x1000)
1334 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1337 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1338 US_FL_FIX_INQUIRY ),
1341 * These are virtual windows driver CDs, which the zd1211rw driver
1342 * automatically converts into WLAN devices.
1344 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1346 "G-220F USB-WLAN Install",
1347 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1348 US_FL_IGNORE_DEVICE ),
1350 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1352 "WL-117 USB-WLAN Install",
1353 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1354 US_FL_IGNORE_DEVICE ),
1358 * Option N.V. mobile broadband modems
1359 * Ignore driver CD mode and force into modem mode by default.
1363 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1366 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1371 * This device (wrongly) has a vendor-specific device descriptor.
1372 * The entry is needed so usb-storage can bind to it's mass-storage
1373 * interface as an interface driver
1375 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1378 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1383 * These devices (wrongly) have a vendor-specific device descriptor.
1384 * These entries are needed so usb-storage can bind to their mass-storage
1385 * interface as an interface driver
1387 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1390 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1393 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1396 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1399 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1402 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1405 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1408 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1411 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1414 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1417 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1420 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1423 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1426 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1429 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1432 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1435 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1438 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1441 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1444 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1447 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1450 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1453 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1456 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1459 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1462 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1465 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1468 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1471 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1474 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1478 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1481 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1484 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1487 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1491 UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
1494 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1495 US_FL_NO_WP_DETECT ),
1497 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1500 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1505 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1507 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1510 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1514 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1517 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1521 * Entry for Jenoptik JD 5200z3
1525 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1528 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1531 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1532 "Macpower Technology Co.LTD.",
1533 "USB 2.0 3.5\" DEVICE",
1534 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1535 US_FL_FIX_CAPACITY),
1539 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1540 * works for me. Can anybody correct these values? (I able to test corrected
1543 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1546 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1547 US_FL_FIX_INQUIRY ),
1550 * Reported by Edward Chapman (taken from linux-usb mailing list)
1551 * Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive
1553 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1556 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1557 US_FL_IGNORE_RESIDUE ),
1562 * I don't know why, but it works...
1564 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1567 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1568 US_FL_IGNORE_RESIDUE ),
1570 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1571 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1574 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1575 US_FL_IGNORE_RESIDUE ),
1578 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1581 USB_SC_DEVICE, USB_PR_BULK, NULL,
1582 US_FL_NEED_OVERRIDE ),
1585 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1588 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1589 US_FL_FIX_INQUIRY ),
1593 * Reported by dayul on the Gentoo Forums
1595 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1598 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1599 US_FL_IGNORE_RESIDUE ),
1602 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1605 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1606 US_FL_IGNORE_RESIDUE ),
1610 * It is also sold by Easylite as DJ 20
1612 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1615 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1616 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1619 * Patch by Leonid Petrov mail at lpetrov.net
1621 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1622 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1624 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1627 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1628 US_FL_IGNORE_RESIDUE ),
1632 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1633 * errors when trying to write.
1635 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1638 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1639 US_FL_IGNORE_RESIDUE ),
1641 /* Submitted by Nick Holloway */
1642 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1645 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1646 US_FL_FIX_CAPACITY ),
1649 UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1650 "Research In Motion",
1651 "BlackBerry Bold 9000",
1652 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1653 US_FL_MAX_SECTORS_64 ),
1656 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1658 "V800-Vodafone 802",
1659 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1660 US_FL_NO_WP_DETECT ),
1663 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1666 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1667 US_FL_IGNORE_DEVICE),
1673 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1676 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1677 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1680 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1683 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1684 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1687 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1690 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1691 US_FL_IGNORE_RESIDUE ),
1695 * Tested on hardware version 1.10.
1696 * Entry is needed only for the initializer function override.
1697 * Devices with bcd > 110 seem to not need it while those
1698 * with bcd < 110 appear to need it.
1700 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1703 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1706 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1709 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1713 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1716 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1720 * The device reports a vendor-specific bDeviceClass.
1722 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1723 "Actions Semiconductor",
1725 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1730 * Ignore driver CD mode and force into modem mode by default.
1732 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1735 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1739 * Entry is needed for the initializer function override,
1740 * which instructs the device to load as a modem
1743 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1746 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1751 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1752 * devices) misbehaves and causes a bunch of invalid I/O errors.
1754 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1756 "DigiTech Mass Storage",
1757 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1758 US_FL_IGNORE_RESIDUE ),
1762 * This brings the HUAWEI data card devices into multi-port mode
1764 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1767 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1769 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1772 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1774 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1777 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1779 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1782 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1784 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1787 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1789 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1792 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1794 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1797 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1799 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1802 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1804 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1807 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1809 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1812 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1814 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1817 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1819 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1822 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1824 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1827 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1829 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1832 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1834 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1837 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1839 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1842 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1844 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1847 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1849 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1852 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1854 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1857 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1859 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1862 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1864 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1867 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1869 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1872 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1874 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1877 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1879 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1882 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1884 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1887 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1889 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1892 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1894 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1897 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1899 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1902 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1904 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1907 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1909 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1912 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1914 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1917 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1919 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1922 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1924 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1927 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1929 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1932 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1934 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1937 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1939 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1942 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1944 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1947 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1949 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1952 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1954 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1957 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1959 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1962 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1964 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1967 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1969 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1972 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1974 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1977 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1979 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1982 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1984 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1987 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1989 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1992 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1994 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1997 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1999 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
2002 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2004 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
2007 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2009 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
2012 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2014 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
2017 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2019 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
2022 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2024 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
2027 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2029 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
2032 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2034 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
2037 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2039 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
2042 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2044 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
2047 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2049 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
2052 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2054 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
2057 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2059 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
2062 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2064 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
2067 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2069 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
2072 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2074 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
2077 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2079 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
2082 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2084 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
2087 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2089 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
2092 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2095 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
2096 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
2099 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2103 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
2106 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2107 US_FL_IGNORE_RESIDUE ),
2111 * The INIC-3619 bridge is used in the StarTech SLSODDU33B
2112 * SATA-USB enclosure for slimline optical drives.
2114 * The quirk enables MakeMKV to properly exchange keys with
2115 * an installed BD drive.
2117 UNUSUAL_DEV( 0x13fd, 0x3609, 0x0209, 0x0209,
2118 "Initio Corporation",
2120 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2121 US_FL_IGNORE_RESIDUE ),
2124 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
2127 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2128 US_FL_BULK_IGNORE_TAG ),
2131 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
2134 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2135 US_FL_IGNORE_RESIDUE ),
2138 UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0117,
2140 "USB to ATA/ATAPI Bridge",
2141 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2145 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
2148 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2153 * JMicron responds to USN and several other SCSI ioctls with a
2154 * residue that causes subsequent I/O requests to fail. */
2155 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
2157 "USB to ATA/ATAPI Bridge",
2158 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2159 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2162 UNUSUAL_DEV( 0x152d, 0x2566, 0x0114, 0x0114,
2164 "USB to ATA/ATAPI Bridge",
2165 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2169 UNUSUAL_DEV( 0x152d, 0x2567, 0x0117, 0x0117,
2171 "USB to ATA/ATAPI Bridge",
2172 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2176 UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
2179 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2180 US_FL_NO_REPORT_OPCODES),
2183 * Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
2184 * and Mac USB Dock USB-SCSI */
2185 UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
2186 "Entrega Technologies",
2187 "USB to SCSI Converter",
2188 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2189 US_FL_SCM_MULT_TARG ),
2193 * Note: this is a 'super top' device like the above 14cd/6600 device
2195 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
2198 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2199 US_FL_IGNORE_RESIDUE ),
2202 UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
2205 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2209 UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
2212 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2213 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2215 UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2216 "Ariston Technologies",
2217 "iConnect USB to SCSI adapter",
2218 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2219 US_FL_SCM_MULT_TARG ),
2223 * These Appotech controllers are found in Picture Frames, they provide a
2224 * (buggy) emulation of a cdrom drive which contains the windows software
2225 * Uploading of pictures happens over the corresponding /dev/sg device.
2227 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2230 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2232 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2235 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2237 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2240 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2241 US_FL_NO_READ_DISC_INFO ),
2245 * The Amazon Kindle treats SYNCHRONIZE CACHE as an indication that
2246 * the host may be finished with it, and automatically ejects its
2247 * emulated media unless it receives another command within one second.
2249 UNUSUAL_DEV( 0x1949, 0x0004, 0x0000, 0x9999,
2252 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2253 US_FL_SENSE_AFTER_SYNC ),
2257 * This device morphes spontaneously into another device if the access
2258 * pattern of Windows isn't followed. Thus writable media would be dirty
2259 * if the initial instance is used. So the device is limited to its
2261 * And yes, the concept that BCD goes up to 9 is not heeded
2263 UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
2265 "ZTE WCDMA Technologies MSM",
2266 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2271 * This encrypted pen drive returns bogus data for the initial READ(10).
2273 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2276 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2277 US_FL_INITIAL_READ10 ),
2281 * These are mini projectors using USB for both power and video data transport
2282 * The usb-storage interface is a virtual windows driver CD, which the gm12u320
2283 * driver automatically converts into framebuffer & kms dri device nodes.
2285 UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
2286 "Grain-media Technology Corp.",
2287 "USB3.0 Device GM12U320",
2288 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2289 US_FL_IGNORE_DEVICE ),
2293 * This external hard drive enclosure uses a JMicron chip which
2294 * needs the US_FL_IGNORE_RESIDUE flag to work properly.
2296 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2297 "TrekStor GmbH & Co. KG",
2298 "DataStation maxi g.u",
2299 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2300 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2303 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2306 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2307 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2310 UNUSUAL_DEV( 0x1fc9, 0x0117, 0x0100, 0x0100,
2311 "NXP Semiconductors",
2313 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2314 US_FL_IGNORE_RESIDUE ),
2316 /* Supplied with some Castlewood ORB removable drives */
2317 UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
2318 "Double-H Technology",
2319 "USB to SCSI Intelligent Cable",
2320 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2321 US_FL_SCM_MULT_TARG ),
2327 UNUSUAL_DEV( 0x2109, 0x0715, 0x9999, 0x9999,
2329 "VL817 SATA Bridge",
2330 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2333 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2336 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2337 US_FL_FIX_CAPACITY),
2343 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2346 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2347 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2351 * Report by Andreas Koenecke.
2354 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2357 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2358 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2361 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2364 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2368 UNUSUAL_DEV( 0x2ca3, 0x0031, 0x0000, 0x9999,
2371 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2378 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2380 "Mio DigiWalker USB Sync",
2381 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2382 US_FL_MAX_SECTORS_64 ),
2385 UNUSUAL_DEV( 0x357d, 0x7788, 0x0114, 0x0114,
2387 "USB to ATA/ATAPI Bridge",
2388 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2389 US_FL_BROKEN_FUA | US_FL_IGNORE_UAS ),
2392 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2395 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2396 US_FL_IGNORE_RESIDUE ),
2399 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2402 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2403 US_FL_MAX_SECTORS_64 ),
2407 * The key makes the SCSI stack print confusing (but harmless) messages
2409 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2412 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2414 /* "G-DRIVE" external HDD hangs on write without these.
2417 UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
2420 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2425 * SCSI stack spams (otherwise harmless) error messages.
2427 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2428 "Keil Software, Inc.",
2430 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2431 US_FL_NOT_LOCKABLE),
2435 * This is an interface for vendor-specific cryptic commands instead
2436 * of real USB storage device.
2438 UNUSUAL_DEV( 0xe5b7, 0x0811, 0x0100, 0x0100,
2439 "ZhuHai JieLi Technology",
2441 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2442 US_FL_IGNORE_DEVICE),
2445 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2448 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2449 US_FL_CAPACITY_HEURISTICS),
2452 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2454 "Digital MP3 Audio Player",
2455 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2457 /* Unusual uas devices */
2458 #if IS_ENABLED(CONFIG_USB_UAS)
2459 #include "unusual_uas.h"
2462 /* Control/Bulk transport for all SubClass values */
2463 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2464 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2465 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2466 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2467 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2468 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2470 /* Control/Bulk/Interrupt transport for all SubClass values */
2471 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2472 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2473 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2474 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2475 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2476 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2478 /* Bulk-only transport for all SubClass values */
2479 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2480 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2481 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2482 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2483 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2484 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),