2 * Driver for USB Mass Storage compliant devices
5 * Current development and maintenance by:
6 * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
9 * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
11 * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more
12 * information about this driver.
14 * This program is free software; you can redistribute it and/or modify it
15 * under the terms of the GNU General Public License as published by the
16 * Free Software Foundation; either version 2, or (at your option) any
19 * This program is distributed in the hope that it will be useful, but
20 * WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * General Public License for more details.
24 * You should have received a copy of the GNU General Public License along
25 * with this program; if not, write to the Free Software Foundation, Inc.,
26 * 675 Mass Ave, Cambridge, MA 02139, USA.
30 * IMPORTANT NOTE: This file must be included in another file which does
31 * the following thing for it to work:
32 * The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
33 * before this file is included.
37 * If you edit this file, please try to keep it sorted first by VendorID,
40 * If you want to add an entry for this file, be sure to include the
41 * following information:
42 * - a patch that adds the entry for your device, including your
43 * email address right above the entry (plus maybe a brief
44 * explanation of the reason for the entry),
45 * - a copy of /sys/kernel/debug/usb/devices with your device plugged in
46 * running with this patch.
47 * Send your submission to either Phil Dibowitz <phil@ipom.com> or
48 * Alan Stern <stern@rowland.harvard.edu>, and don't forget to CC: the
49 * USB development list <linux-usb@vger.kernel.org> and the USB storage list
50 * <usb-storage@lists.one-eyed-alien.net>
54 * Note: If you add an entry only in order to set the CAPACITY_OK flag,
55 * use the COMPLIANT_DEV macro instead of UNUSUAL_DEV. This is
56 * because such entries mark devices which actually work correctly,
57 * as opposed to devices that do something strangely or wrongly.
61 * In-kernel mode switching is deprecated. Do not add new devices to
62 * this list for the sole purpose of switching them to a different
63 * mode. Existing userspace solutions are superior.
65 * New mode switching devices should instead be added to the database
66 * maintained at http://www.draisberghof.de/usb_modeswitch/
69 #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
70 !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
74 /* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr> */
75 UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
78 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
79 US_FL_IGNORE_RESIDUE
),
81 /* Reported by Rodolfo Quesada <rquesada@roqz.net> */
82 UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
83 "VIA Technologies Inc.",
84 "Mitsumi multi cardreader",
85 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
86 US_FL_IGNORE_RESIDUE
),
88 UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
91 USB_SC_8070
, USB_PR_CB
, NULL
, 0),
93 /* Reported by Ben Efros <ben@pc-doctor.com> */
94 UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
96 "Personal Media Drive",
97 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
101 * Reported by Grant Grundler <grundler@parisc-linux.org>
102 * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
104 UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
107 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
, US_FL_FIX_CAPACITY
),
109 UNUSUAL_DEV( 0x03f3, 0x0001, 0x0000, 0x9999,
112 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
113 US_FL_SCM_MULT_TARG
),
116 * Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
117 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
118 * for USB floppies that need the SINGLE_LUN enforcement.
120 UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
123 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
126 /* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
127 UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
128 "VIA Technologies Inc.",
129 "USB 2.0 Card Reader",
130 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
131 US_FL_IGNORE_RESIDUE
),
134 * Deduced by Jonathan Woithe <jwoithe@just42.net>
135 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
136 * always fails and confuses drive.
138 UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
141 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
144 /* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
145 UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
146 "Samsung Info. Systems America, Inc.",
148 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
149 US_FL_IGNORE_RESIDUE
),
151 /* Reported by Orgad Shaneh <orgads@gmail.com> */
152 UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
153 "Samsung", "MP3 Player",
154 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
155 US_FL_IGNORE_RESIDUE
),
157 /* Reported by Christian Leber <christian@leber.de> */
158 UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
161 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
162 US_FL_IGNORE_RESIDUE
| US_FL_NOT_LOCKABLE
),
164 /* Reported by Stefan Werner <dustbln@gmx.de> */
165 UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
168 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
169 US_FL_IGNORE_RESIDUE
),
171 /* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
172 UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
173 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
174 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
175 US_FL_IGNORE_RESIDUE
),
178 * Reported by Andrew Nayenko <relan@bk.ru>
179 * Updated for new firmware by Phillip Potter <phil@philpotter.co.uk>
181 UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
184 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
185 US_FL_MAX_SECTORS_64
),
187 /* Reported by Mario Rettig <mariorettig@web.de> */
188 UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
191 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
192 US_FL_IGNORE_RESIDUE
| US_FL_FIX_CAPACITY
),
194 /* Reported by <honkkis@gmail.com> */
195 UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
198 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
199 US_FL_IGNORE_RESIDUE
| US_FL_FIX_CAPACITY
),
201 /* Reported by Jon Hart <Jon.Hart@web.de> */
202 UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
205 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
206 US_FL_FIX_CAPACITY
| US_FL_IGNORE_RESIDUE
),
209 * Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
210 * Einar Th. Einarsson <einarthered@gmail.com>
212 UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
215 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
216 US_FL_IGNORE_RESIDUE
| US_FL_FIX_CAPACITY
),
219 * Reported by Jiri Slaby <jirislaby@gmail.com> and
220 * Rene C. Castberg <Rene@Castberg.org>
222 UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
225 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
226 US_FL_IGNORE_RESIDUE
| US_FL_FIX_CAPACITY
),
228 /* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
229 UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
232 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
233 US_FL_IGNORE_RESIDUE
| US_FL_FIX_CAPACITY
),
235 /* Reported by Bardur Arantsson <bardur@scientician.net> */
236 UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
239 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
240 US_FL_MAX_SECTORS_64
),
242 /* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
243 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
246 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
247 US_FL_MAX_SECTORS_64
),
249 /* Reported by Alex Corcoles <alex@corcoles.net> */
250 UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
253 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
254 US_FL_MAX_SECTORS_64
),
256 /* Reported by Daniele Forsi <dforsi@gmail.com> */
257 UNUSUAL_DEV( 0x0421, 0x04b9, 0x0350, 0x0350,
260 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
261 US_FL_MAX_SECTORS_64
),
263 /* Patch submitted by Victor A. Santos <victoraur.santos@gmail.com> */
264 UNUSUAL_DEV( 0x0421, 0x05af, 0x0742, 0x0742,
267 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
268 US_FL_MAX_SECTORS_64
),
270 /* Patch submitted by Mikhail Zolotaryov <lebon@lebon.org.ua> */
271 UNUSUAL_DEV( 0x0421, 0x06aa, 0x1110, 0x1110,
274 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
275 US_FL_MAX_SECTORS_64
),
278 UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
281 USB_SC_SCSI
, USB_PR_CB
, NULL
,
286 * Patch submitted by Daniel Drake <dsd@gentoo.org>
287 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2
289 UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
292 USB_SC_DEVICE
, USB_PR_BULK
, NULL
,
293 US_FL_NEED_OVERRIDE
),
296 * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
297 * The key does not actually break, but it returns zero sense which
298 * makes our SCSI stack to print confusing messages.
300 UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
301 "USBest Technology", /* sold by Transcend */
302 "USB Mass Storage Device",
303 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
, US_FL_NOT_LOCKABLE
),
306 * Bohdan Linda <bohdan.linda@gmail.com>
307 * 1GB USB sticks MyFlash High Speed. I have restricted
308 * the revision to my model only
310 UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
313 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
314 US_FL_NOT_LOCKABLE
),
317 * Reported by Tamas Kerecsen <kerecsen@bigfoot.com>
318 * Obviously the PROM has not been customized by the VAR;
319 * the Vendor and Product string descriptors are:
320 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
321 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
323 UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
326 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
327 US_FL_MAX_SECTORS_64
),
330 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
331 * Reported by Pete Zaitcev <zaitcev@redhat.com>
332 * This device chokes on both version of MODE SENSE which we have, so
333 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
335 UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
338 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
341 /* Reported by Egbert Eich <eich@suse.com> */
342 UNUSUAL_DEV( 0x0480, 0xd010, 0x0100, 0x9999,
345 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
348 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
349 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
352 USB_SC_8070
, USB_PR_CB
, NULL
, US_FL_FIX_INQUIRY
),
354 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
355 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
358 USB_SC_8070
, USB_PR_CB
, NULL
, US_FL_FIX_INQUIRY
),
360 /* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
361 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
364 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
, US_FL_FIX_INQUIRY
),
366 /* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
367 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
370 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
371 US_FL_FIX_CAPACITY
| US_FL_NOT_LOCKABLE
),
374 * Reported by Paul Stewart <stewart@wetlogic.net>
375 * This entry is needed because the device reports Sub=ff
377 UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
379 "DVD-CAM DZ-MV100A Camcorder",
380 USB_SC_SCSI
, USB_PR_CB
, NULL
, US_FL_SINGLE_LUN
),
384 * Reported by Manuel Fombuena <mfombuena@ya.com> and
385 * Frank Copeland <fjc@thingy.apana.org.au>
387 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
388 "Tekom Technologies, Inc",
390 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
391 US_FL_IGNORE_RESIDUE
),
394 * Patch for Nikon coolpix 2000
395 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>
397 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
400 USB_SC_DEVICE
, USB_PR_DEVICE
,NULL
,
401 US_FL_NOT_LOCKABLE
),
403 /* Reported by Doug Maxey (dwm@austin.ibm.com) */
404 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
407 USB_SC_DEVICE
, USB_PR_CB
, NULL
,
408 US_FL_MAX_SECTORS_MIN
),
411 * Reported by Simon Levitt <simon@whattf.com>
412 * This entry needs Sub and Proto fields
414 UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
417 USB_SC_SCSI
, USB_PR_CB
, NULL
, US_FL_FIX_INQUIRY
),
420 * Reported by Khalid Aziz <khalid@gonehiking.org>
421 * This entry is needed because the device reports Sub=ff
423 UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
426 USB_SC_SCSI
, USB_PR_BULK
, NULL
, US_FL_SINGLE_LUN
),
429 * Not sure who reported this originally but
430 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
432 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
435 USB_SC_UFI
, USB_PR_DEVICE
, NULL
, US_FL_FIX_INQUIRY
| US_FL_SINGLE_LUN
),
438 * Reported by Ondrej Zary <linux@rainbow-software.org>
439 * The device reports one sector more and breaks when that sector is accessed
441 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
444 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
448 * Reported by Kriston Fincher <kriston@airmail.net>
449 * Patch submitted by Sean Millichamp <sean@bruenor.org>
450 * This is to support the Panasonic PalmCam PV-SD4090
451 * This entry is needed because the device reports Sub=ff
453 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
456 USB_SC_UFI
, USB_PR_DEVICE
, NULL
, 0),
459 * From Yukihiro Nakai, via zaitcev@yahoo.com.
460 * This is needed for CB instead of CBI
462 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
465 USB_SC_8070
, USB_PR_CB
, NULL
, 0),
467 /* Reported by Adriaan Penning <a.penning@luon.net> */
468 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
471 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
472 US_FL_FIX_CAPACITY
| US_FL_NOT_LOCKABLE
),
474 /* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
475 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
478 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
479 US_FL_FIX_CAPACITY
| US_FL_NOT_LOCKABLE
),
482 * Most of the following entries were developed with the help of
483 * Shuttle/SCM directly.
485 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
488 USB_SC_8020
, USB_PR_CB
, NULL
, 0),
490 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
493 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
494 US_FL_SCM_MULT_TARG
),
497 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
499 "eUSB CompactFlash Adapter",
500 USB_SC_SCSI
, USB_PR_CB
, NULL
,
504 /* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
505 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
506 "SCM Microsystems Inc.",
508 USB_SC_SCSI
, USB_PR_CB
, NULL
,
511 /* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
512 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
515 USB_SC_SCSI
, USB_PR_DEVICE
, NULL
,
518 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
521 USB_SC_SCSI
, USB_PR_CB
, NULL
,
524 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
526 "eUSB ATA/ATAPI Adapter",
527 USB_SC_8020
, USB_PR_CB
, NULL
, 0),
529 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
531 "eUSB CompactFlash Adapter",
532 USB_SC_8020
, USB_PR_CB
, NULL
, 0),
534 UNUSUAL_DEV( 0x04e6, 0x000b, 0x0100, 0x0100,
537 USB_SC_SCSI
, USB_PR_BULK
, usb_stor_euscsi_init
,
538 US_FL_SCM_MULT_TARG
),
540 UNUSUAL_DEV( 0x04e6, 0x000c, 0x0100, 0x0100,
543 USB_SC_SCSI
, USB_PR_BULK
, usb_stor_euscsi_init
,
544 US_FL_SCM_MULT_TARG
),
546 UNUSUAL_DEV( 0x04e6, 0x000f, 0x0000, 0x9999,
548 "eUSB SCSI Adapter (Bus Powered)",
549 USB_SC_SCSI
, USB_PR_BULK
, usb_stor_euscsi_init
,
550 US_FL_SCM_MULT_TARG
),
552 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
555 USB_SC_8020
, USB_PR_CB
, NULL
, 0),
557 /* Reported by Dmitry Khlystov <adminimus@gmail.com> */
558 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
561 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
562 US_FL_MAX_SECTORS_64
),
564 /* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
565 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
568 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
569 US_FL_MAX_SECTORS_64
| US_FL_BULK_IGNORE_TAG
),
571 /* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
572 UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
575 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
576 US_FL_MAX_SECTORS_64
),
579 * Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
580 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
581 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
583 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
586 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
589 /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
590 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
593 USB_SC_SCSI
, USB_PR_BULK
, usb_stor_euscsi_init
,
594 US_FL_SCM_MULT_TARG
),
598 * Reported by David Chatenay <dchatenay@hotmail.com>
599 * The reason this is needed is not fully known.
601 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
604 USB_SC_8070
, USB_PR_DEVICE
, NULL
,
607 /* Added by Alan Stern <stern@rowland.harvard.edu> */
608 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
610 "File-backed Storage Gadget",
611 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
615 * Yakumo Mega Image 37
616 * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
617 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
618 "Tekom Technologies, Inc",
620 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
621 US_FL_IGNORE_RESIDUE
),
624 * Another Yakumo camera.
625 * Reported by Michele Alzetta <michele.alzetta@aliceposta.it>
627 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
628 "Tekom Technologies, Inc",
630 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
631 US_FL_IGNORE_RESIDUE
),
633 /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
634 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
635 "Tekom Technologies, Inc",
637 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
638 US_FL_IGNORE_RESIDUE
),
641 * Yakumo Mega Image 47
642 * Reported by Bjoern Paetzel <kolrabi@kolrabi.de>
644 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
645 "Tekom Technologies, Inc",
647 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
648 US_FL_IGNORE_RESIDUE
),
651 * Reported by Paul Ortyl <ortylp@3miasto.net>
652 * Note that it's similar to the device above, only different prodID
654 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
655 "Tekom Technologies, Inc",
657 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
658 US_FL_IGNORE_RESIDUE
),
660 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
662 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
663 USB_SC_SCSI
, USB_PR_DEVICE
, NULL
,
664 US_FL_SINGLE_LUN
| US_FL_NOT_LOCKABLE
| US_FL_NO_WP_DETECT
),
667 * Submitted by Lars Jacob <jacob.lars@googlemail.com>
668 * This entry is needed because the device reports Sub=ff
670 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
673 USB_SC_8070
, USB_PR_DEVICE
, NULL
,
677 /* Reported by wim@geeks.nl */
678 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
680 "Memorystick NW-MS7",
681 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
684 /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
685 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
688 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
691 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
693 "Memorystick MSAC-US1",
694 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
697 /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
698 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
701 USB_SC_SCSI
, USB_PR_DEVICE
, NULL
,
704 /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
705 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
708 USB_SC_UFI
, USB_PR_DEVICE
, NULL
,
711 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
713 "Memorystick MSC-U01N",
714 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
717 /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
718 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
720 "PEG N760c Memorystick",
721 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
724 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
726 "Memorystick MSC-U03",
727 USB_SC_UFI
, USB_PR_CB
, NULL
,
730 /* Submitted by Nathan Babb <nathan@lexi.com> */
731 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
734 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
737 /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
738 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
741 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
744 /* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
745 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
748 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
751 /* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
752 UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
754 "MicroVault Flash Drive",
755 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
756 US_FL_NO_READ_CAPACITY_16
),
758 /* floppy reports multiple luns */
759 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
762 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
765 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
766 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
769 USB_SC_DEVICE
, USB_PR_CB
, NULL
,
773 * Reported by Johann Cardon <johann.cardon@free.fr>
774 * This entry is needed only because the device reports
775 * bInterfaceClass = 0xff (vendor-specific)
777 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
780 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
, 0),
782 /* Reported by RTE <raszilki@yandex.ru> */
783 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
786 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
787 US_FL_MAX_SECTORS_64
),
789 /* Fabrizio Fellini <fello@libero.it> */
790 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
792 "Digital Camera EX-20 DSC",
793 USB_SC_8070
, USB_PR_DEVICE
, NULL
, 0 ),
796 * Reported by Andre Welter <a.r.welter@gmx.de>
797 * This antique device predates the release of the Bulk-only Transport
798 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
799 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
800 * us from sending the request.
802 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
805 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
808 UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
811 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
814 /* Reported by <Hendryk.Pfeiffer@gmx.de> */
815 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
818 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
821 /* Reported by Christian Schaller <cschalle@redhat.com> */
822 UNUSUAL_DEV( 0x059f, 0x0651, 0x0000, 0x0000,
825 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
826 US_FL_NO_WP_DETECT
),
829 * Submitted by Joel Bourquard <numlock@freesurf.ch>
830 * Some versions of this device need the SubClass and Protocol overrides
831 * while others don't.
833 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
835 "PyroGate External CD-ROM Enclosure (FCD-523)",
836 USB_SC_SCSI
, USB_PR_BULK
, NULL
,
837 US_FL_NEED_OVERRIDE
),
840 * Submitted by Sven Anderson <sven-linux@anderson.de>
841 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
842 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
843 * to change with firmware updates, I changed the range to maximum for all
846 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
849 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
850 US_FL_FIX_CAPACITY
),
852 /* Reported by Avi Kivity <avi@argo.co.il> */
853 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
856 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
857 US_FL_FIX_CAPACITY
),
859 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
862 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
863 US_FL_FIX_CAPACITY
| US_FL_NOT_LOCKABLE
),
865 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
868 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
869 US_FL_FIX_CAPACITY
),
872 * Reported by Tyson Vinson <lornoss@gmail.com>
873 * This particular productId is the iPod Nano
875 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
878 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
879 US_FL_FIX_CAPACITY
),
882 * Reported by Dan Williams <dcbw@redhat.com>
883 * Option N.V. mobile broadband modems
884 * Ignore driver CD mode and force into modem mode by default.
887 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
888 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
891 USB_SC_DEVICE
, USB_PR_DEVICE
, option_ms_init
,
894 /* Reported by Blake Matheny <bmatheny@purdue.edu> */
895 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
898 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
902 * The following two entries are for a Genesys USB to IDE
903 * converter chip, but it changes its ProductId depending
904 * on whether or not a disk or an optical device is enclosed
905 * They were originally reported by Alexander Oltu
906 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
909 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
910 * <phil@ipom.com> as these flags were made and hard-coded
911 * special-cases were pulled from scsiglue.c.
913 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
915 "USB to IDE Optical",
916 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
917 US_FL_GO_SLOW
| US_FL_MAX_SECTORS_64
| US_FL_IGNORE_RESIDUE
),
919 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
922 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
923 US_FL_GO_SLOW
| US_FL_MAX_SECTORS_64
| US_FL_IGNORE_RESIDUE
),
925 /* Reported by Ben Efros <ben@pc-doctor.com> */
926 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
929 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
933 * Reported by Hanno Boeck <hanno@gmx.de>
934 * Taken from the Lycoris Kernel
936 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
939 USB_SC_SCSI
, USB_PR_BULK
, NULL
,
942 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
945 USB_SC_UFI
, USB_PR_CB
, NULL
, 0 ),
947 /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
948 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
950 "USBMSC Audio Player",
951 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
952 US_FL_FIX_CAPACITY
),
954 /* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
955 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
956 "Prolific Technology, Inc.",
957 "Prolific Storage Gadget",
958 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
961 /* Reported by Rogerio Brito <rbrito@ime.usp.br> */
962 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
963 "Prolific Technology, Inc.",
964 "Mass Storage Device",
965 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
966 US_FL_NOT_LOCKABLE
),
968 /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
970 * Change to bcdDeviceMin (0x0100 to 0x0001) reported by
971 * Thomas Bartosik <tbartdev@gmx-topmail.de>
973 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
974 "Prolific Technology Inc.",
975 "Mass Storage Device",
976 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
977 US_FL_FIX_CAPACITY
| US_FL_GO_SLOW
),
979 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
980 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
981 "Prolific Technology Inc.",
982 "ATAPI-6 Bridge Controller",
983 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
984 US_FL_FIX_CAPACITY
| US_FL_GO_SLOW
),
986 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
987 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
990 USB_SC_SCSI
, USB_PR_BULK
, NULL
, 0 ),
992 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
993 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
996 USB_SC_SCSI
, USB_PR_DEVICE
, NULL
, 0 ),
998 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
1001 USB_SC_SCSI
, USB_PR_BULK
, NULL
, 0 ),
1003 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
1004 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
1005 "Thomson Multimedia Inc.",
1006 "RCA RD1080 MP3 Player",
1007 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1008 US_FL_FIX_CAPACITY
),
1010 UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
1013 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
1014 US_FL_SCM_MULT_TARG
),
1016 /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
1017 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
1020 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1021 US_FL_NO_WP_DETECT
| US_FL_MAX_SECTORS_64
|
1022 US_FL_NO_READ_CAPACITY_16
),
1025 * Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
1026 * Support the following product :
1027 * "Dane-Elec MediaTouch"
1029 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
1032 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1033 US_FL_NO_WP_DETECT
| US_FL_MAX_SECTORS_64
),
1036 * Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
1037 * This USB MP3/AVI player device fails and disconnects if more than 128
1038 * sectors (64kB) are read/written in a single command, and may be present
1039 * at least in the following products:
1040 * "Magnex Digital Video Panel DVP 1800"
1041 * "MP4 AIGO 4GB SLOT SD"
1042 * "Teclast TL-C260 MP3"
1043 * "i.Meizu PMP MP3/MP4"
1044 * "Speed MV8 MP4 Audio Player"
1046 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
1049 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1050 US_FL_MAX_SECTORS_64
),
1052 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
1053 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
1056 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1057 US_FL_IGNORE_RESIDUE
),
1059 /* Submitted by Roman Hodek <roman@hodek.net> */
1060 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
1062 "ImageMate SDDR-05a",
1063 USB_SC_SCSI
, USB_PR_CB
, NULL
,
1066 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
1067 "SanDisk Corporation",
1068 "ImageMate CompactFlash USB",
1069 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1070 US_FL_FIX_CAPACITY
),
1072 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
1074 "ImageMate SDDR-12",
1075 USB_SC_SCSI
, USB_PR_CB
, NULL
,
1078 /* Reported by Eero Volotinen <eero@ping-viini.org> */
1079 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
1080 "Freecom Technologies",
1082 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1083 US_FL_FIX_CAPACITY
),
1085 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
1088 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
1089 US_FL_SCM_MULT_TARG
),
1091 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
1094 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
1095 US_FL_SCM_MULT_TARG
),
1098 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1101 USB_SC_SCSI
, USB_PR_CB
, NULL
,
1106 * Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1107 * Only revision 1.13 tested (same for all of the above devices,
1108 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1109 * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
1110 * See also http://martin.wilck.bei.t-online.de/#kecf .
1112 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1115 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1116 US_FL_FIX_INQUIRY
| US_FL_FIX_CAPACITY
),
1119 * Reported by Rauch Wolke <rauchwolke@gmx.net>
1120 * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
1122 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1123 "Simple Tech/Datafab",
1125 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1126 US_FL_IGNORE_RESIDUE
| US_FL_MAX_SECTORS_64
),
1129 * Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1130 * to the USB storage specification in two ways:
1131 * - They tell us they are using transport protocol CBI. In reality they
1132 * are using transport protocol CB.
1133 * - They don't like the INQUIRY command. So we must handle this command
1134 * of the SCSI layer ourselves.
1135 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1136 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1137 * So don't remove the USB_PR_CB override!
1138 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1140 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1143 USB_SC_8070
, USB_PR_CB
, NULL
,
1144 US_FL_NEED_OVERRIDE
| US_FL_FIX_INQUIRY
),
1146 /* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1147 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1149 "EX-N1 DigitalCamera",
1150 USB_SC_8070
, USB_PR_DEVICE
, NULL
, 0),
1152 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1153 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1156 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1159 /* Reported by Luciano Rocha <luciano@eurotux.com> */
1160 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1163 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1164 US_FL_FIX_CAPACITY
),
1166 /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1167 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1170 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1171 US_FL_FIX_CAPACITY
),
1173 /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1174 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1177 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1178 US_FL_FIX_CAPACITY
),
1180 /* Supplied with some Castlewood ORB removable drives */
1181 UNUSUAL_DEV( 0x084b, 0xa001, 0x0000, 0x9999,
1182 "Castlewood Systems",
1183 "USB to SCSI cable",
1184 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
1185 US_FL_SCM_MULT_TARG
),
1188 * Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1189 * Flag will support Bulk devices which use a standards-violating 32-byte
1190 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1191 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1194 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1197 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1201 * Reported by <ttkspam@free.fr>
1202 * The device reports a vendor-specific device class, requiring an
1203 * explicit vendor/product match.
1205 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1208 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
, 0),
1211 * Andrew Lunn <andrew@lunn.ch>
1212 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1214 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1216 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1219 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1220 US_FL_NOT_LOCKABLE
),
1222 UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1224 "PortGear USB-SCSI (Mac USB Dock)",
1225 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
1226 US_FL_SCM_MULT_TARG
),
1228 UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1230 "PortGear USB to SCSI Converter",
1231 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
1232 US_FL_SCM_MULT_TARG
),
1234 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1235 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1238 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1242 * Submitted by Dylan Taft <d13f00l@gmail.com>
1243 * US_FL_IGNORE_RESIDUE Needed
1245 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1247 "Aiptek USB Keychain MP3 Player",
1248 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1249 US_FL_IGNORE_RESIDUE
),
1252 * Entry needed for flags. Moreover, all devices with this ID use
1253 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1254 * One example is "Trumpion Digital Research MYMP3".
1255 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1257 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1259 "t33520 USB Flash Card Controller",
1260 USB_SC_DEVICE
, USB_PR_BULK
, NULL
,
1261 US_FL_NEED_OVERRIDE
),
1264 * Reported by Filippo Bardelli <filibard@libero.it>
1265 * The device reports a subclass of RBC, which is wrong.
1267 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1268 "Trumpion Microelectronics, Inc.",
1269 "33520 USB Digital Voice Recorder",
1270 USB_SC_UFI
, USB_PR_DEVICE
, NULL
,
1273 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1274 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1277 USB_SC_RBC
, USB_PR_BULK
, NULL
,
1281 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1283 "5-in-1 Card Reader",
1284 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1285 US_FL_FIX_CAPACITY
),
1288 * Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1289 * This card reader returns "Illegal Request, Logical Block Address
1290 * Out of Range" for the first READ(10) after a new card is inserted.
1292 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1294 "SD/SDHC Card Reader",
1295 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1296 US_FL_INITIAL_READ10
),
1299 * This Pentax still camera is not conformant
1300 * to the USB storage specification: -
1301 * - It does not like the INQUIRY command. So we must handle this command
1302 * of the SCSI layer ourselves.
1303 * Tested on Rev. 10.00 (0x1000)
1304 * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1306 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1309 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1310 US_FL_FIX_INQUIRY
),
1313 * These are virtual windows driver CDs, which the zd1211rw driver
1314 * automatically converts into WLAN devices.
1316 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1318 "G-220F USB-WLAN Install",
1319 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1320 US_FL_IGNORE_DEVICE
),
1322 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1324 "WL-117 USB-WLAN Install",
1325 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1326 US_FL_IGNORE_DEVICE
),
1329 * Reported by Dan Williams <dcbw@redhat.com>
1330 * Option N.V. mobile broadband modems
1331 * Ignore driver CD mode and force into modem mode by default.
1335 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1338 USB_SC_DEVICE
, USB_PR_DEVICE
, option_ms_init
,
1342 * Reported by F. Aben <f.aben@option.com>
1343 * This device (wrongly) has a vendor-specific device descriptor.
1344 * The entry is needed so usb-storage can bind to it's mass-storage
1345 * interface as an interface driver
1347 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1350 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1354 * Reported by Jan Dumon <j.dumon@option.com>
1355 * These devices (wrongly) have a vendor-specific device descriptor.
1356 * These entries are needed so usb-storage can bind to their mass-storage
1357 * interface as an interface driver
1359 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1362 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1365 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1368 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1371 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1374 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1377 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1380 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1383 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1386 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1389 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1392 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1395 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1398 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1401 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1404 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1407 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1410 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1413 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1416 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1419 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1422 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1425 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1428 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1431 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1434 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1437 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1440 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1443 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1446 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1449 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1450 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1453 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
, US_FL_WRITE_CACHE
),
1455 /* Reported by Ben Efros <ben@pc-doctor.com> */
1456 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1459 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1462 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1465 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1469 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1470 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1472 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1475 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1478 /* Submitted by Joris Struyve <joris@struyve.be> */
1479 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1482 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1486 * Entry for Jenoptik JD 5200z3
1488 * email: car.busse@gmx.de
1490 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1493 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
, US_FL_FIX_INQUIRY
),
1495 /* Reported by Jason Johnston <killean@shaw.ca> */
1496 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1497 "Macpower Technology Co.LTD.",
1498 "USB 2.0 3.5\" DEVICE",
1499 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1500 US_FL_FIX_CAPACITY
),
1503 * Reported by Lubomir Blaha <tritol@trilogic.cz>
1504 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1505 * works for me. Can anybody correct these values? (I able to test corrected
1508 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1511 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1512 US_FL_FIX_INQUIRY
),
1515 * Reported by Edward Chapman (taken from linux-usb mailing list)
1516 * Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive
1518 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1521 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1522 US_FL_IGNORE_RESIDUE
),
1526 * Patch by Stephan Walter <stephan.walter@epfl.ch>
1527 * I don't know why, but it works...
1529 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1532 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1533 US_FL_IGNORE_RESIDUE
),
1535 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1536 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1539 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1540 US_FL_IGNORE_RESIDUE
),
1542 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1543 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1546 USB_SC_DEVICE
, USB_PR_BULK
, NULL
,
1547 US_FL_NEED_OVERRIDE
),
1549 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1550 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1553 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1554 US_FL_FIX_INQUIRY
),
1557 * Submitted by Daniel Drake <dsd@gentoo.org>
1558 * Reported by dayul on the Gentoo Forums
1560 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1563 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1564 US_FL_IGNORE_RESIDUE
),
1566 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1567 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1570 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1571 US_FL_IGNORE_RESIDUE
),
1574 * Reported by Benjamin Schiller <sbenni@gmx.de>
1575 * It is also sold by Easylite as DJ 20
1577 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1580 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1581 US_FL_IGNORE_RESIDUE
| US_FL_GO_SLOW
| US_FL_MAX_SECTORS_64
),
1584 * Patch by Leonid Petrov mail at lpetrov.net
1585 * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1586 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1587 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1589 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1592 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1593 US_FL_IGNORE_RESIDUE
),
1596 * David Kuehling <dvdkhlng@gmx.de>:
1597 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1598 * errors when trying to write.
1600 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1603 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1604 US_FL_IGNORE_RESIDUE
),
1606 /* Submitted by Nick Holloway */
1607 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1610 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1611 US_FL_FIX_CAPACITY
),
1613 /* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
1614 UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1615 "Research In Motion",
1616 "BlackBerry Bold 9000",
1617 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1618 US_FL_MAX_SECTORS_64
),
1620 /* Reported by Michael Stattmann <michael@stattmann.com> */
1621 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1623 "V800-Vodafone 802",
1624 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1625 US_FL_NO_WP_DETECT
),
1627 /* Reported by The Solutor <thesolutor@gmail.com> */
1628 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1631 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1632 US_FL_IGNORE_DEVICE
),
1635 * Reported by Jan Mate <mate@fiit.stuba.sk>
1636 * and by Soeren Sonnenburg <kernel@nn7.de>
1638 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1641 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1642 US_FL_FIX_CAPACITY
| US_FL_IGNORE_RESIDUE
),
1644 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1645 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1648 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1649 US_FL_IGNORE_RESIDUE
| US_FL_FIX_CAPACITY
),
1651 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1652 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1655 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1656 US_FL_IGNORE_RESIDUE
),
1659 * Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1660 * Tested on hardware version 1.10.
1661 * Entry is needed only for the initializer function override.
1662 * Devices with bcd > 110 seem to not need it while those
1663 * with bcd < 110 appear to need it.
1665 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1668 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_ucr61s2b_init
,
1671 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1674 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1677 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1678 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1681 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
, US_FL_WRITE_CACHE
),
1684 * Reported by Fabio Venturi <f.venturi@tdnet.it>
1685 * The device reports a vendor-specific bDeviceClass.
1687 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1688 "Actions Semiconductor",
1690 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1694 * Reported by Pascal Terjan <pterjan@mandriva.com>
1695 * Ignore driver CD mode and force into modem mode by default.
1697 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1700 USB_SC_DEVICE
, USB_PR_DEVICE
, option_ms_init
, US_FL_IGNORE_DEVICE
),
1703 * Reported by Kevin Lloyd <linux@sierrawireless.com>
1704 * Entry is needed for the initializer function override,
1705 * which instructs the device to load as a modem
1708 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1711 USB_SC_DEVICE
, USB_PR_DEVICE
, sierra_ms_init
,
1715 * Reported by Jaco Kroon <jaco@kroon.co.za>
1716 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1717 * devices) misbehaves and causes a bunch of invalid I/O errors.
1719 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1721 "DigiTech Mass Storage",
1722 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
1723 US_FL_IGNORE_RESIDUE
),
1726 * Reported by fangxiaozhi <huananhu@huawei.com>
1727 * This brings the HUAWEI data card devices into multi-port mode
1729 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1732 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1734 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1737 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1739 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1742 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1744 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1747 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1749 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1752 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1754 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1757 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1759 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1762 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1764 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1767 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1769 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1772 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1774 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1777 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1779 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1782 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1784 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1787 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1789 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1792 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1794 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1797 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1799 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1802 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1804 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1807 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1809 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1812 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1814 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1817 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1819 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1822 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1824 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1827 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1829 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1832 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1834 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1837 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1839 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1842 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1844 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1847 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1849 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1852 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1854 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1857 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1859 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1862 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1864 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1867 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1869 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1872 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1874 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1877 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1879 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1882 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1884 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1887 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1889 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1892 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1894 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1897 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1899 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1902 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1904 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1907 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1909 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1912 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1914 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1917 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1919 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1922 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1924 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1927 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1929 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1932 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1934 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1937 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1939 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1942 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1944 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1947 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1949 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1952 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1954 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1957 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1959 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1962 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1964 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1967 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1969 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1972 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1974 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1977 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1979 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1982 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1984 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
1987 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1989 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
1992 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1994 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
1997 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
1999 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
2002 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2004 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
2007 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2009 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
2012 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2014 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
2017 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2019 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
2022 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2024 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
2027 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2029 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
2032 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2034 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
2037 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2039 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
2042 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2044 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
2047 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2049 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
2052 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2054 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
2057 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_huawei_e220_init
,
2060 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
2061 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
2064 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2067 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
2068 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
2071 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2072 US_FL_IGNORE_RESIDUE
),
2075 * Reported by Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
2076 * The INIC-3619 bridge is used in the StarTech SLSODDU33B
2077 * SATA-USB enclosure for slimline optical drives.
2079 * The quirk enables MakeMKV to properly exchange keys with
2080 * an installed BD drive.
2082 UNUSUAL_DEV( 0x13fd, 0x3609, 0x0209, 0x0209,
2083 "Initio Corporation",
2085 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2086 US_FL_IGNORE_RESIDUE
),
2088 /* Reported by Qinglin Ye <yestyle@gmail.com> */
2089 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
2092 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2093 US_FL_BULK_IGNORE_TAG
),
2095 /* Reported by Francesco Foresti <frafore@tiscali.it> */
2096 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
2099 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2100 US_FL_IGNORE_RESIDUE
),
2102 /* Reported by Michael Büsch <m@bues.ch> */
2103 UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0116,
2105 "USB to ATA/ATAPI Bridge",
2106 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2110 * Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2111 * JMicron responds to USN and several other SCSI ioctls with a
2112 * residue that causes subsequent I/O requests to fail. */
2113 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
2115 "USB to ATA/ATAPI Bridge",
2116 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2117 US_FL_IGNORE_RESIDUE
| US_FL_SANE_SENSE
),
2119 /* Reported by Dmitry Nezhevenko <dion@dion.org.ua> */
2120 UNUSUAL_DEV( 0x152d, 0x2566, 0x0114, 0x0114,
2122 "USB to ATA/ATAPI Bridge",
2123 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2126 /* Reported-by George Cherian <george.cherian@cavium.com> */
2127 UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
2130 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2131 US_FL_NO_REPORT_OPCODES
),
2134 * Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
2135 * and Mac USB Dock USB-SCSI */
2136 UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
2137 "Entrega Technologies",
2138 "USB to SCSI Converter",
2139 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
2140 US_FL_SCM_MULT_TARG
),
2143 * Reported by Robert Schedel <r.schedel@yahoo.de>
2144 * Note: this is a 'super top' device like the above 14cd/6600 device
2146 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
2149 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2150 US_FL_IGNORE_RESIDUE
),
2152 /* Reported by Oliver Neukum <oneukum@suse.com> */
2153 UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
2156 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2159 /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
2160 UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
2163 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2164 US_FL_BULK_IGNORE_TAG
| US_FL_MAX_SECTORS_64
),
2166 UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2167 "Ariston Technologies",
2168 "iConnect USB to SCSI adapter",
2169 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
2170 US_FL_SCM_MULT_TARG
),
2173 * Reported by Hans de Goede <hdegoede@redhat.com>
2174 * These Appotech controllers are found in Picture Frames, they provide a
2175 * (buggy) emulation of a cdrom drive which contains the windows software
2176 * Uploading of pictures happens over the corresponding /dev/sg device.
2178 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2181 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2183 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2186 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2188 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2191 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2192 US_FL_NO_READ_DISC_INFO
),
2195 * Reported by Oliver Neukum <oneukum@suse.com>
2196 * This device morphes spontaneously into another device if the access
2197 * pattern of Windows isn't followed. Thus writable media would be dirty
2198 * if the initial instance is used. So the device is limited to its
2200 * And yes, the concept that BCD goes up to 9 is not heeded
2202 UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
2204 "ZTE WCDMA Technologies MSM",
2205 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2209 * Reported by Sven Geggus <sven-usbst@geggus.net>
2210 * This encrypted pen drive returns bogus data for the initial READ(10).
2212 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2215 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2216 US_FL_INITIAL_READ10
),
2219 * Reported by Hans de Goede <hdegoede@redhat.com>
2220 * These are mini projectors using USB for both power and video data transport
2221 * The usb-storage interface is a virtual windows driver CD, which the gm12u320
2222 * driver automatically converts into framebuffer & kms dri device nodes.
2224 UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
2225 "Grain-media Technology Corp.",
2226 "USB3.0 Device GM12U320",
2227 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2228 US_FL_IGNORE_DEVICE
),
2231 * Patch by Richard Schütz <r.schtz@t-online.de>
2232 * This external hard drive enclosure uses a JMicron chip which
2233 * needs the US_FL_IGNORE_RESIDUE flag to work properly.
2235 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2236 "TrekStor GmbH & Co. KG",
2237 "DataStation maxi g.u",
2238 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2239 US_FL_IGNORE_RESIDUE
| US_FL_SANE_SENSE
),
2241 /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
2242 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2245 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2246 US_FL_BULK_IGNORE_TAG
| US_FL_MAX_SECTORS_64
),
2248 /* Supplied with some Castlewood ORB removable drives */
2249 UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
2250 "Double-H Technology",
2251 "USB to SCSI Intelligent Cable",
2252 USB_SC_DEVICE
, USB_PR_DEVICE
, usb_stor_euscsi_init
,
2253 US_FL_SCM_MULT_TARG
),
2255 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2258 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2259 US_FL_FIX_CAPACITY
),
2262 * patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2263 * and Renato Perini <rperini@email.it>
2265 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2268 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2269 US_FL_FIX_CAPACITY
| US_FL_IGNORE_RESIDUE
),
2272 * Patch by Constantin Baranov <const@tltsu.ru>
2273 * Report by Andreas Koenecke.
2276 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2279 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2280 US_FL_FIX_INQUIRY
| US_FL_FIX_CAPACITY
| US_FL_BULK_IGNORE_TAG
),
2282 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2283 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2286 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2290 * Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2293 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2295 "Mio DigiWalker USB Sync",
2296 USB_SC_DEVICE
,USB_PR_DEVICE
,NULL
,
2297 US_FL_MAX_SECTORS_64
),
2299 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2300 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2303 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2304 US_FL_IGNORE_RESIDUE
),
2306 /* Reported by Sergey Pinaev <dfo@antex.ru> */
2307 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2310 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2311 US_FL_MAX_SECTORS_64
),
2314 * David Härdeman <david@2gen.com>
2315 * The key makes the SCSI stack print confusing (but harmless) messages
2317 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2320 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
, US_FL_NOT_LOCKABLE
),
2323 * Nick Bowler <nbowler@elliptictech.com>
2324 * SCSI stack spams (otherwise harmless) error messages.
2326 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2327 "Keil Software, Inc.",
2329 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2330 US_FL_NOT_LOCKABLE
),
2332 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2333 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2336 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
,
2337 US_FL_CAPACITY_HEURISTICS
),
2339 /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2340 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2342 "Digital MP3 Audio Player",
2343 USB_SC_DEVICE
, USB_PR_DEVICE
, NULL
, US_FL_NOT_LOCKABLE
),
2345 /* Unusual uas devices */
2346 #if IS_ENABLED(CONFIG_USB_UAS)
2347 #include "unusual_uas.h"
2350 /* Control/Bulk transport for all SubClass values */
2351 USUAL_DEV(USB_SC_RBC
, USB_PR_CB
),
2352 USUAL_DEV(USB_SC_8020
, USB_PR_CB
),
2353 USUAL_DEV(USB_SC_QIC
, USB_PR_CB
),
2354 USUAL_DEV(USB_SC_UFI
, USB_PR_CB
),
2355 USUAL_DEV(USB_SC_8070
, USB_PR_CB
),
2356 USUAL_DEV(USB_SC_SCSI
, USB_PR_CB
),
2358 /* Control/Bulk/Interrupt transport for all SubClass values */
2359 USUAL_DEV(USB_SC_RBC
, USB_PR_CBI
),
2360 USUAL_DEV(USB_SC_8020
, USB_PR_CBI
),
2361 USUAL_DEV(USB_SC_QIC
, USB_PR_CBI
),
2362 USUAL_DEV(USB_SC_UFI
, USB_PR_CBI
),
2363 USUAL_DEV(USB_SC_8070
, USB_PR_CBI
),
2364 USUAL_DEV(USB_SC_SCSI
, USB_PR_CBI
),
2366 /* Bulk-only transport for all SubClass values */
2367 USUAL_DEV(USB_SC_RBC
, USB_PR_BULK
),
2368 USUAL_DEV(USB_SC_8020
, USB_PR_BULK
),
2369 USUAL_DEV(USB_SC_QIC
, USB_PR_BULK
),
2370 USUAL_DEV(USB_SC_UFI
, USB_PR_BULK
),
2371 USUAL_DEV(USB_SC_8070
, USB_PR_BULK
),
2372 USUAL_DEV(USB_SC_SCSI
, USB_PR_BULK
),