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