1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for USB Mass Storage compliant devices
6 * Current development and maintenance by:
12 * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more
13 * information about this driver.
17 * IMPORTANT NOTE: This file must be included in another file which does
18 * the following thing for it to work:
19 * The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
20 * before this file is included.
24 * If you edit this file, please try to keep it sorted first by VendorID,
27 * If you want to add an entry for this file, be sure to include the
28 * following information:
29 * - a patch that adds the entry for your device, including your
30 * email address right above the entry (plus maybe a brief
31 * explanation of the reason for the entry),
32 * - a copy of /sys/kernel/debug/usb/devices with your device plugged in
33 * running with this patch.
41 * Note: If you add an entry only in order to set the CAPACITY_OK flag,
42 * use the COMPLIANT_DEV macro instead of UNUSUAL_DEV. This is
43 * because such entries mark devices which actually work correctly,
44 * as opposed to devices that do something strangely or wrongly.
48 * In-kernel mode switching is deprecated. Do not add new devices to
49 * this list for the sole purpose of switching them to a different
50 * mode. Existing userspace solutions are superior.
52 * New mode switching devices should instead be added to the database
53 * maintained at http://www.draisberghof.de/usb_modeswitch/
56 #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
57 !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
62 UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
65 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
66 US_FL_IGNORE_RESIDUE),
69 UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
70 "VIA Technologies Inc.",
71 "Mitsumi multi cardreader",
72 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
73 US_FL_IGNORE_RESIDUE ),
75 UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
78 USB_SC_8070, USB_PR_CB, NULL, 0),
81 UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
83 "Personal Media Drive",
84 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
89 * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
91 UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
94 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
96 UNUSUAL_DEV( 0x03f3, 0x0001, 0x0000, 0x9999,
99 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
100 US_FL_SCM_MULT_TARG ),
105 * for USB floppies that need the SINGLE_LUN enforcement.
107 UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
110 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
114 UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
115 "VIA Technologies Inc.",
116 "USB 2.0 Card Reader",
117 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
118 US_FL_IGNORE_RESIDUE ),
122 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
123 * always fails and confuses drive.
125 UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
128 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
132 UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
133 "Samsung Info. Systems America, Inc.",
135 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
136 US_FL_IGNORE_RESIDUE ),
139 UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
140 "Samsung", "MP3 Player",
141 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
142 US_FL_IGNORE_RESIDUE ),
145 UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
148 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
149 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
152 UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
155 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
156 US_FL_IGNORE_RESIDUE ),
159 UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
160 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
162 US_FL_IGNORE_RESIDUE ),
168 UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
171 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
172 US_FL_MAX_SECTORS_64 ),
175 UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
178 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
179 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
182 UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
185 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
186 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
189 UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
192 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
193 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
199 UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
202 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
203 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
209 UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
212 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
213 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
216 UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
219 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
220 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
223 UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
226 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
227 US_FL_MAX_SECTORS_64 ),
230 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
233 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
234 US_FL_MAX_SECTORS_64 ),
237 UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
240 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
241 US_FL_MAX_SECTORS_64 ),
244 UNUSUAL_DEV( 0x0421, 0x04b9, 0x0350, 0x0350,
247 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
248 US_FL_MAX_SECTORS_64 ),
251 UNUSUAL_DEV( 0x0421, 0x05af, 0x0742, 0x0742,
254 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
255 US_FL_MAX_SECTORS_64),
258 UNUSUAL_DEV( 0x0421, 0x06aa, 0x1110, 0x1110,
261 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
262 US_FL_MAX_SECTORS_64 ),
265 UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
268 USB_SC_SCSI, USB_PR_CB, NULL,
274 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2
276 UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
279 USB_SC_DEVICE, USB_PR_BULK, NULL,
280 US_FL_NEED_OVERRIDE ),
284 * The key does not actually break, but it returns zero sense which
285 * makes our SCSI stack to print confusing messages.
287 UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
288 "USBest Technology", /* sold by Transcend */
289 "USB Mass Storage Device",
290 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
294 * 1GB USB sticks MyFlash High Speed. I have restricted
295 * the revision to my model only
297 UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
300 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
301 US_FL_NOT_LOCKABLE ),
305 * Obviously the PROM has not been customized by the VAR;
306 * the Vendor and Product string descriptors are:
307 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
308 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
310 UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
313 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
314 US_FL_MAX_SECTORS_64 ),
317 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
319 * This device chokes on both version of MODE SENSE which we have, so
320 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
322 UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
325 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
329 UNUSUAL_DEV( 0x0480, 0xd010, 0x0100, 0x9999,
332 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
336 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
339 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
342 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
345 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
348 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
351 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
354 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
357 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
358 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
362 * This entry is needed because the device reports Sub=ff
364 UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
366 "DVD-CAM DZ-MV100A Camcorder",
367 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
374 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
375 "Tekom Technologies, Inc",
377 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
378 US_FL_IGNORE_RESIDUE ),
381 * Patch for Nikon coolpix 2000
384 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
387 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
388 US_FL_NOT_LOCKABLE ),
391 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
394 USB_SC_DEVICE, USB_PR_CB, NULL,
395 US_FL_MAX_SECTORS_MIN),
399 * This entry needs Sub and Proto fields
401 UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
404 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
408 * This entry is needed because the device reports Sub=ff
410 UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
413 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
416 * Not sure who reported this originally but
419 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
422 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
426 * The device reports one sector more and breaks when that sector is accessed
428 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
431 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
437 * This is to support the Panasonic PalmCam PV-SD4090
438 * This entry is needed because the device reports Sub=ff
440 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
443 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
447 * This is needed for CB instead of CBI
449 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
452 USB_SC_8070, USB_PR_CB, NULL, 0),
455 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
458 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
459 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
462 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
465 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
466 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
469 * Most of the following entries were developed with the help of
470 * Shuttle/SCM directly.
472 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
475 USB_SC_8020, USB_PR_CB, NULL, 0),
477 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
480 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
481 US_FL_SCM_MULT_TARG ),
484 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
486 "eUSB CompactFlash Adapter",
487 USB_SC_SCSI, USB_PR_CB, NULL,
492 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
493 "SCM Microsystems Inc.",
495 USB_SC_SCSI, USB_PR_CB, NULL,
499 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
502 USB_SC_SCSI, USB_PR_DEVICE, NULL,
505 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
508 USB_SC_SCSI, USB_PR_CB, NULL,
511 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
513 "eUSB ATA/ATAPI Adapter",
514 USB_SC_8020, USB_PR_CB, NULL, 0),
516 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
518 "eUSB CompactFlash Adapter",
519 USB_SC_8020, USB_PR_CB, NULL, 0),
521 UNUSUAL_DEV( 0x04e6, 0x000b, 0x0100, 0x0100,
524 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
525 US_FL_SCM_MULT_TARG ),
527 UNUSUAL_DEV( 0x04e6, 0x000c, 0x0100, 0x0100,
530 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
531 US_FL_SCM_MULT_TARG ),
533 UNUSUAL_DEV( 0x04e6, 0x000f, 0x0000, 0x9999,
535 "eUSB SCSI Adapter (Bus Powered)",
536 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
537 US_FL_SCM_MULT_TARG ),
539 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
542 USB_SC_8020, USB_PR_CB, NULL, 0),
545 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
548 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
549 US_FL_MAX_SECTORS_64),
552 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
555 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
556 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
559 UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
562 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
563 US_FL_MAX_SECTORS_64),
567 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
568 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
570 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
573 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
577 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
580 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
581 US_FL_SCM_MULT_TARG ),
586 * The reason this is needed is not fully known.
588 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
591 USB_SC_8070, USB_PR_DEVICE, NULL,
595 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
597 "File-backed Storage Gadget",
598 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
602 * Yakumo Mega Image 37
604 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
605 "Tekom Technologies, Inc",
607 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
608 US_FL_IGNORE_RESIDUE ),
611 * Another Yakumo camera.
614 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
615 "Tekom Technologies, Inc",
617 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
618 US_FL_IGNORE_RESIDUE ),
621 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
622 "Tekom Technologies, Inc",
624 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
625 US_FL_IGNORE_RESIDUE ),
628 * Yakumo Mega Image 47
631 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
632 "Tekom Technologies, Inc",
634 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
635 US_FL_IGNORE_RESIDUE ),
639 * Note that it's similar to the device above, only different prodID
641 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
642 "Tekom Technologies, Inc",
644 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
645 US_FL_IGNORE_RESIDUE ),
647 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
649 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
650 USB_SC_SCSI, USB_PR_DEVICE, NULL,
651 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
655 * This entry is needed because the device reports Sub=ff
657 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
660 USB_SC_8070, USB_PR_DEVICE, NULL,
665 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
667 "Memorystick NW-MS7",
668 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
672 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
675 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
678 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
680 "Memorystick MSAC-US1",
681 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
685 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
688 USB_SC_SCSI, USB_PR_DEVICE, NULL,
692 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
695 USB_SC_UFI, USB_PR_DEVICE, NULL,
698 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
700 "Memorystick MSC-U01N",
701 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
705 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
707 "PEG N760c Memorystick",
708 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
711 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
713 "Memorystick MSC-U03",
714 USB_SC_UFI, USB_PR_CB, NULL,
718 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
721 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
725 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
728 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
732 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
735 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
739 UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
741 "MicroVault Flash Drive",
742 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
743 US_FL_NO_READ_CAPACITY_16 ),
745 /* floppy reports multiple luns */
746 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
749 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
752 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
753 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
756 USB_SC_DEVICE, USB_PR_CB, NULL,
761 * This entry is needed only because the device reports
762 * bInterfaceClass = 0xff (vendor-specific)
764 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
767 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
770 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
773 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
774 US_FL_MAX_SECTORS_64 ),
777 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
779 "Digital Camera EX-20 DSC",
780 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
784 * This antique device predates the release of the Bulk-only Transport
785 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
786 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
787 * us from sending the request.
789 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
792 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
795 UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
798 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
802 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
805 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
809 UNUSUAL_DEV( 0x059f, 0x0651, 0x0000, 0x0000,
812 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
813 US_FL_NO_WP_DETECT ),
817 * Some versions of this device need the SubClass and Protocol overrides
818 * while others don't.
820 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
822 "PyroGate External CD-ROM Enclosure (FCD-523)",
823 USB_SC_SCSI, USB_PR_BULK, NULL,
824 US_FL_NEED_OVERRIDE ),
828 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
829 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
830 * to change with firmware updates, I changed the range to maximum for all
833 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
836 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
837 US_FL_FIX_CAPACITY ),
840 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
843 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
844 US_FL_FIX_CAPACITY ),
846 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
849 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
850 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
852 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
855 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
856 US_FL_FIX_CAPACITY ),
860 * This particular productId is the iPod Nano
862 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
865 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
866 US_FL_FIX_CAPACITY ),
870 * Option N.V. mobile broadband modems
871 * Ignore driver CD mode and force into modem mode by default.
874 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
875 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
878 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
882 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
885 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
889 * The following two entries are for a Genesys USB to IDE
890 * converter chip, but it changes its ProductId depending
891 * on whether or not a disk or an optical device is enclosed
892 * They were originally reported by Alexander Oltu
896 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
898 * special-cases were pulled from scsiglue.c.
900 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
902 "USB to IDE Optical",
903 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
904 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
906 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
909 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
910 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
913 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
916 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
921 * Taken from the Lycoris Kernel
923 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
926 USB_SC_SCSI, USB_PR_BULK, NULL,
929 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
932 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
935 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
937 "USBMSC Audio Player",
938 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
939 US_FL_FIX_CAPACITY ),
942 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
943 "Prolific Technology, Inc.",
944 "Prolific Storage Gadget",
945 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
949 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
950 "Prolific Technology, Inc.",
951 "Mass Storage Device",
952 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
953 US_FL_NOT_LOCKABLE ),
957 * Change to bcdDeviceMin (0x0100 to 0x0001) reported by
960 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
961 "Prolific Technology Inc.",
962 "Mass Storage Device",
963 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
964 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
967 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
968 "Prolific Technology Inc.",
969 "ATAPI-6 Bridge Controller",
970 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
971 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
974 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
977 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
980 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
983 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
985 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
988 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
991 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
992 "Thomson Multimedia Inc.",
993 "RCA RD1080 MP3 Player",
994 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
995 US_FL_FIX_CAPACITY ),
997 UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
1000 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1001 US_FL_SCM_MULT_TARG ),
1004 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
1007 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1008 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
1009 US_FL_NO_READ_CAPACITY_16),
1013 * Support the following product :
1014 * "Dane-Elec MediaTouch"
1016 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
1019 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1020 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
1024 * This USB MP3/AVI player device fails and disconnects if more than 128
1025 * sectors (64kB) are read/written in a single command, and may be present
1026 * at least in the following products:
1027 * "Magnex Digital Video Panel DVP 1800"
1028 * "MP4 AIGO 4GB SLOT SD"
1029 * "Teclast TL-C260 MP3"
1030 * "i.Meizu PMP MP3/MP4"
1031 * "Speed MV8 MP4 Audio Player"
1033 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
1036 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1037 US_FL_MAX_SECTORS_64),
1040 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
1043 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1044 US_FL_IGNORE_RESIDUE),
1047 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
1049 "ImageMate SDDR-05a",
1050 USB_SC_SCSI, USB_PR_CB, NULL,
1053 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
1054 "SanDisk Corporation",
1055 "ImageMate CompactFlash USB",
1056 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1057 US_FL_FIX_CAPACITY ),
1059 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
1061 "ImageMate SDDR-12",
1062 USB_SC_SCSI, USB_PR_CB, NULL,
1066 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
1067 "Freecom Technologies",
1069 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1070 US_FL_FIX_CAPACITY),
1072 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
1075 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1076 US_FL_SCM_MULT_TARG ),
1078 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
1081 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1082 US_FL_SCM_MULT_TARG ),
1085 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1088 USB_SC_SCSI, USB_PR_CB, NULL,
1093 * Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1094 * Only revision 1.13 tested (same for all of the above devices,
1095 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1097 * See also http://martin.wilck.bei.t-online.de/#kecf .
1099 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1102 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1103 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1109 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1110 "Simple Tech/Datafab",
1112 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1113 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1116 * Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1117 * to the USB storage specification in two ways:
1118 * - They tell us they are using transport protocol CBI. In reality they
1119 * are using transport protocol CB.
1120 * - They don't like the INQUIRY command. So we must handle this command
1121 * of the SCSI layer ourselves.
1122 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1123 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1124 * So don't remove the USB_PR_CB override!
1125 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1127 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1130 USB_SC_8070, USB_PR_CB, NULL,
1131 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1134 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1136 "EX-N1 DigitalCamera",
1137 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1140 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1143 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1147 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1150 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1151 US_FL_FIX_CAPACITY),
1154 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1157 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1158 US_FL_FIX_CAPACITY),
1161 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1164 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1165 US_FL_FIX_CAPACITY),
1167 /* Supplied with some Castlewood ORB removable drives */
1168 UNUSUAL_DEV( 0x084b, 0xa001, 0x0000, 0x9999,
1169 "Castlewood Systems",
1170 "USB to SCSI cable",
1171 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1172 US_FL_SCM_MULT_TARG ),
1176 * Flag will support Bulk devices which use a standards-violating 32-byte
1177 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1178 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1181 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1184 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1189 * The device reports a vendor-specific device class, requiring an
1190 * explicit vendor/product match.
1192 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1195 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1199 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1201 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1203 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1206 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1207 US_FL_NOT_LOCKABLE),
1209 UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1211 "PortGear USB-SCSI (Mac USB Dock)",
1212 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1213 US_FL_SCM_MULT_TARG ),
1215 UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1217 "PortGear USB to SCSI Converter",
1218 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1219 US_FL_SCM_MULT_TARG ),
1222 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1225 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1230 * US_FL_IGNORE_RESIDUE Needed
1232 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1234 "Aiptek USB Keychain MP3 Player",
1235 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1236 US_FL_IGNORE_RESIDUE),
1239 * Entry needed for flags. Moreover, all devices with this ID use
1240 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1241 * One example is "Trumpion Digital Research MYMP3".
1242 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1244 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1246 "t33520 USB Flash Card Controller",
1247 USB_SC_DEVICE, USB_PR_BULK, NULL,
1248 US_FL_NEED_OVERRIDE ),
1252 * The device reports a subclass of RBC, which is wrong.
1254 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1255 "Trumpion Microelectronics, Inc.",
1256 "33520 USB Digital Voice Recorder",
1257 USB_SC_UFI, USB_PR_DEVICE, NULL,
1261 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1264 USB_SC_RBC, USB_PR_BULK, NULL,
1268 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1270 "5-in-1 Card Reader",
1271 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1272 US_FL_FIX_CAPACITY ),
1276 * This card reader returns "Illegal Request, Logical Block Address
1277 * Out of Range" for the first READ(10) after a new card is inserted.
1279 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1281 "SD/SDHC Card Reader",
1282 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1283 US_FL_INITIAL_READ10 ),
1286 * This Pentax still camera is not conformant
1287 * to the USB storage specification: -
1288 * - It does not like the INQUIRY command. So we must handle this command
1289 * of the SCSI layer ourselves.
1290 * Tested on Rev. 10.00 (0x1000)
1293 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1296 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1297 US_FL_FIX_INQUIRY ),
1300 * These are virtual windows driver CDs, which the zd1211rw driver
1301 * automatically converts into WLAN devices.
1303 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1305 "G-220F USB-WLAN Install",
1306 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1307 US_FL_IGNORE_DEVICE ),
1309 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1311 "WL-117 USB-WLAN Install",
1312 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1313 US_FL_IGNORE_DEVICE ),
1317 * Option N.V. mobile broadband modems
1318 * Ignore driver CD mode and force into modem mode by default.
1322 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1325 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1330 * This device (wrongly) has a vendor-specific device descriptor.
1331 * The entry is needed so usb-storage can bind to it's mass-storage
1332 * interface as an interface driver
1334 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1337 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1342 * These devices (wrongly) have a vendor-specific device descriptor.
1343 * These entries are needed so usb-storage can bind to their mass-storage
1344 * interface as an interface driver
1346 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1349 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1352 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1355 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1358 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1361 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1364 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1367 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1370 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1373 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1376 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1379 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1382 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1385 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1388 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1391 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1394 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1397 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1400 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1403 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1406 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1409 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1412 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1415 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1418 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1421 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1424 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1427 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1430 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1433 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1437 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1440 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1443 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1446 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1450 UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
1453 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1454 US_FL_NO_WP_DETECT ),
1456 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1459 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1464 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1466 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1469 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1473 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1476 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1480 * Entry for Jenoptik JD 5200z3
1484 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1487 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1490 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1491 "Macpower Technology Co.LTD.",
1492 "USB 2.0 3.5\" DEVICE",
1493 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1494 US_FL_FIX_CAPACITY),
1498 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1499 * works for me. Can anybody correct these values? (I able to test corrected
1502 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1505 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1506 US_FL_FIX_INQUIRY ),
1509 * Reported by Edward Chapman (taken from linux-usb mailing list)
1510 * Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive
1512 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1515 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1516 US_FL_IGNORE_RESIDUE ),
1521 * I don't know why, but it works...
1523 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1526 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1527 US_FL_IGNORE_RESIDUE ),
1529 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1530 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1533 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1534 US_FL_IGNORE_RESIDUE ),
1537 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1540 USB_SC_DEVICE, USB_PR_BULK, NULL,
1541 US_FL_NEED_OVERRIDE ),
1544 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1547 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1548 US_FL_FIX_INQUIRY ),
1552 * Reported by dayul on the Gentoo Forums
1554 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1557 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1558 US_FL_IGNORE_RESIDUE ),
1561 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1564 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1565 US_FL_IGNORE_RESIDUE ),
1569 * It is also sold by Easylite as DJ 20
1571 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1574 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1575 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1578 * Patch by Leonid Petrov mail at lpetrov.net
1580 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1581 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1583 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1586 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1587 US_FL_IGNORE_RESIDUE ),
1591 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1592 * errors when trying to write.
1594 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1597 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1598 US_FL_IGNORE_RESIDUE ),
1600 /* Submitted by Nick Holloway */
1601 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1604 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1605 US_FL_FIX_CAPACITY ),
1608 UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1609 "Research In Motion",
1610 "BlackBerry Bold 9000",
1611 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1612 US_FL_MAX_SECTORS_64 ),
1615 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1617 "V800-Vodafone 802",
1618 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1619 US_FL_NO_WP_DETECT ),
1622 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1625 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1626 US_FL_IGNORE_DEVICE),
1632 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1635 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1636 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1639 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1642 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1643 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1646 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1649 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1650 US_FL_IGNORE_RESIDUE ),
1654 * Tested on hardware version 1.10.
1655 * Entry is needed only for the initializer function override.
1656 * Devices with bcd > 110 seem to not need it while those
1657 * with bcd < 110 appear to need it.
1659 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1662 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1665 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1668 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1672 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1675 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1679 * The device reports a vendor-specific bDeviceClass.
1681 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1682 "Actions Semiconductor",
1684 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1689 * Ignore driver CD mode and force into modem mode by default.
1691 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1694 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1698 * Entry is needed for the initializer function override,
1699 * which instructs the device to load as a modem
1702 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1705 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1710 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1711 * devices) misbehaves and causes a bunch of invalid I/O errors.
1713 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1715 "DigiTech Mass Storage",
1716 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1717 US_FL_IGNORE_RESIDUE ),
1721 * This brings the HUAWEI data card devices into multi-port mode
1723 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1726 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1728 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1731 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1733 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1736 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1738 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1741 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1743 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1746 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1748 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1751 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1753 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1756 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1758 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1761 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1763 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1766 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1768 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1771 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1773 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1776 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1778 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1781 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1783 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1786 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1788 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1791 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1793 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1796 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1798 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1801 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1803 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1806 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1808 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1811 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1813 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1816 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1818 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1821 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1823 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1826 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1828 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1831 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1833 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1836 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1838 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1841 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1843 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1846 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1848 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1851 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1853 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1856 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1858 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1861 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1863 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1866 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1868 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1871 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1873 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1876 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1878 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1881 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1883 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1886 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1888 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1891 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1893 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1896 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1898 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1901 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1903 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1906 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1908 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1911 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1913 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1916 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1918 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1921 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1923 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1926 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1928 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1931 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1933 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1936 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1938 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1941 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1943 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1946 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1948 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1951 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1953 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1956 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1958 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1961 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1963 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1966 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1968 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1971 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1973 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1976 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1978 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
1981 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1983 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
1986 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1988 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
1991 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1993 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
1996 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1998 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
2001 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2003 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
2006 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2008 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
2011 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2013 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
2016 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2018 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
2021 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2023 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
2026 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2028 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
2031 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2033 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
2036 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2038 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
2041 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2043 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
2046 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2048 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
2051 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2054 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
2055 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
2058 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2062 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
2065 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2066 US_FL_IGNORE_RESIDUE ),
2070 * The INIC-3619 bridge is used in the StarTech SLSODDU33B
2071 * SATA-USB enclosure for slimline optical drives.
2073 * The quirk enables MakeMKV to properly exchange keys with
2074 * an installed BD drive.
2076 UNUSUAL_DEV( 0x13fd, 0x3609, 0x0209, 0x0209,
2077 "Initio Corporation",
2079 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2080 US_FL_IGNORE_RESIDUE ),
2083 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
2086 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2087 US_FL_BULK_IGNORE_TAG ),
2090 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
2093 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2094 US_FL_IGNORE_RESIDUE ),
2097 UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0116,
2099 "USB to ATA/ATAPI Bridge",
2100 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2105 * JMicron responds to USN and several other SCSI ioctls with a
2106 * residue that causes subsequent I/O requests to fail. */
2107 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
2109 "USB to ATA/ATAPI Bridge",
2110 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2111 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2114 UNUSUAL_DEV( 0x152d, 0x2566, 0x0114, 0x0114,
2116 "USB to ATA/ATAPI Bridge",
2117 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2121 UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
2124 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2125 US_FL_NO_REPORT_OPCODES),
2128 * Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
2129 * and Mac USB Dock USB-SCSI */
2130 UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
2131 "Entrega Technologies",
2132 "USB to SCSI Converter",
2133 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2134 US_FL_SCM_MULT_TARG ),
2138 * Note: this is a 'super top' device like the above 14cd/6600 device
2140 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
2143 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2144 US_FL_IGNORE_RESIDUE ),
2147 UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
2150 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2154 UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
2157 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2158 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2160 UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2161 "Ariston Technologies",
2162 "iConnect USB to SCSI adapter",
2163 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2164 US_FL_SCM_MULT_TARG ),
2168 * These Appotech controllers are found in Picture Frames, they provide a
2169 * (buggy) emulation of a cdrom drive which contains the windows software
2170 * Uploading of pictures happens over the corresponding /dev/sg device.
2172 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2175 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2177 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2180 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2182 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2185 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2186 US_FL_NO_READ_DISC_INFO ),
2190 * This device morphes spontaneously into another device if the access
2191 * pattern of Windows isn't followed. Thus writable media would be dirty
2192 * if the initial instance is used. So the device is limited to its
2194 * And yes, the concept that BCD goes up to 9 is not heeded
2196 UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
2198 "ZTE WCDMA Technologies MSM",
2199 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2204 * This encrypted pen drive returns bogus data for the initial READ(10).
2206 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2209 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2210 US_FL_INITIAL_READ10 ),
2214 * These are mini projectors using USB for both power and video data transport
2215 * The usb-storage interface is a virtual windows driver CD, which the gm12u320
2216 * driver automatically converts into framebuffer & kms dri device nodes.
2218 UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
2219 "Grain-media Technology Corp.",
2220 "USB3.0 Device GM12U320",
2221 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2222 US_FL_IGNORE_DEVICE ),
2226 * This external hard drive enclosure uses a JMicron chip which
2227 * needs the US_FL_IGNORE_RESIDUE flag to work properly.
2229 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2230 "TrekStor GmbH & Co. KG",
2231 "DataStation maxi g.u",
2232 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2233 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2236 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2239 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2240 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2242 /* Supplied with some Castlewood ORB removable drives */
2243 UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
2244 "Double-H Technology",
2245 "USB to SCSI Intelligent Cable",
2246 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2247 US_FL_SCM_MULT_TARG ),
2249 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2252 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2253 US_FL_FIX_CAPACITY),
2259 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2262 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2263 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2267 * Report by Andreas Koenecke.
2270 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2273 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2274 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2277 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2280 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2287 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2289 "Mio DigiWalker USB Sync",
2290 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2291 US_FL_MAX_SECTORS_64 ),
2294 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2297 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2298 US_FL_IGNORE_RESIDUE ),
2301 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2304 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2305 US_FL_MAX_SECTORS_64 ),
2309 * The key makes the SCSI stack print confusing (but harmless) messages
2311 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2314 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2318 * SCSI stack spams (otherwise harmless) error messages.
2320 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2321 "Keil Software, Inc.",
2323 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2324 US_FL_NOT_LOCKABLE),
2327 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2330 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2331 US_FL_CAPACITY_HEURISTICS),
2334 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2336 "Digital MP3 Audio Player",
2337 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2339 /* Unusual uas devices */
2340 #if IS_ENABLED(CONFIG_USB_UAS)
2341 #include "unusual_uas.h"
2344 /* Control/Bulk transport for all SubClass values */
2345 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2346 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2347 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2348 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2349 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2350 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2352 /* Control/Bulk/Interrupt transport for all SubClass values */
2353 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2354 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2355 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2356 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2357 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2358 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2360 /* Bulk-only transport for all SubClass values */
2361 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2362 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2363 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2364 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2365 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2366 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),