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, 0x6901, 0x0000, 0x0200,
73 US_SC_DEVICE, US_PR_DEVICE, NULL,
77 UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
78 "VIA Technologies Inc.",
79 "Mitsumi multi cardreader",
80 US_SC_DEVICE, US_PR_DEVICE, NULL,
81 US_FL_IGNORE_RESIDUE ),
83 UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
86 US_SC_8070, US_PR_CB, NULL, 0),
89 UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
91 "Personal Media Drive",
92 US_SC_DEVICE, US_PR_DEVICE, NULL,
96 * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
98 UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
101 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
105 * for USB floppies that need the SINGLE_LUN enforcement.
107 UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
110 US_SC_DEVICE, US_PR_DEVICE, NULL,
114 UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
115 "VIA Technologies Inc.",
116 "USB 2.0 Card Reader",
117 US_SC_DEVICE, US_PR_DEVICE, NULL,
118 US_FL_IGNORE_RESIDUE ),
121 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
122 * always fails and confuses drive.
124 UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
127 US_SC_DEVICE, US_PR_DEVICE, NULL,
131 UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
132 "Samsung Info. Systems America, Inc.",
134 US_SC_DEVICE, US_PR_DEVICE, NULL,
135 US_FL_IGNORE_RESIDUE ),
138 UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
139 "Samsung", "MP3 Player",
140 US_SC_DEVICE, US_PR_DEVICE, NULL,
141 US_FL_IGNORE_RESIDUE ),
144 UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
147 US_SC_DEVICE, US_PR_DEVICE, NULL,
148 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
151 UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
154 US_SC_DEVICE, US_PR_DEVICE, NULL,
155 US_FL_IGNORE_RESIDUE ),
158 UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
159 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
160 US_SC_DEVICE, US_PR_DEVICE, NULL,
161 US_FL_IGNORE_RESIDUE ),
164 UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0592,
167 US_SC_DEVICE, US_PR_DEVICE, NULL,
168 US_FL_MAX_SECTORS_64 ),
171 UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
174 US_SC_DEVICE, US_PR_DEVICE, NULL,
175 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
178 UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
181 US_SC_DEVICE, US_PR_DEVICE, NULL,
182 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
185 UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
188 US_SC_DEVICE, US_PR_DEVICE, NULL,
189 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
193 UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
196 US_SC_DEVICE, US_PR_DEVICE, NULL,
197 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
201 UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
204 US_SC_DEVICE, US_PR_DEVICE, NULL,
205 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
208 UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
211 US_SC_DEVICE, US_PR_DEVICE, NULL,
212 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
215 UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
218 US_SC_DEVICE, US_PR_DEVICE, NULL,
219 US_FL_MAX_SECTORS_64 ),
222 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
225 US_SC_DEVICE, US_PR_DEVICE, NULL,
226 US_FL_MAX_SECTORS_64 ),
229 UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
232 US_SC_DEVICE, US_PR_DEVICE, NULL,
233 US_FL_MAX_SECTORS_64 ),
236 UNUSUAL_DEV( 0x0424, 0x0fdc, 0x0210, 0x0210,
239 US_SC_DEVICE, US_PR_DEVICE, NULL,
243 UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
246 US_SC_SCSI, US_PR_CB, NULL,
251 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
252 UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
255 US_SC_DEVICE, US_PR_BULK, NULL,
256 US_FL_NEED_OVERRIDE ),
260 * The key does not actually break, but it returns zero sense which
261 * makes our SCSI stack to print confusing messages.
263 UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
264 "USBest Technology", /* sold by Transcend */
265 "USB Mass Storage Device",
266 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
270 * 1GB USB sticks MyFlash High Speed. I have restricted
271 * the revision to my model only
273 UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
276 US_SC_DEVICE, US_PR_DEVICE, NULL,
277 US_FL_NOT_LOCKABLE ),
280 * Obviously the PROM has not been customized by the VAR;
281 * the Vendor and Product string descriptors are:
282 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
283 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
285 UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
288 US_SC_DEVICE, US_PR_DEVICE, NULL,
289 US_FL_MAX_SECTORS_64 ),
292 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
294 * This device chokes on both version of MODE SENSE which we have, so
295 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
297 UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
300 US_SC_DEVICE, US_PR_DEVICE, NULL,
304 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
307 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
310 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
313 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
316 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
319 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
322 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
325 US_SC_DEVICE, US_PR_DEVICE, NULL,
326 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
329 * This entry is needed because the device reports Sub=ff */
330 UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
332 "DVD-CAM DZ-MV100A Camcorder",
333 US_SC_SCSI, US_PR_CB, NULL, US_FL_SINGLE_LUN),
338 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
339 "Tekom Technologies, Inc",
341 US_SC_DEVICE, US_PR_DEVICE, NULL,
342 US_FL_IGNORE_RESIDUE ),
344 /* Patch for Nikon coolpix 2000
346 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
349 US_SC_DEVICE, US_PR_DEVICE,NULL,
350 US_FL_NOT_LOCKABLE ),
353 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
356 US_SC_DEVICE, US_PR_CB, NULL,
357 US_FL_MAX_SECTORS_MIN),
360 * This entry needs Sub and Proto fields */
361 UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
364 US_SC_SCSI, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
367 * This entry is needed because the device reports Sub=ff */
368 UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
371 US_SC_SCSI, US_PR_BULK, NULL, US_FL_SINGLE_LUN),
373 /* Not sure who reported this originally but
376 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
379 US_SC_UFI, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
382 * The device needs the flags only.
384 UNUSUAL_DEV( 0x04ce, 0x0002, 0x0074, 0x0074,
387 US_SC_DEVICE, US_PR_DEVICE, NULL,
392 * This is to support the Panasonic PalmCam PV-SD4090
393 * This entry is needed because the device reports Sub=ff
395 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
398 US_SC_UFI, US_PR_DEVICE, NULL, 0),
401 * This is needed for CB instead of CBI */
402 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
405 US_SC_8070, US_PR_CB, NULL, 0),
408 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
411 US_SC_DEVICE, US_PR_DEVICE, NULL,
412 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
415 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
418 US_SC_DEVICE, US_PR_DEVICE, NULL,
419 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
421 /* Most of the following entries were developed with the help of
422 * Shuttle/SCM directly.
424 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
427 US_SC_8020, US_PR_CB, NULL, 0),
429 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
432 US_SC_DEVICE, US_PR_DEVICE, usb_stor_euscsi_init,
433 US_FL_SCM_MULT_TARG ),
436 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
438 "eUSB CompactFlash Adapter",
439 US_SC_SCSI, US_PR_CB, NULL,
444 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
445 "SCM Microsystems Inc.",
447 US_SC_SCSI, US_PR_CB, NULL,
451 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
454 US_SC_SCSI, US_PR_DEVICE, NULL,
457 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
460 US_SC_SCSI, US_PR_CB, NULL,
463 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
465 "eUSB ATA/ATAPI Adapter",
466 US_SC_8020, US_PR_CB, NULL, 0),
468 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
470 "eUSB CompactFlash Adapter",
471 US_SC_8020, US_PR_CB, NULL, 0),
473 UNUSUAL_DEV( 0x04e6, 0x000B, 0x0100, 0x0100,
476 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
477 US_FL_SCM_MULT_TARG ),
479 UNUSUAL_DEV( 0x04e6, 0x000C, 0x0100, 0x0100,
482 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
483 US_FL_SCM_MULT_TARG ),
485 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
488 US_SC_8020, US_PR_CB, NULL, 0),
491 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
494 US_SC_DEVICE, US_PR_DEVICE, NULL,
495 US_FL_MAX_SECTORS_64),
498 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
499 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
501 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
504 US_SC_DEVICE, US_PR_DEVICE, NULL,
508 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
511 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
512 US_FL_SCM_MULT_TARG ),
514 /* Iomega Clik! Drive
516 * The reason this is needed is not fully known.
518 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
521 US_SC_8070, US_PR_DEVICE, NULL,
525 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
527 "File-backed Storage Gadget",
528 US_SC_DEVICE, US_PR_DEVICE, NULL,
531 /* Yakumo Mega Image 37
533 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
534 "Tekom Technologies, Inc",
536 US_SC_DEVICE, US_PR_DEVICE, NULL,
537 US_FL_IGNORE_RESIDUE ),
539 /* Another Yakumo camera.
541 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
542 "Tekom Technologies, Inc",
544 US_SC_DEVICE, US_PR_DEVICE, NULL,
545 US_FL_IGNORE_RESIDUE ),
548 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
549 "Tekom Technologies, Inc",
551 US_SC_DEVICE, US_PR_DEVICE, NULL,
552 US_FL_IGNORE_RESIDUE ),
554 /* Yakumo Mega Image 47
556 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
557 "Tekom Technologies, Inc",
559 US_SC_DEVICE, US_PR_DEVICE, NULL,
560 US_FL_IGNORE_RESIDUE ),
563 * Note that it's similar to the device above, only different prodID */
564 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
565 "Tekom Technologies, Inc",
567 US_SC_DEVICE, US_PR_DEVICE, NULL,
568 US_FL_IGNORE_RESIDUE ),
570 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
572 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
573 US_SC_SCSI, US_PR_DEVICE, NULL,
574 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
577 * This entry is needed because the device reports Sub=ff */
578 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
581 US_SC_8070, US_PR_DEVICE, NULL,
586 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
588 "Memorystick NW-MS7",
589 US_SC_DEVICE, US_PR_DEVICE, NULL,
593 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
596 US_SC_DEVICE, US_PR_DEVICE, NULL,
599 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
601 "Memorystick MSAC-US1",
602 US_SC_DEVICE, US_PR_DEVICE, NULL,
606 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
609 US_SC_SCSI, US_PR_DEVICE, NULL,
613 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
616 US_SC_UFI, US_PR_DEVICE, NULL,
619 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
621 "Memorystick MSC-U01N",
622 US_SC_DEVICE, US_PR_DEVICE, NULL,
626 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
628 "PEG N760c Memorystick",
629 US_SC_DEVICE, US_PR_DEVICE, NULL,
632 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
634 "Memorystick MSC-U03",
635 US_SC_UFI, US_PR_CB, NULL,
639 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
642 US_SC_DEVICE, US_PR_DEVICE, NULL,
646 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
649 US_SC_DEVICE, US_PR_DEVICE, NULL,
653 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
656 US_SC_DEVICE, US_PR_DEVICE, NULL,
659 /* floppy reports multiple luns */
660 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
663 US_SC_DEVICE, US_PR_DEVICE, NULL,
667 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
670 US_SC_DEVICE, US_PR_CB, NULL,
673 UNUSUAL_DEV( 0x057b, 0x0000, 0x0300, 0x9999,
676 US_SC_DEVICE, US_PR_DEVICE, NULL,
680 * This entry is needed only because the device reports
681 * bInterfaceClass = 0xff (vendor-specific)
683 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
686 US_SC_DEVICE, US_PR_DEVICE, NULL, 0),
689 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
692 US_SC_DEVICE, US_PR_DEVICE, NULL,
693 US_FL_MAX_SECTORS_64 ),
696 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
698 "Digital Camera EX-20 DSC",
699 US_SC_8070, US_PR_DEVICE, NULL, 0 ),
702 * This antique device predates the release of the Bulk-only Transport
703 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
704 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
705 * us from sending the request.
707 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
710 US_SC_DEVICE, US_PR_DEVICE, NULL,
714 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
717 US_SC_DEVICE, US_PR_DEVICE, NULL,
721 * Some versions of this device need the SubClass and Protocol overrides
722 * while others don't.
724 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
726 "PyroGate External CD-ROM Enclosure (FCD-523)",
727 US_SC_SCSI, US_PR_BULK, NULL,
728 US_FL_NEED_OVERRIDE ),
731 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
732 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
733 * to change with firmware updates, I changed the range to maximum for all
736 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
739 US_SC_DEVICE, US_PR_DEVICE, NULL,
740 US_FL_FIX_CAPACITY ),
743 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
746 US_SC_DEVICE, US_PR_DEVICE, NULL,
747 US_FL_FIX_CAPACITY ),
749 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
752 US_SC_DEVICE, US_PR_DEVICE, NULL,
753 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
755 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
758 US_SC_DEVICE, US_PR_DEVICE, NULL,
759 US_FL_FIX_CAPACITY ),
763 * This particular productId is the iPod Nano
765 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
768 US_SC_DEVICE, US_PR_DEVICE, NULL,
769 US_FL_FIX_CAPACITY ),
772 * Option N.V. mobile broadband modems
773 * Ignore driver CD mode and force into modem mode by default.
776 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
777 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
780 US_SC_DEVICE, US_PR_DEVICE, option_ms_init,
784 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
787 US_SC_DEVICE, US_PR_DEVICE, NULL,
790 /* The following two entries are for a Genesys USB to IDE
791 * converter chip, but it changes its ProductId depending
792 * on whether or not a disk or an optical device is enclosed
793 * They were originally reported by Alexander Oltu
797 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
799 * special-cases were pulled from scsiglue.c.
801 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
803 "USB to IDE Optical",
804 US_SC_DEVICE, US_PR_DEVICE, NULL,
805 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
807 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
810 US_SC_DEVICE, US_PR_DEVICE, NULL,
811 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
814 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
817 US_SC_DEVICE, US_PR_DEVICE, NULL,
821 * Taken from the Lycoris Kernel */
822 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
825 US_SC_SCSI, US_PR_BULK, NULL,
828 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
831 US_SC_UFI, US_PR_CB, NULL, 0 ),
834 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
836 "USBMSC Audio Player",
837 US_SC_DEVICE, US_PR_DEVICE, NULL,
838 US_FL_FIX_CAPACITY ),
841 /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
843 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
844 "Prolific Technology Inc.",
845 "Mass Storage Device",
846 US_SC_DEVICE, US_PR_DEVICE, NULL,
847 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
850 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
851 "Prolific Technology Inc.",
852 "ATAPI-6 Bridge Controller",
853 US_SC_DEVICE, US_PR_DEVICE, NULL,
854 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
857 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
860 US_SC_SCSI, US_PR_BULK, NULL, 0 ),
863 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
866 US_SC_SCSI, US_PR_DEVICE, NULL, 0 ),
868 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
871 US_SC_SCSI, US_PR_BULK, NULL, 0 ),
874 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
875 "Thomson Multimedia Inc.",
876 "RCA RD1080 MP3 Player",
877 US_SC_DEVICE, US_PR_DEVICE, NULL,
878 US_FL_FIX_CAPACITY ),
881 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
884 US_SC_DEVICE, US_PR_DEVICE, NULL,
885 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
888 * Support the following product :
889 * "Dane-Elec MediaTouch"
891 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
894 US_SC_DEVICE, US_PR_DEVICE, NULL,
895 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
898 * This USB MP3/AVI player device fails and disconnects if more than 128
899 * sectors (64kB) are read/written in a single command, and may be present
900 * at least in the following products:
901 * "Magnex Digital Video Panel DVP 1800"
902 * "MP4 AIGO 4GB SLOT SD"
903 * "Teclast TL-C260 MP3"
904 * "i.Meizu PMP MP3/MP4"
905 * "Speed MV8 MP4 Audio Player"
907 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
910 US_SC_DEVICE, US_PR_DEVICE, NULL,
911 US_FL_MAX_SECTORS_64),
914 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
917 US_SC_DEVICE, US_PR_DEVICE, NULL,
918 US_FL_IGNORE_RESIDUE),
921 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
923 "ImageMate SDDR-05a",
924 US_SC_SCSI, US_PR_CB, NULL,
927 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
928 "SanDisk Corporation",
929 "ImageMate CompactFlash USB",
930 US_SC_DEVICE, US_PR_DEVICE, NULL,
931 US_FL_FIX_CAPACITY ),
933 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
936 US_SC_SCSI, US_PR_CB, NULL,
940 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
941 "Freecom Technologies",
943 US_SC_DEVICE, US_PR_DEVICE, NULL,
946 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
949 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
950 US_FL_SCM_MULT_TARG ),
952 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
955 US_SC_DEVICE, US_PR_DEVICE, usb_stor_euscsi_init,
956 US_FL_SCM_MULT_TARG ),
959 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
962 US_SC_SCSI, US_PR_CB, NULL,
966 /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
967 * Only revision 1.13 tested (same for all of the above devices,
968 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
970 * See also http://martin.wilck.bei.t-online.de/#kecf .
972 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
975 US_SC_DEVICE, US_PR_DEVICE, NULL,
976 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
979 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
980 "Simple Tech/Datafab",
982 US_SC_DEVICE, US_PR_DEVICE, NULL,
983 US_FL_IGNORE_RESIDUE ),
985 /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
986 * to the USB storage specification in two ways:
987 * - They tell us they are using transport protocol CBI. In reality they
988 * are using transport protocol CB.
989 * - They don't like the INQUIRY command. So we must handle this command
990 * of the SCSI layer ourselves.
991 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
992 * bInterfaceProtocol=0x00 (US_PR_CBI) while others have 0x01 (US_PR_CB).
993 * So don't remove the US_PR_CB override!
994 * - Cameras with bcdDevice=0x9009 require the US_SC_8070 override.
996 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
999 US_SC_8070, US_PR_CB, NULL,
1000 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1003 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1006 US_SC_DEVICE, US_PR_DEVICE, NULL,
1010 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1013 US_SC_DEVICE, US_PR_DEVICE, NULL,
1014 US_FL_FIX_CAPACITY),
1017 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1020 US_SC_DEVICE, US_PR_DEVICE, NULL,
1021 US_FL_FIX_CAPACITY),
1024 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1027 US_SC_DEVICE, US_PR_DEVICE, NULL,
1028 US_FL_FIX_CAPACITY),
1031 * Flag will support Bulk devices which use a standards-violating 32-byte
1032 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1033 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1036 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1039 US_SC_DEVICE, US_PR_DEVICE, NULL,
1043 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1045 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1047 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1050 US_SC_DEVICE, US_PR_DEVICE, NULL,
1051 US_FL_NOT_LOCKABLE),
1054 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1057 US_SC_DEVICE, US_PR_DEVICE, NULL,
1061 * US_FL_IGNORE_RESIDUE Needed
1063 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1065 "Aiptek USB Keychain MP3 Player",
1066 US_SC_DEVICE, US_PR_DEVICE, NULL,
1067 US_FL_IGNORE_RESIDUE),
1069 /* Entry needed for flags. Moreover, all devices with this ID use
1070 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1071 * One example is "Trumpion Digital Research MYMP3".
1072 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1074 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1076 "t33520 USB Flash Card Controller",
1077 US_SC_DEVICE, US_PR_BULK, NULL,
1078 US_FL_NEED_OVERRIDE ),
1081 * The device reports a subclass of RBC, which is wrong.
1083 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1084 "Trumpion Microelectronics, Inc.",
1085 "33520 USB Digital Voice Recorder",
1086 US_SC_UFI, US_PR_DEVICE, NULL,
1090 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1093 US_SC_RBC, US_PR_BULK, NULL,
1097 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1099 "5-in-1 Card Reader",
1100 US_SC_DEVICE, US_PR_DEVICE, NULL,
1101 US_FL_FIX_CAPACITY ),
1103 /* This Pentax still camera is not conformant
1104 * to the USB storage specification: -
1105 * - It does not like the INQUIRY command. So we must handle this command
1106 * of the SCSI layer ourselves.
1107 * Tested on Rev. 10.00 (0x1000)
1110 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1113 US_SC_DEVICE, US_PR_DEVICE, NULL,
1114 US_FL_FIX_INQUIRY ),
1116 /* These are virtual windows driver CDs, which the zd1211rw driver
1117 * automatically converts into WLAN devices. */
1118 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1120 "G-220F USB-WLAN Install",
1121 US_SC_DEVICE, US_PR_DEVICE, NULL,
1122 US_FL_IGNORE_DEVICE ),
1124 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1126 "WL-117 USB-WLAN Install",
1127 US_SC_DEVICE, US_PR_DEVICE, NULL,
1128 US_FL_IGNORE_DEVICE ),
1131 * Option N.V. mobile broadband modems
1132 * Ignore driver CD mode and force into modem mode by default.
1136 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1139 US_SC_DEVICE, US_PR_DEVICE, option_ms_init,
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, 0x7401, 0x0000, 0x0000,
1149 US_SC_DEVICE, US_PR_DEVICE, NULL,
1153 * This device (wrongly) has a vendor-specific device descriptor.
1154 * The entry is needed so usb-storage can bind to it's mass-storage
1155 * interface as an interface driver */
1156 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1159 US_SC_DEVICE, US_PR_DEVICE, NULL,
1163 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1166 US_SC_DEVICE, US_PR_DEVICE, NULL,
1169 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1172 US_SC_DEVICE, US_PR_DEVICE, NULL,
1177 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1179 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1182 US_SC_DEVICE, US_PR_DEVICE, NULL,
1186 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1189 US_SC_DEVICE, US_PR_DEVICE, NULL,
1193 * Entry for Jenoptik JD 5200z3
1197 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1200 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1203 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1204 "Macpower Technology Co.LTD.",
1205 "USB 2.0 3.5\" DEVICE",
1206 US_SC_DEVICE, US_PR_DEVICE, NULL,
1207 US_FL_FIX_CAPACITY),
1210 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1211 * works for me. Can anybody correct these values? (I able to test corrected
1214 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1217 US_SC_DEVICE, US_PR_DEVICE, NULL,
1218 US_FL_FIX_INQUIRY ),
1220 /* Reported by Edward Chapman (taken from linux-usb mailing list)
1221 Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1222 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1225 US_SC_DEVICE, US_PR_DEVICE, NULL,
1226 US_FL_IGNORE_RESIDUE ),
1230 * I don't know why, but it works... */
1231 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1234 US_SC_DEVICE, US_PR_DEVICE, NULL,
1235 US_FL_IGNORE_RESIDUE ),
1237 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1238 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1241 US_SC_DEVICE, US_PR_DEVICE, NULL,
1242 US_FL_IGNORE_RESIDUE ),
1245 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1248 US_SC_DEVICE, US_PR_BULK, NULL,
1249 US_FL_NEED_OVERRIDE ),
1252 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1255 US_SC_DEVICE, US_PR_DEVICE, NULL,
1256 US_FL_FIX_INQUIRY ),
1259 * Reported by dayul on the Gentoo Forums */
1260 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1263 US_SC_DEVICE, US_PR_DEVICE, NULL,
1264 US_FL_IGNORE_RESIDUE ),
1267 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1270 US_SC_DEVICE, US_PR_DEVICE, NULL,
1271 US_FL_IGNORE_RESIDUE ),
1274 * It is also sold by Easylite as DJ 20 */
1275 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1278 US_SC_DEVICE, US_PR_DEVICE, NULL,
1279 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1281 /* Patch by Leonid Petrov mail at lpetrov.net
1283 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1284 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1286 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1289 US_SC_DEVICE, US_PR_DEVICE, NULL,
1290 US_FL_IGNORE_RESIDUE ),
1293 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1294 * errors when trying to write.
1296 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1299 US_SC_DEVICE, US_PR_DEVICE, NULL,
1300 US_FL_IGNORE_RESIDUE ),
1303 * The Blackberry Pearl can run in two modes; a usb-storage only mode
1304 * and a mode that allows access via mass storage and to its database.
1305 * The berry_charge module will set the device to dual mode and thus we
1306 * should ignore its native mode if that module is built
1308 #ifdef CONFIG_USB_BERRY_CHARGE
1309 UNUSUAL_DEV( 0x0fca, 0x0006, 0x0001, 0x0001,
1312 US_SC_DEVICE, US_PR_DEVICE, NULL,
1313 US_FL_IGNORE_DEVICE ),
1317 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1319 "V800-Vodafone 802",
1320 US_SC_DEVICE, US_PR_DEVICE, NULL,
1321 US_FL_NO_WP_DETECT ),
1324 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1327 US_SC_DEVICE, US_PR_DEVICE, NULL,
1328 US_FL_IGNORE_DEVICE),
1332 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1335 US_SC_DEVICE, US_PR_DEVICE, NULL,
1336 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1339 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1342 US_SC_DEVICE, US_PR_DEVICE, NULL,
1343 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1346 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1349 US_SC_DEVICE, US_PR_DEVICE, NULL,
1350 US_FL_IGNORE_RESIDUE ),
1353 * Tested on hardware version 1.10.
1354 * Entry is needed only for the initializer function override.
1355 * Devices with bcd > 110 seem to not need it while those
1356 * with bcd < 110 appear to need it.
1358 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1361 US_SC_DEVICE, US_PR_DEVICE, usb_stor_ucr61s2b_init,
1364 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1367 US_SC_DEVICE, US_PR_DEVICE, NULL,
1371 * The device reports a vendor-specific bDeviceClass.
1373 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1374 "Actions Semiconductor",
1376 US_SC_DEVICE, US_PR_DEVICE, NULL,
1380 * Entry is needed for the initializer function override,
1381 * which instructs the device to load as a modem
1384 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1387 US_SC_DEVICE, US_PR_DEVICE, sierra_ms_init,
1391 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1392 * devices) misbehaves and causes a bunch of invalid I/O errors.
1394 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1396 "DigiTech Mass Storage",
1397 US_SC_DEVICE, US_PR_DEVICE, NULL,
1398 US_FL_IGNORE_RESIDUE ),
1401 * This brings the HUAWEI data card devices into multi-port mode
1403 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1406 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1408 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1411 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1413 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1416 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1418 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1421 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1423 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1426 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1428 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1431 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1433 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1436 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1438 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1441 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1443 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1446 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1448 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1451 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1453 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1456 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1458 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1461 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1463 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1466 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1468 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1471 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1473 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1476 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1478 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1481 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1483 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1486 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1488 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1491 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1493 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1496 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1498 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1501 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1503 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1506 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1508 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1511 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1513 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1516 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1518 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1521 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1523 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1526 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1528 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1531 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1533 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1536 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1538 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1541 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1543 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1546 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1548 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1551 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1553 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1556 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1558 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1561 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1563 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1566 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1568 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1571 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1573 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1576 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1578 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1581 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1583 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1586 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1588 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1591 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1593 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1596 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1598 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1601 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1603 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1606 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1608 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1611 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1613 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1616 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1618 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1621 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1623 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1626 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1628 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1631 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1633 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1636 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1638 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1641 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1643 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1646 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1648 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1651 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1653 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1656 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1658 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
1661 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1663 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
1666 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1668 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
1671 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1673 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
1676 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1678 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
1681 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1683 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
1686 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1688 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
1691 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1693 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
1696 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1698 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
1701 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1703 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
1706 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1708 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
1711 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1713 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
1716 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1718 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
1721 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1723 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
1726 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1728 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
1731 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1734 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1735 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
1738 US_SC_DEVICE, US_PR_DEVICE, NULL,
1742 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
1745 US_SC_DEVICE, US_PR_DEVICE, NULL,
1746 US_FL_IGNORE_RESIDUE ),
1749 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
1752 US_SC_DEVICE, US_PR_DEVICE, NULL,
1753 US_FL_IGNORE_RESIDUE ),
1756 * JMicron responds to USN and several other SCSI ioctls with a
1757 * residue that causes subsequent I/O requests to fail. */
1758 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
1760 "USB to ATA/ATAPI Bridge",
1761 US_SC_DEVICE, US_PR_DEVICE, NULL,
1762 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1765 * Note: this is a 'super top' device like the above 14cd/6600 device */
1766 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
1769 US_SC_DEVICE, US_PR_DEVICE, NULL,
1770 US_FL_IGNORE_RESIDUE ),
1772 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
1775 US_SC_DEVICE, US_PR_DEVICE, NULL,
1776 US_FL_FIX_CAPACITY),
1781 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
1784 US_SC_DEVICE, US_PR_DEVICE, NULL,
1785 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1789 * Report by Andreas Koenecke.
1792 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
1795 US_SC_DEVICE, US_PR_DEVICE, NULL,
1796 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
1799 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
1802 US_SC_DEVICE, US_PR_DEVICE, NULL,
1806 UNUSUAL_DEV( 0x2770, 0x915d, 0x0010, 0x0010,
1809 US_SC_DEVICE, US_PR_DEVICE, NULL,
1810 US_FL_FIX_CAPACITY ),
1815 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
1817 "Mio DigiWalker USB Sync",
1818 US_SC_DEVICE,US_PR_DEVICE,NULL,
1819 US_FL_MAX_SECTORS_64 ),
1822 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
1825 US_SC_DEVICE, US_PR_DEVICE, NULL,
1826 US_FL_IGNORE_RESIDUE ),
1830 * The key makes the SCSI stack print confusing (but harmless) messages
1832 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
1835 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
1838 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
1841 US_SC_DEVICE, US_PR_DEVICE, NULL,
1842 US_FL_CAPACITY_HEURISTICS),
1844 /* Control/Bulk transport for all SubClass values */
1845 USUAL_DEV(US_SC_RBC, US_PR_CB, USB_US_TYPE_STOR),
1846 USUAL_DEV(US_SC_8020, US_PR_CB, USB_US_TYPE_STOR),
1847 USUAL_DEV(US_SC_QIC, US_PR_CB, USB_US_TYPE_STOR),
1848 USUAL_DEV(US_SC_UFI, US_PR_CB, USB_US_TYPE_STOR),
1849 USUAL_DEV(US_SC_8070, US_PR_CB, USB_US_TYPE_STOR),
1850 USUAL_DEV(US_SC_SCSI, US_PR_CB, USB_US_TYPE_STOR),
1852 /* Control/Bulk/Interrupt transport for all SubClass values */
1853 USUAL_DEV(US_SC_RBC, US_PR_CBI, USB_US_TYPE_STOR),
1854 USUAL_DEV(US_SC_8020, US_PR_CBI, USB_US_TYPE_STOR),
1855 USUAL_DEV(US_SC_QIC, US_PR_CBI, USB_US_TYPE_STOR),
1856 USUAL_DEV(US_SC_UFI, US_PR_CBI, USB_US_TYPE_STOR),
1857 USUAL_DEV(US_SC_8070, US_PR_CBI, USB_US_TYPE_STOR),
1858 USUAL_DEV(US_SC_SCSI, US_PR_CBI, USB_US_TYPE_STOR),
1860 /* Bulk-only transport for all SubClass values */
1861 USUAL_DEV(US_SC_RBC, US_PR_BULK, USB_US_TYPE_STOR),
1862 USUAL_DEV(US_SC_8020, US_PR_BULK, USB_US_TYPE_STOR),
1863 USUAL_DEV(US_SC_QIC, US_PR_BULK, USB_US_TYPE_STOR),
1864 USUAL_DEV(US_SC_UFI, US_PR_BULK, USB_US_TYPE_STOR),
1865 USUAL_DEV(US_SC_8070, US_PR_BULK, USB_US_TYPE_STOR),
1866 USUAL_DEV(US_SC_SCSI, US_PR_BULK, 0),