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