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