1 /* Driver for USB Mass Storage compliant devices
4 * Current development and maintenance by:
5 * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
8 * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
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.
44 * Send your submission to either Phil Dibowitz <phil@ipom.com> or
45 * Alan Stern <stern@rowland.harvard.edu>, and don't forget to CC: the
46 * USB development list <linux-usb@vger.kernel.org> and the USB storage list
47 * <usb-storage@lists.one-eyed-alien.net>
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 /* In-kernel mode switching is deprecated. Do not add new devices to
57 * this list for the sole purpose of switching them to a different
58 * mode. Existing userspace solutions are superior.
60 * New mode switching devices should instead be added to the database
61 * maintained at http://www.draisberghof.de/usb_modeswitch/
64 #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
65 !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
69 /* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr>
71 UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
74 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
75 US_FL_IGNORE_RESIDUE),
77 /* Reported by Rodolfo Quesada <rquesada@roqz.net> */
78 UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
79 "VIA Technologies Inc.",
80 "Mitsumi multi cardreader",
81 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
82 US_FL_IGNORE_RESIDUE ),
84 UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
87 USB_SC_8070, USB_PR_CB, NULL, 0),
89 /* Reported by Ben Efros <ben@pc-doctor.com> */
90 UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
92 "Personal Media Drive",
93 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
96 /* Reported by Grant Grundler <grundler@parisc-linux.org>
97 * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
99 UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
102 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
104 UNUSUAL_DEV( 0x03f3, 0x0001, 0x0000, 0x9999,
107 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
108 US_FL_SCM_MULT_TARG ),
110 /* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
111 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
112 * for USB floppies that need the SINGLE_LUN enforcement.
114 UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
117 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
120 /* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
121 UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
122 "VIA Technologies Inc.",
123 "USB 2.0 Card Reader",
124 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
125 US_FL_IGNORE_RESIDUE ),
127 /* Deduced by Jonathan Woithe <jwoithe@just42.net>
128 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
129 * always fails and confuses drive.
131 UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
134 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
137 /* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
138 UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
139 "Samsung Info. Systems America, Inc.",
141 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
142 US_FL_IGNORE_RESIDUE ),
144 /* Reported by Orgad Shaneh <orgads@gmail.com> */
145 UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
146 "Samsung", "MP3 Player",
147 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
148 US_FL_IGNORE_RESIDUE ),
150 /* Reported by Christian Leber <christian@leber.de> */
151 UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
154 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
155 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
157 /* Reported by Stefan Werner <dustbln@gmx.de> */
158 UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
162 US_FL_IGNORE_RESIDUE ),
164 /* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
165 UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
166 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
167 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
168 US_FL_IGNORE_RESIDUE ),
170 /* Reported by Andrew Nayenko <relan@bk.ru>
171 * Updated for new firmware by Phillip Potter <phillipinda@hotmail.com> */
172 UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
175 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
176 US_FL_MAX_SECTORS_64 ),
178 /* Reported by Mario Rettig <mariorettig@web.de> */
179 UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
182 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
183 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
185 /* Reported by <honkkis@gmail.com> */
186 UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
189 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
190 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
192 /* Reported by Jon Hart <Jon.Hart@web.de> */
193 UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
196 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
197 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
199 /* Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
200 * Einar Th. Einarsson <einarthered@gmail.com> */
201 UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
204 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
205 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
207 /* Reported by Jiri Slaby <jirislaby@gmail.com> and
208 * Rene C. Castberg <Rene@Castberg.org> */
209 UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
212 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
213 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
215 /* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
216 UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
219 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
220 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
222 /* Reported by Bardur Arantsson <bardur@scientician.net> */
223 UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
226 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
227 US_FL_MAX_SECTORS_64 ),
229 /* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
230 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
233 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
234 US_FL_MAX_SECTORS_64 ),
236 /* Reported by Alex Corcoles <alex@corcoles.net> */
237 UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
240 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
241 US_FL_MAX_SECTORS_64 ),
243 /* Reported by Daniele Forsi <dforsi@gmail.com> */
244 UNUSUAL_DEV( 0x0421, 0x04b9, 0x0350, 0x0350,
247 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
248 US_FL_MAX_SECTORS_64 ),
250 /* Patch submitted by Victor A. Santos <victoraur.santos@gmail.com> */
251 UNUSUAL_DEV( 0x0421, 0x05af, 0x0742, 0x0742,
254 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
255 US_FL_MAX_SECTORS_64),
257 /* Patch submitted by Mikhail Zolotaryov <lebon@lebon.org.ua> */
258 UNUSUAL_DEV( 0x0421, 0x06aa, 0x1110, 0x1110,
261 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
262 US_FL_MAX_SECTORS_64 ),
265 UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
268 USB_SC_SCSI, USB_PR_CB, NULL,
272 /* Patch submitted by Daniel Drake <dsd@gentoo.org>
273 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
274 UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
277 USB_SC_DEVICE, USB_PR_BULK, NULL,
278 US_FL_NEED_OVERRIDE ),
281 * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
282 * The key does not actually break, but it returns zero sense which
283 * makes our SCSI stack to print confusing messages.
285 UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
286 "USBest Technology", /* sold by Transcend */
287 "USB Mass Storage Device",
288 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
291 * Bohdan Linda <bohdan.linda@gmail.com>
292 * 1GB USB sticks MyFlash High Speed. I have restricted
293 * the revision to my model only
295 UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
298 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
299 US_FL_NOT_LOCKABLE ),
301 /* Reported by Tamas Kerecsen <kerecsen@bigfoot.com>
302 * Obviously the PROM has not been customized by the VAR;
303 * the Vendor and Product string descriptors are:
304 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
305 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
307 UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
310 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
311 US_FL_MAX_SECTORS_64 ),
314 * Reported by James Buren <braewoods+lkml@braewoods.net>
315 * Virtual ISOs cannot be remounted if ejected while the device is locked
316 * Disable locking to mimic Windows behavior that bypasses the issue
318 UNUSUAL_DEV( 0x04c5, 0x2028, 0x0001, 0x0001,
321 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE),
324 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
325 * Reported by Pete Zaitcev <zaitcev@redhat.com>
326 * This device chokes on both version of MODE SENSE which we have, so
327 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
329 UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
332 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
335 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
336 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
339 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
341 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
342 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
345 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
347 /* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
348 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
351 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
353 /* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
354 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
357 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
358 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
360 /* Reported by Paul Stewart <stewart@wetlogic.net>
361 * This entry is needed because the device reports Sub=ff */
362 UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
364 "DVD-CAM DZ-MV100A Camcorder",
365 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
368 * Reported by Manuel Fombuena <mfombuena@ya.com> and
369 * Frank Copeland <fjc@thingy.apana.org.au> */
370 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
371 "Tekom Technologies, Inc",
373 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
374 US_FL_IGNORE_RESIDUE ),
376 /* Patch for Nikon coolpix 2000
377 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/
378 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
381 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
382 US_FL_NOT_LOCKABLE ),
384 /* Reported by Doug Maxey (dwm@austin.ibm.com) */
385 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
388 USB_SC_DEVICE, USB_PR_CB, NULL,
389 US_FL_MAX_SECTORS_MIN),
391 /* Reported by Simon Levitt <simon@whattf.com>
392 * This entry needs Sub and Proto fields */
393 UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
396 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
398 /* Reported by Khalid Aziz <khalid@gonehiking.org>
399 * This entry is needed because the device reports Sub=ff */
400 UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
403 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
405 /* Not sure who reported this originally but
406 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
408 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
411 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
413 /* Reported by Ondrej Zary <linux@rainbow-software.org>
414 * The device reports one sector more and breaks when that sector is accessed
416 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
419 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
422 /* Reported by Kriston Fincher <kriston@airmail.net>
423 * Patch submitted by Sean Millichamp <sean@bruenor.org>
424 * This is to support the Panasonic PalmCam PV-SD4090
425 * This entry is needed because the device reports Sub=ff
427 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
430 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
432 /* From Yukihiro Nakai, via zaitcev@yahoo.com.
433 * This is needed for CB instead of CBI */
434 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
437 USB_SC_8070, USB_PR_CB, NULL, 0),
439 /* Reported by Adriaan Penning <a.penning@luon.net> */
440 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
443 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
444 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
446 /* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
447 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
450 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
451 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
453 /* Most of the following entries were developed with the help of
454 * Shuttle/SCM directly.
456 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
459 USB_SC_8020, USB_PR_CB, NULL, 0),
461 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
464 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
465 US_FL_SCM_MULT_TARG ),
468 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
470 "eUSB CompactFlash Adapter",
471 USB_SC_SCSI, USB_PR_CB, NULL,
475 /* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
476 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
477 "SCM Microsystems Inc.",
479 USB_SC_SCSI, USB_PR_CB, NULL,
482 /* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
483 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
486 USB_SC_SCSI, USB_PR_DEVICE, NULL,
489 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
492 USB_SC_SCSI, USB_PR_CB, NULL,
495 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
497 "eUSB ATA/ATAPI Adapter",
498 USB_SC_8020, USB_PR_CB, NULL, 0),
500 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
502 "eUSB CompactFlash Adapter",
503 USB_SC_8020, USB_PR_CB, NULL, 0),
505 UNUSUAL_DEV( 0x04e6, 0x000b, 0x0100, 0x0100,
508 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
509 US_FL_SCM_MULT_TARG ),
511 UNUSUAL_DEV( 0x04e6, 0x000c, 0x0100, 0x0100,
514 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
515 US_FL_SCM_MULT_TARG ),
517 UNUSUAL_DEV( 0x04e6, 0x000f, 0x0000, 0x9999,
519 "eUSB SCSI Adapter (Bus Powered)",
520 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
521 US_FL_SCM_MULT_TARG ),
523 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
526 USB_SC_8020, USB_PR_CB, NULL, 0),
528 /* Reported by Dmitry Khlystov <adminimus@gmail.com> */
529 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
532 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
533 US_FL_MAX_SECTORS_64),
535 /* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
536 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
539 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
540 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
542 /* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
543 UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
546 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
547 US_FL_MAX_SECTORS_64),
549 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
550 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
551 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
553 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
556 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
559 /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
560 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
563 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
564 US_FL_SCM_MULT_TARG ),
566 /* Iomega Clik! Drive
567 * Reported by David Chatenay <dchatenay@hotmail.com>
568 * The reason this is needed is not fully known.
570 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
573 USB_SC_8070, USB_PR_DEVICE, NULL,
576 /* Added by Alan Stern <stern@rowland.harvard.edu> */
577 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
579 "File-backed Storage Gadget",
580 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
583 /* Yakumo Mega Image 37
584 * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
585 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
586 "Tekom Technologies, Inc",
588 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
589 US_FL_IGNORE_RESIDUE ),
591 /* Another Yakumo camera.
592 * Reported by Michele Alzetta <michele.alzetta@aliceposta.it> */
593 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
594 "Tekom Technologies, Inc",
596 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
597 US_FL_IGNORE_RESIDUE ),
599 /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
600 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
601 "Tekom Technologies, Inc",
603 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
604 US_FL_IGNORE_RESIDUE ),
606 /* Yakumo Mega Image 47
607 * Reported by Bjoern Paetzel <kolrabi@kolrabi.de> */
608 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
609 "Tekom Technologies, Inc",
611 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
612 US_FL_IGNORE_RESIDUE ),
614 /* Reported by Paul Ortyl <ortylp@3miasto.net>
615 * Note that it's similar to the device above, only different prodID */
616 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
617 "Tekom Technologies, Inc",
619 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
620 US_FL_IGNORE_RESIDUE ),
622 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
624 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
625 USB_SC_SCSI, USB_PR_DEVICE, NULL,
626 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
628 /* Submitted by Lars Jacob <jacob.lars@googlemail.com>
629 * This entry is needed because the device reports Sub=ff */
630 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
633 USB_SC_8070, USB_PR_DEVICE, NULL,
637 /* Reported by wim@geeks.nl */
638 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
640 "Memorystick NW-MS7",
641 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
644 /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
645 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
648 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
651 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
653 "Memorystick MSAC-US1",
654 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
657 /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
658 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
661 USB_SC_SCSI, USB_PR_DEVICE, NULL,
664 /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
665 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
668 USB_SC_UFI, USB_PR_DEVICE, NULL,
671 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
673 "Memorystick MSC-U01N",
674 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
677 /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
678 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
680 "PEG N760c Memorystick",
681 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
684 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
686 "Memorystick MSC-U03",
687 USB_SC_UFI, USB_PR_CB, NULL,
690 /* Submitted by Nathan Babb <nathan@lexi.com> */
691 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
694 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
697 /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
698 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
701 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
704 /* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
705 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
708 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
711 /* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
712 UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
714 "MicroVault Flash Drive",
715 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
716 US_FL_NO_READ_CAPACITY_16 ),
718 /* floppy reports multiple luns */
719 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
722 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
725 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
726 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
729 USB_SC_DEVICE, USB_PR_CB, NULL,
732 /* Reported by Johann Cardon <johann.cardon@free.fr>
733 * This entry is needed only because the device reports
734 * bInterfaceClass = 0xff (vendor-specific)
736 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
739 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
741 /* Reported by RTE <raszilki@yandex.ru> */
742 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
745 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
746 US_FL_MAX_SECTORS_64 ),
748 /* Fabrizio Fellini <fello@libero.it> */
749 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
751 "Digital Camera EX-20 DSC",
752 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
754 /* Reported by Andre Welter <a.r.welter@gmx.de>
755 * This antique device predates the release of the Bulk-only Transport
756 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
757 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
758 * us from sending the request.
760 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
763 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
766 UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
769 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
772 /* Reported by <Hendryk.Pfeiffer@gmx.de> */
773 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
776 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
779 /* Reported by Christian Schaller <cschalle@redhat.com> */
780 UNUSUAL_DEV( 0x059f, 0x0651, 0x0000, 0x0000,
783 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
784 US_FL_NO_WP_DETECT ),
786 /* Submitted by Joel Bourquard <numlock@freesurf.ch>
787 * Some versions of this device need the SubClass and Protocol overrides
788 * while others don't.
790 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
792 "PyroGate External CD-ROM Enclosure (FCD-523)",
793 USB_SC_SCSI, USB_PR_BULK, NULL,
794 US_FL_NEED_OVERRIDE ),
796 /* Submitted by Sven Anderson <sven-linux@anderson.de>
797 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
798 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
799 * to change with firmware updates, I changed the range to maximum for all
802 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
805 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
806 US_FL_FIX_CAPACITY ),
808 /* Reported by Avi Kivity <avi@argo.co.il> */
809 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
812 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
813 US_FL_FIX_CAPACITY ),
815 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
818 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
819 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
821 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
824 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
825 US_FL_FIX_CAPACITY ),
828 * Reported by Tyson Vinson <lornoss@gmail.com>
829 * This particular productId is the iPod Nano
831 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
834 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
835 US_FL_FIX_CAPACITY ),
837 /* Reported by Dan Williams <dcbw@redhat.com>
838 * Option N.V. mobile broadband modems
839 * Ignore driver CD mode and force into modem mode by default.
842 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
843 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
846 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
849 /* Reported by Blake Matheny <bmatheny@purdue.edu> */
850 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
853 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
856 /* The following two entries are for a Genesys USB to IDE
857 * converter chip, but it changes its ProductId depending
858 * on whether or not a disk or an optical device is enclosed
859 * They were originally reported by Alexander Oltu
860 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
863 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
864 * <phil@ipom.com> as these flags were made and hard-coded
865 * special-cases were pulled from scsiglue.c.
867 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
869 "USB to IDE Optical",
870 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
871 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
873 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
876 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
877 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
879 /* Reported by Ben Efros <ben@pc-doctor.com> */
880 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
883 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
886 /* Reported by Hanno Boeck <hanno@gmx.de>
887 * Taken from the Lycoris Kernel */
888 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
891 USB_SC_SCSI, USB_PR_BULK, NULL,
894 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
897 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
899 /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
900 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
902 "USBMSC Audio Player",
903 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
904 US_FL_FIX_CAPACITY ),
906 /* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
907 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
908 "Prolific Technology, Inc.",
909 "Prolific Storage Gadget",
910 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
913 /* Reported by Rogerio Brito <rbrito@ime.usp.br> */
914 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
915 "Prolific Technology, Inc.",
916 "Mass Storage Device",
917 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
918 US_FL_NOT_LOCKABLE ),
920 /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
921 /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
922 * Thomas Bartosik <tbartdev@gmx-topmail.de> */
923 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
924 "Prolific Technology Inc.",
925 "Mass Storage Device",
926 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
927 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
929 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
930 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
931 "Prolific Technology Inc.",
932 "ATAPI-6 Bridge Controller",
933 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
934 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
936 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
937 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
940 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
942 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
943 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
946 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
948 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
951 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
953 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
954 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
955 "Thomson Multimedia Inc.",
956 "RCA RD1080 MP3 Player",
957 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
958 US_FL_FIX_CAPACITY ),
960 UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
963 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
964 US_FL_SCM_MULT_TARG ),
966 /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
967 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
970 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
971 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
972 US_FL_NO_READ_CAPACITY_16),
974 /* Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
975 * Support the following product :
976 * "Dane-Elec MediaTouch"
978 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
981 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
982 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
984 /* Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
985 * This USB MP3/AVI player device fails and disconnects if more than 128
986 * sectors (64kB) are read/written in a single command, and may be present
987 * at least in the following products:
988 * "Magnex Digital Video Panel DVP 1800"
989 * "MP4 AIGO 4GB SLOT SD"
990 * "Teclast TL-C260 MP3"
991 * "i.Meizu PMP MP3/MP4"
992 * "Speed MV8 MP4 Audio Player"
994 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
997 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
998 US_FL_MAX_SECTORS_64),
1000 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
1001 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
1004 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1005 US_FL_IGNORE_RESIDUE),
1007 /* Submitted by Roman Hodek <roman@hodek.net> */
1008 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
1010 "ImageMate SDDR-05a",
1011 USB_SC_SCSI, USB_PR_CB, NULL,
1014 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
1015 "SanDisk Corporation",
1016 "ImageMate CompactFlash USB",
1017 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1018 US_FL_FIX_CAPACITY ),
1020 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
1022 "ImageMate SDDR-12",
1023 USB_SC_SCSI, USB_PR_CB, NULL,
1026 /* Reported by Eero Volotinen <eero@ping-viini.org> */
1027 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
1028 "Freecom Technologies",
1030 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1031 US_FL_FIX_CAPACITY),
1033 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
1036 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1037 US_FL_SCM_MULT_TARG ),
1039 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
1042 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1043 US_FL_SCM_MULT_TARG ),
1046 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1049 USB_SC_SCSI, USB_PR_CB, NULL,
1053 /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1054 * Only revision 1.13 tested (same for all of the above devices,
1055 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1056 * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
1057 * See also http://martin.wilck.bei.t-online.de/#kecf .
1059 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1062 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1063 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1065 /* Reported by Rauch Wolke <rauchwolke@gmx.net>
1066 * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
1068 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1069 "Simple Tech/Datafab",
1071 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1072 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1074 /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1075 * to the USB storage specification in two ways:
1076 * - They tell us they are using transport protocol CBI. In reality they
1077 * are using transport protocol CB.
1078 * - They don't like the INQUIRY command. So we must handle this command
1079 * of the SCSI layer ourselves.
1080 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1081 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1082 * So don't remove the USB_PR_CB override!
1083 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1085 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1088 USB_SC_8070, USB_PR_CB, NULL,
1089 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1091 /* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1092 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1094 "EX-N1 DigitalCamera",
1095 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1097 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1098 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1101 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1104 /* Reported by Luciano Rocha <luciano@eurotux.com> */
1105 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1108 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1109 US_FL_FIX_CAPACITY),
1111 /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1112 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1115 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1116 US_FL_FIX_CAPACITY),
1118 /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1119 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1122 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1123 US_FL_FIX_CAPACITY),
1125 /* Supplied with some Castlewood ORB removable drives */
1126 UNUSUAL_DEV( 0x084b, 0xa001, 0x0000, 0x9999,
1127 "Castlewood Systems",
1128 "USB to SCSI cable",
1129 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1130 US_FL_SCM_MULT_TARG ),
1132 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1133 * Flag will support Bulk devices which use a standards-violating 32-byte
1134 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1135 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1138 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1141 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1144 /* Reported by <ttkspam@free.fr>
1145 * The device reports a vendor-specific device class, requiring an
1146 * explicit vendor/product match.
1148 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1151 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1153 /* Andrew Lunn <andrew@lunn.ch>
1154 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1156 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1158 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1162 US_FL_NOT_LOCKABLE),
1164 UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1166 "PortGear USB-SCSI (Mac USB Dock)",
1167 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1168 US_FL_SCM_MULT_TARG ),
1170 UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1172 "PortGear USB to SCSI Converter",
1173 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1174 US_FL_SCM_MULT_TARG ),
1176 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1177 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1180 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1183 /* Submitted by Dylan Taft <d13f00l@gmail.com>
1184 * US_FL_IGNORE_RESIDUE Needed
1186 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1188 "Aiptek USB Keychain MP3 Player",
1189 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1190 US_FL_IGNORE_RESIDUE),
1192 /* Entry needed for flags. Moreover, all devices with this ID use
1193 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1194 * One example is "Trumpion Digital Research MYMP3".
1195 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1197 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1199 "t33520 USB Flash Card Controller",
1200 USB_SC_DEVICE, USB_PR_BULK, NULL,
1201 US_FL_NEED_OVERRIDE ),
1203 /* Reported by Filippo Bardelli <filibard@libero.it>
1204 * The device reports a subclass of RBC, which is wrong.
1206 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1207 "Trumpion Microelectronics, Inc.",
1208 "33520 USB Digital Voice Recorder",
1209 USB_SC_UFI, USB_PR_DEVICE, NULL,
1212 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1213 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1216 USB_SC_RBC, USB_PR_BULK, NULL,
1219 UNUSUAL_DEV(0x090c, 0x1000, 0x1100, 0x1100,
1222 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1223 US_FL_MAX_SECTORS_64),
1226 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1228 "5-in-1 Card Reader",
1229 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1230 US_FL_FIX_CAPACITY ),
1232 /* Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1233 * This card reader returns "Illegal Request, Logical Block Address
1234 * Out of Range" for the first READ(10) after a new card is inserted.
1236 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1238 "SD/SDHC Card Reader",
1239 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1240 US_FL_INITIAL_READ10 ),
1242 /* This Pentax still camera is not conformant
1243 * to the USB storage specification: -
1244 * - It does not like the INQUIRY command. So we must handle this command
1245 * of the SCSI layer ourselves.
1246 * Tested on Rev. 10.00 (0x1000)
1247 * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1249 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1252 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1253 US_FL_FIX_INQUIRY ),
1255 /* These are virtual windows driver CDs, which the zd1211rw driver
1256 * automatically converts into WLAN devices. */
1257 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1259 "G-220F USB-WLAN Install",
1260 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1261 US_FL_IGNORE_DEVICE ),
1263 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1265 "WL-117 USB-WLAN Install",
1266 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1267 US_FL_IGNORE_DEVICE ),
1269 /* Reported by Dan Williams <dcbw@redhat.com>
1270 * Option N.V. mobile broadband modems
1271 * Ignore driver CD mode and force into modem mode by default.
1275 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1278 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1281 /* Reported by F. Aben <f.aben@option.com>
1282 * This device (wrongly) has a vendor-specific device descriptor.
1283 * The entry is needed so usb-storage can bind to it's mass-storage
1284 * interface as an interface driver */
1285 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1288 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1291 /* Reported by Jan Dumon <j.dumon@option.com>
1292 * These devices (wrongly) have a vendor-specific device descriptor.
1293 * These entries are needed so usb-storage can bind to their mass-storage
1294 * interface as an interface driver */
1295 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1298 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1301 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1304 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1307 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1310 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1313 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1316 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1319 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1322 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1325 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1328 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1331 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1334 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1337 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1340 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1343 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1346 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1349 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1352 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1355 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1358 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1361 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1364 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1367 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1370 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1373 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1376 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1379 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1382 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1385 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1386 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1389 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1391 /* Reported by Ben Efros <ben@pc-doctor.com> */
1392 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1395 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1398 /* Reported by Kris Lindgren <kris.lindgren@gmail.com> */
1399 UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
1402 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1403 US_FL_NO_WP_DETECT ),
1405 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1408 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1412 * Reported by Icenowy Zheng <icenowy@aosc.io>
1413 * The SMI SM3350 USB-UFS bridge controller will enter a wrong state
1414 * that do not process read/write command if a long sense is requested,
1415 * so force to use 18-byte sense.
1417 UNUSUAL_DEV( 0x090c, 0x3350, 0x0000, 0xffff,
1419 "SM3350 UFS-to-USB-Mass-Storage bridge",
1420 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1424 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1425 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1427 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1430 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1433 /* Submitted by Joris Struyve <joris@struyve.be> */
1434 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1437 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1441 * Entry for Jenoptik JD 5200z3
1443 * email: car.busse@gmx.de
1445 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1448 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1450 /* Reported by Jason Johnston <killean@shaw.ca> */
1451 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1452 "Macpower Technology Co.LTD.",
1453 "USB 2.0 3.5\" DEVICE",
1454 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1455 US_FL_FIX_CAPACITY),
1457 /* Reported by Lubomir Blaha <tritol@trilogic.cz>
1458 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1459 * works for me. Can anybody correct these values? (I able to test corrected
1462 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1465 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1466 US_FL_FIX_INQUIRY ),
1468 /* Reported by Edward Chapman (taken from linux-usb mailing list)
1469 Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1470 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1473 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1474 US_FL_IGNORE_RESIDUE ),
1477 /* Patch by Stephan Walter <stephan.walter@epfl.ch>
1478 * I don't know why, but it works... */
1479 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1482 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1483 US_FL_IGNORE_RESIDUE ),
1485 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1486 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1489 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1490 US_FL_IGNORE_RESIDUE ),
1492 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1493 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1496 USB_SC_DEVICE, USB_PR_BULK, NULL,
1497 US_FL_NEED_OVERRIDE ),
1499 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1500 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1503 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1504 US_FL_FIX_INQUIRY ),
1506 /* Submitted by Daniel Drake <dsd@gentoo.org>
1507 * Reported by dayul on the Gentoo Forums */
1508 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1511 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1512 US_FL_IGNORE_RESIDUE ),
1514 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1515 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1518 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1519 US_FL_IGNORE_RESIDUE ),
1521 /* Reported by Benjamin Schiller <sbenni@gmx.de>
1522 * It is also sold by Easylite as DJ 20 */
1523 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1526 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1527 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1529 /* Patch by Leonid Petrov mail at lpetrov.net
1530 * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1531 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1532 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1534 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1537 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1538 US_FL_IGNORE_RESIDUE ),
1540 /* David Kuehling <dvdkhlng@gmx.de>:
1541 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1542 * errors when trying to write.
1544 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1547 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1548 US_FL_IGNORE_RESIDUE ),
1550 /* Submitted by Nick Holloway */
1551 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1554 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1555 US_FL_FIX_CAPACITY ),
1557 /* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
1558 UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1559 "Research In Motion",
1560 "BlackBerry Bold 9000",
1561 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1562 US_FL_MAX_SECTORS_64 ),
1564 /* Reported by Michael Stattmann <michael@stattmann.com> */
1565 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1567 "V800-Vodafone 802",
1568 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1569 US_FL_NO_WP_DETECT ),
1571 /* Reported by The Solutor <thesolutor@gmail.com> */
1572 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1575 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1576 US_FL_IGNORE_DEVICE),
1578 /* Reported by Jan Mate <mate@fiit.stuba.sk>
1579 * and by Soeren Sonnenburg <kernel@nn7.de> */
1580 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1583 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1584 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1586 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1587 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1590 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1591 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1593 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1594 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1597 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1598 US_FL_IGNORE_RESIDUE ),
1600 /* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1601 * Tested on hardware version 1.10.
1602 * Entry is needed only for the initializer function override.
1603 * Devices with bcd > 110 seem to not need it while those
1604 * with bcd < 110 appear to need it.
1606 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1609 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1612 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1615 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1618 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1619 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1622 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1624 /* Reported by Fabio Venturi <f.venturi@tdnet.it>
1625 * The device reports a vendor-specific bDeviceClass.
1627 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1628 "Actions Semiconductor",
1630 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1633 /* Reported by Pascal Terjan <pterjan@mandriva.com>
1634 * Ignore driver CD mode and force into modem mode by default.
1636 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1639 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1641 /* Reported by Kevin Lloyd <linux@sierrawireless.com>
1642 * Entry is needed for the initializer function override,
1643 * which instructs the device to load as a modem
1646 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1649 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1652 /* Reported by Jaco Kroon <jaco@kroon.co.za>
1653 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1654 * devices) misbehaves and causes a bunch of invalid I/O errors.
1656 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1658 "DigiTech Mass Storage",
1659 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1660 US_FL_IGNORE_RESIDUE ),
1662 /* Reported by fangxiaozhi <huananhu@huawei.com>
1663 * This brings the HUAWEI data card devices into multi-port mode
1665 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1668 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1670 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1673 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1675 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1678 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1680 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1683 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1685 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1688 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1690 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1693 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1695 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1698 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1700 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1703 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1705 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1708 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1710 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1713 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1715 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1718 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1720 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1723 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1725 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1728 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1730 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1733 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1735 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1738 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1740 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1743 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1745 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1748 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1750 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1753 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1755 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1758 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1760 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1763 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1765 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1768 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1770 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1773 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1775 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1778 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1780 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1783 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1785 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1788 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1790 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1793 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1795 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1798 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1800 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1803 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1805 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1808 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1810 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1813 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1815 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1818 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1820 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1823 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1825 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1828 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1830 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1833 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1835 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1838 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1840 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1843 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1845 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1848 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1850 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1853 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1855 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1858 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1860 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1863 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1865 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1868 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1870 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1873 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1875 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1878 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1880 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1883 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1885 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1888 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1890 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1893 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1895 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1898 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1900 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1903 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1905 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1908 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1910 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1913 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1915 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1918 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1920 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
1923 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1925 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
1928 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1930 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
1933 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1935 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
1938 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1940 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
1943 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1945 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
1948 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1950 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
1953 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1955 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
1958 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1960 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
1963 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1965 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
1968 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1970 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
1973 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1975 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
1978 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1980 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
1983 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1985 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
1988 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1990 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
1993 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1996 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1997 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
2000 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2003 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
2004 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
2007 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2008 US_FL_IGNORE_RESIDUE ),
2010 /* Reported by Qinglin Ye <yestyle@gmail.com> */
2011 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
2014 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2015 US_FL_BULK_IGNORE_TAG ),
2017 /* Reported by Francesco Foresti <frafore@tiscali.it> */
2018 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
2021 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2022 US_FL_IGNORE_RESIDUE ),
2024 /* Reported by Michael Büsch <m@bues.ch> */
2025 UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0117,
2027 "USB to ATA/ATAPI Bridge",
2028 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2031 /* Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2032 * JMicron responds to USN and several other SCSI ioctls with a
2033 * residue that causes subsequent I/O requests to fail. */
2034 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
2036 "USB to ATA/ATAPI Bridge",
2037 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2038 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2040 /* Reported by Dmitry Nezhevenko <dion@dion.org.ua> */
2041 UNUSUAL_DEV( 0x152d, 0x2566, 0x0114, 0x0114,
2043 "USB to ATA/ATAPI Bridge",
2044 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2047 /* Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
2048 * and Mac USB Dock USB-SCSI */
2049 UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
2050 "Entrega Technologies",
2051 "USB to SCSI Converter",
2052 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2053 US_FL_SCM_MULT_TARG ),
2055 /* Reported by Robert Schedel <r.schedel@yahoo.de>
2056 * Note: this is a 'super top' device like the above 14cd/6600 device */
2057 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
2060 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2061 US_FL_IGNORE_RESIDUE ),
2063 /* Reported by Oliver Neukum <oneukum@suse.com> */
2064 UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
2067 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2070 /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
2071 UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
2074 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2075 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2077 UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2078 "Ariston Technologies",
2079 "iConnect USB to SCSI adapter",
2080 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2081 US_FL_SCM_MULT_TARG ),
2083 /* Reported by Hans de Goede <hdegoede@redhat.com>
2084 * These Appotech controllers are found in Picture Frames, they provide a
2085 * (buggy) emulation of a cdrom drive which contains the windows software
2086 * Uploading of pictures happens over the corresponding /dev/sg device. */
2087 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2090 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2092 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2095 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2097 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2100 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2101 US_FL_NO_READ_DISC_INFO ),
2103 /* Reported by Oliver Neukum <oneukum@suse.com>
2104 * This device morphes spontaneously into another device if the access
2105 * pattern of Windows isn't followed. Thus writable media would be dirty
2106 * if the initial instance is used. So the device is limited to its
2108 * And yes, the concept that BCD goes up to 9 is not heeded */
2109 UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
2111 "ZTE WCDMA Technologies MSM",
2112 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2115 /* Reported by Sven Geggus <sven-usbst@geggus.net>
2116 * This encrypted pen drive returns bogus data for the initial READ(10).
2118 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2121 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2122 US_FL_INITIAL_READ10 ),
2124 /* Reported by Hans de Goede <hdegoede@redhat.com>
2125 * These are mini projectors using USB for both power and video data transport
2126 * The usb-storage interface is a virtual windows driver CD, which the gm12u320
2127 * driver automatically converts into framebuffer & kms dri device nodes.
2129 UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
2130 "Grain-media Technology Corp.",
2131 "USB3.0 Device GM12U320",
2132 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2133 US_FL_IGNORE_DEVICE ),
2135 /* Patch by Richard Schütz <r.schtz@t-online.de>
2136 * This external hard drive enclosure uses a JMicron chip which
2137 * needs the US_FL_IGNORE_RESIDUE flag to work properly. */
2138 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2139 "TrekStor GmbH & Co. KG",
2140 "DataStation maxi g.u",
2141 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2142 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2144 /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
2145 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2148 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2149 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2151 /* Supplied with some Castlewood ORB removable drives */
2152 UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
2153 "Double-H Technology",
2154 "USB to SCSI Intelligent Cable",
2155 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2156 US_FL_SCM_MULT_TARG ),
2158 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2162 US_FL_FIX_CAPACITY),
2164 /* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2165 * and Renato Perini <rperini@email.it>
2167 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2170 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2171 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2173 /* Reported by Teijo Kinnunen <teijo.kinnunen@code-q.fi> */
2174 UNUSUAL_DEV( 0x152d, 0x2567, 0x0117, 0x0117,
2176 "USB to ATA/ATAPI Bridge",
2177 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2180 /* Reported-by George Cherian <george.cherian@cavium.com> */
2181 UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
2184 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2185 US_FL_NO_REPORT_OPCODES),
2187 /* Reported by David Kozub <zub@linux.fjfi.cvut.cz> */
2188 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
2191 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2195 * Patch by Constantin Baranov <const@tltsu.ru>
2196 * Report by Andreas Koenecke.
2199 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2202 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2203 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2205 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2206 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2209 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2212 /* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2215 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2217 "Mio DigiWalker USB Sync",
2218 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2219 US_FL_MAX_SECTORS_64 ),
2221 /* Reported by Cyril Roelandt <tipecaml@gmail.com> */
2222 UNUSUAL_DEV( 0x357d, 0x7788, 0x0114, 0x0114,
2224 "USB to ATA/ATAPI Bridge",
2225 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2226 US_FL_BROKEN_FUA | US_FL_IGNORE_UAS ),
2228 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2229 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2232 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2233 US_FL_IGNORE_RESIDUE ),
2235 /* Reported by Sergey Pinaev <dfo@antex.ru> */
2236 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2239 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2240 US_FL_MAX_SECTORS_64 ),
2243 * David Härdeman <david@2gen.com>
2244 * The key makes the SCSI stack print confusing (but harmless) messages
2246 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2249 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2251 /* Reported-by: Tim Anderson <tsa@biglakesoftware.com> */
2252 UNUSUAL_DEV( 0x2ca3, 0x0031, 0x0000, 0x9999,
2255 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2259 * Nick Bowler <nbowler@elliptictech.com>
2260 * SCSI stack spams (otherwise harmless) error messages.
2262 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2263 "Keil Software, Inc.",
2265 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2266 US_FL_NOT_LOCKABLE),
2268 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2269 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2272 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2273 US_FL_CAPACITY_HEURISTICS),
2275 /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2276 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2278 "Digital MP3 Audio Player",
2279 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2281 /* Unusual uas devices */
2282 #if IS_ENABLED(CONFIG_USB_UAS)
2283 #include "unusual_uas.h"
2286 /* Control/Bulk transport for all SubClass values */
2287 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2288 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2289 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2290 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2291 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2292 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2294 /* Control/Bulk/Interrupt transport for all SubClass values */
2295 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2296 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2297 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2298 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2299 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2300 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2302 /* Bulk-only transport for all SubClass values */
2303 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2304 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2305 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2306 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2307 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2308 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),