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 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
315 * Reported by Pete Zaitcev <zaitcev@redhat.com>
316 * This device chokes on both version of MODE SENSE which we have, so
317 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
319 UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
322 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
325 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
326 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
329 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
331 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
332 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
335 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
337 /* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
338 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
341 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
343 /* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
344 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
347 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
348 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
350 /* Reported by Paul Stewart <stewart@wetlogic.net>
351 * This entry is needed because the device reports Sub=ff */
352 UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
354 "DVD-CAM DZ-MV100A Camcorder",
355 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
358 * Reported by Manuel Fombuena <mfombuena@ya.com> and
359 * Frank Copeland <fjc@thingy.apana.org.au> */
360 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
361 "Tekom Technologies, Inc",
363 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
364 US_FL_IGNORE_RESIDUE ),
366 /* Patch for Nikon coolpix 2000
367 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/
368 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
371 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
372 US_FL_NOT_LOCKABLE ),
374 /* Reported by Doug Maxey (dwm@austin.ibm.com) */
375 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
378 USB_SC_DEVICE, USB_PR_CB, NULL,
379 US_FL_MAX_SECTORS_MIN),
381 /* Reported by Simon Levitt <simon@whattf.com>
382 * This entry needs Sub and Proto fields */
383 UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
386 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
388 /* Reported by Khalid Aziz <khalid@gonehiking.org>
389 * This entry is needed because the device reports Sub=ff */
390 UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
393 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
395 /* Not sure who reported this originally but
396 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
398 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
401 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
403 /* Reported by Ondrej Zary <linux@rainbow-software.org>
404 * The device reports one sector more and breaks when that sector is accessed
406 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
409 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
412 /* Reported by Kriston Fincher <kriston@airmail.net>
413 * Patch submitted by Sean Millichamp <sean@bruenor.org>
414 * This is to support the Panasonic PalmCam PV-SD4090
415 * This entry is needed because the device reports Sub=ff
417 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
420 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
422 /* From Yukihiro Nakai, via zaitcev@yahoo.com.
423 * This is needed for CB instead of CBI */
424 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
427 USB_SC_8070, USB_PR_CB, NULL, 0),
429 /* Reported by Adriaan Penning <a.penning@luon.net> */
430 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
433 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
434 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
436 /* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
437 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
440 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
441 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
443 /* Most of the following entries were developed with the help of
444 * Shuttle/SCM directly.
446 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
449 USB_SC_8020, USB_PR_CB, NULL, 0),
451 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
454 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
455 US_FL_SCM_MULT_TARG ),
458 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
460 "eUSB CompactFlash Adapter",
461 USB_SC_SCSI, USB_PR_CB, NULL,
465 /* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
466 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
467 "SCM Microsystems Inc.",
469 USB_SC_SCSI, USB_PR_CB, NULL,
472 /* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
473 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
476 USB_SC_SCSI, USB_PR_DEVICE, NULL,
479 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
482 USB_SC_SCSI, USB_PR_CB, NULL,
485 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
487 "eUSB ATA/ATAPI Adapter",
488 USB_SC_8020, USB_PR_CB, NULL, 0),
490 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
492 "eUSB CompactFlash Adapter",
493 USB_SC_8020, USB_PR_CB, NULL, 0),
495 UNUSUAL_DEV( 0x04e6, 0x000b, 0x0100, 0x0100,
498 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
499 US_FL_SCM_MULT_TARG ),
501 UNUSUAL_DEV( 0x04e6, 0x000c, 0x0100, 0x0100,
504 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
505 US_FL_SCM_MULT_TARG ),
507 UNUSUAL_DEV( 0x04e6, 0x000f, 0x0000, 0x9999,
509 "eUSB SCSI Adapter (Bus Powered)",
510 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
511 US_FL_SCM_MULT_TARG ),
513 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
516 USB_SC_8020, USB_PR_CB, NULL, 0),
518 /* Reported by Dmitry Khlystov <adminimus@gmail.com> */
519 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
522 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
523 US_FL_MAX_SECTORS_64),
525 /* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
526 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
529 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
530 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
532 /* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
533 UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
536 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
537 US_FL_MAX_SECTORS_64),
539 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
540 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
541 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
543 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
546 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
549 /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
550 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
553 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
554 US_FL_SCM_MULT_TARG ),
556 /* Iomega Clik! Drive
557 * Reported by David Chatenay <dchatenay@hotmail.com>
558 * The reason this is needed is not fully known.
560 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
563 USB_SC_8070, USB_PR_DEVICE, NULL,
566 /* Added by Alan Stern <stern@rowland.harvard.edu> */
567 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
569 "File-backed Storage Gadget",
570 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
573 /* Yakumo Mega Image 37
574 * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
575 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
576 "Tekom Technologies, Inc",
578 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
579 US_FL_IGNORE_RESIDUE ),
581 /* Another Yakumo camera.
582 * Reported by Michele Alzetta <michele.alzetta@aliceposta.it> */
583 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
584 "Tekom Technologies, Inc",
586 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
587 US_FL_IGNORE_RESIDUE ),
589 /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
590 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
591 "Tekom Technologies, Inc",
593 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
594 US_FL_IGNORE_RESIDUE ),
596 /* Yakumo Mega Image 47
597 * Reported by Bjoern Paetzel <kolrabi@kolrabi.de> */
598 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
599 "Tekom Technologies, Inc",
601 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
602 US_FL_IGNORE_RESIDUE ),
604 /* Reported by Paul Ortyl <ortylp@3miasto.net>
605 * Note that it's similar to the device above, only different prodID */
606 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
607 "Tekom Technologies, Inc",
609 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
610 US_FL_IGNORE_RESIDUE ),
612 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
614 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
615 USB_SC_SCSI, USB_PR_DEVICE, NULL,
616 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
618 /* Submitted by Lars Jacob <jacob.lars@googlemail.com>
619 * This entry is needed because the device reports Sub=ff */
620 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
623 USB_SC_8070, USB_PR_DEVICE, NULL,
627 /* Reported by wim@geeks.nl */
628 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
630 "Memorystick NW-MS7",
631 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
634 /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
635 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
638 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
641 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
643 "Memorystick MSAC-US1",
644 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
647 /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
648 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
651 USB_SC_SCSI, USB_PR_DEVICE, NULL,
654 /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
655 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
658 USB_SC_UFI, USB_PR_DEVICE, NULL,
661 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
663 "Memorystick MSC-U01N",
664 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
667 /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
668 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
670 "PEG N760c Memorystick",
671 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
674 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
676 "Memorystick MSC-U03",
677 USB_SC_UFI, USB_PR_CB, NULL,
680 /* Submitted by Nathan Babb <nathan@lexi.com> */
681 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
684 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
687 /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
688 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
691 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
694 /* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
695 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
698 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
701 /* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
702 UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
704 "MicroVault Flash Drive",
705 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
706 US_FL_NO_READ_CAPACITY_16 ),
708 /* floppy reports multiple luns */
709 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
712 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
715 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
716 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
719 USB_SC_DEVICE, USB_PR_CB, NULL,
722 /* Reported by Johann Cardon <johann.cardon@free.fr>
723 * This entry is needed only because the device reports
724 * bInterfaceClass = 0xff (vendor-specific)
726 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
729 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
731 /* Reported by RTE <raszilki@yandex.ru> */
732 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
735 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
736 US_FL_MAX_SECTORS_64 ),
738 /* Fabrizio Fellini <fello@libero.it> */
739 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
741 "Digital Camera EX-20 DSC",
742 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
744 /* Reported by Andre Welter <a.r.welter@gmx.de>
745 * This antique device predates the release of the Bulk-only Transport
746 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
747 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
748 * us from sending the request.
750 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
753 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
756 UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
759 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
762 /* Reported by <Hendryk.Pfeiffer@gmx.de> */
763 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
766 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
769 /* Submitted by Joel Bourquard <numlock@freesurf.ch>
770 * Some versions of this device need the SubClass and Protocol overrides
771 * while others don't.
773 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
775 "PyroGate External CD-ROM Enclosure (FCD-523)",
776 USB_SC_SCSI, USB_PR_BULK, NULL,
777 US_FL_NEED_OVERRIDE ),
779 /* Submitted by Sven Anderson <sven-linux@anderson.de>
780 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
781 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
782 * to change with firmware updates, I changed the range to maximum for all
785 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
788 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
789 US_FL_FIX_CAPACITY ),
791 /* Reported by Avi Kivity <avi@argo.co.il> */
792 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
795 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
796 US_FL_FIX_CAPACITY ),
798 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
801 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
802 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
804 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
807 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
808 US_FL_FIX_CAPACITY ),
811 * Reported by Tyson Vinson <lornoss@gmail.com>
812 * This particular productId is the iPod Nano
814 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
817 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
818 US_FL_FIX_CAPACITY ),
820 /* Reported by Dan Williams <dcbw@redhat.com>
821 * Option N.V. mobile broadband modems
822 * Ignore driver CD mode and force into modem mode by default.
825 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
826 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
829 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
832 /* Reported by Blake Matheny <bmatheny@purdue.edu> */
833 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
836 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
839 /* The following two entries are for a Genesys USB to IDE
840 * converter chip, but it changes its ProductId depending
841 * on whether or not a disk or an optical device is enclosed
842 * They were originally reported by Alexander Oltu
843 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
846 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
847 * <phil@ipom.com> as these flags were made and hard-coded
848 * special-cases were pulled from scsiglue.c.
850 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
852 "USB to IDE Optical",
853 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
854 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
856 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
859 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
860 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
862 /* Reported by Ben Efros <ben@pc-doctor.com> */
863 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
866 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
869 /* Reported by Hanno Boeck <hanno@gmx.de>
870 * Taken from the Lycoris Kernel */
871 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
874 USB_SC_SCSI, USB_PR_BULK, NULL,
877 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
880 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
882 /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
883 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
885 "USBMSC Audio Player",
886 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
887 US_FL_FIX_CAPACITY ),
889 /* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
890 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
891 "Prolific Technology, Inc.",
892 "Prolific Storage Gadget",
893 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
896 /* Reported by Rogerio Brito <rbrito@ime.usp.br> */
897 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
898 "Prolific Technology, Inc.",
899 "Mass Storage Device",
900 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
901 US_FL_NOT_LOCKABLE ),
903 /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
904 /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
905 * Thomas Bartosik <tbartdev@gmx-topmail.de> */
906 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
907 "Prolific Technology Inc.",
908 "Mass Storage Device",
909 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
910 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
912 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
913 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
914 "Prolific Technology Inc.",
915 "ATAPI-6 Bridge Controller",
916 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
917 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
919 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
920 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
923 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
925 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
926 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
929 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
931 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
934 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
936 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
937 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
938 "Thomson Multimedia Inc.",
939 "RCA RD1080 MP3 Player",
940 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
941 US_FL_FIX_CAPACITY ),
943 UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
946 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
947 US_FL_SCM_MULT_TARG ),
949 /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
950 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
953 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
954 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
955 US_FL_NO_READ_CAPACITY_16),
957 /* Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
958 * Support the following product :
959 * "Dane-Elec MediaTouch"
961 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
964 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
965 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
967 /* Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
968 * This USB MP3/AVI player device fails and disconnects if more than 128
969 * sectors (64kB) are read/written in a single command, and may be present
970 * at least in the following products:
971 * "Magnex Digital Video Panel DVP 1800"
972 * "MP4 AIGO 4GB SLOT SD"
973 * "Teclast TL-C260 MP3"
974 * "i.Meizu PMP MP3/MP4"
975 * "Speed MV8 MP4 Audio Player"
977 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
980 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
981 US_FL_MAX_SECTORS_64),
983 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
984 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
987 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
988 US_FL_IGNORE_RESIDUE),
990 /* Submitted by Roman Hodek <roman@hodek.net> */
991 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
993 "ImageMate SDDR-05a",
994 USB_SC_SCSI, USB_PR_CB, NULL,
997 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
998 "SanDisk Corporation",
999 "ImageMate CompactFlash USB",
1000 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1001 US_FL_FIX_CAPACITY ),
1003 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
1005 "ImageMate SDDR-12",
1006 USB_SC_SCSI, USB_PR_CB, NULL,
1009 /* Reported by Eero Volotinen <eero@ping-viini.org> */
1010 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
1011 "Freecom Technologies",
1013 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1014 US_FL_FIX_CAPACITY),
1016 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
1019 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1020 US_FL_SCM_MULT_TARG ),
1022 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
1025 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1026 US_FL_SCM_MULT_TARG ),
1029 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1032 USB_SC_SCSI, USB_PR_CB, NULL,
1036 /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1037 * Only revision 1.13 tested (same for all of the above devices,
1038 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1039 * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
1040 * See also http://martin.wilck.bei.t-online.de/#kecf .
1042 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1045 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1046 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1048 /* Reported by Rauch Wolke <rauchwolke@gmx.net>
1049 * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
1051 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1052 "Simple Tech/Datafab",
1054 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1055 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1057 /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1058 * to the USB storage specification in two ways:
1059 * - They tell us they are using transport protocol CBI. In reality they
1060 * are using transport protocol CB.
1061 * - They don't like the INQUIRY command. So we must handle this command
1062 * of the SCSI layer ourselves.
1063 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1064 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1065 * So don't remove the USB_PR_CB override!
1066 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1068 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1071 USB_SC_8070, USB_PR_CB, NULL,
1072 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1074 /* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1075 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1077 "EX-N1 DigitalCamera",
1078 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1080 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1081 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1084 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1087 /* Reported by Luciano Rocha <luciano@eurotux.com> */
1088 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1091 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1092 US_FL_FIX_CAPACITY),
1094 /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1095 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1098 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1099 US_FL_FIX_CAPACITY),
1101 /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1102 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1105 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1106 US_FL_FIX_CAPACITY),
1108 /* Supplied with some Castlewood ORB removable drives */
1109 UNUSUAL_DEV( 0x084b, 0xa001, 0x0000, 0x9999,
1110 "Castlewood Systems",
1111 "USB to SCSI cable",
1112 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1113 US_FL_SCM_MULT_TARG ),
1115 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1116 * Flag will support Bulk devices which use a standards-violating 32-byte
1117 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1118 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1121 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1124 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1127 /* Reported by <ttkspam@free.fr>
1128 * The device reports a vendor-specific device class, requiring an
1129 * explicit vendor/product match.
1131 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1134 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1136 /* Andrew Lunn <andrew@lunn.ch>
1137 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1139 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1141 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1144 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1145 US_FL_NOT_LOCKABLE),
1147 UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1149 "PortGear USB-SCSI (Mac USB Dock)",
1150 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1151 US_FL_SCM_MULT_TARG ),
1153 UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1155 "PortGear USB to SCSI Converter",
1156 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1157 US_FL_SCM_MULT_TARG ),
1159 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1160 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1163 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1166 /* Submitted by Dylan Taft <d13f00l@gmail.com>
1167 * US_FL_IGNORE_RESIDUE Needed
1169 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1171 "Aiptek USB Keychain MP3 Player",
1172 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1173 US_FL_IGNORE_RESIDUE),
1175 /* Entry needed for flags. Moreover, all devices with this ID use
1176 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1177 * One example is "Trumpion Digital Research MYMP3".
1178 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1180 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1182 "t33520 USB Flash Card Controller",
1183 USB_SC_DEVICE, USB_PR_BULK, NULL,
1184 US_FL_NEED_OVERRIDE ),
1186 /* Reported by Filippo Bardelli <filibard@libero.it>
1187 * The device reports a subclass of RBC, which is wrong.
1189 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1190 "Trumpion Microelectronics, Inc.",
1191 "33520 USB Digital Voice Recorder",
1192 USB_SC_UFI, USB_PR_DEVICE, NULL,
1195 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1196 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1199 USB_SC_RBC, USB_PR_BULK, NULL,
1203 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1205 "5-in-1 Card Reader",
1206 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1207 US_FL_FIX_CAPACITY ),
1209 /* Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1210 * This card reader returns "Illegal Request, Logical Block Address
1211 * Out of Range" for the first READ(10) after a new card is inserted.
1213 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1215 "SD/SDHC Card Reader",
1216 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1217 US_FL_INITIAL_READ10 ),
1219 /* This Pentax still camera is not conformant
1220 * to the USB storage specification: -
1221 * - It does not like the INQUIRY command. So we must handle this command
1222 * of the SCSI layer ourselves.
1223 * Tested on Rev. 10.00 (0x1000)
1224 * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1226 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1229 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1230 US_FL_FIX_INQUIRY ),
1232 /* These are virtual windows driver CDs, which the zd1211rw driver
1233 * automatically converts into WLAN devices. */
1234 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1236 "G-220F USB-WLAN Install",
1237 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1238 US_FL_IGNORE_DEVICE ),
1240 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1242 "WL-117 USB-WLAN Install",
1243 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1244 US_FL_IGNORE_DEVICE ),
1246 /* Reported by Dan Williams <dcbw@redhat.com>
1247 * Option N.V. mobile broadband modems
1248 * Ignore driver CD mode and force into modem mode by default.
1252 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1255 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1258 /* Reported by F. Aben <f.aben@option.com>
1259 * This device (wrongly) has a vendor-specific device descriptor.
1260 * The entry is needed so usb-storage can bind to it's mass-storage
1261 * interface as an interface driver */
1262 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1265 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1268 /* Reported by Jan Dumon <j.dumon@option.com>
1269 * These devices (wrongly) have a vendor-specific device descriptor.
1270 * These entries are needed so usb-storage can bind to their mass-storage
1271 * interface as an interface driver */
1272 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1275 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1278 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1281 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1284 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1287 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1290 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1293 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1296 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1299 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1302 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1305 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1308 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1311 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1314 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1317 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1320 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1323 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1326 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1329 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1332 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1335 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1338 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1341 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1344 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1347 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1350 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1353 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1356 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1359 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1362 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1363 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1366 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1368 /* Reported by Ben Efros <ben@pc-doctor.com> */
1369 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1372 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1375 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1378 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1382 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1383 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1385 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1388 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1391 /* Submitted by Joris Struyve <joris@struyve.be> */
1392 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1395 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1399 * Entry for Jenoptik JD 5200z3
1401 * email: car.busse@gmx.de
1403 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1406 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1408 /* Reported by Jason Johnston <killean@shaw.ca> */
1409 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1410 "Macpower Technology Co.LTD.",
1411 "USB 2.0 3.5\" DEVICE",
1412 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1413 US_FL_FIX_CAPACITY),
1415 /* Reported by Lubomir Blaha <tritol@trilogic.cz>
1416 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1417 * works for me. Can anybody correct these values? (I able to test corrected
1420 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1423 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1424 US_FL_FIX_INQUIRY ),
1426 /* Reported by Edward Chapman (taken from linux-usb mailing list)
1427 Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1428 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1431 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1432 US_FL_IGNORE_RESIDUE ),
1435 /* Patch by Stephan Walter <stephan.walter@epfl.ch>
1436 * I don't know why, but it works... */
1437 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1440 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1441 US_FL_IGNORE_RESIDUE ),
1443 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1444 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1447 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1448 US_FL_IGNORE_RESIDUE ),
1450 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1451 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1454 USB_SC_DEVICE, USB_PR_BULK, NULL,
1455 US_FL_NEED_OVERRIDE ),
1457 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1458 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1461 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1462 US_FL_FIX_INQUIRY ),
1464 /* Submitted by Daniel Drake <dsd@gentoo.org>
1465 * Reported by dayul on the Gentoo Forums */
1466 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1469 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1470 US_FL_IGNORE_RESIDUE ),
1472 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1473 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1476 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1477 US_FL_IGNORE_RESIDUE ),
1479 /* Reported by Benjamin Schiller <sbenni@gmx.de>
1480 * It is also sold by Easylite as DJ 20 */
1481 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1484 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1485 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1487 /* Patch by Leonid Petrov mail at lpetrov.net
1488 * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1489 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1490 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1492 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1495 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1496 US_FL_IGNORE_RESIDUE ),
1498 /* David Kuehling <dvdkhlng@gmx.de>:
1499 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1500 * errors when trying to write.
1502 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1505 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1506 US_FL_IGNORE_RESIDUE ),
1508 /* Submitted by Nick Holloway */
1509 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1512 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1513 US_FL_FIX_CAPACITY ),
1515 /* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
1516 UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1517 "Research In Motion",
1518 "BlackBerry Bold 9000",
1519 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1520 US_FL_MAX_SECTORS_64 ),
1522 /* Reported by Michael Stattmann <michael@stattmann.com> */
1523 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1525 "V800-Vodafone 802",
1526 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1527 US_FL_NO_WP_DETECT ),
1529 /* Reported by The Solutor <thesolutor@gmail.com> */
1530 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1533 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1534 US_FL_IGNORE_DEVICE),
1536 /* Reported by Jan Mate <mate@fiit.stuba.sk>
1537 * and by Soeren Sonnenburg <kernel@nn7.de> */
1538 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1541 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1542 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1544 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1545 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1548 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1549 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1551 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1552 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1555 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1556 US_FL_IGNORE_RESIDUE ),
1558 /* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1559 * Tested on hardware version 1.10.
1560 * Entry is needed only for the initializer function override.
1561 * Devices with bcd > 110 seem to not need it while those
1562 * with bcd < 110 appear to need it.
1564 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1567 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1570 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1573 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1576 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1577 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1580 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1582 /* Reported by Fabio Venturi <f.venturi@tdnet.it>
1583 * The device reports a vendor-specific bDeviceClass.
1585 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1586 "Actions Semiconductor",
1588 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1591 /* Reported by Pascal Terjan <pterjan@mandriva.com>
1592 * Ignore driver CD mode and force into modem mode by default.
1594 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1597 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1599 /* Reported by Kevin Lloyd <linux@sierrawireless.com>
1600 * Entry is needed for the initializer function override,
1601 * which instructs the device to load as a modem
1604 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1607 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1610 /* Reported by Jaco Kroon <jaco@kroon.co.za>
1611 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1612 * devices) misbehaves and causes a bunch of invalid I/O errors.
1614 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1616 "DigiTech Mass Storage",
1617 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1618 US_FL_IGNORE_RESIDUE ),
1620 /* Reported by fangxiaozhi <huananhu@huawei.com>
1621 * This brings the HUAWEI data card devices into multi-port mode
1623 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1626 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1628 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1631 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1633 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1636 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1638 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1641 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1643 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1646 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1648 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1651 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1653 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1656 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1658 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1661 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1663 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1666 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1668 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1671 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1673 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1676 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1678 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1681 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1683 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1686 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1688 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1691 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1693 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1696 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1698 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1701 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1703 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1706 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1708 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1711 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1713 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1716 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1718 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1721 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1723 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1726 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1728 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1731 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1733 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1736 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1738 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1741 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1743 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1746 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1748 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1751 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1753 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1756 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1758 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1761 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1763 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1766 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1768 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1771 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1773 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1776 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1778 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1781 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1783 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1786 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1788 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1791 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1793 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1796 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1798 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1801 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1803 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1806 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1808 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1811 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1813 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1816 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1818 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1821 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1823 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1826 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1828 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1831 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1833 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1836 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1838 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1841 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1843 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1846 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1848 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1851 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1853 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1856 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1858 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1861 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1863 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1866 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1868 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1871 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1873 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1876 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1878 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
1881 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1883 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
1886 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1888 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
1891 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1893 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
1896 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1898 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
1901 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1903 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
1906 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1908 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
1911 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1913 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
1916 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1918 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
1921 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1923 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
1926 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1928 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
1931 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1933 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
1936 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1938 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
1941 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1943 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
1946 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1948 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
1951 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1954 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1955 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
1958 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1961 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
1962 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
1965 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1966 US_FL_IGNORE_RESIDUE ),
1968 /* Reported by Qinglin Ye <yestyle@gmail.com> */
1969 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
1972 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1973 US_FL_BULK_IGNORE_TAG ),
1975 /* Reported by Francesco Foresti <frafore@tiscali.it> */
1976 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
1979 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1980 US_FL_IGNORE_RESIDUE ),
1982 /* Reported by Michael Büsch <m@bues.ch> */
1983 UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0114,
1985 "USB to ATA/ATAPI Bridge",
1986 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1989 /* Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1990 * JMicron responds to USN and several other SCSI ioctls with a
1991 * residue that causes subsequent I/O requests to fail. */
1992 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
1994 "USB to ATA/ATAPI Bridge",
1995 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1996 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1998 /* Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
1999 * and Mac USB Dock USB-SCSI */
2000 UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
2001 "Entrega Technologies",
2002 "USB to SCSI Converter",
2003 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2004 US_FL_SCM_MULT_TARG ),
2006 /* Reported by Robert Schedel <r.schedel@yahoo.de>
2007 * Note: this is a 'super top' device like the above 14cd/6600 device */
2008 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
2011 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2012 US_FL_IGNORE_RESIDUE ),
2014 /* Reported by Oliver Neukum <oneukum@suse.com> */
2015 UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
2018 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2021 /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
2022 UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
2025 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2026 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2028 UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2029 "Ariston Technologies",
2030 "iConnect USB to SCSI adapter",
2031 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2032 US_FL_SCM_MULT_TARG ),
2034 /* Reported by Hans de Goede <hdegoede@redhat.com>
2035 * These Appotech controllers are found in Picture Frames, they provide a
2036 * (buggy) emulation of a cdrom drive which contains the windows software
2037 * Uploading of pictures happens over the corresponding /dev/sg device. */
2038 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2041 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2043 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2046 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2048 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2051 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2052 US_FL_NO_READ_DISC_INFO ),
2054 /* Reported by Sven Geggus <sven-usbst@geggus.net>
2055 * This encrypted pen drive returns bogus data for the initial READ(10).
2057 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2060 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2061 US_FL_INITIAL_READ10 ),
2063 /* Patch by Richard Schütz <r.schtz@t-online.de>
2064 * This external hard drive enclosure uses a JMicron chip which
2065 * needs the US_FL_IGNORE_RESIDUE flag to work properly. */
2066 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2067 "TrekStor GmbH & Co. KG",
2068 "DataStation maxi g.u",
2069 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2070 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2072 /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
2073 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2076 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2077 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2079 /* Supplied with some Castlewood ORB removable drives */
2080 UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
2081 "Double-H Technology",
2082 "USB to SCSI Intelligent Cable",
2083 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2084 US_FL_SCM_MULT_TARG ),
2086 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2089 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2090 US_FL_FIX_CAPACITY),
2092 /* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2093 * and Renato Perini <rperini@email.it>
2095 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2098 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2099 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2102 * Patch by Constantin Baranov <const@tltsu.ru>
2103 * Report by Andreas Koenecke.
2106 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2109 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2110 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2112 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2113 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2116 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2119 /* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2122 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2124 "Mio DigiWalker USB Sync",
2125 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2126 US_FL_MAX_SECTORS_64 ),
2128 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2129 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2132 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2133 US_FL_IGNORE_RESIDUE ),
2135 /* Reported by Sergey Pinaev <dfo@antex.ru> */
2136 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2139 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2140 US_FL_MAX_SECTORS_64 ),
2143 * David Härdeman <david@2gen.com>
2144 * The key makes the SCSI stack print confusing (but harmless) messages
2146 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2149 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2152 * Nick Bowler <nbowler@elliptictech.com>
2153 * SCSI stack spams (otherwise harmless) error messages.
2155 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2156 "Keil Software, Inc.",
2158 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2159 US_FL_NOT_LOCKABLE),
2161 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2162 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2165 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2166 US_FL_CAPACITY_HEURISTICS),
2168 /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2169 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2171 "Digital MP3 Audio Player",
2172 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2174 /* Unusual uas devices */
2175 #if IS_ENABLED(CONFIG_USB_UAS)
2176 #include "unusual_uas.h"
2179 /* Control/Bulk transport for all SubClass values */
2180 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2181 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2182 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2183 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2184 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2185 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2187 /* Control/Bulk/Interrupt transport for all SubClass values */
2188 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2189 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2190 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2191 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2192 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2193 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2195 /* Bulk-only transport for all SubClass values */
2196 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2197 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2198 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2199 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2200 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2201 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),