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 US_SC_DEVICE, US_PR_DEVICE, NULL,
67 US_FL_IGNORE_RESIDUE),
70 UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
71 "VIA Technologies Inc.",
72 "Mitsumi multi cardreader",
73 US_SC_DEVICE, US_PR_DEVICE, NULL,
74 US_FL_IGNORE_RESIDUE ),
76 UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
79 US_SC_8070, US_PR_CB, NULL, 0),
82 UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
84 "Personal Media Drive",
85 US_SC_DEVICE, US_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 US_SC_DEVICE, US_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 US_SC_DEVICE, US_PR_DEVICE, NULL,
107 UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
108 "VIA Technologies Inc.",
109 "USB 2.0 Card Reader",
110 US_SC_DEVICE, US_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 US_SC_DEVICE, US_PR_DEVICE, NULL,
124 UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
125 "Samsung Info. Systems America, Inc.",
127 US_SC_DEVICE, US_PR_DEVICE, NULL,
128 US_FL_IGNORE_RESIDUE ),
131 UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
132 "Samsung", "MP3 Player",
133 US_SC_DEVICE, US_PR_DEVICE, NULL,
134 US_FL_IGNORE_RESIDUE ),
137 UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
140 US_SC_DEVICE, US_PR_DEVICE, NULL,
141 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
144 UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
147 US_SC_DEVICE, US_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 US_SC_DEVICE, US_PR_DEVICE, NULL,
154 US_FL_IGNORE_RESIDUE ),
158 UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
161 US_SC_DEVICE, US_PR_DEVICE, NULL,
162 US_FL_MAX_SECTORS_64 ),
165 UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
168 US_SC_DEVICE, US_PR_DEVICE, NULL,
169 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
172 UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
175 US_SC_DEVICE, US_PR_DEVICE, NULL,
176 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
179 UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
182 US_SC_DEVICE, US_PR_DEVICE, NULL,
183 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
187 UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
190 US_SC_DEVICE, US_PR_DEVICE, NULL,
191 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
195 UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
198 US_SC_DEVICE, US_PR_DEVICE, NULL,
199 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
202 UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
205 US_SC_DEVICE, US_PR_DEVICE, NULL,
206 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
209 UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
212 US_SC_DEVICE, US_PR_DEVICE, NULL,
213 US_FL_MAX_SECTORS_64 ),
216 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
219 US_SC_DEVICE, US_PR_DEVICE, NULL,
220 US_FL_MAX_SECTORS_64 ),
223 UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
226 US_SC_DEVICE, US_PR_DEVICE, NULL,
227 US_FL_MAX_SECTORS_64 ),
230 UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
233 US_SC_SCSI, US_PR_CB, NULL,
238 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
239 UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
242 US_SC_DEVICE, US_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 US_SC_DEVICE, US_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 US_SC_DEVICE, US_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 US_SC_DEVICE, US_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 US_SC_DEVICE, US_PR_DEVICE, NULL,
291 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
294 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
297 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
300 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
303 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
306 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
309 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
312 US_SC_DEVICE, US_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 US_SC_SCSI, US_PR_CB, NULL, US_FL_SINGLE_LUN),
325 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
326 "Tekom Technologies, Inc",
328 US_SC_DEVICE, US_PR_DEVICE, NULL,
329 US_FL_IGNORE_RESIDUE ),
331 /* Patch for Nikon coolpix 2000
333 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
336 US_SC_DEVICE, US_PR_DEVICE,NULL,
337 US_FL_NOT_LOCKABLE ),
340 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
343 US_SC_DEVICE, US_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 US_SC_SCSI, US_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 US_SC_SCSI, US_PR_BULK, NULL, US_FL_SINGLE_LUN),
360 /* Not sure who reported this originally but
363 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
366 US_SC_UFI, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
369 * The device needs the flags only.
371 UNUSUAL_DEV( 0x04ce, 0x0002, 0x0074, 0x0074,
374 US_SC_DEVICE, US_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 US_SC_UFI, US_PR_DEVICE, NULL, 0),
388 * This is needed for CB instead of CBI */
389 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
392 US_SC_8070, US_PR_CB, NULL, 0),
395 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
398 US_SC_DEVICE, US_PR_DEVICE, NULL,
399 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
402 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
405 US_SC_DEVICE, US_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 US_SC_8020, US_PR_CB, NULL, 0),
416 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
419 US_SC_DEVICE, US_PR_DEVICE, usb_stor_euscsi_init,
420 US_FL_SCM_MULT_TARG ),
423 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
425 "eUSB CompactFlash Adapter",
426 US_SC_SCSI, US_PR_CB, NULL,
431 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
432 "SCM Microsystems Inc.",
434 US_SC_SCSI, US_PR_CB, NULL,
438 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
441 US_SC_SCSI, US_PR_DEVICE, NULL,
444 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
447 US_SC_SCSI, US_PR_CB, NULL,
450 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
452 "eUSB ATA/ATAPI Adapter",
453 US_SC_8020, US_PR_CB, NULL, 0),
455 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
457 "eUSB CompactFlash Adapter",
458 US_SC_8020, US_PR_CB, NULL, 0),
460 UNUSUAL_DEV( 0x04e6, 0x000B, 0x0100, 0x0100,
463 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
464 US_FL_SCM_MULT_TARG ),
466 UNUSUAL_DEV( 0x04e6, 0x000C, 0x0100, 0x0100,
469 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
470 US_FL_SCM_MULT_TARG ),
472 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
475 US_SC_8020, US_PR_CB, NULL, 0),
478 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
481 US_SC_DEVICE, US_PR_DEVICE, NULL,
482 US_FL_MAX_SECTORS_64),
485 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
486 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
488 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
491 US_SC_DEVICE, US_PR_DEVICE, NULL,
495 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
498 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
499 US_FL_SCM_MULT_TARG ),
501 /* Iomega Clik! Drive
503 * The reason this is needed is not fully known.
505 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
508 US_SC_8070, US_PR_DEVICE, NULL,
512 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
514 "File-backed Storage Gadget",
515 US_SC_DEVICE, US_PR_DEVICE, NULL,
518 /* Yakumo Mega Image 37
520 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
521 "Tekom Technologies, Inc",
523 US_SC_DEVICE, US_PR_DEVICE, NULL,
524 US_FL_IGNORE_RESIDUE ),
526 /* Another Yakumo camera.
528 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
529 "Tekom Technologies, Inc",
531 US_SC_DEVICE, US_PR_DEVICE, NULL,
532 US_FL_IGNORE_RESIDUE ),
535 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
536 "Tekom Technologies, Inc",
538 US_SC_DEVICE, US_PR_DEVICE, NULL,
539 US_FL_IGNORE_RESIDUE ),
541 /* Yakumo Mega Image 47
543 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
544 "Tekom Technologies, Inc",
546 US_SC_DEVICE, US_PR_DEVICE, NULL,
547 US_FL_IGNORE_RESIDUE ),
550 * Note that it's similar to the device above, only different prodID */
551 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
552 "Tekom Technologies, Inc",
554 US_SC_DEVICE, US_PR_DEVICE, NULL,
555 US_FL_IGNORE_RESIDUE ),
557 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
559 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
560 US_SC_SCSI, US_PR_DEVICE, NULL,
561 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
564 * This entry is needed because the device reports Sub=ff */
565 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
568 US_SC_8070, US_PR_DEVICE, NULL,
573 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
575 "Memorystick NW-MS7",
576 US_SC_DEVICE, US_PR_DEVICE, NULL,
580 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
583 US_SC_DEVICE, US_PR_DEVICE, NULL,
586 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
588 "Memorystick MSAC-US1",
589 US_SC_DEVICE, US_PR_DEVICE, NULL,
593 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
596 US_SC_SCSI, US_PR_DEVICE, NULL,
600 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
603 US_SC_UFI, US_PR_DEVICE, NULL,
606 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
608 "Memorystick MSC-U01N",
609 US_SC_DEVICE, US_PR_DEVICE, NULL,
613 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
615 "PEG N760c Memorystick",
616 US_SC_DEVICE, US_PR_DEVICE, NULL,
619 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
621 "Memorystick MSC-U03",
622 US_SC_UFI, US_PR_CB, NULL,
626 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
629 US_SC_DEVICE, US_PR_DEVICE, NULL,
633 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
636 US_SC_DEVICE, US_PR_DEVICE, NULL,
640 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
643 US_SC_DEVICE, US_PR_DEVICE, NULL,
646 /* floppy reports multiple luns */
647 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
650 US_SC_DEVICE, US_PR_DEVICE, NULL,
653 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
654 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
657 US_SC_DEVICE, US_PR_CB, NULL,
661 * This entry is needed only because the device reports
662 * bInterfaceClass = 0xff (vendor-specific)
664 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
667 US_SC_DEVICE, US_PR_DEVICE, NULL, 0),
670 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
673 US_SC_DEVICE, US_PR_DEVICE, NULL,
674 US_FL_MAX_SECTORS_64 ),
677 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
679 "Digital Camera EX-20 DSC",
680 US_SC_8070, US_PR_DEVICE, NULL, 0 ),
683 * This antique device predates the release of the Bulk-only Transport
684 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
685 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
686 * us from sending the request.
688 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
691 US_SC_DEVICE, US_PR_DEVICE, NULL,
695 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
698 US_SC_DEVICE, US_PR_DEVICE, NULL,
702 * Some versions of this device need the SubClass and Protocol overrides
703 * while others don't.
705 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
707 "PyroGate External CD-ROM Enclosure (FCD-523)",
708 US_SC_SCSI, US_PR_BULK, NULL,
709 US_FL_NEED_OVERRIDE ),
712 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
713 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
714 * to change with firmware updates, I changed the range to maximum for all
717 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
720 US_SC_DEVICE, US_PR_DEVICE, NULL,
721 US_FL_FIX_CAPACITY ),
724 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
727 US_SC_DEVICE, US_PR_DEVICE, NULL,
728 US_FL_FIX_CAPACITY ),
730 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
733 US_SC_DEVICE, US_PR_DEVICE, NULL,
734 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
736 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
739 US_SC_DEVICE, US_PR_DEVICE, NULL,
740 US_FL_FIX_CAPACITY ),
744 * This particular productId is the iPod Nano
746 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
749 US_SC_DEVICE, US_PR_DEVICE, NULL,
750 US_FL_FIX_CAPACITY ),
753 * Option N.V. mobile broadband modems
754 * Ignore driver CD mode and force into modem mode by default.
757 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
758 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
761 US_SC_DEVICE, US_PR_DEVICE, option_ms_init,
765 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
768 US_SC_DEVICE, US_PR_DEVICE, NULL,
771 /* The following two entries are for a Genesys USB to IDE
772 * converter chip, but it changes its ProductId depending
773 * on whether or not a disk or an optical device is enclosed
774 * They were originally reported by Alexander Oltu
778 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
780 * special-cases were pulled from scsiglue.c.
782 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
784 "USB to IDE Optical",
785 US_SC_DEVICE, US_PR_DEVICE, NULL,
786 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
788 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
791 US_SC_DEVICE, US_PR_DEVICE, NULL,
792 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
795 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
798 US_SC_DEVICE, US_PR_DEVICE, NULL,
802 * Taken from the Lycoris Kernel */
803 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
806 US_SC_SCSI, US_PR_BULK, NULL,
809 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
812 US_SC_UFI, US_PR_CB, NULL, 0 ),
815 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
817 "USBMSC Audio Player",
818 US_SC_DEVICE, US_PR_DEVICE, NULL,
819 US_FL_FIX_CAPACITY ),
822 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
823 "Prolific Technology, Inc.",
824 "Mass Storage Device",
825 US_SC_DEVICE, US_PR_DEVICE, NULL,
826 US_FL_NOT_LOCKABLE ),
829 /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
831 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
832 "Prolific Technology Inc.",
833 "Mass Storage Device",
834 US_SC_DEVICE, US_PR_DEVICE, NULL,
835 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
838 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
839 "Prolific Technology Inc.",
840 "ATAPI-6 Bridge Controller",
841 US_SC_DEVICE, US_PR_DEVICE, NULL,
842 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
845 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
848 US_SC_SCSI, US_PR_BULK, NULL, 0 ),
851 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
854 US_SC_SCSI, US_PR_DEVICE, NULL, 0 ),
856 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
859 US_SC_SCSI, US_PR_BULK, NULL, 0 ),
862 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
863 "Thomson Multimedia Inc.",
864 "RCA RD1080 MP3 Player",
865 US_SC_DEVICE, US_PR_DEVICE, NULL,
866 US_FL_FIX_CAPACITY ),
869 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
872 US_SC_DEVICE, US_PR_DEVICE, NULL,
873 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
876 * Support the following product :
877 * "Dane-Elec MediaTouch"
879 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
882 US_SC_DEVICE, US_PR_DEVICE, NULL,
883 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
886 * This USB MP3/AVI player device fails and disconnects if more than 128
887 * sectors (64kB) are read/written in a single command, and may be present
888 * at least in the following products:
889 * "Magnex Digital Video Panel DVP 1800"
890 * "MP4 AIGO 4GB SLOT SD"
891 * "Teclast TL-C260 MP3"
892 * "i.Meizu PMP MP3/MP4"
893 * "Speed MV8 MP4 Audio Player"
895 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
898 US_SC_DEVICE, US_PR_DEVICE, NULL,
899 US_FL_MAX_SECTORS_64),
902 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
905 US_SC_DEVICE, US_PR_DEVICE, NULL,
906 US_FL_IGNORE_RESIDUE),
909 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
911 "ImageMate SDDR-05a",
912 US_SC_SCSI, US_PR_CB, NULL,
915 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
916 "SanDisk Corporation",
917 "ImageMate CompactFlash USB",
918 US_SC_DEVICE, US_PR_DEVICE, NULL,
919 US_FL_FIX_CAPACITY ),
921 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
924 US_SC_SCSI, US_PR_CB, NULL,
928 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
929 "Freecom Technologies",
931 US_SC_DEVICE, US_PR_DEVICE, NULL,
934 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
937 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
938 US_FL_SCM_MULT_TARG ),
940 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
943 US_SC_DEVICE, US_PR_DEVICE, usb_stor_euscsi_init,
944 US_FL_SCM_MULT_TARG ),
947 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
950 US_SC_SCSI, US_PR_CB, NULL,
954 /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
955 * Only revision 1.13 tested (same for all of the above devices,
956 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
958 * See also http://martin.wilck.bei.t-online.de/#kecf .
960 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
963 US_SC_DEVICE, US_PR_DEVICE, NULL,
964 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
969 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
970 "Simple Tech/Datafab",
972 US_SC_DEVICE, US_PR_DEVICE, NULL,
973 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
975 /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
976 * to the USB storage specification in two ways:
977 * - They tell us they are using transport protocol CBI. In reality they
978 * are using transport protocol CB.
979 * - They don't like the INQUIRY command. So we must handle this command
980 * of the SCSI layer ourselves.
981 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
982 * bInterfaceProtocol=0x00 (US_PR_CBI) while others have 0x01 (US_PR_CB).
983 * So don't remove the US_PR_CB override!
984 * - Cameras with bcdDevice=0x9009 require the US_SC_8070 override.
986 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
989 US_SC_8070, US_PR_CB, NULL,
990 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
993 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
996 US_SC_DEVICE, US_PR_DEVICE, NULL,
1000 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1003 US_SC_DEVICE, US_PR_DEVICE, NULL,
1004 US_FL_FIX_CAPACITY),
1007 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1010 US_SC_DEVICE, US_PR_DEVICE, NULL,
1011 US_FL_FIX_CAPACITY),
1014 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1017 US_SC_DEVICE, US_PR_DEVICE, NULL,
1018 US_FL_FIX_CAPACITY),
1021 * Flag will support Bulk devices which use a standards-violating 32-byte
1022 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1023 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1026 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1029 US_SC_DEVICE, US_PR_DEVICE, NULL,
1033 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1035 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1037 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1040 US_SC_DEVICE, US_PR_DEVICE, NULL,
1041 US_FL_NOT_LOCKABLE),
1044 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1047 US_SC_DEVICE, US_PR_DEVICE, NULL,
1051 * US_FL_IGNORE_RESIDUE Needed
1053 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1055 "Aiptek USB Keychain MP3 Player",
1056 US_SC_DEVICE, US_PR_DEVICE, NULL,
1057 US_FL_IGNORE_RESIDUE),
1059 /* Entry needed for flags. Moreover, all devices with this ID use
1060 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1061 * One example is "Trumpion Digital Research MYMP3".
1062 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1064 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1066 "t33520 USB Flash Card Controller",
1067 US_SC_DEVICE, US_PR_BULK, NULL,
1068 US_FL_NEED_OVERRIDE ),
1071 * The device reports a subclass of RBC, which is wrong.
1073 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1074 "Trumpion Microelectronics, Inc.",
1075 "33520 USB Digital Voice Recorder",
1076 US_SC_UFI, US_PR_DEVICE, NULL,
1080 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1083 US_SC_RBC, US_PR_BULK, NULL,
1087 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1089 "5-in-1 Card Reader",
1090 US_SC_DEVICE, US_PR_DEVICE, NULL,
1091 US_FL_FIX_CAPACITY ),
1093 /* This Pentax still camera is not conformant
1094 * to the USB storage specification: -
1095 * - It does not like the INQUIRY command. So we must handle this command
1096 * of the SCSI layer ourselves.
1097 * Tested on Rev. 10.00 (0x1000)
1100 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1103 US_SC_DEVICE, US_PR_DEVICE, NULL,
1104 US_FL_FIX_INQUIRY ),
1106 /* These are virtual windows driver CDs, which the zd1211rw driver
1107 * automatically converts into WLAN devices. */
1108 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1110 "G-220F USB-WLAN Install",
1111 US_SC_DEVICE, US_PR_DEVICE, NULL,
1112 US_FL_IGNORE_DEVICE ),
1114 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1116 "WL-117 USB-WLAN Install",
1117 US_SC_DEVICE, US_PR_DEVICE, NULL,
1118 US_FL_IGNORE_DEVICE ),
1121 * Option N.V. mobile broadband modems
1122 * Ignore driver CD mode and force into modem mode by default.
1126 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1129 US_SC_DEVICE, US_PR_DEVICE, option_ms_init,
1133 * This device (wrongly) has a vendor-specific device descriptor.
1134 * The entry is needed so usb-storage can bind to it's mass-storage
1135 * interface as an interface driver */
1136 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1139 US_SC_DEVICE, US_PR_DEVICE, NULL,
1143 * This device (wrongly) has a vendor-specific device descriptor.
1144 * The entry is needed so usb-storage can bind to it's mass-storage
1145 * interface as an interface driver */
1146 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1149 US_SC_DEVICE, US_PR_DEVICE, NULL,
1153 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1156 US_SC_DEVICE, US_PR_DEVICE, NULL,
1159 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1162 US_SC_DEVICE, US_PR_DEVICE, NULL,
1167 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1169 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1172 US_SC_DEVICE, US_PR_DEVICE, NULL,
1176 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1179 US_SC_DEVICE, US_PR_DEVICE, NULL,
1183 * Entry for Jenoptik JD 5200z3
1187 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1190 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1193 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1194 "Macpower Technology Co.LTD.",
1195 "USB 2.0 3.5\" DEVICE",
1196 US_SC_DEVICE, US_PR_DEVICE, NULL,
1197 US_FL_FIX_CAPACITY),
1200 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1201 * works for me. Can anybody correct these values? (I able to test corrected
1204 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1207 US_SC_DEVICE, US_PR_DEVICE, NULL,
1208 US_FL_FIX_INQUIRY ),
1210 /* Reported by Edward Chapman (taken from linux-usb mailing list)
1211 Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1212 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1215 US_SC_DEVICE, US_PR_DEVICE, NULL,
1216 US_FL_IGNORE_RESIDUE ),
1220 * I don't know why, but it works... */
1221 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1224 US_SC_DEVICE, US_PR_DEVICE, NULL,
1225 US_FL_IGNORE_RESIDUE ),
1227 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1228 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1231 US_SC_DEVICE, US_PR_DEVICE, NULL,
1232 US_FL_IGNORE_RESIDUE ),
1235 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1238 US_SC_DEVICE, US_PR_BULK, NULL,
1239 US_FL_NEED_OVERRIDE ),
1242 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1245 US_SC_DEVICE, US_PR_DEVICE, NULL,
1246 US_FL_FIX_INQUIRY ),
1249 * Reported by dayul on the Gentoo Forums */
1250 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1253 US_SC_DEVICE, US_PR_DEVICE, NULL,
1254 US_FL_IGNORE_RESIDUE ),
1257 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1260 US_SC_DEVICE, US_PR_DEVICE, NULL,
1261 US_FL_IGNORE_RESIDUE ),
1264 * It is also sold by Easylite as DJ 20 */
1265 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1268 US_SC_DEVICE, US_PR_DEVICE, NULL,
1269 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1271 /* Patch by Leonid Petrov mail at lpetrov.net
1273 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1274 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1276 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1279 US_SC_DEVICE, US_PR_DEVICE, NULL,
1280 US_FL_IGNORE_RESIDUE ),
1283 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1284 * errors when trying to write.
1286 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1289 US_SC_DEVICE, US_PR_DEVICE, NULL,
1290 US_FL_IGNORE_RESIDUE ),
1293 * The Blackberry Pearl can run in two modes; a usb-storage only mode
1294 * and a mode that allows access via mass storage and to its database.
1295 * The berry_charge module will set the device to dual mode and thus we
1296 * should ignore its native mode if that module is built
1298 #ifdef CONFIG_USB_BERRY_CHARGE
1299 UNUSUAL_DEV( 0x0fca, 0x0006, 0x0001, 0x0001,
1302 US_SC_DEVICE, US_PR_DEVICE, NULL,
1303 US_FL_IGNORE_DEVICE ),
1307 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1309 "V800-Vodafone 802",
1310 US_SC_DEVICE, US_PR_DEVICE, NULL,
1311 US_FL_NO_WP_DETECT ),
1314 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1317 US_SC_DEVICE, US_PR_DEVICE, NULL,
1318 US_FL_IGNORE_DEVICE),
1322 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1325 US_SC_DEVICE, US_PR_DEVICE, NULL,
1326 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1329 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1332 US_SC_DEVICE, US_PR_DEVICE, NULL,
1333 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1336 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1339 US_SC_DEVICE, US_PR_DEVICE, NULL,
1340 US_FL_IGNORE_RESIDUE ),
1343 * Tested on hardware version 1.10.
1344 * Entry is needed only for the initializer function override.
1345 * Devices with bcd > 110 seem to not need it while those
1346 * with bcd < 110 appear to need it.
1348 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1351 US_SC_DEVICE, US_PR_DEVICE, usb_stor_ucr61s2b_init,
1354 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1357 US_SC_DEVICE, US_PR_DEVICE, NULL,
1361 * The device reports a vendor-specific bDeviceClass.
1363 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1364 "Actions Semiconductor",
1366 US_SC_DEVICE, US_PR_DEVICE, NULL,
1370 * Ignore driver CD mode and force into modem mode by default.
1372 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1375 US_SC_DEVICE, US_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1378 * Entry is needed for the initializer function override,
1379 * which instructs the device to load as a modem
1382 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1385 US_SC_DEVICE, US_PR_DEVICE, sierra_ms_init,
1389 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1390 * devices) misbehaves and causes a bunch of invalid I/O errors.
1392 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1394 "DigiTech Mass Storage",
1395 US_SC_DEVICE, US_PR_DEVICE, NULL,
1396 US_FL_IGNORE_RESIDUE ),
1399 * This brings the HUAWEI data card devices into multi-port mode
1401 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1404 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1406 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1409 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1411 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1414 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1416 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1419 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1421 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1424 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1426 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1429 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1431 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1434 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1436 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1439 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1441 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1444 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1446 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1449 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1451 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1454 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1456 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1459 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1461 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1464 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1466 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1469 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1471 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1474 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1476 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1479 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1481 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1484 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1486 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1489 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1491 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1494 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1496 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1499 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1501 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1504 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1506 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1509 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1511 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1514 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1516 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1519 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1521 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1524 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1526 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1529 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1531 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1534 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1536 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1539 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1541 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1544 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1546 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1549 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1551 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1554 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1556 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1559 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1561 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1564 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1566 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1569 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1571 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1574 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1576 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1579 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1581 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1584 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1586 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1589 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1591 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1594 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1596 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1599 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1601 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1604 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1606 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1609 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1611 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1614 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1616 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1619 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1621 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1624 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1626 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1629 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1631 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1634 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1636 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1639 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1641 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1644 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1646 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1649 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1651 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1654 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1656 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
1659 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1661 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
1664 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1666 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
1669 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1671 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
1674 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1676 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
1679 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1681 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
1684 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1686 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
1689 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1691 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
1694 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1696 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
1699 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1701 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
1704 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1706 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
1709 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1711 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
1714 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1716 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
1719 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1721 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
1724 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1726 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
1729 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1732 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1733 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
1736 US_SC_DEVICE, US_PR_DEVICE, NULL,
1740 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
1743 US_SC_DEVICE, US_PR_DEVICE, NULL,
1744 US_FL_IGNORE_RESIDUE ),
1747 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
1750 US_SC_DEVICE, US_PR_DEVICE, NULL,
1751 US_FL_IGNORE_RESIDUE ),
1754 * JMicron responds to USN and several other SCSI ioctls with a
1755 * residue that causes subsequent I/O requests to fail. */
1756 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
1758 "USB to ATA/ATAPI Bridge",
1759 US_SC_DEVICE, US_PR_DEVICE, NULL,
1760 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1763 * Note: this is a 'super top' device like the above 14cd/6600 device */
1764 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
1767 US_SC_DEVICE, US_PR_DEVICE, NULL,
1768 US_FL_IGNORE_RESIDUE ),
1770 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
1773 US_SC_DEVICE, US_PR_DEVICE, NULL,
1774 US_FL_FIX_CAPACITY),
1779 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
1782 US_SC_DEVICE, US_PR_DEVICE, NULL,
1783 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1787 * Report by Andreas Koenecke.
1790 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
1793 US_SC_DEVICE, US_PR_DEVICE, NULL,
1794 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
1797 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
1800 US_SC_DEVICE, US_PR_DEVICE, NULL,
1804 UNUSUAL_DEV( 0x2770, 0x915d, 0x0010, 0x0010,
1807 US_SC_DEVICE, US_PR_DEVICE, NULL,
1808 US_FL_FIX_CAPACITY ),
1813 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
1815 "Mio DigiWalker USB Sync",
1816 US_SC_DEVICE,US_PR_DEVICE,NULL,
1817 US_FL_MAX_SECTORS_64 ),
1820 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
1823 US_SC_DEVICE, US_PR_DEVICE, NULL,
1824 US_FL_IGNORE_RESIDUE ),
1827 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
1830 US_SC_DEVICE, US_PR_DEVICE, NULL,
1831 US_FL_MAX_SECTORS_64 ),
1835 * The key makes the SCSI stack print confusing (but harmless) messages
1837 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
1840 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
1843 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
1846 US_SC_DEVICE, US_PR_DEVICE, NULL,
1847 US_FL_CAPACITY_HEURISTICS),
1850 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
1852 "Digital MP3 Audio Player",
1853 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
1855 /* Control/Bulk transport for all SubClass values */
1856 USUAL_DEV(US_SC_RBC, US_PR_CB, USB_US_TYPE_STOR),
1857 USUAL_DEV(US_SC_8020, US_PR_CB, USB_US_TYPE_STOR),
1858 USUAL_DEV(US_SC_QIC, US_PR_CB, USB_US_TYPE_STOR),
1859 USUAL_DEV(US_SC_UFI, US_PR_CB, USB_US_TYPE_STOR),
1860 USUAL_DEV(US_SC_8070, US_PR_CB, USB_US_TYPE_STOR),
1861 USUAL_DEV(US_SC_SCSI, US_PR_CB, USB_US_TYPE_STOR),
1863 /* Control/Bulk/Interrupt transport for all SubClass values */
1864 USUAL_DEV(US_SC_RBC, US_PR_CBI, USB_US_TYPE_STOR),
1865 USUAL_DEV(US_SC_8020, US_PR_CBI, USB_US_TYPE_STOR),
1866 USUAL_DEV(US_SC_QIC, US_PR_CBI, USB_US_TYPE_STOR),
1867 USUAL_DEV(US_SC_UFI, US_PR_CBI, USB_US_TYPE_STOR),
1868 USUAL_DEV(US_SC_8070, US_PR_CBI, USB_US_TYPE_STOR),
1869 USUAL_DEV(US_SC_SCSI, US_PR_CBI, USB_US_TYPE_STOR),
1871 /* Bulk-only transport for all SubClass values */
1872 USUAL_DEV(US_SC_RBC, US_PR_BULK, USB_US_TYPE_STOR),
1873 USUAL_DEV(US_SC_8020, US_PR_BULK, USB_US_TYPE_STOR),
1874 USUAL_DEV(US_SC_QIC, US_PR_BULK, USB_US_TYPE_STOR),
1875 USUAL_DEV(US_SC_UFI, US_PR_BULK, USB_US_TYPE_STOR),
1876 USUAL_DEV(US_SC_8070, US_PR_BULK, USB_US_TYPE_STOR),
1877 USUAL_DEV(US_SC_SCSI, US_PR_BULK, 0),