1 /* Driver for USB Mass Storage compliant devices
4 * Current development and maintenance by:
10 * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more
11 * information about this driver.
13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License as published by the
15 * Free Software Foundation; either version 2, or (at your option) any
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * General Public License for more details.
23 * You should have received a copy of the GNU General Public License along
24 * with this program; if not, write to the Free Software Foundation, Inc.,
25 * 675 Mass Ave, Cambridge, MA 02139, USA.
28 /* IMPORTANT NOTE: This file must be included in another file which does
29 * the following thing for it to work:
30 * The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
31 * before this file is included.
34 /* If you edit this file, please try to keep it sorted first by VendorID,
37 * If you want to add an entry for this file, be sure to include the
38 * following information:
39 * - a patch that adds the entry for your device, including your
40 * email address right above the entry (plus maybe a brief
41 * explanation of the reason for the entry),
42 * - a copy of /proc/bus/usb/devices with your device plugged in
43 * running with this patch.
50 /* Note: If you add an entry only in order to set the CAPACITY_OK flag,
51 * use the COMPLIANT_DEV macro instead of UNUSUAL_DEV. This is
52 * because such entries mark devices which actually work correctly,
53 * as opposed to devices that do something strangely or wrongly.
56 #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
57 !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
63 UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
66 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
67 US_FL_IGNORE_RESIDUE),
70 UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
71 "VIA Technologies Inc.",
72 "Mitsumi multi cardreader",
73 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
74 US_FL_IGNORE_RESIDUE ),
76 UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
79 USB_SC_8070, USB_PR_CB, NULL, 0),
82 UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
84 "Personal Media Drive",
85 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),
98 * for USB floppies that need the SINGLE_LUN enforcement.
100 UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
103 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
107 UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
108 "VIA Technologies Inc.",
109 "USB 2.0 Card Reader",
110 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
111 US_FL_IGNORE_RESIDUE ),
114 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
115 * always fails and confuses drive.
117 UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
120 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
124 UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
125 "Samsung Info. Systems America, Inc.",
127 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
128 US_FL_IGNORE_RESIDUE ),
131 UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
132 "Samsung", "MP3 Player",
133 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
134 US_FL_IGNORE_RESIDUE ),
137 UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
140 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
141 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
144 UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
147 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
148 US_FL_IGNORE_RESIDUE ),
151 UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
152 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
153 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
154 US_FL_IGNORE_RESIDUE ),
158 UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
162 US_FL_MAX_SECTORS_64 ),
165 UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
168 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
169 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
172 UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
175 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
176 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
179 UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
182 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
183 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
187 UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
190 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
191 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
195 UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
198 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
199 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
202 UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
205 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
206 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
209 UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
212 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
213 US_FL_MAX_SECTORS_64 ),
216 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
219 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
220 US_FL_MAX_SECTORS_64 ),
223 UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
226 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
227 US_FL_MAX_SECTORS_64 ),
230 UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
233 USB_SC_SCSI, USB_PR_CB, NULL,
238 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
239 UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
242 USB_SC_DEVICE, USB_PR_BULK, NULL,
243 US_FL_NEED_OVERRIDE ),
247 * The key does not actually break, but it returns zero sense which
248 * makes our SCSI stack to print confusing messages.
250 UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
251 "USBest Technology", /* sold by Transcend */
252 "USB Mass Storage Device",
253 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
257 * 1GB USB sticks MyFlash High Speed. I have restricted
258 * the revision to my model only
260 UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
263 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
264 US_FL_NOT_LOCKABLE ),
267 * Obviously the PROM has not been customized by the VAR;
268 * the Vendor and Product string descriptors are:
269 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
270 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
272 UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
275 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
276 US_FL_MAX_SECTORS_64 ),
279 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
281 * This device chokes on both version of MODE SENSE which we have, so
282 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
284 UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
287 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
291 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
294 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
297 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
300 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
303 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
306 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
309 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
312 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
313 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
316 * This entry is needed because the device reports Sub=ff */
317 UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
319 "DVD-CAM DZ-MV100A Camcorder",
320 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
325 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
326 "Tekom Technologies, Inc",
328 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
329 US_FL_IGNORE_RESIDUE ),
331 /* Patch for Nikon coolpix 2000
333 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
336 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
337 US_FL_NOT_LOCKABLE ),
340 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
343 USB_SC_DEVICE, USB_PR_CB, NULL,
344 US_FL_MAX_SECTORS_MIN),
347 * This entry needs Sub and Proto fields */
348 UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
351 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
354 * This entry is needed because the device reports Sub=ff */
355 UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
358 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
360 /* Not sure who reported this originally but
363 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
366 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
369 * The device reports one sector more and breaks when that sector is accessed
371 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
374 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
379 * This is to support the Panasonic PalmCam PV-SD4090
380 * This entry is needed because the device reports Sub=ff
382 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
385 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
388 * This is needed for CB instead of CBI */
389 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
392 USB_SC_8070, USB_PR_CB, NULL, 0),
395 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
398 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
399 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
402 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
405 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
406 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
408 /* Most of the following entries were developed with the help of
409 * Shuttle/SCM directly.
411 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
414 USB_SC_8020, USB_PR_CB, NULL, 0),
416 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
419 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
420 US_FL_SCM_MULT_TARG ),
423 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
425 "eUSB CompactFlash Adapter",
426 USB_SC_SCSI, USB_PR_CB, NULL,
431 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
432 "SCM Microsystems Inc.",
434 USB_SC_SCSI, USB_PR_CB, NULL,
438 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
441 USB_SC_SCSI, USB_PR_DEVICE, NULL,
444 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
447 USB_SC_SCSI, USB_PR_CB, NULL,
450 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
452 "eUSB ATA/ATAPI Adapter",
453 USB_SC_8020, USB_PR_CB, NULL, 0),
455 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
457 "eUSB CompactFlash Adapter",
458 USB_SC_8020, USB_PR_CB, NULL, 0),
460 UNUSUAL_DEV( 0x04e6, 0x000B, 0x0100, 0x0100,
463 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
464 US_FL_SCM_MULT_TARG ),
466 UNUSUAL_DEV( 0x04e6, 0x000C, 0x0100, 0x0100,
469 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
470 US_FL_SCM_MULT_TARG ),
472 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
475 USB_SC_8020, USB_PR_CB, NULL, 0),
478 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
481 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
482 US_FL_MAX_SECTORS_64),
485 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
488 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
489 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
492 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
493 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
495 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
498 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
502 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
505 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
506 US_FL_SCM_MULT_TARG ),
508 /* Iomega Clik! Drive
510 * The reason this is needed is not fully known.
512 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
515 USB_SC_8070, USB_PR_DEVICE, NULL,
519 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
521 "File-backed Storage Gadget",
522 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
525 /* Yakumo Mega Image 37
527 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
528 "Tekom Technologies, Inc",
530 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
531 US_FL_IGNORE_RESIDUE ),
533 /* Another Yakumo camera.
535 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
536 "Tekom Technologies, Inc",
538 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
539 US_FL_IGNORE_RESIDUE ),
542 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
543 "Tekom Technologies, Inc",
545 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
546 US_FL_IGNORE_RESIDUE ),
548 /* Yakumo Mega Image 47
550 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
551 "Tekom Technologies, Inc",
553 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
554 US_FL_IGNORE_RESIDUE ),
557 * Note that it's similar to the device above, only different prodID */
558 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
559 "Tekom Technologies, Inc",
561 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
562 US_FL_IGNORE_RESIDUE ),
564 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
566 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
567 USB_SC_SCSI, USB_PR_DEVICE, NULL,
568 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
571 * This entry is needed because the device reports Sub=ff */
572 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
575 USB_SC_8070, USB_PR_DEVICE, NULL,
580 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
582 "Memorystick NW-MS7",
583 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
587 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
590 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
593 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
595 "Memorystick MSAC-US1",
596 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
600 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
603 USB_SC_SCSI, USB_PR_DEVICE, NULL,
607 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
610 USB_SC_UFI, USB_PR_DEVICE, NULL,
613 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
615 "Memorystick MSC-U01N",
616 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
620 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
622 "PEG N760c Memorystick",
623 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
626 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
628 "Memorystick MSC-U03",
629 USB_SC_UFI, USB_PR_CB, NULL,
633 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
636 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
640 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
643 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
647 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
650 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
653 /* floppy reports multiple luns */
654 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
657 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
660 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
661 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
664 USB_SC_DEVICE, USB_PR_CB, NULL,
668 * This entry is needed only because the device reports
669 * bInterfaceClass = 0xff (vendor-specific)
671 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
674 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
677 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
680 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
681 US_FL_MAX_SECTORS_64 ),
684 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
686 "Digital Camera EX-20 DSC",
687 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
690 * This antique device predates the release of the Bulk-only Transport
691 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
692 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
693 * us from sending the request.
695 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
698 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
702 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
705 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
709 * Some versions of this device need the SubClass and Protocol overrides
710 * while others don't.
712 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
714 "PyroGate External CD-ROM Enclosure (FCD-523)",
715 USB_SC_SCSI, USB_PR_BULK, NULL,
716 US_FL_NEED_OVERRIDE ),
719 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
720 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
721 * to change with firmware updates, I changed the range to maximum for all
724 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
727 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
728 US_FL_FIX_CAPACITY ),
731 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
734 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
735 US_FL_FIX_CAPACITY ),
737 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
740 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
741 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
743 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
746 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
747 US_FL_FIX_CAPACITY ),
751 * This particular productId is the iPod Nano
753 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
756 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
757 US_FL_FIX_CAPACITY ),
760 * Option N.V. mobile broadband modems
761 * Ignore driver CD mode and force into modem mode by default.
764 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
765 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
768 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
772 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
775 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
778 /* The following two entries are for a Genesys USB to IDE
779 * converter chip, but it changes its ProductId depending
780 * on whether or not a disk or an optical device is enclosed
781 * They were originally reported by Alexander Oltu
785 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
787 * special-cases were pulled from scsiglue.c.
789 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
791 "USB to IDE Optical",
792 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
793 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
795 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
798 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
799 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
802 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
805 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
809 * Taken from the Lycoris Kernel */
810 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
813 USB_SC_SCSI, USB_PR_BULK, NULL,
816 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
819 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
822 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
824 "USBMSC Audio Player",
825 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
826 US_FL_FIX_CAPACITY ),
829 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
830 "Prolific Technology, Inc.",
831 "Prolific Storage Gadget",
832 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
836 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
837 "Prolific Technology, Inc.",
838 "Mass Storage Device",
839 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
840 US_FL_NOT_LOCKABLE ),
843 /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
845 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
846 "Prolific Technology Inc.",
847 "Mass Storage Device",
848 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
849 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
852 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
853 "Prolific Technology Inc.",
854 "ATAPI-6 Bridge Controller",
855 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
856 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
859 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
862 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
865 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
868 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
870 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
873 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
876 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
877 "Thomson Multimedia Inc.",
878 "RCA RD1080 MP3 Player",
879 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
880 US_FL_FIX_CAPACITY ),
883 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
886 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
887 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
888 US_FL_NO_READ_CAPACITY_16),
891 * Support the following product :
892 * "Dane-Elec MediaTouch"
894 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
897 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
898 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
901 * This USB MP3/AVI player device fails and disconnects if more than 128
902 * sectors (64kB) are read/written in a single command, and may be present
903 * at least in the following products:
904 * "Magnex Digital Video Panel DVP 1800"
905 * "MP4 AIGO 4GB SLOT SD"
906 * "Teclast TL-C260 MP3"
907 * "i.Meizu PMP MP3/MP4"
908 * "Speed MV8 MP4 Audio Player"
910 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
913 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
914 US_FL_MAX_SECTORS_64),
917 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
920 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
921 US_FL_IGNORE_RESIDUE),
924 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
926 "ImageMate SDDR-05a",
927 USB_SC_SCSI, USB_PR_CB, NULL,
930 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
931 "SanDisk Corporation",
932 "ImageMate CompactFlash USB",
933 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
934 US_FL_FIX_CAPACITY ),
936 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
939 USB_SC_SCSI, USB_PR_CB, NULL,
943 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
944 "Freecom Technologies",
946 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
949 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
952 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
953 US_FL_SCM_MULT_TARG ),
955 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
958 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
959 US_FL_SCM_MULT_TARG ),
962 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
965 USB_SC_SCSI, USB_PR_CB, NULL,
969 /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
970 * Only revision 1.13 tested (same for all of the above devices,
971 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
973 * See also http://martin.wilck.bei.t-online.de/#kecf .
975 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
978 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
979 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
984 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
985 "Simple Tech/Datafab",
987 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
988 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
990 /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
991 * to the USB storage specification in two ways:
992 * - They tell us they are using transport protocol CBI. In reality they
993 * are using transport protocol CB.
994 * - They don't like the INQUIRY command. So we must handle this command
995 * of the SCSI layer ourselves.
996 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
997 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
998 * So don't remove the USB_PR_CB override!
999 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1001 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1004 USB_SC_8070, USB_PR_CB, NULL,
1005 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1008 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1011 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1015 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1018 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1019 US_FL_FIX_CAPACITY),
1022 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1025 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1026 US_FL_FIX_CAPACITY),
1029 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1032 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1033 US_FL_FIX_CAPACITY),
1036 * Flag will support Bulk devices which use a standards-violating 32-byte
1037 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1038 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1041 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1044 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1048 * The device reports a vendor-specific device class, requiring an
1049 * explicit vendor/product match.
1051 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1054 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1057 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1059 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1061 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1064 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1065 US_FL_NOT_LOCKABLE),
1068 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1071 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1075 * US_FL_IGNORE_RESIDUE Needed
1077 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1079 "Aiptek USB Keychain MP3 Player",
1080 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1081 US_FL_IGNORE_RESIDUE),
1083 /* Entry needed for flags. Moreover, all devices with this ID use
1084 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1085 * One example is "Trumpion Digital Research MYMP3".
1086 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1088 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1090 "t33520 USB Flash Card Controller",
1091 USB_SC_DEVICE, USB_PR_BULK, NULL,
1092 US_FL_NEED_OVERRIDE ),
1095 * The device reports a subclass of RBC, which is wrong.
1097 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1098 "Trumpion Microelectronics, Inc.",
1099 "33520 USB Digital Voice Recorder",
1100 USB_SC_UFI, USB_PR_DEVICE, NULL,
1104 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1107 USB_SC_RBC, USB_PR_BULK, NULL,
1111 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1113 "5-in-1 Card Reader",
1114 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1115 US_FL_FIX_CAPACITY ),
1118 * This card reader returns "Illegal Request, Logical Block Address
1119 * Out of Range" for the first READ(10) after a new card is inserted.
1121 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1123 "SD/SDHC Card Reader",
1124 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1125 US_FL_INITIAL_READ10 ),
1127 /* This Pentax still camera is not conformant
1128 * to the USB storage specification: -
1129 * - It does not like the INQUIRY command. So we must handle this command
1130 * of the SCSI layer ourselves.
1131 * Tested on Rev. 10.00 (0x1000)
1134 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1137 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1138 US_FL_FIX_INQUIRY ),
1140 /* These are virtual windows driver CDs, which the zd1211rw driver
1141 * automatically converts into WLAN devices. */
1142 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1144 "G-220F USB-WLAN Install",
1145 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1146 US_FL_IGNORE_DEVICE ),
1148 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1150 "WL-117 USB-WLAN Install",
1151 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1152 US_FL_IGNORE_DEVICE ),
1155 * Option N.V. mobile broadband modems
1156 * Ignore driver CD mode and force into modem mode by default.
1160 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1163 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1167 * This device (wrongly) has a vendor-specific device descriptor.
1168 * The entry is needed so usb-storage can bind to it's mass-storage
1169 * interface as an interface driver */
1170 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1173 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1177 * These devices (wrongly) have a vendor-specific device descriptor.
1178 * These entries are needed so usb-storage can bind to their mass-storage
1179 * interface as an interface driver */
1180 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1183 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1186 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1189 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1192 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1195 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1198 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1201 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1204 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1207 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1210 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1213 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1216 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1219 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1222 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1225 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1228 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1231 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1234 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1237 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1240 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1243 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1246 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1249 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1252 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1255 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1258 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1261 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1264 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1267 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1271 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1274 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1277 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1280 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1285 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1287 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1290 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1294 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1297 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1301 * Entry for Jenoptik JD 5200z3
1305 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1308 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1311 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1312 "Macpower Technology Co.LTD.",
1313 "USB 2.0 3.5\" DEVICE",
1314 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1315 US_FL_FIX_CAPACITY),
1318 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1319 * works for me. Can anybody correct these values? (I able to test corrected
1322 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1325 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1326 US_FL_FIX_INQUIRY ),
1328 /* Reported by Edward Chapman (taken from linux-usb mailing list)
1329 Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1330 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1333 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1334 US_FL_IGNORE_RESIDUE ),
1338 * I don't know why, but it works... */
1339 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1342 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1343 US_FL_IGNORE_RESIDUE ),
1345 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1346 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1349 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1350 US_FL_IGNORE_RESIDUE ),
1353 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1356 USB_SC_DEVICE, USB_PR_BULK, NULL,
1357 US_FL_NEED_OVERRIDE ),
1360 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1363 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1364 US_FL_FIX_INQUIRY ),
1367 * Reported by dayul on the Gentoo Forums */
1368 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1371 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1372 US_FL_IGNORE_RESIDUE ),
1375 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1378 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1379 US_FL_IGNORE_RESIDUE ),
1382 * It is also sold by Easylite as DJ 20 */
1383 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1386 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1387 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1389 /* Patch by Leonid Petrov mail at lpetrov.net
1391 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1392 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1394 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1397 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1398 US_FL_IGNORE_RESIDUE ),
1401 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1402 * errors when trying to write.
1404 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1407 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1408 US_FL_IGNORE_RESIDUE ),
1410 /* Submitted by Nick Holloway */
1411 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1414 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1415 US_FL_FIX_CAPACITY ),
1418 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1420 "V800-Vodafone 802",
1421 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1422 US_FL_NO_WP_DETECT ),
1425 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1428 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1429 US_FL_IGNORE_DEVICE),
1433 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1436 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1437 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1440 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1443 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1444 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1447 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1450 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1451 US_FL_IGNORE_RESIDUE ),
1454 * Tested on hardware version 1.10.
1455 * Entry is needed only for the initializer function override.
1456 * Devices with bcd > 110 seem to not need it while those
1457 * with bcd < 110 appear to need it.
1459 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1462 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1465 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1468 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1472 * The device reports a vendor-specific bDeviceClass.
1474 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1475 "Actions Semiconductor",
1477 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1481 * Ignore driver CD mode and force into modem mode by default.
1483 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1486 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1489 * Entry is needed for the initializer function override,
1490 * which instructs the device to load as a modem
1493 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1496 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1500 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1501 * devices) misbehaves and causes a bunch of invalid I/O errors.
1503 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1505 "DigiTech Mass Storage",
1506 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1507 US_FL_IGNORE_RESIDUE ),
1510 * This brings the HUAWEI data card devices into multi-port mode
1512 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1515 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1517 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1520 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1522 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1525 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1527 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1530 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1532 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1535 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1537 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1540 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1542 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1545 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1547 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1550 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1552 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1555 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1557 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1560 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1562 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1565 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1567 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1570 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1572 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1575 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1577 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1580 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1582 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1585 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1587 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1590 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1592 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1595 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1597 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1600 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1602 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1605 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1607 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1610 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1612 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1615 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1617 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1620 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1622 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1625 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1627 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1630 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1632 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1635 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1637 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1640 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1642 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1645 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1647 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1650 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1652 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1655 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1657 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1660 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1662 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1665 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1667 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1670 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1672 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1675 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1677 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1680 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1682 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1685 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1687 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1690 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1692 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1695 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1697 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1700 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1702 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1705 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1707 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1710 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1712 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1715 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1717 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1720 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1722 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1725 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1727 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1730 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1732 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1735 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1737 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1740 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1742 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1745 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1747 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1750 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1752 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1755 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1757 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1760 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1762 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1765 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1767 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
1770 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1772 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
1775 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1777 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
1780 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1782 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
1785 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1787 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
1790 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1792 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
1795 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1797 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
1800 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1802 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
1805 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1807 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
1810 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1812 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
1815 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1817 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
1820 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1822 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
1825 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1827 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
1830 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1832 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
1835 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1837 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
1840 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1843 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1844 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
1847 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1851 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
1854 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1855 US_FL_IGNORE_RESIDUE ),
1858 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
1861 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1862 US_FL_BULK_IGNORE_TAG ),
1865 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
1868 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1869 US_FL_IGNORE_RESIDUE ),
1872 * JMicron responds to USN and several other SCSI ioctls with a
1873 * residue that causes subsequent I/O requests to fail. */
1874 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
1876 "USB to ATA/ATAPI Bridge",
1877 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1878 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1881 * Note: this is a 'super top' device like the above 14cd/6600 device */
1882 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
1885 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1886 US_FL_IGNORE_RESIDUE ),
1889 * These Appotech controllers are found in Picture Frames, they provide a
1890 * (buggy) emulation of a cdrom drive which contains the windows software
1891 * Uploading of pictures happens over the corresponding /dev/sg device. */
1892 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
1895 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1897 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
1900 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1902 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
1905 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1906 US_FL_NO_READ_DISC_INFO ),
1909 * This encrypted pen drive returns bogus data for the initial READ(10).
1911 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
1914 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1915 US_FL_INITIAL_READ10 ),
1918 * This external hard drive enclosure uses a JMicron chip which
1919 * needs the US_FL_IGNORE_RESIDUE flag to work properly. */
1920 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
1921 "TrekStor GmbH & Co. KG",
1922 "DataStation maxi g.u",
1923 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1924 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1927 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
1930 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1931 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
1933 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
1936 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1937 US_FL_FIX_CAPACITY),
1942 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
1945 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1946 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1950 * Report by Andreas Koenecke.
1953 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
1956 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1957 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
1960 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
1963 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1969 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
1971 "Mio DigiWalker USB Sync",
1972 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
1973 US_FL_MAX_SECTORS_64 ),
1976 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
1979 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1980 US_FL_IGNORE_RESIDUE ),
1983 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
1986 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1987 US_FL_MAX_SECTORS_64 ),
1991 * The key makes the SCSI stack print confusing (but harmless) messages
1993 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
1996 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2000 * SCSI stack spams (otherwise harmless) error messages.
2002 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2003 "Keil Software, Inc.",
2005 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2006 US_FL_NOT_LOCKABLE),
2009 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2012 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2013 US_FL_CAPACITY_HEURISTICS),
2016 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2018 "Digital MP3 Audio Player",
2019 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2021 /* Control/Bulk transport for all SubClass values */
2022 USUAL_DEV(USB_SC_RBC, USB_PR_CB, USB_US_TYPE_STOR),
2023 USUAL_DEV(USB_SC_8020, USB_PR_CB, USB_US_TYPE_STOR),
2024 USUAL_DEV(USB_SC_QIC, USB_PR_CB, USB_US_TYPE_STOR),
2025 USUAL_DEV(USB_SC_UFI, USB_PR_CB, USB_US_TYPE_STOR),
2026 USUAL_DEV(USB_SC_8070, USB_PR_CB, USB_US_TYPE_STOR),
2027 USUAL_DEV(USB_SC_SCSI, USB_PR_CB, USB_US_TYPE_STOR),
2029 /* Control/Bulk/Interrupt transport for all SubClass values */
2030 USUAL_DEV(USB_SC_RBC, USB_PR_CBI, USB_US_TYPE_STOR),
2031 USUAL_DEV(USB_SC_8020, USB_PR_CBI, USB_US_TYPE_STOR),
2032 USUAL_DEV(USB_SC_QIC, USB_PR_CBI, USB_US_TYPE_STOR),
2033 USUAL_DEV(USB_SC_UFI, USB_PR_CBI, USB_US_TYPE_STOR),
2034 USUAL_DEV(USB_SC_8070, USB_PR_CBI, USB_US_TYPE_STOR),
2035 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI, USB_US_TYPE_STOR),
2037 /* Bulk-only transport for all SubClass values */
2038 USUAL_DEV(USB_SC_RBC, USB_PR_BULK, USB_US_TYPE_STOR),
2039 USUAL_DEV(USB_SC_8020, USB_PR_BULK, USB_US_TYPE_STOR),
2040 USUAL_DEV(USB_SC_QIC, USB_PR_BULK, USB_US_TYPE_STOR),
2041 USUAL_DEV(USB_SC_UFI, USB_PR_BULK, USB_US_TYPE_STOR),
2042 USUAL_DEV(USB_SC_8070, USB_PR_BULK, USB_US_TYPE_STOR),
2043 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK, 0),