blob: a6dc2faae85dc7a91089b798401fe5afc0abddc0 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Driver for USB Mass Storage compliant devices
4 * Unusual Devices File
5 *
6 * Current development and maintenance by:
7 * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
8 *
9 * Initial work by:
10 * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
11 */
12
13/*
14 * IMPORTANT NOTE: This file must be included in another file which does
15 * the following thing for it to work:
16 * The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
17 * before this file is included.
18 */
19
20/*
21 * If you edit this file, please try to keep it sorted first by VendorID,
22 * then by ProductID.
23 *
24 * If you want to add an entry for this file, be sure to include the
25 * following information:
26 * - a patch that adds the entry for your device, including your
27 * email address right above the entry (plus maybe a brief
28 * explanation of the reason for the entry),
29 * - a copy of /sys/kernel/debug/usb/devices with your device plugged in
30 * running with this patch.
31 * Send your submission to the USB development list <linux-usb@vger.kernel.org>
32 */
33
34/*
35 * Note: If you add an entry only in order to set the CAPACITY_OK flag,
36 * use the COMPLIANT_DEV macro instead of UNUSUAL_DEV. This is
37 * because such entries mark devices which actually work correctly,
38 * as opposed to devices that do something strangely or wrongly.
39 */
40
41/*
42 * In-kernel mode switching is deprecated. Do not add new devices to
43 * this list for the sole purpose of switching them to a different
44 * mode. Existing userspace solutions are superior.
45 *
46 * New mode switching devices should instead be added to the database
47 * maintained at http://www.draisberghof.de/usb_modeswitch/
48 */
49
50#if !defined(CONFIG_USB_STORAGE_SDDR09) && \
51 !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
52#define NO_SDDR09
53#endif
54
55/* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr> */
56UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
57 "ATMEL",
58 "SND1 Storage",
59 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
60 US_FL_IGNORE_RESIDUE),
61
62/* Reported by Rodolfo Quesada <rquesada@roqz.net> */
63UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
64 "VIA Technologies Inc.",
65 "Mitsumi multi cardreader",
66 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
67 US_FL_IGNORE_RESIDUE ),
68
69UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
70 "HP",
71 "CD-Writer+",
72 USB_SC_8070, USB_PR_CB, NULL, 0),
73
74/* Reported by Ben Efros <ben@pc-doctor.com> */
75UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
76 "HP",
77 "Personal Media Drive",
78 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
79 US_FL_SANE_SENSE ),
80
81/*
82 * Reported by Grant Grundler <grundler@parisc-linux.org>
83 * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
84 */
85UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
86 "HP",
87 "PhotoSmart R707",
88 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
89
90UNUSUAL_DEV( 0x03f3, 0x0001, 0x0000, 0x9999,
91 "Adaptec",
92 "USBConnect 2000",
93 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
94 US_FL_SCM_MULT_TARG ),
95
96/*
97 * Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
98 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
99 * for USB floppies that need the SINGLE_LUN enforcement.
100 */
101UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
102 "NEC",
103 "NEC USB UF000x",
104 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
105 US_FL_SINGLE_LUN ),
106
107/* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
108UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
109 "VIA Technologies Inc.",
110 "USB 2.0 Card Reader",
111 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
112 US_FL_IGNORE_RESIDUE ),
113
114/*
115 * Deduced by Jonathan Woithe <jwoithe@just42.net>
116 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
117 * always fails and confuses drive.
118 */
119UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
120 "Buffalo",
121 "DUB-P40G HDD",
122 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
123 US_FL_FIX_INQUIRY ),
124
125/* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
126UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
127 "Samsung Info. Systems America, Inc.",
128 "MP3 Player",
129 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
130 US_FL_IGNORE_RESIDUE ),
131
132/* Reported by Orgad Shaneh <orgads@gmail.com> */
133UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
134 "Samsung", "MP3 Player",
135 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
136 US_FL_IGNORE_RESIDUE ),
137
138/* Reported by Christian Leber <christian@leber.de> */
139UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
140 "TrekStor",
141 "i.Beat 115 2.0",
142 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
143 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
144
145/* Reported by Stefan Werner <dustbln@gmx.de> */
146UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
147 "TrekStor",
148 "i.Beat Joy 2.0",
149 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
150 US_FL_IGNORE_RESIDUE ),
151
152/* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
153UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
154 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
155 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
156 US_FL_IGNORE_RESIDUE ),
157
158/*
159 * Reported by Andrew Nayenko <relan@bk.ru>
160 * Updated for new firmware by Phillip Potter <phil@philpotter.co.uk>
161 */
162UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
163 "Nokia",
164 "Nokia 6288",
165 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
166 US_FL_MAX_SECTORS_64 ),
167
168/* Reported by Mario Rettig <mariorettig@web.de> */
169UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
170 "Nokia",
171 "Nokia 3250",
172 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
173 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
174
175/* Reported by <honkkis@gmail.com> */
176UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
177 "Nokia",
178 "E70",
179 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
180 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
181
182/* Reported by Jon Hart <Jon.Hart@web.de> */
183UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
184 "Nokia",
185 "E60",
186 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
187 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
188
189/*
190 * Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
191 * Einar Th. Einarsson <einarthered@gmail.com>
192 */
193UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
194 "Nokia",
195 "N91",
196 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
197 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
198
199/*
200 * Reported by Jiri Slaby <jirislaby@gmail.com> and
201 * Rene C. Castberg <Rene@Castberg.org>
202 */
203UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
204 "Nokia",
205 "N80",
206 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
207 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
208
209/* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
210UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
211 "Nokia",
212 "E61",
213 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
214 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
215
216/* Reported by Bardur Arantsson <bardur@scientician.net> */
217UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
218 "Nokia",
219 "6131",
220 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
221 US_FL_MAX_SECTORS_64 ),
222
223/* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
224UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
225 "Nokia",
226 "Nokia 6233",
227 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
228 US_FL_MAX_SECTORS_64 ),
229
230/* Reported by Alex Corcoles <alex@corcoles.net> */
231UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
232 "Nokia",
233 "6234",
234 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
235 US_FL_MAX_SECTORS_64 ),
236
237/* Reported by Daniele Forsi <dforsi@gmail.com> */
238UNUSUAL_DEV( 0x0421, 0x04b9, 0x0350, 0x0350,
239 "Nokia",
240 "5300",
241 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
242 US_FL_MAX_SECTORS_64 ),
243
244/* Patch submitted by Victor A. Santos <victoraur.santos@gmail.com> */
245UNUSUAL_DEV( 0x0421, 0x05af, 0x0742, 0x0742,
246 "Nokia",
247 "305",
248 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
249 US_FL_MAX_SECTORS_64),
250
251/* Patch submitted by Mikhail Zolotaryov <lebon@lebon.org.ua> */
252UNUSUAL_DEV( 0x0421, 0x06aa, 0x1110, 0x1110,
253 "Nokia",
254 "502",
255 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
256 US_FL_MAX_SECTORS_64 ),
257
258/* Added by Lubomir Rintel <lkundrak@v3.sk>, a very fine chap */
259UNUSUAL_DEV( 0x0421, 0x06c2, 0x0000, 0x0406,
260 "Nokia",
261 "Nokia 208",
262 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
263 US_FL_MAX_SECTORS_64 ),
264
265#ifdef NO_SDDR09
266UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
267 "Microtech",
268 "CameraMate",
269 USB_SC_SCSI, USB_PR_CB, NULL,
270 US_FL_SINGLE_LUN ),
271#endif
272
273/*
274 * Patch submitted by Daniel Drake <dsd@gentoo.org>
275 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2
276 */
277UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
278 "Neuros Audio",
279 "USB 2.0 HD 2.5",
280 USB_SC_DEVICE, USB_PR_BULK, NULL,
281 US_FL_NEED_OVERRIDE ),
282
283/*
284 * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
285 * The key does not actually break, but it returns zero sense which
286 * makes our SCSI stack to print confusing messages.
287 */
288UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
289 "USBest Technology", /* sold by Transcend */
290 "USB Mass Storage Device",
291 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
292
293/*
294 * Bohdan Linda <bohdan.linda@gmail.com>
295 * 1GB USB sticks MyFlash High Speed. I have restricted
296 * the revision to my model only
297 */
298UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
299 "USB 2.0",
300 "Flash Disk",
301 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
302 US_FL_NOT_LOCKABLE ),
303
304/*
305 * Reported by Tamas Kerecsen <kerecsen@bigfoot.com>
306 * Obviously the PROM has not been customized by the VAR;
307 * the Vendor and Product string descriptors are:
308 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
309 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
310 */
311UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
312 "Mitac",
313 "GPS",
314 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
315 US_FL_MAX_SECTORS_64 ),
316
317/*
318 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
319 * Reported by Pete Zaitcev <zaitcev@redhat.com>
320 * This device chokes on both version of MODE SENSE which we have, so
321 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
322 */
323UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
324 "AMI",
325 "Virtual Floppy",
326 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
327 US_FL_NO_WP_DETECT),
328
329/* Reported by Egbert Eich <eich@suse.com> */
330UNUSUAL_DEV( 0x0480, 0xd010, 0x0100, 0x9999,
331 "Toshiba",
332 "External USB 3.0",
333 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
334 US_FL_ALWAYS_SYNC),
335
336/* Patch submitted by Philipp Friedrich <philipp@void.at> */
337UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
338 "Kyocera",
339 "Finecam S3x",
340 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
341
342/* Patch submitted by Philipp Friedrich <philipp@void.at> */
343UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
344 "Kyocera",
345 "Finecam S4",
346 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
347
348/* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
349UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
350 "Kyocera",
351 "Finecam S5",
352 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
353
354/* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
355UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
356 "Kyocera",
357 "CONTAX SL300R T*",
358 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
359 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
360
361/*
362 * Reported by Paul Stewart <stewart@wetlogic.net>
363 * This entry is needed because the device reports Sub=ff
364 */
365UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
366 "Hitachi",
367 "DVD-CAM DZ-MV100A Camcorder",
368 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
369
370/*
371 * BENQ DC5330
372 * Reported by Manuel Fombuena <mfombuena@ya.com> and
373 * Frank Copeland <fjc@thingy.apana.org.au>
374 */
375UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
376 "Tekom Technologies, Inc",
377 "300_CAMERA",
378 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
379 US_FL_IGNORE_RESIDUE ),
380
381/*
382 * Patch for Nikon coolpix 2000
383 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>
384 */
385UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
386 "NIKON",
387 "NIKON DSC E2000",
388 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
389 US_FL_NOT_LOCKABLE ),
390
391/* Reported by Doug Maxey (dwm@austin.ibm.com) */
392UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
393 "IBM",
394 "IBM RSA2",
395 USB_SC_DEVICE, USB_PR_CB, NULL,
396 US_FL_MAX_SECTORS_MIN),
397
398/*
399 * Reported by Simon Levitt <simon@whattf.com>
400 * This entry needs Sub and Proto fields
401 */
402UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
403 "Epson",
404 "875DC Storage",
405 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
406
407/*
408 * Reported by Khalid Aziz <khalid@gonehiking.org>
409 * This entry is needed because the device reports Sub=ff
410 */
411UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
412 "Epson",
413 "785EPX Storage",
414 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
415
416/*
417 * Reported by James Buren <braewoods+lkml@braewoods.net>
418 * Virtual ISOs cannot be remounted if ejected while the device is locked
419 * Disable locking to mimic Windows behavior that bypasses the issue
420 */
421UNUSUAL_DEV( 0x04c5, 0x2028, 0x0001, 0x0001,
422 "iODD",
423 "2531/2541",
424 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE),
425
426/*
427 * Not sure who reported this originally but
428 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
429 * flag be added */
430UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
431 "Fujifilm",
432 "FinePix 1400Zoom",
433 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
434
435/*
436 * Reported by Ondrej Zary <linux@zary.sk>
437 * The device reports one sector more and breaks when that sector is accessed
438 * Firmwares older than 2.6c (the latest one and the only that claims Linux
439 * support) have also broken tag handling
440 */
441UNUSUAL_DEV( 0x04ce, 0x0002, 0x0000, 0x026b,
442 "ScanLogic",
443 "SL11R-IDE",
444 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
445 US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
446UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
447 "ScanLogic",
448 "SL11R-IDE",
449 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
450 US_FL_FIX_CAPACITY),
451
452/*
453 * Reported by Kriston Fincher <kriston@airmail.net>
454 * Patch submitted by Sean Millichamp <sean@bruenor.org>
455 * This is to support the Panasonic PalmCam PV-SD4090
456 * This entry is needed because the device reports Sub=ff
457 */
458UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
459 "Panasonic",
460 "LS-120 Camera",
461 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
462
463/*
464 * From Yukihiro Nakai, via zaitcev@yahoo.com.
465 * This is needed for CB instead of CBI
466 */
467UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
468 "Sharp CE-CW05",
469 "CD-R/RW Drive",
470 USB_SC_8070, USB_PR_CB, NULL, 0),
471
472/* Reported by Adriaan Penning <a.penning@luon.net> */
473UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
474 "Panasonic",
475 "DMC-LCx Camera",
476 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
477 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
478
479/* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
480UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
481 "LEICA",
482 "D-LUX Camera",
483 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
484 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
485
486/*
487 * Most of the following entries were developed with the help of
488 * Shuttle/SCM directly.
489 */
490UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
491 "Matshita",
492 "LS-120",
493 USB_SC_8020, USB_PR_CB, NULL, 0),
494
495UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
496 "Shuttle",
497 "eUSCSI Bridge",
498 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
499 US_FL_SCM_MULT_TARG ),
500
501#ifdef NO_SDDR09
502UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
503 "SCM Microsystems",
504 "eUSB CompactFlash Adapter",
505 USB_SC_SCSI, USB_PR_CB, NULL,
506 US_FL_SINGLE_LUN),
507#endif
508
509/* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
510UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
511 "SCM Microsystems Inc.",
512 "eUSB MMC Adapter",
513 USB_SC_SCSI, USB_PR_CB, NULL,
514 US_FL_SINGLE_LUN),
515
516/* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
517UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
518 "Shuttle",
519 "eUSB MMC Adapter",
520 USB_SC_SCSI, USB_PR_DEVICE, NULL,
521 US_FL_SINGLE_LUN),
522
523UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
524 "Sony",
525 "Hifd",
526 USB_SC_SCSI, USB_PR_CB, NULL,
527 US_FL_SINGLE_LUN),
528
529UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
530 "Shuttle",
531 "eUSB ATA/ATAPI Adapter",
532 USB_SC_8020, USB_PR_CB, NULL, 0),
533
534UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
535 "Shuttle",
536 "eUSB CompactFlash Adapter",
537 USB_SC_8020, USB_PR_CB, NULL, 0),
538
539UNUSUAL_DEV( 0x04e6, 0x000b, 0x0100, 0x0100,
540 "Shuttle",
541 "eUSCSI Bridge",
542 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
543 US_FL_SCM_MULT_TARG ),
544
545UNUSUAL_DEV( 0x04e6, 0x000c, 0x0100, 0x0100,
546 "Shuttle",
547 "eUSCSI Bridge",
548 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
549 US_FL_SCM_MULT_TARG ),
550
551UNUSUAL_DEV( 0x04e6, 0x000f, 0x0000, 0x9999,
552 "SCM Microsystems",
553 "eUSB SCSI Adapter (Bus Powered)",
554 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
555 US_FL_SCM_MULT_TARG ),
556
557UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
558 "Shuttle",
559 "CD-RW Device",
560 USB_SC_8020, USB_PR_CB, NULL, 0),
561
562/* Reported by Dmitry Khlystov <adminimus@gmail.com> */
563UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
564 "Samsung",
565 "YP-U3",
566 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
567 US_FL_MAX_SECTORS_64),
568
569/* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
570UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
571 "Samsung",
572 "YP-CP3",
573 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
574 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
575
576/* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
577UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
578 "Samsung",
579 "YP-Z3",
580 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
581 US_FL_MAX_SECTORS_64),
582
583/*
584 * Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
585 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
586 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
587 */
588UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
589 "Kobian Mercury",
590 "Binocam DCB-132",
591 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
592 US_FL_BULK32),
593
594/* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
595UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
596 "Belkin",
597 "USB SCSI Adaptor",
598 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
599 US_FL_SCM_MULT_TARG ),
600
601/*
602 * Iomega Clik! Drive
603 * Reported by David Chatenay <dchatenay@hotmail.com>
604 * The reason this is needed is not fully known.
605 */
606UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
607 "Iomega",
608 "USB Clik! 40",
609 USB_SC_8070, USB_PR_DEVICE, NULL,
610 US_FL_FIX_INQUIRY ),
611
612/* Added by Alan Stern <stern@rowland.harvard.edu> */
613COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
614 "Linux",
615 "File-backed Storage Gadget",
616 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
617 US_FL_CAPACITY_OK ),
618
619/*
620 * Yakumo Mega Image 37
621 * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
622UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
623 "Tekom Technologies, Inc",
624 "300_CAMERA",
625 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
626 US_FL_IGNORE_RESIDUE ),
627
628/*
629 * Another Yakumo camera.
630 * Reported by Michele Alzetta <michele.alzetta@aliceposta.it>
631 */
632UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
633 "Tekom Technologies, Inc",
634 "300_CAMERA",
635 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
636 US_FL_IGNORE_RESIDUE ),
637
638/* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
639UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
640 "Tekom Technologies, Inc",
641 "300_CAMERA",
642 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
643 US_FL_IGNORE_RESIDUE ),
644
645/*
646 * Yakumo Mega Image 47
647 * Reported by Bjoern Paetzel <kolrabi@kolrabi.de>
648 */
649UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
650 "Tekom Technologies, Inc",
651 "400_CAMERA",
652 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
653 US_FL_IGNORE_RESIDUE ),
654
655/*
656 * Reported by Paul Ortyl <ortylp@3miasto.net>
657 * Note that it's similar to the device above, only different prodID
658 */
659UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
660 "Tekom Technologies, Inc",
661 "400_CAMERA",
662 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
663 US_FL_IGNORE_RESIDUE ),
664
665UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
666 "Sony",
667 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
668 USB_SC_SCSI, USB_PR_DEVICE, NULL,
669 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
670
671/*
672 * Submitted by Lars Jacob <jacob.lars@googlemail.com>
673 * This entry is needed because the device reports Sub=ff
674 */
675UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
676 "Sony",
677 "DSC-T1/T5/H5",
678 USB_SC_8070, USB_PR_DEVICE, NULL,
679 US_FL_SINGLE_LUN ),
680
681
682/* Reported by wim@geeks.nl */
683UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
684 "Sony",
685 "Memorystick NW-MS7",
686 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
687 US_FL_SINGLE_LUN ),
688
689/* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
690UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
691 "Sony",
692 "USB Floppy Drive",
693 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
694 US_FL_SINGLE_LUN ),
695
696UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
697 "Sony",
698 "Memorystick MSAC-US1",
699 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
700 US_FL_SINGLE_LUN ),
701
702/* Submitted by Klaus Mueller <k.mueller@intershop.de> */
703UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
704 "Sony",
705 "Handycam",
706 USB_SC_SCSI, USB_PR_DEVICE, NULL,
707 US_FL_SINGLE_LUN ),
708
709/* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
710UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
711 "Sony",
712 "Handycam HC-85",
713 USB_SC_UFI, USB_PR_DEVICE, NULL,
714 US_FL_SINGLE_LUN ),
715
716UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
717 "Sony",
718 "Memorystick MSC-U01N",
719 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
720 US_FL_SINGLE_LUN ),
721
722/* Submitted by Michal Mlotek <mlotek@foobar.pl> */
723UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
724 "Sony",
725 "PEG N760c Memorystick",
726 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
727 US_FL_FIX_INQUIRY ),
728
729UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
730 "Sony",
731 "Memorystick MSC-U03",
732 USB_SC_UFI, USB_PR_CB, NULL,
733 US_FL_SINGLE_LUN ),
734
735/* Submitted by Nathan Babb <nathan@lexi.com> */
736UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
737 "Sony",
738 "PEG Mass Storage",
739 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
740 US_FL_FIX_INQUIRY ),
741
742/* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
743UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
744 "Sony",
745 "PEG Mass Storage",
746 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
747 US_FL_FIX_INQUIRY ),
748
749/* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
750UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
751 "Sony",
752 "PEG Mass Storage",
753 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
754 US_FL_FIX_INQUIRY ),
755
756/* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
757UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
758 "Sony Corp.",
759 "MicroVault Flash Drive",
760 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
761 US_FL_NO_READ_CAPACITY_16 ),
762
763/* floppy reports multiple luns */
764UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
765 "SAMSUNG",
766 "SFD-321U [FW 0C]",
767 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
768 US_FL_SINGLE_LUN ),
769
770/* We keep this entry to force the transport; firmware 3.00 and later is ok. */
771UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
772 "Y-E Data",
773 "Flashbuster-U",
774 USB_SC_DEVICE, USB_PR_CB, NULL,
775 US_FL_SINGLE_LUN),
776
777/*
778 * Reported by Johann Cardon <johann.cardon@free.fr>
779 * This entry is needed only because the device reports
780 * bInterfaceClass = 0xff (vendor-specific)
781 */
782UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
783 "Y-E Data",
784 "Silicon Media R/W",
785 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
786
787/* Reported by RTE <raszilki@yandex.ru> */
788UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
789 "JetFlash",
790 "TS1GJF2A/120",
791 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
792 US_FL_MAX_SECTORS_64 ),
793
794/* Fabrizio Fellini <fello@libero.it> */
795UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
796 "Fujifilm",
797 "Digital Camera EX-20 DSC",
798 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
799
800/*
801 * Reported by Andre Welter <a.r.welter@gmx.de>
802 * This antique device predates the release of the Bulk-only Transport
803 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
804 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
805 * us from sending the request.
806 */
807UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
808 "Iomega",
809 "ZIP 100",
810 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
811 US_FL_SINGLE_LUN ),
812
813UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
814 "Iomega",
815 "Jaz USB Adapter",
816 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
817 US_FL_SINGLE_LUN ),
818
819/* Reported by <Hendryk.Pfeiffer@gmx.de> */
820UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
821 "LaCie",
822 "DVD+-RW",
823 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
824 US_FL_GO_SLOW ),
825
826/* Reported by Christian Schaller <cschalle@redhat.com> */
827UNUSUAL_DEV( 0x059f, 0x0651, 0x0000, 0x0000,
828 "LaCie",
829 "External HDD",
830 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
831 US_FL_NO_WP_DETECT ),
832
833/*
834 * Submitted by Joel Bourquard <numlock@freesurf.ch>
835 * Some versions of this device need the SubClass and Protocol overrides
836 * while others don't.
837 */
838UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
839 "In-System",
840 "PyroGate External CD-ROM Enclosure (FCD-523)",
841 USB_SC_SCSI, USB_PR_BULK, NULL,
842 US_FL_NEED_OVERRIDE ),
843
844/*
845 * Submitted by Sven Anderson <sven-linux@anderson.de>
846 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
847 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
848 * to change with firmware updates, I changed the range to maximum for all
849 * iPod entries.
850 */
851UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
852 "Apple",
853 "iPod",
854 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
855 US_FL_FIX_CAPACITY ),
856
857/* Reported by Avi Kivity <avi@argo.co.il> */
858UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
859 "Apple",
860 "iPod",
861 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
862 US_FL_FIX_CAPACITY ),
863
864UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
865 "Apple",
866 "iPod",
867 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
868 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
869
870UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
871 "Apple",
872 "iPod",
873 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
874 US_FL_FIX_CAPACITY ),
875
876/*
877 * Reported by Tyson Vinson <lornoss@gmail.com>
878 * This particular productId is the iPod Nano
879 */
880UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
881 "Apple",
882 "iPod",
883 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
884 US_FL_FIX_CAPACITY ),
885
886/*
887 * Reported by Dan Williams <dcbw@redhat.com>
888 * Option N.V. mobile broadband modems
889 * Ignore driver CD mode and force into modem mode by default.
890 */
891
892/* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
893UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
894 "Option N.V.",
895 "Mass Storage",
896 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
897 0),
898
899/* Reported by Blake Matheny <bmatheny@purdue.edu> */
900UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
901 "Lexar",
902 "USB CF Reader",
903 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
904 US_FL_FIX_INQUIRY ),
905
906/*
907 * The following two entries are for a Genesys USB to IDE
908 * converter chip, but it changes its ProductId depending
909 * on whether or not a disk or an optical device is enclosed
910 * They were originally reported by Alexander Oltu
911 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
912 * respectively.
913 *
914 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
915 * <phil@ipom.com> as these flags were made and hard-coded
916 * special-cases were pulled from scsiglue.c.
917 */
918UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
919 "Genesys Logic",
920 "USB to IDE Optical",
921 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
922 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
923
924UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
925 "Genesys Logic",
926 "USB to IDE Disk",
927 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
928 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
929
930/* Reported by Ben Efros <ben@pc-doctor.com> */
931UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
932 "Genesys Logic",
933 "USB to SATA",
934 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
935 US_FL_SANE_SENSE ),
936
937/*
938 * Reported by Hanno Boeck <hanno@gmx.de>
939 * Taken from the Lycoris Kernel
940 */
941UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
942 "Vivitar",
943 "Vivicam 35Xx",
944 USB_SC_SCSI, USB_PR_BULK, NULL,
945 US_FL_FIX_INQUIRY ),
946
947UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
948 "TEAC",
949 "Floppy Drive",
950 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
951
952/* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
953UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
954 "SigmaTel",
955 "USBMSC Audio Player",
956 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
957 US_FL_FIX_CAPACITY ),
958
959/* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
960UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
961 "Prolific Technology, Inc.",
962 "Prolific Storage Gadget",
963 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
964 US_FL_BAD_SENSE ),
965
966/* Reported by Rogerio Brito <rbrito@ime.usp.br> */
967UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
968 "Prolific Technology, Inc.",
969 "Mass Storage Device",
970 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
971 US_FL_NOT_LOCKABLE ),
972
973/* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
974/*
975 * Change to bcdDeviceMin (0x0100 to 0x0001) reported by
976 * Thomas Bartosik <tbartdev@gmx-topmail.de>
977 */
978UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
979 "Prolific Technology Inc.",
980 "Mass Storage Device",
981 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
982 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
983
984/* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
985UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
986 "Prolific Technology Inc.",
987 "ATAPI-6 Bridge Controller",
988 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
989 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
990
991/* Submitted by Benny Sjostrand <benny@hostmobility.com> */
992UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
993 "Minolta",
994 "Dimage F300",
995 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
996
997/* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
998UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
999 "Minolta",
1000 "DIMAGE E223",
1001 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
1002
1003UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
1004 "Hagiwara",
1005 "Flashgate",
1006 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
1007
1008/* Reported by David Hamilton <niftimusmaximus@lycos.com> */
1009UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
1010 "Thomson Multimedia Inc.",
1011 "RCA RD1080 MP3 Player",
1012 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1013 US_FL_FIX_CAPACITY ),
1014
1015UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
1016 "Newer Technology",
1017 "uSCSI",
1018 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1019 US_FL_SCM_MULT_TARG ),
1020
1021/* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
1022UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
1023 "RockChip",
1024 "MP3",
1025 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1026 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
1027 US_FL_NO_READ_CAPACITY_16),
1028
1029/*
1030 * Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
1031 * Support the following product :
1032 * "Dane-Elec MediaTouch"
1033 */
1034UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
1035 "RockChip",
1036 "MTP",
1037 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1038 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
1039
1040/*
1041 * Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
1042 * This USB MP3/AVI player device fails and disconnects if more than 128
1043 * sectors (64kB) are read/written in a single command, and may be present
1044 * at least in the following products:
1045 * "Magnex Digital Video Panel DVP 1800"
1046 * "MP4 AIGO 4GB SLOT SD"
1047 * "Teclast TL-C260 MP3"
1048 * "i.Meizu PMP MP3/MP4"
1049 * "Speed MV8 MP4 Audio Player"
1050 */
1051UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
1052 "RockChip",
1053 "ROCK MP3",
1054 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1055 US_FL_MAX_SECTORS_64),
1056
1057/* Reported by Olivier Blondeau <zeitoun@gmail.com> */
1058UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
1059 "ATMEL",
1060 "SND1 Storage",
1061 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1062 US_FL_IGNORE_RESIDUE),
1063
1064/* Submitted by Roman Hodek <roman@hodek.net> */
1065UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
1066 "Sandisk",
1067 "ImageMate SDDR-05a",
1068 USB_SC_SCSI, USB_PR_CB, NULL,
1069 US_FL_SINGLE_LUN ),
1070
1071UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
1072 "SanDisk Corporation",
1073 "ImageMate CompactFlash USB",
1074 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1075 US_FL_FIX_CAPACITY ),
1076
1077UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
1078 "Sandisk",
1079 "ImageMate SDDR-12",
1080 USB_SC_SCSI, USB_PR_CB, NULL,
1081 US_FL_SINGLE_LUN ),
1082
1083/* Reported by Eero Volotinen <eero@ping-viini.org> */
1084UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
1085 "Freecom Technologies",
1086 "FHD-Classic",
1087 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1088 US_FL_FIX_CAPACITY),
1089
1090UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
1091 "Microtech",
1092 "USB-SCSI-DB25",
1093 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1094 US_FL_SCM_MULT_TARG ),
1095
1096UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
1097 "Microtech",
1098 "USB-SCSI-HD50",
1099 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1100 US_FL_SCM_MULT_TARG ),
1101
1102#ifdef NO_SDDR09
1103UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1104 "Microtech",
1105 "CameraMate",
1106 USB_SC_SCSI, USB_PR_CB, NULL,
1107 US_FL_SINGLE_LUN ),
1108#endif
1109
1110/*
1111 * Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1112 * Only revision 1.13 tested (same for all of the above devices,
1113 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1114 * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
1115 * See also http://martin.wilck.bei.t-online.de/#kecf .
1116 */
1117UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1118 "Datafab",
1119 "KECF-USB",
1120 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1121 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1122
1123/*
1124 * Reported by Rauch Wolke <rauchwolke@gmx.net>
1125 * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
1126 */
1127UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1128 "Simple Tech/Datafab",
1129 "CF+SM Reader",
1130 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1131 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1132
1133/*
1134 * Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1135 * to the USB storage specification in two ways:
1136 * - They tell us they are using transport protocol CBI. In reality they
1137 * are using transport protocol CB.
1138 * - They don't like the INQUIRY command. So we must handle this command
1139 * of the SCSI layer ourselves.
1140 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1141 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1142 * So don't remove the USB_PR_CB override!
1143 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1144 */
1145UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1146 "Casio",
1147 "QV DigitalCamera",
1148 USB_SC_8070, USB_PR_CB, NULL,
1149 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1150
1151/* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1152UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1153 "Casio",
1154 "EX-N1 DigitalCamera",
1155 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1156
1157/* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1158UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1159 "Samsung",
1160 "Digimax 410",
1161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1162 US_FL_FIX_INQUIRY),
1163
1164/* Reported by Luciano Rocha <luciano@eurotux.com> */
1165UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1166 "Argosy",
1167 "Storage",
1168 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1169 US_FL_FIX_CAPACITY),
1170
1171/* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1172UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1173 "Argosy",
1174 "Storage",
1175 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1176 US_FL_FIX_CAPACITY),
1177
1178/* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1179UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1180 "Argosy",
1181 "Storage",
1182 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1183 US_FL_FIX_CAPACITY),
1184
1185/* Supplied with some Castlewood ORB removable drives */
1186UNUSUAL_DEV( 0x084b, 0xa001, 0x0000, 0x9999,
1187 "Castlewood Systems",
1188 "USB to SCSI cable",
1189 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1190 US_FL_SCM_MULT_TARG ),
1191
1192/*
1193 * Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1194 * Flag will support Bulk devices which use a standards-violating 32-byte
1195 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1196 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1197 */
1198
1199UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1200 "Grandtech",
1201 "DC2MEGA",
1202 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1203 US_FL_BULK32),
1204
1205/*
1206 * Reported by <ttkspam@free.fr>
1207 * The device reports a vendor-specific device class, requiring an
1208 * explicit vendor/product match.
1209 */
1210UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1211 "MagicPixel",
1212 "FW_Omega2",
1213 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1214
1215/*
1216 * Andrew Lunn <andrew@lunn.ch>
1217 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1218 * on LUN 4.
1219 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1220 */
1221UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1222 "PanDigital",
1223 "Photo Frame",
1224 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1225 US_FL_NOT_LOCKABLE),
1226
1227UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1228 "Xircom",
1229 "PortGear USB-SCSI (Mac USB Dock)",
1230 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1231 US_FL_SCM_MULT_TARG ),
1232
1233UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1234 "Xircom",
1235 "PortGear USB to SCSI Converter",
1236 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1237 US_FL_SCM_MULT_TARG ),
1238
1239/* Submitted by Jan De Luyck <lkml@kcore.org> */
1240UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1241 "CITIZEN",
1242 "X1DE-USB",
1243 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1244 US_FL_SINGLE_LUN),
1245
1246/*
1247 * Submitted by Dylan Taft <d13f00l@gmail.com>
1248 * US_FL_IGNORE_RESIDUE Needed
1249 */
1250UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1251 "AIPTEK",
1252 "Aiptek USB Keychain MP3 Player",
1253 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1254 US_FL_IGNORE_RESIDUE),
1255
1256/*
1257 * Entry needed for flags. Moreover, all devices with this ID use
1258 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1259 * One example is "Trumpion Digital Research MYMP3".
1260 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1261 */
1262UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1263 "Trumpion",
1264 "t33520 USB Flash Card Controller",
1265 USB_SC_DEVICE, USB_PR_BULK, NULL,
1266 US_FL_NEED_OVERRIDE ),
1267
1268/*
1269 * Reported by Filippo Bardelli <filibard@libero.it>
1270 * The device reports a subclass of RBC, which is wrong.
1271 */
1272UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1273 "Trumpion Microelectronics, Inc.",
1274 "33520 USB Digital Voice Recorder",
1275 USB_SC_UFI, USB_PR_DEVICE, NULL,
1276 0),
1277
1278/* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1279UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1280 "Trumpion",
1281 "MP3 player",
1282 USB_SC_RBC, USB_PR_BULK, NULL,
1283 0 ),
1284
1285/* aeb */
1286UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1287 "Feiya",
1288 "5-in-1 Card Reader",
1289 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1290 US_FL_FIX_CAPACITY ),
1291
1292/*
1293 * Reported by Icenowy Zheng <icenowy@aosc.io>
1294 * The SMI SM3350 USB-UFS bridge controller will enter a wrong state
1295 * that do not process read/write command if a long sense is requested,
1296 * so force to use 18-byte sense.
1297 */
1298UNUSUAL_DEV( 0x090c, 0x3350, 0x0000, 0xffff,
1299 "SMI",
1300 "SM3350 UFS-to-USB-Mass-Storage bridge",
1301 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1302 US_FL_BAD_SENSE ),
1303
1304/*
1305 * Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1306 * This card reader returns "Illegal Request, Logical Block Address
1307 * Out of Range" for the first READ(10) after a new card is inserted.
1308 */
1309UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1310 "Feiya",
1311 "SD/SDHC Card Reader",
1312 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1313 US_FL_INITIAL_READ10 ),
1314
1315/*
1316 * This Pentax still camera is not conformant
1317 * to the USB storage specification: -
1318 * - It does not like the INQUIRY command. So we must handle this command
1319 * of the SCSI layer ourselves.
1320 * Tested on Rev. 10.00 (0x1000)
1321 * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1322 */
1323UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1324 "Pentax",
1325 "Optio 2/3/400",
1326 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1327 US_FL_FIX_INQUIRY ),
1328
1329/*
1330 * These are virtual windows driver CDs, which the zd1211rw driver
1331 * automatically converts into WLAN devices.
1332 */
1333UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1334 "ZyXEL",
1335 "G-220F USB-WLAN Install",
1336 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1337 US_FL_IGNORE_DEVICE ),
1338
1339UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1340 "SiteCom",
1341 "WL-117 USB-WLAN Install",
1342 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1343 US_FL_IGNORE_DEVICE ),
1344
1345/*
1346 * Reported by Dan Williams <dcbw@redhat.com>
1347 * Option N.V. mobile broadband modems
1348 * Ignore driver CD mode and force into modem mode by default.
1349 */
1350
1351/* iCON 225 */
1352UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1353 "Option N.V.",
1354 "Mass Storage",
1355 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1356 0),
1357
1358/*
1359 * Reported by F. Aben <f.aben@option.com>
1360 * This device (wrongly) has a vendor-specific device descriptor.
1361 * The entry is needed so usb-storage can bind to it's mass-storage
1362 * interface as an interface driver
1363 */
1364UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1365 "Option",
1366 "GI 0401 SD-Card",
1367 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1368 0 ),
1369
1370/*
1371 * Reported by Jan Dumon <j.dumon@option.com>
1372 * These devices (wrongly) have a vendor-specific device descriptor.
1373 * These entries are needed so usb-storage can bind to their mass-storage
1374 * interface as an interface driver
1375 */
1376UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1377 "Option",
1378 "GI 0431 SD-Card",
1379 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1380 0 ),
1381
1382UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1383 "Option",
1384 "GI 0451 SD-Card",
1385 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1386 0 ),
1387
1388UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1389 "Option",
1390 "GI 0451 SD-Card",
1391 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1392 0 ),
1393
1394UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1395 "Option",
1396 "GI 0452 SD-Card",
1397 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1398 0 ),
1399
1400UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1401 "Option",
1402 "GI 0461 SD-Card",
1403 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1404 0 ),
1405
1406UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1407 "Option",
1408 "GI 0461 SD-Card",
1409 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1410 0 ),
1411
1412UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1413 "Option",
1414 "GI 033x SD-Card",
1415 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1416 0 ),
1417
1418UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1419 "Option",
1420 "GI 033x SD-Card",
1421 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1422 0 ),
1423
1424UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1425 "Option",
1426 "GI 033x SD-Card",
1427 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1428 0 ),
1429
1430UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1431 "Option",
1432 "GI 070x SD-Card",
1433 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1434 0 ),
1435
1436UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1437 "Option",
1438 "GI 1505 SD-Card",
1439 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1440 0 ),
1441
1442UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1443 "Option",
1444 "GI 1509 SD-Card",
1445 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1446 0 ),
1447
1448UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1449 "Option",
1450 "GI 1515 SD-Card",
1451 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1452 0 ),
1453
1454UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1455 "Option",
1456 "GI 1215 SD-Card",
1457 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1458 0 ),
1459
1460UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1461 "Option",
1462 "GI 1505 SD-Card",
1463 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1464 0 ),
1465
1466/* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1467UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1468 "Seagate",
1469 "Portable HDD",
1470 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1471
1472/* Reported by Ben Efros <ben@pc-doctor.com> */
1473UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1474 "Seagate",
1475 "FreeAgent Pro",
1476 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1477 US_FL_SANE_SENSE ),
1478
1479/* Reported by Kris Lindgren <kris.lindgren@gmail.com> */
1480UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
1481 "Seagate",
1482 "External",
1483 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1484 US_FL_NO_WP_DETECT ),
1485
1486UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1487 "Maxtor",
1488 "USB to SATA",
1489 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1490 US_FL_SANE_SENSE),
1491
1492/*
1493 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1494 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1495 */
1496UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1497 "Unknown",
1498 "Unknown",
1499 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1500 US_FL_SINGLE_LUN ),
1501
1502/* Submitted by Joris Struyve <joris@struyve.be> */
1503UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1504 "Medion",
1505 "MD 7425",
1506 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1507 US_FL_FIX_INQUIRY),
1508
1509/*
1510 * Entry for Jenoptik JD 5200z3
1511 *
1512 * email: car.busse@gmx.de
1513 */
1514UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1515 "Jenoptik",
1516 "JD 5200 z3",
1517 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1518
1519/* Reported by Jason Johnston <killean@shaw.ca> */
1520UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1521 "Macpower Technology Co.LTD.",
1522 "USB 2.0 3.5\" DEVICE",
1523 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1524 US_FL_FIX_CAPACITY),
1525
1526/*
1527 * Reported by Lubomir Blaha <tritol@trilogic.cz>
1528 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1529 * works for me. Can anybody correct these values? (I able to test corrected
1530 * version.)
1531 */
1532UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1533 "Netac",
1534 "USB-CF-Card",
1535 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1536 US_FL_FIX_INQUIRY ),
1537
1538/*
1539 * Reported by Edward Chapman (taken from linux-usb mailing list)
1540 * Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive
1541 */
1542UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1543 "Netac",
1544 "USB Flash Disk",
1545 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1546 US_FL_IGNORE_RESIDUE ),
1547
1548
1549/*
1550 * Patch by Stephan Walter <stephan.walter@epfl.ch>
1551 * I don't know why, but it works...
1552 */
1553UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1554 "WINWARD",
1555 "Music Disk",
1556 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1557 US_FL_IGNORE_RESIDUE ),
1558
1559/* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1560UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1561 "PNP_MP3",
1562 "PNP_MP3 PLAYER",
1563 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1564 US_FL_IGNORE_RESIDUE ),
1565
1566/* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1567UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1568 "Cowon Systems",
1569 "iAUDIO M5",
1570 USB_SC_DEVICE, USB_PR_BULK, NULL,
1571 US_FL_NEED_OVERRIDE ),
1572
1573/* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1574UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1575 "USB",
1576 "Solid state disk",
1577 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1578 US_FL_FIX_INQUIRY ),
1579
1580/*
1581 * Submitted by Daniel Drake <dsd@gentoo.org>
1582 * Reported by dayul on the Gentoo Forums
1583 */
1584UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1585 "Ours Technology",
1586 "Flash Disk",
1587 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1588 US_FL_IGNORE_RESIDUE ),
1589
1590/* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1591UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1592 "USB",
1593 "Flash Disk",
1594 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1595 US_FL_IGNORE_RESIDUE ),
1596
1597/*
1598 * Reported by Benjamin Schiller <sbenni@gmx.de>
1599 * It is also sold by Easylite as DJ 20
1600 */
1601UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1602 "Typhoon",
1603 "My DJ 1820",
1604 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1605 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1606
1607/*
1608 * Patch by Leonid Petrov mail at lpetrov.net
1609 * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1610 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1611 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1612 */
1613UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1614 "Oracom Co., Ltd",
1615 "ORC-200M",
1616 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1617 US_FL_IGNORE_RESIDUE ),
1618
1619/*
1620 * David Kuehling <dvdkhlng@gmx.de>:
1621 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1622 * errors when trying to write.
1623 */
1624UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1625 "C-MEX",
1626 "A-VOX",
1627 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1628 US_FL_IGNORE_RESIDUE ),
1629
1630/* Submitted by Nick Holloway */
1631UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1632 "VTech",
1633 "Kidizoom",
1634 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1635 US_FL_FIX_CAPACITY ),
1636
1637/* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
1638UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1639 "Research In Motion",
1640 "BlackBerry Bold 9000",
1641 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1642 US_FL_MAX_SECTORS_64 ),
1643
1644/* Reported by Michael Stattmann <michael@stattmann.com> */
1645UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1646 "Sony Ericsson",
1647 "V800-Vodafone 802",
1648 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1649 US_FL_NO_WP_DETECT ),
1650
1651/* Reported by The Solutor <thesolutor@gmail.com> */
1652UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1653 "Sony Ericsson",
1654 "MD400",
1655 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1656 US_FL_IGNORE_DEVICE),
1657
1658/*
1659 * Reported by Jan Mate <mate@fiit.stuba.sk>
1660 * and by Soeren Sonnenburg <kernel@nn7.de>
1661 */
1662UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1663 "Sony Ericsson",
1664 "P990i",
1665 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1666 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1667
1668/* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1669UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1670 "Sony Ericsson",
1671 "M600i",
1672 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1673 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1674
1675/* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1676UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1677 "Sony Ericsson",
1678 "P1i",
1679 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1680 US_FL_IGNORE_RESIDUE ),
1681
1682/*
1683 * Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1684 * Tested on hardware version 1.10.
1685 * Entry is needed only for the initializer function override.
1686 * Devices with bcd > 110 seem to not need it while those
1687 * with bcd < 110 appear to need it.
1688 */
1689UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1690 "Desknote",
1691 "UCR-61S2B",
1692 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1693 0 ),
1694
1695UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1696 "Western Digital",
1697 "External HDD",
1698 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1699 US_FL_SANE_SENSE),
1700
1701/* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1702UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1703 "Western Digital",
1704 "My Passport HDD",
1705 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1706
1707/*
1708 * Reported by Fabio Venturi <f.venturi@tdnet.it>
1709 * The device reports a vendor-specific bDeviceClass.
1710 */
1711UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1712 "Actions Semiconductor",
1713 "Mtp device",
1714 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1715 0),
1716
1717/*
1718 * Reported by Pascal Terjan <pterjan@mandriva.com>
1719 * Ignore driver CD mode and force into modem mode by default.
1720 */
1721UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1722 "D-Link",
1723 "USB Mass Storage",
1724 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1725
1726/*
1727 * Reported by Kevin Lloyd <linux@sierrawireless.com>
1728 * Entry is needed for the initializer function override,
1729 * which instructs the device to load as a modem
1730 * device.
1731 */
1732UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1733 "Sierra Wireless",
1734 "USB MMC Storage",
1735 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1736 0),
1737
1738/*
1739 * Reported by Jaco Kroon <jaco@kroon.co.za>
1740 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1741 * devices) misbehaves and causes a bunch of invalid I/O errors.
1742 */
1743UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1744 "Digitech HMG",
1745 "DigiTech Mass Storage",
1746 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1747 US_FL_IGNORE_RESIDUE ),
1748
1749/*
1750 * Reported by fangxiaozhi <huananhu@huawei.com>
1751 * This brings the HUAWEI data card devices into multi-port mode
1752 */
1753UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1754 "HUAWEI MOBILE",
1755 "Mass Storage",
1756 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1757 0),
1758UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1759 "HUAWEI MOBILE",
1760 "Mass Storage",
1761 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1762 0),
1763UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1764 "HUAWEI MOBILE",
1765 "Mass Storage",
1766 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1767 0),
1768UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1769 "HUAWEI MOBILE",
1770 "Mass Storage",
1771 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1772 0),
1773UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1774 "HUAWEI MOBILE",
1775 "Mass Storage",
1776 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1777 0),
1778UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1779 "HUAWEI MOBILE",
1780 "Mass Storage",
1781 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1782 0),
1783UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1784 "HUAWEI MOBILE",
1785 "Mass Storage",
1786 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1787 0),
1788UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1789 "HUAWEI MOBILE",
1790 "Mass Storage",
1791 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1792 0),
1793UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1794 "HUAWEI MOBILE",
1795 "Mass Storage",
1796 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1797 0),
1798UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1799 "HUAWEI MOBILE",
1800 "Mass Storage",
1801 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1802 0),
1803UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1804 "HUAWEI MOBILE",
1805 "Mass Storage",
1806 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1807 0),
1808UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1809 "HUAWEI MOBILE",
1810 "Mass Storage",
1811 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1812 0),
1813UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1814 "HUAWEI MOBILE",
1815 "Mass Storage",
1816 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1817 0),
1818UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1819 "HUAWEI MOBILE",
1820 "Mass Storage",
1821 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1822 0),
1823UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1824 "HUAWEI MOBILE",
1825 "Mass Storage",
1826 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1827 0),
1828UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1829 "HUAWEI MOBILE",
1830 "Mass Storage",
1831 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1832 0),
1833UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1834 "HUAWEI MOBILE",
1835 "Mass Storage",
1836 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1837 0),
1838UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1839 "HUAWEI MOBILE",
1840 "Mass Storage",
1841 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1842 0),
1843UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1844 "HUAWEI MOBILE",
1845 "Mass Storage",
1846 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1847 0),
1848UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1849 "HUAWEI MOBILE",
1850 "Mass Storage",
1851 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1852 0),
1853UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1854 "HUAWEI MOBILE",
1855 "Mass Storage",
1856 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1857 0),
1858UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1859 "HUAWEI MOBILE",
1860 "Mass Storage",
1861 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1862 0),
1863UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1864 "HUAWEI MOBILE",
1865 "Mass Storage",
1866 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1867 0),
1868UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1869 "HUAWEI MOBILE",
1870 "Mass Storage",
1871 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1872 0),
1873UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1874 "HUAWEI MOBILE",
1875 "Mass Storage",
1876 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1877 0),
1878UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1879 "HUAWEI MOBILE",
1880 "Mass Storage",
1881 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1882 0),
1883UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1884 "HUAWEI MOBILE",
1885 "Mass Storage",
1886 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1887 0),
1888UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1889 "HUAWEI MOBILE",
1890 "Mass Storage",
1891 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1892 0),
1893UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1894 "HUAWEI MOBILE",
1895 "Mass Storage",
1896 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1897 0),
1898UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1899 "HUAWEI MOBILE",
1900 "Mass Storage",
1901 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1902 0),
1903UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1904 "HUAWEI MOBILE",
1905 "Mass Storage",
1906 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1907 0),
1908UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1909 "HUAWEI MOBILE",
1910 "Mass Storage",
1911 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1912 0),
1913UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1914 "HUAWEI MOBILE",
1915 "Mass Storage",
1916 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1917 0),
1918UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1919 "HUAWEI MOBILE",
1920 "Mass Storage",
1921 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1922 0),
1923UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1924 "HUAWEI MOBILE",
1925 "Mass Storage",
1926 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1927 0),
1928UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1929 "HUAWEI MOBILE",
1930 "Mass Storage",
1931 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1932 0),
1933UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1934 "HUAWEI MOBILE",
1935 "Mass Storage",
1936 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1937 0),
1938UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1939 "HUAWEI MOBILE",
1940 "Mass Storage",
1941 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1942 0),
1943UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1944 "HUAWEI MOBILE",
1945 "Mass Storage",
1946 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1947 0),
1948UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1949 "HUAWEI MOBILE",
1950 "Mass Storage",
1951 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1952 0),
1953UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1954 "HUAWEI MOBILE",
1955 "Mass Storage",
1956 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1957 0),
1958UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1959 "HUAWEI MOBILE",
1960 "Mass Storage",
1961 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1962 0),
1963UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1964 "HUAWEI MOBILE",
1965 "Mass Storage",
1966 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1967 0),
1968UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1969 "HUAWEI MOBILE",
1970 "Mass Storage",
1971 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1972 0),
1973UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1974 "HUAWEI MOBILE",
1975 "Mass Storage",
1976 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1977 0),
1978UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1979 "HUAWEI MOBILE",
1980 "Mass Storage",
1981 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1982 0),
1983UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1984 "HUAWEI MOBILE",
1985 "Mass Storage",
1986 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1987 0),
1988UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1989 "HUAWEI MOBILE",
1990 "Mass Storage",
1991 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1992 0),
1993UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1994 "HUAWEI MOBILE",
1995 "Mass Storage",
1996 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1997 0),
1998UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1999 "HUAWEI MOBILE",
2000 "Mass Storage",
2001 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2002 0),
2003UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
2004 "HUAWEI MOBILE",
2005 "Mass Storage",
2006 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2007 0),
2008UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
2009 "HUAWEI MOBILE",
2010 "Mass Storage",
2011 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2012 0),
2013UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
2014 "HUAWEI MOBILE",
2015 "Mass Storage",
2016 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2017 0),
2018UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
2019 "HUAWEI MOBILE",
2020 "Mass Storage",
2021 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2022 0),
2023UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
2024 "HUAWEI MOBILE",
2025 "Mass Storage",
2026 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2027 0),
2028UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
2029 "HUAWEI MOBILE",
2030 "Mass Storage",
2031 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2032 0),
2033UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
2034 "HUAWEI MOBILE",
2035 "Mass Storage",
2036 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2037 0),
2038UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
2039 "HUAWEI MOBILE",
2040 "Mass Storage",
2041 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2042 0),
2043UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
2044 "HUAWEI MOBILE",
2045 "Mass Storage",
2046 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2047 0),
2048UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
2049 "HUAWEI MOBILE",
2050 "Mass Storage",
2051 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2052 0),
2053UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
2054 "HUAWEI MOBILE",
2055 "Mass Storage",
2056 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2057 0),
2058UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
2059 "HUAWEI MOBILE",
2060 "Mass Storage",
2061 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2062 0),
2063UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
2064 "HUAWEI MOBILE",
2065 "Mass Storage",
2066 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2067 0),
2068UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
2069 "HUAWEI MOBILE",
2070 "Mass Storage",
2071 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2072 0),
2073UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
2074 "HUAWEI MOBILE",
2075 "Mass Storage",
2076 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2077 0),
2078UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
2079 "HUAWEI MOBILE",
2080 "Mass Storage",
2081 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2082 0),
2083
2084/* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
2085UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
2086 "Minolta",
2087 "Dimage Z10",
2088 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2089 0 ),
2090
2091/* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
2092UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
2093 "SWISSBIT",
2094 "Black Silver",
2095 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2096 US_FL_IGNORE_RESIDUE ),
2097
2098/*
2099 * Reported by Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
2100 * The INIC-3619 bridge is used in the StarTech SLSODDU33B
2101 * SATA-USB enclosure for slimline optical drives.
2102 *
2103 * The quirk enables MakeMKV to properly exchange keys with
2104 * an installed BD drive.
2105 */
2106UNUSUAL_DEV( 0x13fd, 0x3609, 0x0209, 0x0209,
2107 "Initio Corporation",
2108 "INIC-3619",
2109 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2110 US_FL_IGNORE_RESIDUE ),
2111
2112/* Reported by Qinglin Ye <yestyle@gmail.com> */
2113UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
2114 "Kingston",
2115 "DT 101 G2",
2116 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2117 US_FL_BULK_IGNORE_TAG ),
2118
2119/* Reported by Francesco Foresti <frafore@tiscali.it> */
2120UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
2121 "Super Top",
2122 "IDE DEVICE",
2123 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2124 US_FL_IGNORE_RESIDUE ),
2125
2126/* Reported by Michael Büsch <m@bues.ch> */
2127UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0117,
2128 "JMicron",
2129 "USB to ATA/ATAPI Bridge",
2130 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2131 US_FL_BROKEN_FUA ),
2132
2133/* Reported by David Kozub <zub@linux.fjfi.cvut.cz> */
2134UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
2135 "JMicron",
2136 "JMS567",
2137 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2138 US_FL_BROKEN_FUA),
2139
2140/*
2141 * Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2142 * JMicron responds to USN and several other SCSI ioctls with a
2143 * residue that causes subsequent I/O requests to fail. */
2144UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
2145 "JMicron",
2146 "USB to ATA/ATAPI Bridge",
2147 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2148 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2149
2150/* Reported by Dmitry Nezhevenko <dion@dion.org.ua> */
2151UNUSUAL_DEV( 0x152d, 0x2566, 0x0114, 0x0114,
2152 "JMicron",
2153 "USB to ATA/ATAPI Bridge",
2154 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2155 US_FL_BROKEN_FUA ),
2156
2157/* Reported by Teijo Kinnunen <teijo.kinnunen@code-q.fi> */
2158UNUSUAL_DEV( 0x152d, 0x2567, 0x0117, 0x0117,
2159 "JMicron",
2160 "USB to ATA/ATAPI Bridge",
2161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2162 US_FL_BROKEN_FUA ),
2163
2164/* Reported-by George Cherian <george.cherian@cavium.com> */
2165UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
2166 "JMicron",
2167 "JMS56x",
2168 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2169 US_FL_NO_REPORT_OPCODES),
2170
2171/*
2172 * Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
2173 * and Mac USB Dock USB-SCSI */
2174UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
2175 "Entrega Technologies",
2176 "USB to SCSI Converter",
2177 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2178 US_FL_SCM_MULT_TARG ),
2179
2180/*
2181 * Reported by Robert Schedel <r.schedel@yahoo.de>
2182 * Note: this is a 'super top' device like the above 14cd/6600 device
2183 */
2184UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
2185 "Teac",
2186 "HD-35PUK-B",
2187 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2188 US_FL_IGNORE_RESIDUE ),
2189
2190/* Reported by Oliver Neukum <oneukum@suse.com> */
2191UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
2192 "ASMedia",
2193 "AS2105",
2194 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2195 US_FL_NEEDS_CAP16),
2196
2197/* Reported by Jesse Feddema <jdfeddema@gmail.com> */
2198UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
2199 "Yarvik",
2200 "PMP400",
2201 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2202 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2203
2204UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2205 "Ariston Technologies",
2206 "iConnect USB to SCSI adapter",
2207 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2208 US_FL_SCM_MULT_TARG ),
2209
2210/*
2211 * Reported by Hans de Goede <hdegoede@redhat.com>
2212 * These Appotech controllers are found in Picture Frames, they provide a
2213 * (buggy) emulation of a cdrom drive which contains the windows software
2214 * Uploading of pictures happens over the corresponding /dev/sg device.
2215 */
2216UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2217 "BUILDWIN",
2218 "Photo Frame",
2219 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2220 US_FL_BAD_SENSE ),
2221UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2222 "BUILDWIN",
2223 "Photo Frame",
2224 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2225 US_FL_BAD_SENSE ),
2226UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2227 "BUILDWIN",
2228 "Photo Frame",
2229 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2230 US_FL_NO_READ_DISC_INFO ),
2231
2232/*
2233 * Reported by Matthias Schwarzott <zzam@gentoo.org>
2234 * The Amazon Kindle treats SYNCHRONIZE CACHE as an indication that
2235 * the host may be finished with it, and automatically ejects its
2236 * emulated media unless it receives another command within one second.
2237 */
2238UNUSUAL_DEV( 0x1949, 0x0004, 0x0000, 0x9999,
2239 "Amazon",
2240 "Kindle",
2241 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2242 US_FL_SENSE_AFTER_SYNC ),
2243
2244/*
2245 * Reported by Oliver Neukum <oneukum@suse.com>
2246 * This device morphes spontaneously into another device if the access
2247 * pattern of Windows isn't followed. Thus writable media would be dirty
2248 * if the initial instance is used. So the device is limited to its
2249 * virtual CD.
2250 * And yes, the concept that BCD goes up to 9 is not heeded
2251 */
2252UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
2253 "ZTE,Incorporated",
2254 "ZTE WCDMA Technologies MSM",
2255 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2256 US_FL_SINGLE_LUN ),
2257
2258/*
2259 * Reported by Sven Geggus <sven-usbst@geggus.net>
2260 * This encrypted pen drive returns bogus data for the initial READ(10).
2261 */
2262UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2263 "Corsair",
2264 "Padlock v2",
2265 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2266 US_FL_INITIAL_READ10 ),
2267
2268/*
2269 * Reported by Hans de Goede <hdegoede@redhat.com>
2270 * These are mini projectors using USB for both power and video data transport
2271 * The usb-storage interface is a virtual windows driver CD, which the gm12u320
2272 * driver automatically converts into framebuffer & kms dri device nodes.
2273 */
2274UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
2275 "Grain-media Technology Corp.",
2276 "USB3.0 Device GM12U320",
2277 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2278 US_FL_IGNORE_DEVICE ),
2279
2280/*
2281 * Patch by Richard Schütz <r.schtz@t-online.de>
2282 * This external hard drive enclosure uses a JMicron chip which
2283 * needs the US_FL_IGNORE_RESIDUE flag to work properly.
2284 */
2285UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2286 "TrekStor GmbH & Co. KG",
2287 "DataStation maxi g.u",
2288 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2289 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2290
2291/* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
2292UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2293 "Coby Electronics",
2294 "MP3 Player",
2295 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2296 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2297
2298/* Reported by Witold Lipieta <witold.lipieta@thaumatec.com> */
2299UNUSUAL_DEV( 0x1fc9, 0x0117, 0x0100, 0x0100,
2300 "NXP Semiconductors",
2301 "PN7462AU",
2302 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2303 US_FL_IGNORE_RESIDUE ),
2304
2305/* Supplied with some Castlewood ORB removable drives */
2306UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
2307 "Double-H Technology",
2308 "USB to SCSI Intelligent Cable",
2309 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2310 US_FL_SCM_MULT_TARG ),
2311
2312/*
2313 * Reported by DocMAX <mail@vacharakis.de>
2314 * and Thomas Weißschuh <linux@weissschuh.net>
2315 */
2316UNUSUAL_DEV( 0x2109, 0x0715, 0x9999, 0x9999,
2317 "VIA Labs, Inc.",
2318 "VL817 SATA Bridge",
2319 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2320 US_FL_IGNORE_UAS),
2321
2322UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2323 "ST",
2324 "2A",
2325 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2326 US_FL_FIX_CAPACITY),
2327
2328/*
2329 * patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2330 * and Renato Perini <rperini@email.it>
2331 */
2332UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2333 "Motorola",
2334 "RAZR V3x",
2335 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2336 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2337
2338/*
2339 * Patch by Constantin Baranov <const@tltsu.ru>
2340 * Report by Andreas Koenecke.
2341 * Motorola ROKR Z6.
2342 */
2343UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2344 "Motorola",
2345 "MSnc.",
2346 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2347 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2348
2349/* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2350UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2351 "MPIO",
2352 "HS200",
2353 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2354 US_FL_GO_SLOW ),
2355
2356/* Reported-by: Tim Anderson <tsa@biglakesoftware.com> */
2357UNUSUAL_DEV( 0x2ca3, 0x0031, 0x0000, 0x9999,
2358 "DJI",
2359 "CineSSD",
2360 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2361 US_FL_NO_ATA_1X),
2362
2363/*
2364 * Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2365 * Mio Moov 330
2366 */
2367UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2368 "Mitac",
2369 "Mio DigiWalker USB Sync",
2370 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2371 US_FL_MAX_SECTORS_64 ),
2372
2373/* Reported by Cyril Roelandt <tipecaml@gmail.com> */
2374UNUSUAL_DEV( 0x357d, 0x7788, 0x0114, 0x0114,
2375 "JMicron",
2376 "USB to ATA/ATAPI Bridge",
2377 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2378 US_FL_BROKEN_FUA | US_FL_IGNORE_UAS ),
2379
2380/* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2381UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2382 "iRiver",
2383 "MP3 T10",
2384 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2385 US_FL_IGNORE_RESIDUE ),
2386
2387/* Reported by Sergey Pinaev <dfo@antex.ru> */
2388UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2389 "iRiver",
2390 "P7K",
2391 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2392 US_FL_MAX_SECTORS_64 ),
2393
2394/*
2395 * David Härdeman <david@2gen.com>
2396 * The key makes the SCSI stack print confusing (but harmless) messages
2397 */
2398UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2399 "Iomega",
2400 "Micro Mini 1GB",
2401 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2402
2403/* "G-DRIVE" external HDD hangs on write without these.
2404 * Patch submitted by Alexander Kappner <agk@godking.net>
2405 */
2406UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
2407 "SimpleTech",
2408 "External HDD",
2409 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2410 US_FL_ALWAYS_SYNC),
2411
2412/*
2413 * Nick Bowler <nbowler@elliptictech.com>
2414 * SCSI stack spams (otherwise harmless) error messages.
2415 */
2416UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2417 "Keil Software, Inc.",
2418 "V2M MotherBoard",
2419 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2420 US_FL_NOT_LOCKABLE),
2421
2422/*
2423 * Reported by Icenowy Zheng <uwu@icenowy.me>
2424 * This is an interface for vendor-specific cryptic commands instead
2425 * of real USB storage device.
2426 */
2427UNUSUAL_DEV( 0xe5b7, 0x0811, 0x0100, 0x0100,
2428 "ZhuHai JieLi Technology",
2429 "JieLi BR21",
2430 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2431 US_FL_IGNORE_DEVICE),
2432
2433/* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2434UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2435 "DataStor",
2436 "USB4500 FW1.04",
2437 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2438 US_FL_CAPACITY_HEURISTICS),
2439
2440/* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2441UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2442 "TGE",
2443 "Digital MP3 Audio Player",
2444 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2445
2446/* Unusual uas devices */
2447#if IS_ENABLED(CONFIG_USB_UAS)
2448#include "unusual_uas.h"
2449#endif
2450
2451/* Control/Bulk transport for all SubClass values */
2452USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2453USUAL_DEV(USB_SC_8020, USB_PR_CB),
2454USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2455USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2456USUAL_DEV(USB_SC_8070, USB_PR_CB),
2457USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2458
2459/* Control/Bulk/Interrupt transport for all SubClass values */
2460USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2461USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2462USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2463USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2464USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2465USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2466
2467/* Bulk-only transport for all SubClass values */
2468USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2469USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2470USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2471USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2472USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2473USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),