source: src/linux/universal/linux-4.9/drivers/usb/storage/unusual_devs.h @ 31859

Last change on this file since 31859 was 31859, checked in by brainslayer, 3 months ago

kernel update

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