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( 0x0436, 0x0005, 0x0100, 0x0100,
262 USB_SC_SCSI, USB_PR_CB, NULL,
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 ),
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 ),
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 ),
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.)
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,
323 UNUSUAL_DEV( 0x0480, 0xd010, 0x0100, 0x9999,
326 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
330 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
333 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
336 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
339 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
342 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
345 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
348 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
351 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
352 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
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),
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
378 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
381 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
382 US_FL_NOT_LOCKABLE ),
385 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
388 USB_SC_DEVICE, USB_PR_CB, NULL,
389 US_FL_MAX_SECTORS_MIN),
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),
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),
411 * Virtual ISOs cannot be remounted if ejected while the device is locked
412 * Disable locking to mimic Windows behavior that bypasses the issue
414 UNUSUAL_DEV( 0x04c5, 0x2028, 0x0001, 0x0001,
417 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE),
420 * Not sure who reported this originally but
423 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
426 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
430 * The device reports one sector more and breaks when that sector is accessed
431 * Firmwares older than 2.6c (the latest one and the only that claims Linux
432 * support) have also broken tag handling
434 UNUSUAL_DEV( 0x04ce, 0x0002, 0x0000, 0x026b,
437 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
438 US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
439 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
442 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
448 * This is to support the Panasonic PalmCam PV-SD4090
449 * This entry is needed because the device reports Sub=ff
451 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
454 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
458 * This is needed for CB instead of CBI
460 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
463 USB_SC_8070, USB_PR_CB, NULL, 0),
466 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
469 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
470 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
473 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
476 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
477 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
480 * Most of the following entries were developed with the help of
481 * Shuttle/SCM directly.
483 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
486 USB_SC_8020, USB_PR_CB, NULL, 0),
488 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
491 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
492 US_FL_SCM_MULT_TARG ),
495 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
497 "eUSB CompactFlash Adapter",
498 USB_SC_SCSI, USB_PR_CB, NULL,
503 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
504 "SCM Microsystems Inc.",
506 USB_SC_SCSI, USB_PR_CB, NULL,
510 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
513 USB_SC_SCSI, USB_PR_DEVICE, NULL,
516 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
519 USB_SC_SCSI, USB_PR_CB, NULL,
522 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
524 "eUSB ATA/ATAPI Adapter",
525 USB_SC_8020, USB_PR_CB, NULL, 0),
527 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
529 "eUSB CompactFlash Adapter",
530 USB_SC_8020, USB_PR_CB, NULL, 0),
532 UNUSUAL_DEV( 0x04e6, 0x000b, 0x0100, 0x0100,
535 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
536 US_FL_SCM_MULT_TARG ),
538 UNUSUAL_DEV( 0x04e6, 0x000c, 0x0100, 0x0100,
541 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
542 US_FL_SCM_MULT_TARG ),
544 UNUSUAL_DEV( 0x04e6, 0x000f, 0x0000, 0x9999,
546 "eUSB SCSI Adapter (Bus Powered)",
547 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
548 US_FL_SCM_MULT_TARG ),
550 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
553 USB_SC_8020, USB_PR_CB, NULL, 0),
556 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
559 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
560 US_FL_MAX_SECTORS_64),
563 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
566 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
567 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
570 UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
573 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
574 US_FL_MAX_SECTORS_64),
578 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
579 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
581 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
584 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
588 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
591 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
592 US_FL_SCM_MULT_TARG ),
597 * The reason this is needed is not fully known.
599 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
602 USB_SC_8070, USB_PR_DEVICE, NULL,
606 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
608 "File-backed Storage Gadget",
609 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
613 * Yakumo Mega Image 37
615 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
616 "Tekom Technologies, Inc",
618 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
619 US_FL_IGNORE_RESIDUE ),
622 * Another Yakumo camera.
625 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
626 "Tekom Technologies, Inc",
628 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
629 US_FL_IGNORE_RESIDUE ),
632 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
633 "Tekom Technologies, Inc",
635 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
636 US_FL_IGNORE_RESIDUE ),
639 * Yakumo Mega Image 47
642 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
643 "Tekom Technologies, Inc",
645 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
646 US_FL_IGNORE_RESIDUE ),
650 * Note that it's similar to the device above, only different prodID
652 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
653 "Tekom Technologies, Inc",
655 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
656 US_FL_IGNORE_RESIDUE ),
658 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
660 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
661 USB_SC_SCSI, USB_PR_DEVICE, NULL,
662 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
666 * This entry is needed because the device reports Sub=ff
668 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
671 USB_SC_8070, USB_PR_DEVICE, NULL,
676 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
678 "Memorystick NW-MS7",
679 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
683 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
686 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
689 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
691 "Memorystick MSAC-US1",
692 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
696 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
699 USB_SC_SCSI, USB_PR_DEVICE, NULL,
703 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
706 USB_SC_UFI, USB_PR_DEVICE, NULL,
709 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
711 "Memorystick MSC-U01N",
712 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
716 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
718 "PEG N760c Memorystick",
719 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
722 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
724 "Memorystick MSC-U03",
725 USB_SC_UFI, USB_PR_CB, NULL,
729 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
732 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
736 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
739 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
743 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
746 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
750 UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
752 "MicroVault Flash Drive",
753 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
754 US_FL_NO_READ_CAPACITY_16 ),
756 /* floppy reports multiple luns */
757 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
760 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
763 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
764 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
767 USB_SC_DEVICE, USB_PR_CB, NULL,
772 * This entry is needed only because the device reports
773 * bInterfaceClass = 0xff (vendor-specific)
775 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
778 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
781 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
784 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
785 US_FL_MAX_SECTORS_64 ),
788 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
790 "Digital Camera EX-20 DSC",
791 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
795 * This antique device predates the release of the Bulk-only Transport
796 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
797 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
798 * us from sending the request.
800 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
803 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
806 UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
809 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
813 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
816 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
820 UNUSUAL_DEV( 0x059f, 0x0651, 0x0000, 0x0000,
823 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
824 US_FL_NO_WP_DETECT ),
828 * Some versions of this device need the SubClass and Protocol overrides
829 * while others don't.
831 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
833 "PyroGate External CD-ROM Enclosure (FCD-523)",
834 USB_SC_SCSI, USB_PR_BULK, NULL,
835 US_FL_NEED_OVERRIDE ),
839 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
840 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
841 * to change with firmware updates, I changed the range to maximum for all
844 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
847 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
848 US_FL_FIX_CAPACITY ),
851 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
854 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
855 US_FL_FIX_CAPACITY ),
857 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
860 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
861 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
863 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
866 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
867 US_FL_FIX_CAPACITY ),
871 * This particular productId is the iPod Nano
873 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
876 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
877 US_FL_FIX_CAPACITY ),
881 * Option N.V. mobile broadband modems
882 * Ignore driver CD mode and force into modem mode by default.
885 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
886 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
889 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
893 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
896 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
900 * The following two entries are for a Genesys USB to IDE
901 * converter chip, but it changes its ProductId depending
902 * on whether or not a disk or an optical device is enclosed
903 * They were originally reported by Alexander Oltu
907 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
909 * special-cases were pulled from scsiglue.c.
911 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
913 "USB to IDE Optical",
914 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
915 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
917 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
920 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
921 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
924 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
927 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
932 * Taken from the Lycoris Kernel
934 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
937 USB_SC_SCSI, USB_PR_BULK, NULL,
940 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
943 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
946 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
948 "USBMSC Audio Player",
949 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
950 US_FL_FIX_CAPACITY ),
953 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
954 "Prolific Technology, Inc.",
955 "Prolific Storage Gadget",
956 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
960 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
961 "Prolific Technology, Inc.",
962 "Mass Storage Device",
963 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
964 US_FL_NOT_LOCKABLE ),
968 * Change to bcdDeviceMin (0x0100 to 0x0001) reported by
971 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
972 "Prolific Technology Inc.",
973 "Mass Storage Device",
974 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
975 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
978 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
979 "Prolific Technology Inc.",
980 "ATAPI-6 Bridge Controller",
981 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
982 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
985 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
988 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
991 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
994 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
996 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
999 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
1002 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
1003 "Thomson Multimedia Inc.",
1004 "RCA RD1080 MP3 Player",
1005 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1006 US_FL_FIX_CAPACITY ),
1008 UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
1011 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1012 US_FL_SCM_MULT_TARG ),
1015 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
1018 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1019 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
1020 US_FL_NO_READ_CAPACITY_16),
1024 * Support the following product :
1025 * "Dane-Elec MediaTouch"
1027 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
1030 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1031 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
1035 * This USB MP3/AVI player device fails and disconnects if more than 128
1036 * sectors (64kB) are read/written in a single command, and may be present
1037 * at least in the following products:
1038 * "Magnex Digital Video Panel DVP 1800"
1039 * "MP4 AIGO 4GB SLOT SD"
1040 * "Teclast TL-C260 MP3"
1041 * "i.Meizu PMP MP3/MP4"
1042 * "Speed MV8 MP4 Audio Player"
1044 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
1047 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1048 US_FL_MAX_SECTORS_64),
1051 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
1054 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1055 US_FL_IGNORE_RESIDUE),
1058 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
1060 "ImageMate SDDR-05a",
1061 USB_SC_SCSI, USB_PR_CB, NULL,
1064 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
1065 "SanDisk Corporation",
1066 "ImageMate CompactFlash USB",
1067 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1068 US_FL_FIX_CAPACITY ),
1070 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
1072 "ImageMate SDDR-12",
1073 USB_SC_SCSI, USB_PR_CB, NULL,
1077 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
1078 "Freecom Technologies",
1080 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1081 US_FL_FIX_CAPACITY),
1083 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
1086 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1087 US_FL_SCM_MULT_TARG ),
1089 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
1092 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1093 US_FL_SCM_MULT_TARG ),
1096 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1099 USB_SC_SCSI, USB_PR_CB, NULL,
1104 * Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1105 * Only revision 1.13 tested (same for all of the above devices,
1106 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1108 * See also http://martin.wilck.bei.t-online.de/#kecf .
1110 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1113 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1114 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1120 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1121 "Simple Tech/Datafab",
1123 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1124 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1127 * Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1128 * to the USB storage specification in two ways:
1129 * - They tell us they are using transport protocol CBI. In reality they
1130 * are using transport protocol CB.
1131 * - They don't like the INQUIRY command. So we must handle this command
1132 * of the SCSI layer ourselves.
1133 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1134 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1135 * So don't remove the USB_PR_CB override!
1136 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1138 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1141 USB_SC_8070, USB_PR_CB, NULL,
1142 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1145 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1147 "EX-N1 DigitalCamera",
1148 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1151 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1154 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1158 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1162 US_FL_FIX_CAPACITY),
1165 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1168 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1169 US_FL_FIX_CAPACITY),
1172 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1175 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1176 US_FL_FIX_CAPACITY),
1178 /* Supplied with some Castlewood ORB removable drives */
1179 UNUSUAL_DEV( 0x084b, 0xa001, 0x0000, 0x9999,
1180 "Castlewood Systems",
1181 "USB to SCSI cable",
1182 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1183 US_FL_SCM_MULT_TARG ),
1187 * Flag will support Bulk devices which use a standards-violating 32-byte
1188 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1189 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1192 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1195 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1200 * The device reports a vendor-specific device class, requiring an
1201 * explicit vendor/product match.
1203 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1206 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1210 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1212 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1214 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1217 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1218 US_FL_NOT_LOCKABLE),
1220 UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1222 "PortGear USB-SCSI (Mac USB Dock)",
1223 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1224 US_FL_SCM_MULT_TARG ),
1226 UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1228 "PortGear USB to SCSI Converter",
1229 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1230 US_FL_SCM_MULT_TARG ),
1233 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1236 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1241 * US_FL_IGNORE_RESIDUE Needed
1243 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1245 "Aiptek USB Keychain MP3 Player",
1246 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1247 US_FL_IGNORE_RESIDUE),
1250 * Entry needed for flags. Moreover, all devices with this ID use
1251 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1252 * One example is "Trumpion Digital Research MYMP3".
1253 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1255 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1257 "t33520 USB Flash Card Controller",
1258 USB_SC_DEVICE, USB_PR_BULK, NULL,
1259 US_FL_NEED_OVERRIDE ),
1263 * The device reports a subclass of RBC, which is wrong.
1265 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1266 "Trumpion Microelectronics, Inc.",
1267 "33520 USB Digital Voice Recorder",
1268 USB_SC_UFI, USB_PR_DEVICE, NULL,
1272 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1275 USB_SC_RBC, USB_PR_BULK, NULL,
1279 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1281 "5-in-1 Card Reader",
1282 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1283 US_FL_FIX_CAPACITY ),
1287 * The SMI SM3350 USB-UFS bridge controller will enter a wrong state
1288 * that do not process read/write command if a long sense is requested,
1289 * so force to use 18-byte sense.
1291 UNUSUAL_DEV( 0x090c, 0x3350, 0x0000, 0xffff,
1293 "SM3350 UFS-to-USB-Mass-Storage bridge",
1294 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1299 * This card reader returns "Illegal Request, Logical Block Address
1300 * Out of Range" for the first READ(10) after a new card is inserted.
1302 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1304 "SD/SDHC Card Reader",
1305 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1306 US_FL_INITIAL_READ10 ),
1309 * This Pentax still camera is not conformant
1310 * to the USB storage specification: -
1311 * - It does not like the INQUIRY command. So we must handle this command
1312 * of the SCSI layer ourselves.
1313 * Tested on Rev. 10.00 (0x1000)
1316 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1319 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1320 US_FL_FIX_INQUIRY ),
1323 * These are virtual windows driver CDs, which the zd1211rw driver
1324 * automatically converts into WLAN devices.
1326 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1328 "G-220F USB-WLAN Install",
1329 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1330 US_FL_IGNORE_DEVICE ),
1332 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1334 "WL-117 USB-WLAN Install",
1335 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1336 US_FL_IGNORE_DEVICE ),
1340 * Option N.V. mobile broadband modems
1341 * Ignore driver CD mode and force into modem mode by default.
1345 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1348 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1353 * This device (wrongly) has a vendor-specific device descriptor.
1354 * The entry is needed so usb-storage can bind to it's mass-storage
1355 * interface as an interface driver
1357 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1360 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1365 * These devices (wrongly) have a vendor-specific device descriptor.
1366 * These entries are needed so usb-storage can bind to their mass-storage
1367 * interface as an interface driver
1369 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1372 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1375 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1378 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1381 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1384 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1387 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1390 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1393 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1396 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1399 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1402 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1405 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1408 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1411 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1414 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1417 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1420 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1423 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1426 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1429 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1432 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1435 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1438 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1441 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1444 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1447 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1450 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1453 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1456 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1460 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1463 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1466 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1469 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1473 UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
1476 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1477 US_FL_NO_WP_DETECT ),
1479 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1482 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1487 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1489 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1492 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1496 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1499 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1503 * Entry for Jenoptik JD 5200z3
1507 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1510 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1513 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1514 "Macpower Technology Co.LTD.",
1515 "USB 2.0 3.5\" DEVICE",
1516 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1517 US_FL_FIX_CAPACITY),
1521 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1522 * works for me. Can anybody correct these values? (I able to test corrected
1525 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1528 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1529 US_FL_FIX_INQUIRY ),
1532 * Reported by Edward Chapman (taken from linux-usb mailing list)
1533 * Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive
1535 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1538 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1539 US_FL_IGNORE_RESIDUE ),
1544 * I don't know why, but it works...
1546 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1549 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1550 US_FL_IGNORE_RESIDUE ),
1552 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1553 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1556 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1557 US_FL_IGNORE_RESIDUE ),
1560 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1563 USB_SC_DEVICE, USB_PR_BULK, NULL,
1564 US_FL_NEED_OVERRIDE ),
1567 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1570 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1571 US_FL_FIX_INQUIRY ),
1575 * Reported by dayul on the Gentoo Forums
1577 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1580 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1581 US_FL_IGNORE_RESIDUE ),
1584 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1587 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1588 US_FL_IGNORE_RESIDUE ),
1592 * It is also sold by Easylite as DJ 20
1594 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1597 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1598 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1601 * Patch by Leonid Petrov mail at lpetrov.net
1603 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1604 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1606 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1609 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1610 US_FL_IGNORE_RESIDUE ),
1614 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1615 * errors when trying to write.
1617 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1620 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1621 US_FL_IGNORE_RESIDUE ),
1623 /* Submitted by Nick Holloway */
1624 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1627 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1628 US_FL_FIX_CAPACITY ),
1631 UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1632 "Research In Motion",
1633 "BlackBerry Bold 9000",
1634 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1635 US_FL_MAX_SECTORS_64 ),
1638 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1640 "V800-Vodafone 802",
1641 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1642 US_FL_NO_WP_DETECT ),
1645 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1648 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1649 US_FL_IGNORE_DEVICE),
1655 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1658 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1659 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1662 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1665 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1666 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1669 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1672 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1673 US_FL_IGNORE_RESIDUE ),
1677 * Tested on hardware version 1.10.
1678 * Entry is needed only for the initializer function override.
1679 * Devices with bcd > 110 seem to not need it while those
1680 * with bcd < 110 appear to need it.
1682 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1685 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1688 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1691 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1695 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1698 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1702 * The device reports a vendor-specific bDeviceClass.
1704 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1705 "Actions Semiconductor",
1707 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1712 * Ignore driver CD mode and force into modem mode by default.
1714 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1717 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1721 * Entry is needed for the initializer function override,
1722 * which instructs the device to load as a modem
1725 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1728 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1733 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1734 * devices) misbehaves and causes a bunch of invalid I/O errors.
1736 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1738 "DigiTech Mass Storage",
1739 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1740 US_FL_IGNORE_RESIDUE ),
1744 * This brings the HUAWEI data card devices into multi-port mode
1746 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1749 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1751 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1754 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1756 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1759 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1761 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1764 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1766 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1769 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1771 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1774 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1776 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1779 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1781 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1784 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1786 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1789 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1791 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1794 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1796 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1799 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1801 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1804 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1806 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1809 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1811 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1814 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1816 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1819 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1821 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1824 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1826 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1829 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1831 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1834 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1836 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1839 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1841 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1844 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1846 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1849 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1851 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1854 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1856 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1859 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1861 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1864 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1866 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1869 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1871 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1874 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1876 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1879 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1881 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1884 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1886 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1889 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1891 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1894 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1896 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1899 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1901 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1904 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1906 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1909 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1911 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1914 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1916 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1919 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1921 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1924 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1926 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1929 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1931 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1934 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1936 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1939 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1941 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1944 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1946 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1949 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1951 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1954 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1956 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1959 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1961 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1964 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1966 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1969 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1971 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1974 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1976 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1979 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1981 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1984 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1986 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1989 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1991 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1994 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1996 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1999 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2001 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
2004 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2006 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
2009 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2011 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
2014 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2016 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
2019 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2021 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
2024 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2026 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
2029 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2031 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
2034 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2036 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
2039 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2041 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
2044 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2046 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
2049 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2051 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
2054 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2056 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
2059 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2061 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
2064 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2066 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
2069 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2071 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
2074 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2077 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
2078 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
2081 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2085 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
2088 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2089 US_FL_IGNORE_RESIDUE ),
2093 * The INIC-3619 bridge is used in the StarTech SLSODDU33B
2094 * SATA-USB enclosure for slimline optical drives.
2096 * The quirk enables MakeMKV to properly exchange keys with
2097 * an installed BD drive.
2099 UNUSUAL_DEV( 0x13fd, 0x3609, 0x0209, 0x0209,
2100 "Initio Corporation",
2102 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2103 US_FL_IGNORE_RESIDUE ),
2106 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
2109 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2110 US_FL_BULK_IGNORE_TAG ),
2113 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
2116 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2117 US_FL_IGNORE_RESIDUE ),
2120 UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0117,
2122 "USB to ATA/ATAPI Bridge",
2123 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2127 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
2130 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2135 * JMicron responds to USN and several other SCSI ioctls with a
2136 * residue that causes subsequent I/O requests to fail. */
2137 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
2139 "USB to ATA/ATAPI Bridge",
2140 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2141 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2144 UNUSUAL_DEV( 0x152d, 0x2566, 0x0114, 0x0114,
2146 "USB to ATA/ATAPI Bridge",
2147 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2151 UNUSUAL_DEV( 0x152d, 0x2567, 0x0117, 0x0117,
2153 "USB to ATA/ATAPI Bridge",
2154 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2158 UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
2161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2162 US_FL_NO_REPORT_OPCODES),
2165 * Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
2166 * and Mac USB Dock USB-SCSI */
2167 UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
2168 "Entrega Technologies",
2169 "USB to SCSI Converter",
2170 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2171 US_FL_SCM_MULT_TARG ),
2175 * Note: this is a 'super top' device like the above 14cd/6600 device
2177 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
2180 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2181 US_FL_IGNORE_RESIDUE ),
2184 UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
2187 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2191 UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
2194 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2195 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2197 UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2198 "Ariston Technologies",
2199 "iConnect USB to SCSI adapter",
2200 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2201 US_FL_SCM_MULT_TARG ),
2205 * These Appotech controllers are found in Picture Frames, they provide a
2206 * (buggy) emulation of a cdrom drive which contains the windows software
2207 * Uploading of pictures happens over the corresponding /dev/sg device.
2209 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2212 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2214 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2217 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2219 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2222 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2223 US_FL_NO_READ_DISC_INFO ),
2227 * The Amazon Kindle treats SYNCHRONIZE CACHE as an indication that
2228 * the host may be finished with it, and automatically ejects its
2229 * emulated media unless it receives another command within one second.
2231 UNUSUAL_DEV( 0x1949, 0x0004, 0x0000, 0x9999,
2234 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2235 US_FL_SENSE_AFTER_SYNC ),
2239 * This device morphes spontaneously into another device if the access
2240 * pattern of Windows isn't followed. Thus writable media would be dirty
2241 * if the initial instance is used. So the device is limited to its
2243 * And yes, the concept that BCD goes up to 9 is not heeded
2245 UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
2247 "ZTE WCDMA Technologies MSM",
2248 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2253 * This encrypted pen drive returns bogus data for the initial READ(10).
2255 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2258 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2259 US_FL_INITIAL_READ10 ),
2263 * These are mini projectors using USB for both power and video data transport
2264 * The usb-storage interface is a virtual windows driver CD, which the gm12u320
2265 * driver automatically converts into framebuffer & kms dri device nodes.
2267 UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
2268 "Grain-media Technology Corp.",
2269 "USB3.0 Device GM12U320",
2270 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2271 US_FL_IGNORE_DEVICE ),
2275 * This external hard drive enclosure uses a JMicron chip which
2276 * needs the US_FL_IGNORE_RESIDUE flag to work properly.
2278 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2279 "TrekStor GmbH & Co. KG",
2280 "DataStation maxi g.u",
2281 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2282 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2285 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2288 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2289 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2292 UNUSUAL_DEV( 0x1fc9, 0x0117, 0x0100, 0x0100,
2293 "NXP Semiconductors",
2295 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2296 US_FL_IGNORE_RESIDUE ),
2298 /* Supplied with some Castlewood ORB removable drives */
2299 UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
2300 "Double-H Technology",
2301 "USB to SCSI Intelligent Cable",
2302 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2303 US_FL_SCM_MULT_TARG ),
2309 UNUSUAL_DEV( 0x2109, 0x0715, 0x9999, 0x9999,
2311 "VL817 SATA Bridge",
2312 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2315 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2318 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2319 US_FL_FIX_CAPACITY),
2325 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2328 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2329 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2333 * Report by Andreas Koenecke.
2336 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2339 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2340 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2343 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2346 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2350 UNUSUAL_DEV( 0x2ca3, 0x0031, 0x0000, 0x9999,
2353 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2360 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2362 "Mio DigiWalker USB Sync",
2363 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2364 US_FL_MAX_SECTORS_64 ),
2367 UNUSUAL_DEV( 0x357d, 0x7788, 0x0114, 0x0114,
2369 "USB to ATA/ATAPI Bridge",
2370 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2371 US_FL_BROKEN_FUA | US_FL_IGNORE_UAS ),
2374 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2377 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2378 US_FL_IGNORE_RESIDUE ),
2381 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2384 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2385 US_FL_MAX_SECTORS_64 ),
2389 * The key makes the SCSI stack print confusing (but harmless) messages
2391 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2394 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2396 /* "G-DRIVE" external HDD hangs on write without these.
2399 UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
2402 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2407 * SCSI stack spams (otherwise harmless) error messages.
2409 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2410 "Keil Software, Inc.",
2412 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2413 US_FL_NOT_LOCKABLE),
2416 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2419 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2420 US_FL_CAPACITY_HEURISTICS),
2423 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2425 "Digital MP3 Audio Player",
2426 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2428 /* Unusual uas devices */
2429 #if IS_ENABLED(CONFIG_USB_UAS)
2430 #include "unusual_uas.h"
2433 /* Control/Bulk transport for all SubClass values */
2434 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2435 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2436 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2437 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2438 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2439 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2441 /* Control/Bulk/Interrupt transport for all SubClass values */
2442 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2443 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2444 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2445 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2446 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2447 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2449 /* Bulk-only transport for all SubClass values */
2450 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2451 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2452 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2453 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2454 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2455 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),