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