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