s3c-adc-battery: Fix possible NULL pointer dereference
[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 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
500  * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
501  * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
502  */
503 UNUSUAL_DEV(  0x04fc, 0x80c2, 0x0100, 0x0100,
504                 "Kobian Mercury",
505                 "Binocam DCB-132",
506                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
507                 US_FL_BULK32),
508
509 /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
510 UNUSUAL_DEV(  0x050d, 0x0115, 0x0133, 0x0133,
511                 "Belkin",
512                 "USB SCSI Adaptor",
513                 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
514                 US_FL_SCM_MULT_TARG ),
515
516 /* Iomega Clik! Drive 
517  * Reported by David Chatenay <dchatenay@hotmail.com>
518  * The reason this is needed is not fully known.
519  */
520 UNUSUAL_DEV(  0x0525, 0xa140, 0x0100, 0x0100,
521                 "Iomega",
522                 "USB Clik! 40",
523                 USB_SC_8070, USB_PR_DEVICE, NULL,
524                 US_FL_FIX_INQUIRY ),
525
526 /* Added by Alan Stern <stern@rowland.harvard.edu> */
527 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
528                 "Linux",
529                 "File-backed Storage Gadget",
530                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
531                 US_FL_CAPACITY_OK ),
532
533 /* Yakumo Mega Image 37
534  * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
535 UNUSUAL_DEV(  0x052b, 0x1801, 0x0100, 0x0100,
536                 "Tekom Technologies, Inc",
537                 "300_CAMERA",
538                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
539                 US_FL_IGNORE_RESIDUE ),
540
541 /* Another Yakumo camera.
542  * Reported by Michele Alzetta <michele.alzetta@aliceposta.it> */
543 UNUSUAL_DEV(  0x052b, 0x1804, 0x0100, 0x0100,
544                 "Tekom Technologies, Inc",
545                 "300_CAMERA",
546                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
547                 US_FL_IGNORE_RESIDUE ),
548
549 /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
550 UNUSUAL_DEV(  0x052b, 0x1807, 0x0100, 0x0100,
551                 "Tekom Technologies, Inc",
552                 "300_CAMERA",
553                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
554                 US_FL_IGNORE_RESIDUE ),
555
556 /* Yakumo Mega Image 47
557  * Reported by Bjoern Paetzel <kolrabi@kolrabi.de> */
558 UNUSUAL_DEV(  0x052b, 0x1905, 0x0100, 0x0100,
559                 "Tekom Technologies, Inc",
560                 "400_CAMERA",
561                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
562                 US_FL_IGNORE_RESIDUE ),
563
564 /* Reported by Paul Ortyl <ortylp@3miasto.net>
565  * Note that it's similar to the device above, only different prodID */
566 UNUSUAL_DEV(  0x052b, 0x1911, 0x0100, 0x0100,
567                 "Tekom Technologies, Inc",
568                 "400_CAMERA",
569                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
570                 US_FL_IGNORE_RESIDUE ),
571
572 UNUSUAL_DEV(  0x054c, 0x0010, 0x0106, 0x0450,
573                 "Sony",
574                 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
575                 USB_SC_SCSI, USB_PR_DEVICE, NULL,
576                 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
577
578 /* Submitted by Lars Jacob <jacob.lars@googlemail.com>
579  * This entry is needed because the device reports Sub=ff */
580 UNUSUAL_DEV(  0x054c, 0x0010, 0x0500, 0x0610,
581                 "Sony",
582                 "DSC-T1/T5/H5",
583                 USB_SC_8070, USB_PR_DEVICE, NULL,
584                 US_FL_SINGLE_LUN ),
585
586
587 /* Reported by wim@geeks.nl */
588 UNUSUAL_DEV(  0x054c, 0x0025, 0x0100, 0x0100,
589                 "Sony",
590                 "Memorystick NW-MS7",
591                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
592                 US_FL_SINGLE_LUN ),
593
594 /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
595 UNUSUAL_DEV(  0x054c, 0x002c, 0x0501, 0x2000,
596                 "Sony",
597                 "USB Floppy Drive",
598                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
599                 US_FL_SINGLE_LUN ),
600
601 UNUSUAL_DEV(  0x054c, 0x002d, 0x0100, 0x0100,
602                 "Sony",
603                 "Memorystick MSAC-US1",
604                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
605                 US_FL_SINGLE_LUN ),
606
607 /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
608 UNUSUAL_DEV(  0x054c, 0x002e, 0x0106, 0x0310,
609                 "Sony",
610                 "Handycam",
611                 USB_SC_SCSI, USB_PR_DEVICE, NULL,
612                 US_FL_SINGLE_LUN ),
613
614 /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
615 UNUSUAL_DEV(  0x054c, 0x002e, 0x0500, 0x0500,
616                 "Sony",
617                 "Handycam HC-85",
618                 USB_SC_UFI, USB_PR_DEVICE, NULL,
619                 US_FL_SINGLE_LUN ),
620
621 UNUSUAL_DEV(  0x054c, 0x0032, 0x0000, 0x9999,
622                 "Sony",
623                 "Memorystick MSC-U01N",
624                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
625                 US_FL_SINGLE_LUN ),
626
627 /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
628 UNUSUAL_DEV(  0x054c, 0x0058, 0x0000, 0x9999,
629                 "Sony",
630                 "PEG N760c Memorystick",
631                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
632                 US_FL_FIX_INQUIRY ),
633                 
634 UNUSUAL_DEV(  0x054c, 0x0069, 0x0000, 0x9999,
635                 "Sony",
636                 "Memorystick MSC-U03",
637                 USB_SC_UFI, USB_PR_CB, NULL,
638                 US_FL_SINGLE_LUN ),
639
640 /* Submitted by Nathan Babb <nathan@lexi.com> */
641 UNUSUAL_DEV(  0x054c, 0x006d, 0x0000, 0x9999,
642                 "Sony",
643                 "PEG Mass Storage",
644                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
645                 US_FL_FIX_INQUIRY ),
646
647 /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
648 UNUSUAL_DEV(  0x054c, 0x0099, 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 Mike Alborn <malborn@deandra.homeip.net> */
655 UNUSUAL_DEV(  0x054c, 0x016a, 0x0000, 0x9999,
656                 "Sony",
657                 "PEG Mass Storage",
658                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
659                 US_FL_FIX_INQUIRY ),
660
661 /* floppy reports multiple luns */
662 UNUSUAL_DEV(  0x055d, 0x2020, 0x0000, 0x0210,
663                 "SAMSUNG",
664                 "SFD-321U [FW 0C]",
665                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
666                 US_FL_SINGLE_LUN ),
667
668 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
669 UNUSUAL_DEV(  0x057b, 0x0000, 0x0000, 0x0299,
670                 "Y-E Data",
671                 "Flashbuster-U",
672                 USB_SC_DEVICE,  USB_PR_CB, NULL,
673                 US_FL_SINGLE_LUN),
674
675 /* Reported by Johann Cardon <johann.cardon@free.fr>
676  * This entry is needed only because the device reports
677  * bInterfaceClass = 0xff (vendor-specific)
678  */
679 UNUSUAL_DEV(  0x057b, 0x0022, 0x0000, 0x9999,
680                 "Y-E Data",
681                 "Silicon Media R/W",
682                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
683
684 /* Reported by RTE <raszilki@yandex.ru> */
685 UNUSUAL_DEV(  0x058f, 0x6387, 0x0141, 0x0141,
686                 "JetFlash",
687                 "TS1GJF2A/120",
688                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
689                 US_FL_MAX_SECTORS_64 ),
690
691 /* Fabrizio Fellini <fello@libero.it> */
692 UNUSUAL_DEV(  0x0595, 0x4343, 0x0000, 0x2210,
693                 "Fujifilm",
694                 "Digital Camera EX-20 DSC",
695                 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
696
697 /* Reported by Andre Welter <a.r.welter@gmx.de>
698  * This antique device predates the release of the Bulk-only Transport
699  * spec, and if it gets a Get-Max-LUN then it requires the host to do a
700  * Clear-Halt on the bulk endpoints.  The SINGLE_LUN flag will prevent
701  * us from sending the request.
702  */
703 UNUSUAL_DEV(  0x059b, 0x0001, 0x0100, 0x0100,
704                 "Iomega",
705                 "ZIP 100",
706                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
707                 US_FL_SINGLE_LUN ),
708
709 /* Reported by <Hendryk.Pfeiffer@gmx.de> */
710 UNUSUAL_DEV(  0x059f, 0x0643, 0x0000, 0x0000,
711                 "LaCie",
712                 "DVD+-RW",
713                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
714                 US_FL_GO_SLOW ),
715
716 /* Submitted by Joel Bourquard <numlock@freesurf.ch>
717  * Some versions of this device need the SubClass and Protocol overrides
718  * while others don't.
719  */
720 UNUSUAL_DEV(  0x05ab, 0x0060, 0x1104, 0x1110,
721                 "In-System",
722                 "PyroGate External CD-ROM Enclosure (FCD-523)",
723                 USB_SC_SCSI, USB_PR_BULK, NULL,
724                 US_FL_NEED_OVERRIDE ),
725
726 /* Submitted by Sven Anderson <sven-linux@anderson.de>
727  * There are at least four ProductIDs used for iPods, so I added 0x1202 and
728  * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
729  * to change with firmware updates, I changed the range to maximum for all
730  * iPod entries.
731  */
732 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
733                 "Apple",
734                 "iPod",
735                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
736                 US_FL_FIX_CAPACITY ),
737
738 /* Reported by Avi Kivity <avi@argo.co.il> */
739 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
740                 "Apple",
741                 "iPod",
742                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
743                 US_FL_FIX_CAPACITY ),
744
745 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
746                 "Apple",
747                 "iPod",
748                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
749                 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
750
751 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
752                 "Apple",
753                 "iPod",
754                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
755                 US_FL_FIX_CAPACITY ),
756
757 /*
758  * Reported by Tyson Vinson <lornoss@gmail.com>
759  * This particular productId is the iPod Nano
760  */
761 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
762                 "Apple",
763                 "iPod",
764                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
765                 US_FL_FIX_CAPACITY ),
766
767 /* Reported by Dan Williams <dcbw@redhat.com>
768  * Option N.V. mobile broadband modems
769  * Ignore driver CD mode and force into modem mode by default.
770  */
771
772 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
773 UNUSUAL_DEV(  0x05c6, 0x1000, 0x0000, 0x9999,
774                 "Option N.V.",
775                 "Mass Storage",
776                 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
777                 0),
778
779 /* Reported by Blake Matheny <bmatheny@purdue.edu> */
780 UNUSUAL_DEV(  0x05dc, 0xb002, 0x0000, 0x0113,
781                 "Lexar",
782                 "USB CF Reader",
783                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
784                 US_FL_FIX_INQUIRY ),
785
786 /* The following two entries are for a Genesys USB to IDE
787  * converter chip, but it changes its ProductId depending
788  * on whether or not a disk or an optical device is enclosed
789  * They were originally reported by Alexander Oltu
790  * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
791  * respectively.
792  *
793  * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
794  * <phil@ipom.com> as these flags were made and hard-coded
795  * special-cases were pulled from scsiglue.c.
796  */
797 UNUSUAL_DEV(  0x05e3, 0x0701, 0x0000, 0xffff,
798                 "Genesys Logic",
799                 "USB to IDE Optical",
800                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
801                 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
802
803 UNUSUAL_DEV(  0x05e3, 0x0702, 0x0000, 0xffff,
804                 "Genesys Logic",
805                 "USB to IDE Disk",
806                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
807                 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
808
809 /* Reported by Ben Efros <ben@pc-doctor.com> */
810 UNUSUAL_DEV(  0x05e3, 0x0723, 0x9451, 0x9451,
811                 "Genesys Logic",
812                 "USB to SATA",
813                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
814                 US_FL_SANE_SENSE ),
815
816 /* Reported by Hanno Boeck <hanno@gmx.de>
817  * Taken from the Lycoris Kernel */
818 UNUSUAL_DEV(  0x0636, 0x0003, 0x0000, 0x9999,
819                 "Vivitar",
820                 "Vivicam 35Xx",
821                 USB_SC_SCSI, USB_PR_BULK, NULL,
822                 US_FL_FIX_INQUIRY ),
823
824 UNUSUAL_DEV(  0x0644, 0x0000, 0x0100, 0x0100,
825                 "TEAC",
826                 "Floppy Drive",
827                 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
828
829 /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
830 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
831                 "SigmaTel",
832                 "USBMSC Audio Player",
833                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
834                 US_FL_FIX_CAPACITY ),
835
836 /* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
837 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
838                 "Prolific Technology, Inc.",
839                 "Prolific Storage Gadget",
840                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
841                 US_FL_BAD_SENSE ),
842
843 /* Reported by Rogerio Brito <rbrito@ime.usp.br> */
844 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
845                 "Prolific Technology, Inc.",
846                 "Mass Storage Device",
847                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
848                 US_FL_NOT_LOCKABLE ),
849
850 /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
851 /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
852  * Thomas Bartosik <tbartdev@gmx-topmail.de> */
853 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
854                 "Prolific Technology Inc.",
855                 "Mass Storage Device",
856                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
857                 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
858
859 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
860 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
861                 "Prolific Technology Inc.",
862                 "ATAPI-6 Bridge Controller",
863                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
864                 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
865
866 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
867 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
868                 "Minolta",
869                 "Dimage F300",
870                 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
871
872 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
873 UNUSUAL_DEV(  0x0686, 0x4017, 0x0001, 0x0001,
874                 "Minolta",
875                 "DIMAGE E223",
876                 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
877
878 UNUSUAL_DEV(  0x0693, 0x0005, 0x0100, 0x0100,
879                 "Hagiwara",
880                 "Flashgate",
881                 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
882
883 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
884 UNUSUAL_DEV(  0x069b, 0x3004, 0x0001, 0x0001,
885                 "Thomson Multimedia Inc.",
886                 "RCA RD1080 MP3 Player",
887                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
888                 US_FL_FIX_CAPACITY ),
889
890 /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
891 UNUSUAL_DEV(  0x071b, 0x3203, 0x0000, 0x0000,
892                 "RockChip",
893                 "MP3",
894                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
895                 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
896                 US_FL_NO_READ_CAPACITY_16),
897
898 /* Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
899  * Support the following product :
900  *    "Dane-Elec MediaTouch"
901  */
902 UNUSUAL_DEV(  0x071b, 0x32bb, 0x0000, 0x0000,
903                 "RockChip",
904                 "MTP",
905                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
906                 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
907
908 /* Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
909  * This USB MP3/AVI player device fails and disconnects if more than 128
910  * sectors (64kB) are read/written in a single command, and may be present
911  * at least in the following products:
912  *   "Magnex Digital Video Panel DVP 1800"
913  *   "MP4 AIGO 4GB SLOT SD"
914  *   "Teclast TL-C260 MP3"
915  *   "i.Meizu PMP MP3/MP4"
916  *   "Speed MV8 MP4 Audio Player"
917  */
918 UNUSUAL_DEV(  0x071b, 0x3203, 0x0100, 0x0100,
919                 "RockChip",
920                 "ROCK MP3",
921                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
922                 US_FL_MAX_SECTORS_64),
923
924 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
925 UNUSUAL_DEV(  0x0727, 0x0306, 0x0100, 0x0100,
926                 "ATMEL",
927                 "SND1 Storage",
928                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
929                 US_FL_IGNORE_RESIDUE),
930
931 /* Submitted by Roman Hodek <roman@hodek.net> */
932 UNUSUAL_DEV(  0x0781, 0x0001, 0x0200, 0x0200,
933                 "Sandisk",
934                 "ImageMate SDDR-05a",
935                 USB_SC_SCSI, USB_PR_CB, NULL,
936                 US_FL_SINGLE_LUN ),
937
938 UNUSUAL_DEV(  0x0781, 0x0002, 0x0009, 0x0009,
939                 "SanDisk Corporation",
940                 "ImageMate CompactFlash USB",
941                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
942                 US_FL_FIX_CAPACITY ),
943
944 UNUSUAL_DEV(  0x0781, 0x0100, 0x0100, 0x0100,
945                 "Sandisk",
946                 "ImageMate SDDR-12",
947                 USB_SC_SCSI, USB_PR_CB, NULL,
948                 US_FL_SINGLE_LUN ),
949
950 /* Reported by Eero Volotinen <eero@ping-viini.org> */
951 UNUSUAL_DEV(  0x07ab, 0xfccd, 0x0000, 0x9999,
952                 "Freecom Technologies",
953                 "FHD-Classic",
954                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
955                 US_FL_FIX_CAPACITY),
956
957 UNUSUAL_DEV(  0x07af, 0x0004, 0x0100, 0x0133,
958                 "Microtech",
959                 "USB-SCSI-DB25",
960                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
961                 US_FL_SCM_MULT_TARG ), 
962
963 UNUSUAL_DEV(  0x07af, 0x0005, 0x0100, 0x0100,
964                 "Microtech",
965                 "USB-SCSI-HD50",
966                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
967                 US_FL_SCM_MULT_TARG ),
968
969 #ifdef NO_SDDR09
970 UNUSUAL_DEV(  0x07af, 0x0006, 0x0100, 0x0100,
971                 "Microtech",
972                 "CameraMate",
973                 USB_SC_SCSI, USB_PR_CB, NULL,
974                 US_FL_SINGLE_LUN ),
975 #endif
976
977 /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
978  * Only revision 1.13 tested (same for all of the above devices,
979  * based on the Datafab DF-UG-07 chip).  Needed for US_FL_FIX_INQUIRY.
980  * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
981  * See also http://martin.wilck.bei.t-online.de/#kecf .
982  */
983 UNUSUAL_DEV(  0x07c4, 0xa400, 0x0000, 0xffff,
984                 "Datafab",
985                 "KECF-USB",
986                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
987                 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
988
989 /* Reported by Rauch Wolke <rauchwolke@gmx.net>
990  * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
991  */
992 UNUSUAL_DEV(  0x07c4, 0xa4a5, 0x0000, 0xffff,
993                 "Simple Tech/Datafab",
994                 "CF+SM Reader",
995                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
996                 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
997
998 /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
999  * to the USB storage specification in two ways:
1000  * - They tell us they are using transport protocol CBI. In reality they
1001  *   are using transport protocol CB.
1002  * - They don't like the INQUIRY command. So we must handle this command
1003  *   of the SCSI layer ourselves.
1004  * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1005  *   bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1006  *   So don't remove the USB_PR_CB override!
1007  * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1008  */
1009 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1010                 "Casio",
1011                 "QV DigitalCamera",
1012                 USB_SC_8070, USB_PR_CB, NULL,
1013                 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1014
1015 /* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1016 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1017                 "Casio",
1018                 "EX-N1 DigitalCamera",
1019                 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1020
1021 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1022 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1023                 "Samsung",
1024                 "Digimax 410",
1025                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1026                 US_FL_FIX_INQUIRY),
1027
1028 /* Reported by Luciano Rocha <luciano@eurotux.com> */
1029 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1030                 "Argosy",
1031                 "Storage",
1032                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1033                 US_FL_FIX_CAPACITY),
1034
1035 /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1036 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1037                 "Argosy",
1038                 "Storage",
1039                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1040                 US_FL_FIX_CAPACITY),
1041
1042 /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1043 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1044                 "Argosy",
1045                 "Storage",
1046                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1047                 US_FL_FIX_CAPACITY),
1048
1049 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1050  * Flag will support Bulk devices which use a standards-violating 32-byte
1051  * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1052  * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1053  */
1054
1055 UNUSUAL_DEV(  0x084d, 0x0011, 0x0110, 0x0110,
1056                 "Grandtech",
1057                 "DC2MEGA",
1058                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1059                 US_FL_BULK32),
1060
1061 /* Reported by <ttkspam@free.fr>
1062  * The device reports a vendor-specific device class, requiring an
1063  * explicit vendor/product match.
1064  */
1065 UNUSUAL_DEV(  0x0851, 0x1542, 0x0002, 0x0002,
1066                 "MagicPixel",
1067                 "FW_Omega2",
1068                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1069
1070 /* Andrew Lunn <andrew@lunn.ch>
1071  * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1072  * on LUN 4.
1073  * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1074 */
1075 UNUSUAL_DEV(  0x0851, 0x1543, 0x0200, 0x0200,
1076                 "PanDigital",
1077                 "Photo Frame",
1078                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1079                 US_FL_NOT_LOCKABLE),
1080
1081 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1082 UNUSUAL_DEV(  0x08bd, 0x1100, 0x0000, 0x0000,
1083                 "CITIZEN",
1084                 "X1DE-USB",
1085                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1086                 US_FL_SINGLE_LUN),
1087
1088 /* Submitted by Dylan Taft <d13f00l@gmail.com>
1089  * US_FL_IGNORE_RESIDUE Needed
1090  */
1091 UNUSUAL_DEV(  0x08ca, 0x3103, 0x0100, 0x0100,
1092                 "AIPTEK",
1093                 "Aiptek USB Keychain MP3 Player",
1094                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1095                 US_FL_IGNORE_RESIDUE),
1096
1097 /* Entry needed for flags. Moreover, all devices with this ID use
1098  * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1099  * One example is "Trumpion Digital Research MYMP3".
1100  * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1101  */
1102 UNUSUAL_DEV(  0x090a, 0x1001, 0x0100, 0x0100,
1103                 "Trumpion",
1104                 "t33520 USB Flash Card Controller",
1105                 USB_SC_DEVICE, USB_PR_BULK, NULL,
1106                 US_FL_NEED_OVERRIDE ),
1107
1108 /* Reported by Filippo Bardelli <filibard@libero.it>
1109  * The device reports a subclass of RBC, which is wrong.
1110  */
1111 UNUSUAL_DEV(  0x090a, 0x1050, 0x0100, 0x0100,
1112                 "Trumpion Microelectronics, Inc.",
1113                 "33520 USB Digital Voice Recorder",
1114                 USB_SC_UFI, USB_PR_DEVICE, NULL,
1115                 0),
1116
1117 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1118 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1119                 "Trumpion",
1120                 "MP3 player",
1121                 USB_SC_RBC, USB_PR_BULK, NULL,
1122                 0 ),
1123
1124 /* aeb */
1125 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1126                 "Feiya",
1127                 "5-in-1 Card Reader",
1128                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1129                 US_FL_FIX_CAPACITY ),
1130
1131 /* Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1132  * This card reader returns "Illegal Request, Logical Block Address
1133  * Out of Range" for the first READ(10) after a new card is inserted.
1134  */
1135 UNUSUAL_DEV(  0x090c, 0x6000, 0x0100, 0x0100,
1136                 "Feiya",
1137                 "SD/SDHC Card Reader",
1138                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1139                 US_FL_INITIAL_READ10 ),
1140
1141 /* This Pentax still camera is not conformant
1142  * to the USB storage specification: -
1143  * - It does not like the INQUIRY command. So we must handle this command
1144  *   of the SCSI layer ourselves.
1145  * Tested on Rev. 10.00 (0x1000)
1146  * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1147  */
1148 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1149                 "Pentax",
1150                 "Optio 2/3/400",
1151                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1152                 US_FL_FIX_INQUIRY ),
1153
1154 /* These are virtual windows driver CDs, which the zd1211rw driver
1155  * automatically converts into WLAN devices. */
1156 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1157                 "ZyXEL",
1158                 "G-220F USB-WLAN Install",
1159                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1160                 US_FL_IGNORE_DEVICE ),
1161
1162 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1163                 "SiteCom",
1164                 "WL-117 USB-WLAN Install",
1165                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1166                 US_FL_IGNORE_DEVICE ),
1167
1168 /* Reported by Dan Williams <dcbw@redhat.com>
1169  * Option N.V. mobile broadband modems
1170  * Ignore driver CD mode and force into modem mode by default.
1171  */
1172
1173 /* iCON 225 */
1174 UNUSUAL_DEV(  0x0af0, 0x6971, 0x0000, 0x9999,
1175                 "Option N.V.",
1176                 "Mass Storage",
1177                 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1178                 0),
1179
1180 /* Reported by F. Aben <f.aben@option.com>
1181  * This device (wrongly) has a vendor-specific device descriptor.
1182  * The entry is needed so usb-storage can bind to it's mass-storage
1183  * interface as an interface driver */
1184 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1185                 "Option",
1186                 "GI 0401 SD-Card",
1187                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1188                 0 ),
1189
1190 /* Reported by Jan Dumon <j.dumon@option.com>
1191  * These devices (wrongly) have a vendor-specific device descriptor.
1192  * These entries are needed so usb-storage can bind to their mass-storage
1193  * interface as an interface driver */
1194 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1195                 "Option",
1196                 "GI 0431 SD-Card",
1197                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1198                 0 ),
1199
1200 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1201                 "Option",
1202                 "GI 0451 SD-Card",
1203                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1204                 0 ),
1205
1206 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1207                 "Option",
1208                 "GI 0451 SD-Card",
1209                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1210                 0 ),
1211
1212 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1213                 "Option",
1214                 "GI 0452 SD-Card",
1215                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1216                 0 ),
1217
1218 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1219                 "Option",
1220                 "GI 0461 SD-Card",
1221                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1222                 0 ),
1223
1224 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1225                 "Option",
1226                 "GI 0461 SD-Card",
1227                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1228                 0 ),
1229
1230 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1231                 "Option",
1232                 "GI 033x SD-Card",
1233                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1234                 0 ),
1235
1236 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1237                 "Option",
1238                 "GI 033x SD-Card",
1239                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1240                 0 ),
1241
1242 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1243                 "Option",
1244                 "GI 033x SD-Card",
1245                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1246                 0 ),
1247
1248 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1249                 "Option",
1250                 "GI 070x SD-Card",
1251                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1252                 0 ),
1253
1254 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1255                 "Option",
1256                 "GI 1505 SD-Card",
1257                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1258                 0 ),
1259
1260 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1261                 "Option",
1262                 "GI 1509 SD-Card",
1263                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1264                 0 ),
1265
1266 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1267                 "Option",
1268                 "GI 1515 SD-Card",
1269                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1270                 0 ),
1271
1272 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1273                 "Option",
1274                 "GI 1215 SD-Card",
1275                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1276                 0 ),
1277
1278 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1279                 "Option",
1280                 "GI 1505 SD-Card",
1281                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1282                 0 ),
1283
1284 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1285 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1286                 "Seagate",
1287                 "Portable HDD",
1288                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1289
1290 /* Reported by Ben Efros <ben@pc-doctor.com> */
1291 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1292                 "Seagate",
1293                 "FreeAgent Pro",
1294                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1295                 US_FL_SANE_SENSE ),
1296
1297 UNUSUAL_DEV(  0x0d49, 0x7310, 0x0000, 0x9999,
1298                 "Maxtor",
1299                 "USB to SATA",
1300                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1301                 US_FL_SANE_SENSE),
1302
1303 /*
1304  * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1305  * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1306  */
1307 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1308                 "Unknown",
1309                 "Unknown",
1310                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1311                 US_FL_SINGLE_LUN ),
1312
1313 /* Submitted by Joris Struyve <joris@struyve.be> */
1314 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1315                 "Medion",
1316                 "MD 7425",
1317                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1318                 US_FL_FIX_INQUIRY),
1319
1320 /*
1321  * Entry for Jenoptik JD 5200z3
1322  *
1323  * email: car.busse@gmx.de
1324  */
1325 UNUSUAL_DEV(  0x0d96, 0x5200, 0x0001, 0x0200,
1326                 "Jenoptik",
1327                 "JD 5200 z3",
1328                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1329
1330 /* Reported by  Jason Johnston <killean@shaw.ca> */
1331 UNUSUAL_DEV(  0x0dc4, 0x0073, 0x0000, 0x0000,
1332                 "Macpower Technology Co.LTD.",
1333                 "USB 2.0 3.5\" DEVICE",
1334                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1335                 US_FL_FIX_CAPACITY),
1336
1337 /* Reported by Lubomir Blaha <tritol@trilogic.cz>
1338  * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1339  * works for me. Can anybody correct these values? (I able to test corrected
1340  * version.)
1341  */
1342 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1343                 "Netac",
1344                 "USB-CF-Card",
1345                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1346                 US_FL_FIX_INQUIRY ),
1347
1348 /* Reported by Edward Chapman (taken from linux-usb mailing list)
1349    Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1350 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1351                 "Netac",
1352                 "USB Flash Disk",
1353                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1354                 US_FL_IGNORE_RESIDUE ),
1355
1356
1357 /* Patch by Stephan Walter <stephan.walter@epfl.ch>
1358  * I don't know why, but it works... */
1359 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1360                 "WINWARD",
1361                 "Music Disk",
1362                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1363                 US_FL_IGNORE_RESIDUE ),
1364
1365 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1366 UNUSUAL_DEV(  0x0dda, 0x0301, 0x0012, 0x0012,
1367                 "PNP_MP3",
1368                 "PNP_MP3 PLAYER",
1369                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1370                 US_FL_IGNORE_RESIDUE ),
1371
1372 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1373 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1374                 "Cowon Systems",
1375                 "iAUDIO M5",
1376                 USB_SC_DEVICE, USB_PR_BULK, NULL,
1377                 US_FL_NEED_OVERRIDE ),
1378
1379 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1380 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1381                 "USB",
1382                 "Solid state disk",
1383                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1384                 US_FL_FIX_INQUIRY ),
1385
1386 /* Submitted by Daniel Drake <dsd@gentoo.org>
1387  * Reported by dayul on the Gentoo Forums */
1388 UNUSUAL_DEV(  0x0ea0, 0x2168, 0x0110, 0x0110,
1389                 "Ours Technology",
1390                 "Flash Disk",
1391                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1392                 US_FL_IGNORE_RESIDUE ),
1393
1394 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1395 UNUSUAL_DEV(  0x0ea0, 0x6828, 0x0110, 0x0110,
1396                 "USB",
1397                 "Flash Disk",
1398                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1399                 US_FL_IGNORE_RESIDUE ),
1400
1401 /* Reported by Benjamin Schiller <sbenni@gmx.de>
1402  * It is also sold by Easylite as DJ 20 */
1403 UNUSUAL_DEV(  0x0ed1, 0x7636, 0x0103, 0x0103,
1404                 "Typhoon",
1405                 "My DJ 1820",
1406                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1407                 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1408
1409 /* Patch by Leonid Petrov mail at lpetrov.net
1410  * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1411  * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1412  * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1413  */
1414 UNUSUAL_DEV(  0x0f19, 0x0103, 0x0100, 0x0100,
1415                 "Oracom Co., Ltd",
1416                 "ORC-200M",
1417                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1418                 US_FL_IGNORE_RESIDUE ),
1419
1420 /* David Kuehling <dvdkhlng@gmx.de>:
1421  * for MP3-Player AVOX WSX-300ER (bought in Japan).  Reports lots of SCSI
1422  * errors when trying to write.
1423  */
1424 UNUSUAL_DEV(  0x0f19, 0x0105, 0x0100, 0x0100,
1425                 "C-MEX",
1426                 "A-VOX",
1427                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1428                 US_FL_IGNORE_RESIDUE ),
1429
1430 /* Submitted by Nick Holloway */
1431 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1432                 "VTech",
1433                 "Kidizoom",
1434                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1435                 US_FL_FIX_CAPACITY ),
1436
1437 /* Reported by Michael Stattmann <michael@stattmann.com> */
1438 UNUSUAL_DEV(  0x0fce, 0xd008, 0x0000, 0x0000,
1439                 "Sony Ericsson",
1440                 "V800-Vodafone 802",
1441                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1442                 US_FL_NO_WP_DETECT ),
1443
1444 /* Reported by The Solutor <thesolutor@gmail.com> */
1445 UNUSUAL_DEV(  0x0fce, 0xd0e1, 0x0000, 0x0000,
1446                 "Sony Ericsson",
1447                 "MD400",
1448                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1449                 US_FL_IGNORE_DEVICE),
1450
1451 /* Reported by Jan Mate <mate@fiit.stuba.sk>
1452  * and by Soeren Sonnenburg <kernel@nn7.de> */
1453 UNUSUAL_DEV(  0x0fce, 0xe030, 0x0000, 0x0000,
1454                 "Sony Ericsson",
1455                 "P990i",
1456                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1457                 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1458
1459 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1460 UNUSUAL_DEV(  0x0fce, 0xe031, 0x0000, 0x0000,
1461                 "Sony Ericsson",
1462                 "M600i",
1463                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1464                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1465
1466 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1467 UNUSUAL_DEV(  0x0fce, 0xe092, 0x0000, 0x0000,
1468                 "Sony Ericsson",
1469                 "P1i",
1470                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1471                 US_FL_IGNORE_RESIDUE ),
1472
1473 /* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1474  * Tested on hardware version 1.10.
1475  * Entry is needed only for the initializer function override.
1476  * Devices with bcd > 110 seem to not need it while those
1477  * with bcd < 110 appear to need it.
1478  */
1479 UNUSUAL_DEV(  0x1019, 0x0c55, 0x0000, 0x0110,
1480                 "Desknote",
1481                 "UCR-61S2B",
1482                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1483                 0 ),
1484
1485 UNUSUAL_DEV(  0x1058, 0x0704, 0x0000, 0x9999,
1486                 "Western Digital",
1487                 "External HDD",
1488                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1489                 US_FL_SANE_SENSE),
1490
1491 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1492 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1493                 "Western Digital",
1494                 "My Passport HDD",
1495                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1496
1497 /* Reported by Fabio Venturi <f.venturi@tdnet.it>
1498  * The device reports a vendor-specific bDeviceClass.
1499  */
1500 UNUSUAL_DEV(  0x10d6, 0x2200, 0x0100, 0x0100,
1501                 "Actions Semiconductor",
1502                 "Mtp device",
1503                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1504                 0),
1505
1506 /* Reported by Pascal Terjan <pterjan@mandriva.com>
1507  * Ignore driver CD mode and force into modem mode by default.
1508  */
1509 UNUSUAL_DEV(  0x1186, 0x3e04, 0x0000, 0x0000,
1510            "D-Link",
1511            "USB Mass Storage",
1512            USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1513
1514 /* Reported by Kevin Lloyd <linux@sierrawireless.com>
1515  * Entry is needed for the initializer function override,
1516  * which instructs the device to load as a modem
1517  * device.
1518  */
1519 UNUSUAL_DEV(  0x1199, 0x0fff, 0x0000, 0x9999,
1520                 "Sierra Wireless",
1521                 "USB MMC Storage",
1522                 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1523                 0),
1524
1525 /* Reported by Jaco Kroon <jaco@kroon.co.za>
1526  * The usb-storage module found on the Digitech GNX4 (and supposedly other
1527  * devices) misbehaves and causes a bunch of invalid I/O errors.
1528  */
1529 UNUSUAL_DEV(  0x1210, 0x0003, 0x0100, 0x0100,
1530                 "Digitech HMG",
1531                 "DigiTech Mass Storage",
1532                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1533                 US_FL_IGNORE_RESIDUE ),
1534
1535 /* Reported by fangxiaozhi <huananhu@huawei.com>
1536  * This brings the HUAWEI data card devices into multi-port mode
1537  */
1538 UNUSUAL_DEV(  0x12d1, 0x1001, 0x0000, 0x0000,
1539                 "HUAWEI MOBILE",
1540                 "Mass Storage",
1541                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1542                 0),
1543 UNUSUAL_DEV(  0x12d1, 0x1003, 0x0000, 0x0000,
1544                 "HUAWEI MOBILE",
1545                 "Mass Storage",
1546                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1547                 0),
1548 UNUSUAL_DEV(  0x12d1, 0x1004, 0x0000, 0x0000,
1549                 "HUAWEI MOBILE",
1550                 "Mass Storage",
1551                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1552                 0),
1553 UNUSUAL_DEV(  0x12d1, 0x1401, 0x0000, 0x0000,
1554                 "HUAWEI MOBILE",
1555                 "Mass Storage",
1556                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1557                 0),
1558 UNUSUAL_DEV(  0x12d1, 0x1402, 0x0000, 0x0000,
1559                 "HUAWEI MOBILE",
1560                 "Mass Storage",
1561                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1562                 0),
1563 UNUSUAL_DEV(  0x12d1, 0x1403, 0x0000, 0x0000,
1564                 "HUAWEI MOBILE",
1565                 "Mass Storage",
1566                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1567                 0),
1568 UNUSUAL_DEV(  0x12d1, 0x1404, 0x0000, 0x0000,
1569                 "HUAWEI MOBILE",
1570                 "Mass Storage",
1571                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1572                 0),
1573 UNUSUAL_DEV(  0x12d1, 0x1405, 0x0000, 0x0000,
1574                 "HUAWEI MOBILE",
1575                 "Mass Storage",
1576                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1577                 0),
1578 UNUSUAL_DEV(  0x12d1, 0x1406, 0x0000, 0x0000,
1579                 "HUAWEI MOBILE",
1580                 "Mass Storage",
1581                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1582                 0),
1583 UNUSUAL_DEV(  0x12d1, 0x1407, 0x0000, 0x0000,
1584                 "HUAWEI MOBILE",
1585                 "Mass Storage",
1586                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1587                 0),
1588 UNUSUAL_DEV(  0x12d1, 0x1408, 0x0000, 0x0000,
1589                 "HUAWEI MOBILE",
1590                 "Mass Storage",
1591                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1592                 0),
1593 UNUSUAL_DEV(  0x12d1, 0x1409, 0x0000, 0x0000,
1594                 "HUAWEI MOBILE",
1595                 "Mass Storage",
1596                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1597                 0),
1598 UNUSUAL_DEV(  0x12d1, 0x140A, 0x0000, 0x0000,
1599                 "HUAWEI MOBILE",
1600                 "Mass Storage",
1601                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1602                 0),
1603 UNUSUAL_DEV(  0x12d1, 0x140B, 0x0000, 0x0000,
1604                 "HUAWEI MOBILE",
1605                 "Mass Storage",
1606                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1607                 0),
1608 UNUSUAL_DEV(  0x12d1, 0x140C, 0x0000, 0x0000,
1609                 "HUAWEI MOBILE",
1610                 "Mass Storage",
1611                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1612                 0),
1613 UNUSUAL_DEV(  0x12d1, 0x140D, 0x0000, 0x0000,
1614                 "HUAWEI MOBILE",
1615                 "Mass Storage",
1616                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1617                 0),
1618 UNUSUAL_DEV(  0x12d1, 0x140E, 0x0000, 0x0000,
1619                 "HUAWEI MOBILE",
1620                 "Mass Storage",
1621                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1622                 0),
1623 UNUSUAL_DEV(  0x12d1, 0x140F, 0x0000, 0x0000,
1624                 "HUAWEI MOBILE",
1625                 "Mass Storage",
1626                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1627                 0),
1628 UNUSUAL_DEV(  0x12d1, 0x1410, 0x0000, 0x0000,
1629                 "HUAWEI MOBILE",
1630                 "Mass Storage",
1631                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1632                 0),
1633 UNUSUAL_DEV(  0x12d1, 0x1411, 0x0000, 0x0000,
1634                 "HUAWEI MOBILE",
1635                 "Mass Storage",
1636                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1637                 0),
1638 UNUSUAL_DEV(  0x12d1, 0x1412, 0x0000, 0x0000,
1639                 "HUAWEI MOBILE",
1640                 "Mass Storage",
1641                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1642                 0),
1643 UNUSUAL_DEV(  0x12d1, 0x1413, 0x0000, 0x0000,
1644                 "HUAWEI MOBILE",
1645                 "Mass Storage",
1646                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1647                 0),
1648 UNUSUAL_DEV(  0x12d1, 0x1414, 0x0000, 0x0000,
1649                 "HUAWEI MOBILE",
1650                 "Mass Storage",
1651                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1652                 0),
1653 UNUSUAL_DEV(  0x12d1, 0x1415, 0x0000, 0x0000,
1654                 "HUAWEI MOBILE",
1655                 "Mass Storage",
1656                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1657                 0),
1658 UNUSUAL_DEV(  0x12d1, 0x1416, 0x0000, 0x0000,
1659                 "HUAWEI MOBILE",
1660                 "Mass Storage",
1661                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1662                 0),
1663 UNUSUAL_DEV(  0x12d1, 0x1417, 0x0000, 0x0000,
1664                 "HUAWEI MOBILE",
1665                 "Mass Storage",
1666                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1667                 0),
1668 UNUSUAL_DEV(  0x12d1, 0x1418, 0x0000, 0x0000,
1669                 "HUAWEI MOBILE",
1670                 "Mass Storage",
1671                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1672                 0),
1673 UNUSUAL_DEV(  0x12d1, 0x1419, 0x0000, 0x0000,
1674                 "HUAWEI MOBILE",
1675                 "Mass Storage",
1676                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1677                 0),
1678 UNUSUAL_DEV(  0x12d1, 0x141A, 0x0000, 0x0000,
1679                 "HUAWEI MOBILE",
1680                 "Mass Storage",
1681                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1682                 0),
1683 UNUSUAL_DEV(  0x12d1, 0x141B, 0x0000, 0x0000,
1684                 "HUAWEI MOBILE",
1685                 "Mass Storage",
1686                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1687                 0),
1688 UNUSUAL_DEV(  0x12d1, 0x141C, 0x0000, 0x0000,
1689                 "HUAWEI MOBILE",
1690                 "Mass Storage",
1691                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1692                 0),
1693 UNUSUAL_DEV(  0x12d1, 0x141D, 0x0000, 0x0000,
1694                 "HUAWEI MOBILE",
1695                 "Mass Storage",
1696                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1697                 0),
1698 UNUSUAL_DEV(  0x12d1, 0x141E, 0x0000, 0x0000,
1699                 "HUAWEI MOBILE",
1700                 "Mass Storage",
1701                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1702                 0),
1703 UNUSUAL_DEV(  0x12d1, 0x141F, 0x0000, 0x0000,
1704                 "HUAWEI MOBILE",
1705                 "Mass Storage",
1706                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1707                 0),
1708 UNUSUAL_DEV(  0x12d1, 0x1420, 0x0000, 0x0000,
1709                 "HUAWEI MOBILE",
1710                 "Mass Storage",
1711                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1712                 0),
1713 UNUSUAL_DEV(  0x12d1, 0x1421, 0x0000, 0x0000,
1714                 "HUAWEI MOBILE",
1715                 "Mass Storage",
1716                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1717                 0),
1718 UNUSUAL_DEV(  0x12d1, 0x1422, 0x0000, 0x0000,
1719                 "HUAWEI MOBILE",
1720                 "Mass Storage",
1721                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1722                 0),
1723 UNUSUAL_DEV(  0x12d1, 0x1423, 0x0000, 0x0000,
1724                 "HUAWEI MOBILE",
1725                 "Mass Storage",
1726                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1727                 0),
1728 UNUSUAL_DEV(  0x12d1, 0x1424, 0x0000, 0x0000,
1729                 "HUAWEI MOBILE",
1730                 "Mass Storage",
1731                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1732                 0),
1733 UNUSUAL_DEV(  0x12d1, 0x1425, 0x0000, 0x0000,
1734                 "HUAWEI MOBILE",
1735                 "Mass Storage",
1736                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1737                 0),
1738 UNUSUAL_DEV(  0x12d1, 0x1426, 0x0000, 0x0000,
1739                 "HUAWEI MOBILE",
1740                 "Mass Storage",
1741                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1742                 0),
1743 UNUSUAL_DEV(  0x12d1, 0x1427, 0x0000, 0x0000,
1744                 "HUAWEI MOBILE",
1745                 "Mass Storage",
1746                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1747                 0),
1748 UNUSUAL_DEV(  0x12d1, 0x1428, 0x0000, 0x0000,
1749                 "HUAWEI MOBILE",
1750                 "Mass Storage",
1751                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1752                 0),
1753 UNUSUAL_DEV(  0x12d1, 0x1429, 0x0000, 0x0000,
1754                 "HUAWEI MOBILE",
1755                 "Mass Storage",
1756                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1757                 0),
1758 UNUSUAL_DEV(  0x12d1, 0x142A, 0x0000, 0x0000,
1759                 "HUAWEI MOBILE",
1760                 "Mass Storage",
1761                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1762                 0),
1763 UNUSUAL_DEV(  0x12d1, 0x142B, 0x0000, 0x0000,
1764                 "HUAWEI MOBILE",
1765                 "Mass Storage",
1766                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1767                 0),
1768 UNUSUAL_DEV(  0x12d1, 0x142C, 0x0000, 0x0000,
1769                 "HUAWEI MOBILE",
1770                 "Mass Storage",
1771                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1772                 0),
1773 UNUSUAL_DEV(  0x12d1, 0x142D, 0x0000, 0x0000,
1774                 "HUAWEI MOBILE",
1775                 "Mass Storage",
1776                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1777                 0),
1778 UNUSUAL_DEV(  0x12d1, 0x142E, 0x0000, 0x0000,
1779                 "HUAWEI MOBILE",
1780                 "Mass Storage",
1781                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1782                 0),
1783 UNUSUAL_DEV(  0x12d1, 0x142F, 0x0000, 0x0000,
1784                 "HUAWEI MOBILE",
1785                 "Mass Storage",
1786                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1787                 0),
1788 UNUSUAL_DEV(  0x12d1, 0x1430, 0x0000, 0x0000,
1789                 "HUAWEI MOBILE",
1790                 "Mass Storage",
1791                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1792                 0),
1793 UNUSUAL_DEV(  0x12d1, 0x1431, 0x0000, 0x0000,
1794                 "HUAWEI MOBILE",
1795                 "Mass Storage",
1796                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1797                 0),
1798 UNUSUAL_DEV(  0x12d1, 0x1432, 0x0000, 0x0000,
1799                 "HUAWEI MOBILE",
1800                 "Mass Storage",
1801                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1802                 0),
1803 UNUSUAL_DEV(  0x12d1, 0x1433, 0x0000, 0x0000,
1804                 "HUAWEI MOBILE",
1805                 "Mass Storage",
1806                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1807                 0),
1808 UNUSUAL_DEV(  0x12d1, 0x1434, 0x0000, 0x0000,
1809                 "HUAWEI MOBILE",
1810                 "Mass Storage",
1811                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1812                 0),
1813 UNUSUAL_DEV(  0x12d1, 0x1435, 0x0000, 0x0000,
1814                 "HUAWEI MOBILE",
1815                 "Mass Storage",
1816                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1817                 0),
1818 UNUSUAL_DEV(  0x12d1, 0x1436, 0x0000, 0x0000,
1819                 "HUAWEI MOBILE",
1820                 "Mass Storage",
1821                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1822                 0),
1823 UNUSUAL_DEV(  0x12d1, 0x1437, 0x0000, 0x0000,
1824                 "HUAWEI MOBILE",
1825                 "Mass Storage",
1826                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1827                 0),
1828 UNUSUAL_DEV(  0x12d1, 0x1438, 0x0000, 0x0000,
1829                 "HUAWEI MOBILE",
1830                 "Mass Storage",
1831                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1832                 0),
1833 UNUSUAL_DEV(  0x12d1, 0x1439, 0x0000, 0x0000,
1834                 "HUAWEI MOBILE",
1835                 "Mass Storage",
1836                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1837                 0),
1838 UNUSUAL_DEV(  0x12d1, 0x143A, 0x0000, 0x0000,
1839                 "HUAWEI MOBILE",
1840                 "Mass Storage",
1841                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1842                 0),
1843 UNUSUAL_DEV(  0x12d1, 0x143B, 0x0000, 0x0000,
1844                 "HUAWEI MOBILE",
1845                 "Mass Storage",
1846                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1847                 0),
1848 UNUSUAL_DEV(  0x12d1, 0x143C, 0x0000, 0x0000,
1849                 "HUAWEI MOBILE",
1850                 "Mass Storage",
1851                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1852                 0),
1853 UNUSUAL_DEV(  0x12d1, 0x143D, 0x0000, 0x0000,
1854                 "HUAWEI MOBILE",
1855                 "Mass Storage",
1856                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1857                 0),
1858 UNUSUAL_DEV(  0x12d1, 0x143E, 0x0000, 0x0000,
1859                 "HUAWEI MOBILE",
1860                 "Mass Storage",
1861                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1862                 0),
1863 UNUSUAL_DEV(  0x12d1, 0x143F, 0x0000, 0x0000,
1864                 "HUAWEI MOBILE",
1865                 "Mass Storage",
1866                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1867                 0),
1868
1869 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1870 UNUSUAL_DEV(  0x132b, 0x000b, 0x0001, 0x0001,
1871                 "Minolta",
1872                 "Dimage Z10",
1873                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1874                 0 ),
1875
1876 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
1877 UNUSUAL_DEV(  0x1370, 0x6828, 0x0110, 0x0110,
1878                 "SWISSBIT",
1879                 "Black Silver",
1880                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1881                 US_FL_IGNORE_RESIDUE ),
1882
1883 /* Reported by Qinglin Ye <yestyle@gmail.com> */
1884 UNUSUAL_DEV(  0x13fe, 0x3600, 0x0100, 0x0100,
1885                 "Kingston",
1886                 "DT 101 G2",
1887                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1888                 US_FL_BULK_IGNORE_TAG ),
1889
1890 /* Reported by Francesco Foresti <frafore@tiscali.it> */
1891 UNUSUAL_DEV(  0x14cd, 0x6600, 0x0201, 0x0201,
1892                 "Super Top",
1893                 "IDE DEVICE",
1894                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1895                 US_FL_IGNORE_RESIDUE ),
1896
1897 /* Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1898  * JMicron responds to USN and several other SCSI ioctls with a
1899  * residue that causes subsequent I/O requests to fail.  */
1900 UNUSUAL_DEV(  0x152d, 0x2329, 0x0100, 0x0100,
1901                 "JMicron",
1902                 "USB to ATA/ATAPI Bridge",
1903                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1904                 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1905
1906 /* Reported by Robert Schedel <r.schedel@yahoo.de>
1907  * Note: this is a 'super top' device like the above 14cd/6600 device */
1908 UNUSUAL_DEV(  0x1652, 0x6600, 0x0201, 0x0201,
1909                 "Teac",
1910                 "HD-35PUK-B",
1911                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1912                 US_FL_IGNORE_RESIDUE ),
1913
1914 /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
1915 UNUSUAL_DEV(  0x177f, 0x0400, 0x0000, 0x0000,
1916                 "Yarvik",
1917                 "PMP400",
1918                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1919                 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
1920
1921 /* Reported by Hans de Goede <hdegoede@redhat.com>
1922  * These Appotech controllers are found in Picture Frames, they provide a
1923  * (buggy) emulation of a cdrom drive which contains the windows software
1924  * Uploading of pictures happens over the corresponding /dev/sg device. */
1925 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
1926                 "BUILDWIN",
1927                 "Photo Frame",
1928                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1929                 US_FL_BAD_SENSE ),
1930 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
1931                 "BUILDWIN",
1932                 "Photo Frame",
1933                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1934                 US_FL_BAD_SENSE ),
1935 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
1936                 "BUILDWIN",
1937                 "Photo Frame",
1938                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1939                 US_FL_NO_READ_DISC_INFO ),
1940
1941 /* Reported by Sven Geggus <sven-usbst@geggus.net>
1942  * This encrypted pen drive returns bogus data for the initial READ(10).
1943  */
1944 UNUSUAL_DEV(  0x1b1c, 0x1ab5, 0x0200, 0x0200,
1945                 "Corsair",
1946                 "Padlock v2",
1947                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1948                 US_FL_INITIAL_READ10 ),
1949
1950 /* Patch by Richard Schütz <r.schtz@t-online.de>
1951  * This external hard drive enclosure uses a JMicron chip which
1952  * needs the US_FL_IGNORE_RESIDUE flag to work properly. */
1953 UNUSUAL_DEV(  0x1e68, 0x001b, 0x0000, 0x0000,
1954                 "TrekStor GmbH & Co. KG",
1955                 "DataStation maxi g.u",
1956                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1957                 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1958
1959 /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
1960 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
1961                 "Coby Electronics",
1962                 "MP3 Player",
1963                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1964                 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
1965
1966 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
1967                 "ST",
1968                 "2A",
1969                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1970                 US_FL_FIX_CAPACITY),
1971
1972 /* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
1973  * and Renato Perini <rperini@email.it>
1974  */
1975 UNUSUAL_DEV(  0x22b8, 0x3010, 0x0001, 0x0001,
1976                 "Motorola",
1977                 "RAZR V3x",
1978                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1979                 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1980
1981 /*
1982  * Patch by Constantin Baranov <const@tltsu.ru>
1983  * Report by Andreas Koenecke.
1984  * Motorola ROKR Z6.
1985  */
1986 UNUSUAL_DEV(  0x22b8, 0x6426, 0x0101, 0x0101,
1987                 "Motorola",
1988                 "MSnc.",
1989                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1990                 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
1991
1992 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
1993 UNUSUAL_DEV(  0x2735, 0x100b, 0x0000, 0x9999,
1994                 "MPIO",
1995                 "HS200",
1996                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1997                 US_FL_GO_SLOW ),
1998
1999 /* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2000  * Mio Moov 330
2001  */
2002 UNUSUAL_DEV(  0x3340, 0xffff, 0x0000, 0x0000,
2003                 "Mitac",
2004                 "Mio DigiWalker USB Sync",
2005                 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2006                 US_FL_MAX_SECTORS_64 ),
2007
2008 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2009 UNUSUAL_DEV(  0x4102, 0x1020, 0x0100,  0x0100,
2010                 "iRiver",
2011                 "MP3 T10",
2012                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2013                 US_FL_IGNORE_RESIDUE ),
2014
2015 /* Reported by Sergey Pinaev <dfo@antex.ru> */
2016 UNUSUAL_DEV(  0x4102, 0x1059, 0x0000,  0x0000,
2017                "iRiver",
2018                "P7K",
2019                USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2020                US_FL_MAX_SECTORS_64 ),
2021
2022 /*
2023  * David Härdeman <david@2gen.com>
2024  * The key makes the SCSI stack print confusing (but harmless) messages
2025  */
2026 UNUSUAL_DEV(  0x4146, 0xba01, 0x0100, 0x0100,
2027                 "Iomega",
2028                 "Micro Mini 1GB",
2029                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2030
2031 /*
2032  * Nick Bowler <nbowler@elliptictech.com>
2033  * SCSI stack spams (otherwise harmless) error messages.
2034  */
2035 UNUSUAL_DEV(  0xc251, 0x4003, 0x0100, 0x0100,
2036                 "Keil Software, Inc.",
2037                 "V2M MotherBoard",
2038                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2039                 US_FL_NOT_LOCKABLE),
2040
2041 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2042 UNUSUAL_DEV(  0xed06, 0x4500, 0x0001, 0x0001,
2043                 "DataStor",
2044                 "USB4500 FW1.04",
2045                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2046                 US_FL_CAPACITY_HEURISTICS),
2047
2048 /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2049 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2050                 "TGE",
2051                 "Digital MP3 Audio Player",
2052                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2053
2054 /* Control/Bulk transport for all SubClass values */
2055 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2056 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2057 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2058 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2059 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2060 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2061
2062 /* Control/Bulk/Interrupt transport for all SubClass values */
2063 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2064 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2065 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2066 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2067 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2068 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2069
2070 /* Bulk-only transport for all SubClass values */
2071 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2072 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2073 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2074 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2075 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2076 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),