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 /* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
105 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
106 * for USB floppies that need the SINGLE_LUN enforcement.
108 UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
111 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
114 /* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
115 UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
116 "VIA Technologies Inc.",
117 "USB 2.0 Card Reader",
118 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
119 US_FL_IGNORE_RESIDUE ),
121 /* Deduced by Jonathan Woithe <jwoithe@just42.net>
122 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
123 * always fails and confuses drive.
125 UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
128 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
131 /* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
132 UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
133 "Samsung Info. Systems America, Inc.",
135 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
136 US_FL_IGNORE_RESIDUE ),
138 /* Reported by Orgad Shaneh <orgads@gmail.com> */
139 UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
140 "Samsung", "MP3 Player",
141 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
142 US_FL_IGNORE_RESIDUE ),
144 /* Reported by Christian Leber <christian@leber.de> */
145 UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
148 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
149 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
151 /* Reported by Stefan Werner <dustbln@gmx.de> */
152 UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
155 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
156 US_FL_IGNORE_RESIDUE ),
158 /* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
159 UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
160 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
162 US_FL_IGNORE_RESIDUE ),
164 /* Reported by Andrew Nayenko <relan@bk.ru>
165 * Updated for new firmware by Phillip Potter <phillipinda@hotmail.com> */
166 UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
169 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
170 US_FL_MAX_SECTORS_64 ),
172 /* Reported by Mario Rettig <mariorettig@web.de> */
173 UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
176 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
177 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
179 /* Reported by <honkkis@gmail.com> */
180 UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
183 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
184 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
186 /* Reported by Jon Hart <Jon.Hart@web.de> */
187 UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
190 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
191 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
193 /* Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
194 * Einar Th. Einarsson <einarthered@gmail.com> */
195 UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
198 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
199 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
201 /* Reported by Jiri Slaby <jirislaby@gmail.com> and
202 * Rene C. Castberg <Rene@Castberg.org> */
203 UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
206 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
207 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
209 /* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
210 UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
213 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
214 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
216 /* Reported by Bardur Arantsson <bardur@scientician.net> */
217 UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
220 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
221 US_FL_MAX_SECTORS_64 ),
223 /* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
224 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
227 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
228 US_FL_MAX_SECTORS_64 ),
230 /* Reported by Alex Corcoles <alex@corcoles.net> */
231 UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
234 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
235 US_FL_MAX_SECTORS_64 ),
238 UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
241 USB_SC_SCSI, USB_PR_CB, NULL,
245 /* Patch submitted by Daniel Drake <dsd@gentoo.org>
246 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
247 UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
250 USB_SC_DEVICE, USB_PR_BULK, NULL,
251 US_FL_NEED_OVERRIDE ),
254 * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
255 * The key does not actually break, but it returns zero sense which
256 * makes our SCSI stack to print confusing messages.
258 UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
259 "USBest Technology", /* sold by Transcend */
260 "USB Mass Storage Device",
261 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
264 * Bohdan Linda <bohdan.linda@gmail.com>
265 * 1GB USB sticks MyFlash High Speed. I have restricted
266 * the revision to my model only
268 UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
271 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
272 US_FL_NOT_LOCKABLE ),
274 /* Reported by Tamas Kerecsen <kerecsen@bigfoot.com>
275 * Obviously the PROM has not been customized by the VAR;
276 * the Vendor and Product string descriptors are:
277 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
278 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
280 UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
283 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
284 US_FL_MAX_SECTORS_64 ),
287 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
288 * Reported by Pete Zaitcev <zaitcev@redhat.com>
289 * This device chokes on both version of MODE SENSE which we have, so
290 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
292 UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
295 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
298 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
299 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
302 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
304 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
305 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
308 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
310 /* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
311 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
314 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
316 /* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
317 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
320 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
321 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
323 /* Reported by Paul Stewart <stewart@wetlogic.net>
324 * This entry is needed because the device reports Sub=ff */
325 UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
327 "DVD-CAM DZ-MV100A Camcorder",
328 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
331 * Reported by Manuel Fombuena <mfombuena@ya.com> and
332 * Frank Copeland <fjc@thingy.apana.org.au> */
333 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
334 "Tekom Technologies, Inc",
336 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
337 US_FL_IGNORE_RESIDUE ),
339 /* Patch for Nikon coolpix 2000
340 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/
341 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
344 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
345 US_FL_NOT_LOCKABLE ),
347 /* Reported by Doug Maxey (dwm@austin.ibm.com) */
348 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
351 USB_SC_DEVICE, USB_PR_CB, NULL,
352 US_FL_MAX_SECTORS_MIN),
354 /* Reported by Simon Levitt <simon@whattf.com>
355 * This entry needs Sub and Proto fields */
356 UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
359 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
361 /* Reported by Khalid Aziz <khalid@gonehiking.org>
362 * This entry is needed because the device reports Sub=ff */
363 UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
366 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
368 /* Not sure who reported this originally but
369 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
371 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
374 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
376 /* Reported by Ondrej Zary <linux@rainbow-software.org>
377 * The device reports one sector more and breaks when that sector is accessed
379 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
382 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
385 /* Reported by Kriston Fincher <kriston@airmail.net>
386 * Patch submitted by Sean Millichamp <sean@bruenor.org>
387 * This is to support the Panasonic PalmCam PV-SD4090
388 * This entry is needed because the device reports Sub=ff
390 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
393 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
395 /* From Yukihiro Nakai, via zaitcev@yahoo.com.
396 * This is needed for CB instead of CBI */
397 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
400 USB_SC_8070, USB_PR_CB, NULL, 0),
402 /* Reported by Adriaan Penning <a.penning@luon.net> */
403 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
406 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
407 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
409 /* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
410 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
413 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
414 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
416 /* Most of the following entries were developed with the help of
417 * Shuttle/SCM directly.
419 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
422 USB_SC_8020, USB_PR_CB, NULL, 0),
424 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
427 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
428 US_FL_SCM_MULT_TARG ),
431 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
433 "eUSB CompactFlash Adapter",
434 USB_SC_SCSI, USB_PR_CB, NULL,
438 /* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
439 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
440 "SCM Microsystems Inc.",
442 USB_SC_SCSI, USB_PR_CB, NULL,
445 /* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
446 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
449 USB_SC_SCSI, USB_PR_DEVICE, NULL,
452 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
455 USB_SC_SCSI, USB_PR_CB, NULL,
458 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
460 "eUSB ATA/ATAPI Adapter",
461 USB_SC_8020, USB_PR_CB, NULL, 0),
463 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
465 "eUSB CompactFlash Adapter",
466 USB_SC_8020, USB_PR_CB, NULL, 0),
468 UNUSUAL_DEV( 0x04e6, 0x000B, 0x0100, 0x0100,
471 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
472 US_FL_SCM_MULT_TARG ),
474 UNUSUAL_DEV( 0x04e6, 0x000C, 0x0100, 0x0100,
477 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
478 US_FL_SCM_MULT_TARG ),
480 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
483 USB_SC_8020, USB_PR_CB, NULL, 0),
485 /* Reported by Dmitry Khlystov <adminimus@gmail.com> */
486 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
489 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
490 US_FL_MAX_SECTORS_64),
492 /* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
493 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
496 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
497 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
499 /* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
500 UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
503 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
504 US_FL_MAX_SECTORS_64),
506 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
507 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
508 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
510 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
513 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
516 /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
517 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
520 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
521 US_FL_SCM_MULT_TARG ),
523 /* Iomega Clik! Drive
524 * Reported by David Chatenay <dchatenay@hotmail.com>
525 * The reason this is needed is not fully known.
527 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
530 USB_SC_8070, USB_PR_DEVICE, NULL,
533 /* Added by Alan Stern <stern@rowland.harvard.edu> */
534 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
536 "File-backed Storage Gadget",
537 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
540 /* Yakumo Mega Image 37
541 * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
542 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
543 "Tekom Technologies, Inc",
545 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
546 US_FL_IGNORE_RESIDUE ),
548 /* Another Yakumo camera.
549 * Reported by Michele Alzetta <michele.alzetta@aliceposta.it> */
550 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
551 "Tekom Technologies, Inc",
553 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
554 US_FL_IGNORE_RESIDUE ),
556 /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
557 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
558 "Tekom Technologies, Inc",
560 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
561 US_FL_IGNORE_RESIDUE ),
563 /* Yakumo Mega Image 47
564 * Reported by Bjoern Paetzel <kolrabi@kolrabi.de> */
565 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
566 "Tekom Technologies, Inc",
568 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
569 US_FL_IGNORE_RESIDUE ),
571 /* Reported by Paul Ortyl <ortylp@3miasto.net>
572 * Note that it's similar to the device above, only different prodID */
573 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
574 "Tekom Technologies, Inc",
576 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
577 US_FL_IGNORE_RESIDUE ),
579 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
581 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
582 USB_SC_SCSI, USB_PR_DEVICE, NULL,
583 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
585 /* Submitted by Lars Jacob <jacob.lars@googlemail.com>
586 * This entry is needed because the device reports Sub=ff */
587 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
590 USB_SC_8070, USB_PR_DEVICE, NULL,
594 /* Reported by wim@geeks.nl */
595 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
597 "Memorystick NW-MS7",
598 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
601 /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
602 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
605 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
608 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
610 "Memorystick MSAC-US1",
611 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
614 /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
615 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
618 USB_SC_SCSI, USB_PR_DEVICE, NULL,
621 /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
622 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
625 USB_SC_UFI, USB_PR_DEVICE, NULL,
628 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
630 "Memorystick MSC-U01N",
631 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
634 /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
635 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
637 "PEG N760c Memorystick",
638 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
641 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
643 "Memorystick MSC-U03",
644 USB_SC_UFI, USB_PR_CB, NULL,
647 /* Submitted by Nathan Babb <nathan@lexi.com> */
648 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
651 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
654 /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
655 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
658 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
661 /* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
662 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
665 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
668 /* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
669 UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
671 "MicroVault Flash Drive",
672 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
673 US_FL_NO_READ_CAPACITY_16 ),
675 /* floppy reports multiple luns */
676 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
679 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
682 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
683 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
686 USB_SC_DEVICE, USB_PR_CB, NULL,
689 /* Reported by Johann Cardon <johann.cardon@free.fr>
690 * This entry is needed only because the device reports
691 * bInterfaceClass = 0xff (vendor-specific)
693 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
696 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
698 /* Reported by RTE <raszilki@yandex.ru> */
699 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
702 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
703 US_FL_MAX_SECTORS_64 ),
705 /* Fabrizio Fellini <fello@libero.it> */
706 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
708 "Digital Camera EX-20 DSC",
709 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
711 /* Reported by Andre Welter <a.r.welter@gmx.de>
712 * This antique device predates the release of the Bulk-only Transport
713 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
714 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
715 * us from sending the request.
717 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
720 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
723 /* Reported by <Hendryk.Pfeiffer@gmx.de> */
724 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
727 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
730 /* Submitted by Joel Bourquard <numlock@freesurf.ch>
731 * Some versions of this device need the SubClass and Protocol overrides
732 * while others don't.
734 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
736 "PyroGate External CD-ROM Enclosure (FCD-523)",
737 USB_SC_SCSI, USB_PR_BULK, NULL,
738 US_FL_NEED_OVERRIDE ),
740 /* Submitted by Sven Anderson <sven-linux@anderson.de>
741 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
742 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
743 * to change with firmware updates, I changed the range to maximum for all
746 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
749 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
750 US_FL_FIX_CAPACITY ),
752 /* Reported by Avi Kivity <avi@argo.co.il> */
753 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
756 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
757 US_FL_FIX_CAPACITY ),
759 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
762 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
763 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
765 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
768 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
769 US_FL_FIX_CAPACITY ),
772 * Reported by Tyson Vinson <lornoss@gmail.com>
773 * This particular productId is the iPod Nano
775 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
778 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
779 US_FL_FIX_CAPACITY ),
781 /* Reported by Dan Williams <dcbw@redhat.com>
782 * Option N.V. mobile broadband modems
783 * Ignore driver CD mode and force into modem mode by default.
786 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
787 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
790 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
793 /* Reported by Blake Matheny <bmatheny@purdue.edu> */
794 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
797 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
800 /* The following two entries are for a Genesys USB to IDE
801 * converter chip, but it changes its ProductId depending
802 * on whether or not a disk or an optical device is enclosed
803 * They were originally reported by Alexander Oltu
804 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
807 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
808 * <phil@ipom.com> as these flags were made and hard-coded
809 * special-cases were pulled from scsiglue.c.
811 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
813 "USB to IDE Optical",
814 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
815 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
817 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
820 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
821 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
823 /* Reported by Ben Efros <ben@pc-doctor.com> */
824 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
827 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
830 /* Reported by Hanno Boeck <hanno@gmx.de>
831 * Taken from the Lycoris Kernel */
832 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
835 USB_SC_SCSI, USB_PR_BULK, NULL,
838 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
841 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
843 /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
844 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
846 "USBMSC Audio Player",
847 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
848 US_FL_FIX_CAPACITY ),
850 /* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
851 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
852 "Prolific Technology, Inc.",
853 "Prolific Storage Gadget",
854 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
857 /* Reported by Rogerio Brito <rbrito@ime.usp.br> */
858 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
859 "Prolific Technology, Inc.",
860 "Mass Storage Device",
861 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
862 US_FL_NOT_LOCKABLE ),
864 /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
865 /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
866 * Thomas Bartosik <tbartdev@gmx-topmail.de> */
867 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
868 "Prolific Technology Inc.",
869 "Mass Storage Device",
870 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
871 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
873 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
874 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
875 "Prolific Technology Inc.",
876 "ATAPI-6 Bridge Controller",
877 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
878 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
880 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
881 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
884 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
886 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
887 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
890 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
892 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
895 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
897 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
898 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
899 "Thomson Multimedia Inc.",
900 "RCA RD1080 MP3 Player",
901 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
902 US_FL_FIX_CAPACITY ),
904 /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
905 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
908 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
909 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
910 US_FL_NO_READ_CAPACITY_16),
912 /* Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
913 * Support the following product :
914 * "Dane-Elec MediaTouch"
916 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
919 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
920 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
922 /* Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
923 * This USB MP3/AVI player device fails and disconnects if more than 128
924 * sectors (64kB) are read/written in a single command, and may be present
925 * at least in the following products:
926 * "Magnex Digital Video Panel DVP 1800"
927 * "MP4 AIGO 4GB SLOT SD"
928 * "Teclast TL-C260 MP3"
929 * "i.Meizu PMP MP3/MP4"
930 * "Speed MV8 MP4 Audio Player"
932 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
935 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
936 US_FL_MAX_SECTORS_64),
938 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
939 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
942 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
943 US_FL_IGNORE_RESIDUE),
945 /* Submitted by Roman Hodek <roman@hodek.net> */
946 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
948 "ImageMate SDDR-05a",
949 USB_SC_SCSI, USB_PR_CB, NULL,
952 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
953 "SanDisk Corporation",
954 "ImageMate CompactFlash USB",
955 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
956 US_FL_FIX_CAPACITY ),
958 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
961 USB_SC_SCSI, USB_PR_CB, NULL,
964 /* Reported by Eero Volotinen <eero@ping-viini.org> */
965 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
966 "Freecom Technologies",
968 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
971 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
974 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
975 US_FL_SCM_MULT_TARG ),
977 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
980 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
981 US_FL_SCM_MULT_TARG ),
984 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
987 USB_SC_SCSI, USB_PR_CB, NULL,
991 /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
992 * Only revision 1.13 tested (same for all of the above devices,
993 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
994 * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
995 * See also http://martin.wilck.bei.t-online.de/#kecf .
997 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1000 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1001 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1003 /* Reported by Rauch Wolke <rauchwolke@gmx.net>
1004 * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
1006 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1007 "Simple Tech/Datafab",
1009 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1010 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1012 /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1013 * to the USB storage specification in two ways:
1014 * - They tell us they are using transport protocol CBI. In reality they
1015 * are using transport protocol CB.
1016 * - They don't like the INQUIRY command. So we must handle this command
1017 * of the SCSI layer ourselves.
1018 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1019 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1020 * So don't remove the USB_PR_CB override!
1021 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1023 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1026 USB_SC_8070, USB_PR_CB, NULL,
1027 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1029 /* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1030 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1032 "EX-N1 DigitalCamera",
1033 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1035 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1036 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1039 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1042 /* Reported by Luciano Rocha <luciano@eurotux.com> */
1043 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1046 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1047 US_FL_FIX_CAPACITY),
1049 /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1050 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1053 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1054 US_FL_FIX_CAPACITY),
1056 /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1057 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1060 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1061 US_FL_FIX_CAPACITY),
1063 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1064 * Flag will support Bulk devices which use a standards-violating 32-byte
1065 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1066 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1069 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1072 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1075 /* Reported by <ttkspam@free.fr>
1076 * The device reports a vendor-specific device class, requiring an
1077 * explicit vendor/product match.
1079 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1082 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1084 /* Andrew Lunn <andrew@lunn.ch>
1085 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1087 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1089 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1092 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1093 US_FL_NOT_LOCKABLE),
1095 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1096 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1099 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1102 /* Submitted by Dylan Taft <d13f00l@gmail.com>
1103 * US_FL_IGNORE_RESIDUE Needed
1105 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1107 "Aiptek USB Keychain MP3 Player",
1108 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1109 US_FL_IGNORE_RESIDUE),
1111 /* Entry needed for flags. Moreover, all devices with this ID use
1112 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1113 * One example is "Trumpion Digital Research MYMP3".
1114 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1116 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1118 "t33520 USB Flash Card Controller",
1119 USB_SC_DEVICE, USB_PR_BULK, NULL,
1120 US_FL_NEED_OVERRIDE ),
1122 /* Reported by Filippo Bardelli <filibard@libero.it>
1123 * The device reports a subclass of RBC, which is wrong.
1125 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1126 "Trumpion Microelectronics, Inc.",
1127 "33520 USB Digital Voice Recorder",
1128 USB_SC_UFI, USB_PR_DEVICE, NULL,
1131 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1132 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1135 USB_SC_RBC, USB_PR_BULK, NULL,
1139 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1141 "5-in-1 Card Reader",
1142 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1143 US_FL_FIX_CAPACITY ),
1145 /* Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1146 * This card reader returns "Illegal Request, Logical Block Address
1147 * Out of Range" for the first READ(10) after a new card is inserted.
1149 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1151 "SD/SDHC Card Reader",
1152 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1153 US_FL_INITIAL_READ10 ),
1155 /* This Pentax still camera is not conformant
1156 * to the USB storage specification: -
1157 * - It does not like the INQUIRY command. So we must handle this command
1158 * of the SCSI layer ourselves.
1159 * Tested on Rev. 10.00 (0x1000)
1160 * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1162 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1165 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1166 US_FL_FIX_INQUIRY ),
1168 /* These are virtual windows driver CDs, which the zd1211rw driver
1169 * automatically converts into WLAN devices. */
1170 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1172 "G-220F USB-WLAN Install",
1173 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1174 US_FL_IGNORE_DEVICE ),
1176 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1178 "WL-117 USB-WLAN Install",
1179 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1180 US_FL_IGNORE_DEVICE ),
1182 /* Reported by Dan Williams <dcbw@redhat.com>
1183 * Option N.V. mobile broadband modems
1184 * Ignore driver CD mode and force into modem mode by default.
1188 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1191 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1194 /* Reported by F. Aben <f.aben@option.com>
1195 * This device (wrongly) has a vendor-specific device descriptor.
1196 * The entry is needed so usb-storage can bind to it's mass-storage
1197 * interface as an interface driver */
1198 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1201 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1204 /* Reported by Jan Dumon <j.dumon@option.com>
1205 * These devices (wrongly) have a vendor-specific device descriptor.
1206 * These entries are needed so usb-storage can bind to their mass-storage
1207 * interface as an interface driver */
1208 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1211 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1214 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1217 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1220 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1223 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1226 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1229 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1232 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1235 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1238 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1241 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1244 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1247 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1250 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1253 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1256 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1259 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1262 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1265 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1268 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1271 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1274 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1277 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1280 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1283 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1286 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1289 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1292 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1295 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1298 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1299 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1302 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1304 /* Reported by Ben Efros <ben@pc-doctor.com> */
1305 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1308 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1311 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1314 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1318 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1319 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1321 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1324 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1327 /* Submitted by Joris Struyve <joris@struyve.be> */
1328 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1331 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1335 * Entry for Jenoptik JD 5200z3
1337 * email: car.busse@gmx.de
1339 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1342 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1344 /* Reported by Jason Johnston <killean@shaw.ca> */
1345 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1346 "Macpower Technology Co.LTD.",
1347 "USB 2.0 3.5\" DEVICE",
1348 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1349 US_FL_FIX_CAPACITY),
1351 /* Reported by Lubomir Blaha <tritol@trilogic.cz>
1352 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1353 * works for me. Can anybody correct these values? (I able to test corrected
1356 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1359 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1360 US_FL_FIX_INQUIRY ),
1362 /* Reported by Edward Chapman (taken from linux-usb mailing list)
1363 Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1364 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1367 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1368 US_FL_IGNORE_RESIDUE ),
1371 /* Patch by Stephan Walter <stephan.walter@epfl.ch>
1372 * I don't know why, but it works... */
1373 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1376 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1377 US_FL_IGNORE_RESIDUE ),
1379 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1380 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1383 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1384 US_FL_IGNORE_RESIDUE ),
1386 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1387 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1390 USB_SC_DEVICE, USB_PR_BULK, NULL,
1391 US_FL_NEED_OVERRIDE ),
1393 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1394 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1397 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1398 US_FL_FIX_INQUIRY ),
1400 /* Submitted by Daniel Drake <dsd@gentoo.org>
1401 * Reported by dayul on the Gentoo Forums */
1402 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1405 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1406 US_FL_IGNORE_RESIDUE ),
1408 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1409 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1412 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1413 US_FL_IGNORE_RESIDUE ),
1415 /* Reported by Benjamin Schiller <sbenni@gmx.de>
1416 * It is also sold by Easylite as DJ 20 */
1417 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1420 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1421 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1423 /* Patch by Leonid Petrov mail at lpetrov.net
1424 * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1425 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1426 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1428 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1431 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1432 US_FL_IGNORE_RESIDUE ),
1434 /* David Kuehling <dvdkhlng@gmx.de>:
1435 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1436 * errors when trying to write.
1438 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1441 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1442 US_FL_IGNORE_RESIDUE ),
1444 /* Submitted by Nick Holloway */
1445 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1448 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1449 US_FL_FIX_CAPACITY ),
1451 /* Reported by Michael Stattmann <michael@stattmann.com> */
1452 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1454 "V800-Vodafone 802",
1455 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1456 US_FL_NO_WP_DETECT ),
1458 /* Reported by The Solutor <thesolutor@gmail.com> */
1459 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1462 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1463 US_FL_IGNORE_DEVICE),
1465 /* Reported by Jan Mate <mate@fiit.stuba.sk>
1466 * and by Soeren Sonnenburg <kernel@nn7.de> */
1467 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1470 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1471 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1473 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1474 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1477 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1478 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1480 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1481 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1484 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1485 US_FL_IGNORE_RESIDUE ),
1487 /* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1488 * Tested on hardware version 1.10.
1489 * Entry is needed only for the initializer function override.
1490 * Devices with bcd > 110 seem to not need it while those
1491 * with bcd < 110 appear to need it.
1493 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1496 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1499 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1502 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1505 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1506 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1509 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1511 /* Reported by Fabio Venturi <f.venturi@tdnet.it>
1512 * The device reports a vendor-specific bDeviceClass.
1514 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1515 "Actions Semiconductor",
1517 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1520 /* Reported by Pascal Terjan <pterjan@mandriva.com>
1521 * Ignore driver CD mode and force into modem mode by default.
1523 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1526 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1528 /* Reported by Kevin Lloyd <linux@sierrawireless.com>
1529 * Entry is needed for the initializer function override,
1530 * which instructs the device to load as a modem
1533 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1536 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1539 /* Reported by Jaco Kroon <jaco@kroon.co.za>
1540 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1541 * devices) misbehaves and causes a bunch of invalid I/O errors.
1543 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1545 "DigiTech Mass Storage",
1546 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1547 US_FL_IGNORE_RESIDUE ),
1549 /* Reported by fangxiaozhi <huananhu@huawei.com>
1550 * This brings the HUAWEI data card devices into multi-port mode
1552 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1555 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1557 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1560 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1562 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1565 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1567 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1570 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1572 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1575 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1577 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1580 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1582 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1585 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1587 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1590 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1592 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1595 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1597 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1600 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1602 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1605 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1607 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1610 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1612 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1615 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1617 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1620 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1622 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1625 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1627 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1630 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1632 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1635 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1637 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1640 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1642 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1645 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1647 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1650 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1652 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1655 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1657 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1660 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1662 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1665 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1667 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1670 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1672 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1675 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1677 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1680 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1682 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1685 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1687 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1690 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1692 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1695 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1697 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1700 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1702 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1705 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1707 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1710 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1712 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1715 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1717 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1720 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1722 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1725 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1727 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1730 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1732 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1735 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1737 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1740 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1742 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1745 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1747 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1750 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1752 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1755 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1757 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1760 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1762 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1765 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1767 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1770 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1772 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1775 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1777 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1780 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1782 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1785 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1787 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1790 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1792 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1795 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1797 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1800 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1802 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1805 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1807 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
1810 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1812 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
1815 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1817 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
1820 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1822 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
1825 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1827 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
1830 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1832 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
1835 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1837 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
1840 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1842 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
1845 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1847 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
1850 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1852 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
1855 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1857 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
1860 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1862 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
1865 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1867 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
1870 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1872 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
1875 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1877 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
1880 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1883 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1884 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
1887 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1890 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
1891 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
1894 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1895 US_FL_IGNORE_RESIDUE ),
1897 /* Reported by Qinglin Ye <yestyle@gmail.com> */
1898 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
1901 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1902 US_FL_BULK_IGNORE_TAG ),
1904 /* Reported by Francesco Foresti <frafore@tiscali.it> */
1905 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
1908 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1909 US_FL_IGNORE_RESIDUE ),
1911 /* Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1912 * JMicron responds to USN and several other SCSI ioctls with a
1913 * residue that causes subsequent I/O requests to fail. */
1914 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
1916 "USB to ATA/ATAPI Bridge",
1917 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1918 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1920 /* Reported by Robert Schedel <r.schedel@yahoo.de>
1921 * Note: this is a 'super top' device like the above 14cd/6600 device */
1922 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
1925 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1926 US_FL_IGNORE_RESIDUE ),
1928 /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
1929 UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
1932 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1933 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
1935 /* Reported by Hans de Goede <hdegoede@redhat.com>
1936 * These Appotech controllers are found in Picture Frames, they provide a
1937 * (buggy) emulation of a cdrom drive which contains the windows software
1938 * Uploading of pictures happens over the corresponding /dev/sg device. */
1939 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
1942 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1944 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
1947 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1949 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
1952 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1953 US_FL_NO_READ_DISC_INFO ),
1955 /* Reported by Sven Geggus <sven-usbst@geggus.net>
1956 * This encrypted pen drive returns bogus data for the initial READ(10).
1958 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
1961 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1962 US_FL_INITIAL_READ10 ),
1964 /* Patch by Richard Schütz <r.schtz@t-online.de>
1965 * This external hard drive enclosure uses a JMicron chip which
1966 * needs the US_FL_IGNORE_RESIDUE flag to work properly. */
1967 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
1968 "TrekStor GmbH & Co. KG",
1969 "DataStation maxi g.u",
1970 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1971 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1973 /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
1974 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
1977 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1978 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
1980 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
1983 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1984 US_FL_FIX_CAPACITY),
1986 /* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
1987 * and Renato Perini <rperini@email.it>
1989 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
1992 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1993 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1996 * Patch by Constantin Baranov <const@tltsu.ru>
1997 * Report by Andreas Koenecke.
2000 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2003 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2004 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2006 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2007 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2010 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2013 /* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2016 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2018 "Mio DigiWalker USB Sync",
2019 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2020 US_FL_MAX_SECTORS_64 ),
2022 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2023 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2026 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2027 US_FL_IGNORE_RESIDUE ),
2029 /* Reported by Sergey Pinaev <dfo@antex.ru> */
2030 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2033 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2034 US_FL_MAX_SECTORS_64 ),
2037 * David Härdeman <david@2gen.com>
2038 * The key makes the SCSI stack print confusing (but harmless) messages
2040 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2043 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2046 * Nick Bowler <nbowler@elliptictech.com>
2047 * SCSI stack spams (otherwise harmless) error messages.
2049 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2050 "Keil Software, Inc.",
2052 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2053 US_FL_NOT_LOCKABLE),
2055 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2056 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2059 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2060 US_FL_CAPACITY_HEURISTICS),
2062 /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2063 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2065 "Digital MP3 Audio Player",
2066 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2068 /* Control/Bulk transport for all SubClass values */
2069 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2070 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2071 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2072 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2073 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2074 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2076 /* Control/Bulk/Interrupt transport for all SubClass values */
2077 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2078 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2079 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2080 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2081 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2082 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2084 /* Bulk-only transport for all SubClass values */
2085 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2086 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2087 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2088 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2089 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2090 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),