a6c4c7d416b90fba6b3a30db552643b1de45badf
[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 UNUSUAL_DEV(  0x085a, 0x0026, 0x0100, 0x0133,
1121                 "Xircom",
1122                 "PortGear USB-SCSI (Mac USB Dock)",
1123                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1124                 US_FL_SCM_MULT_TARG ),
1125
1126 UNUSUAL_DEV(  0x085a, 0x0028, 0x0100, 0x0133,
1127                 "Xircom",
1128                 "PortGear USB to SCSI Converter",
1129                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1130                 US_FL_SCM_MULT_TARG ),
1131
1132 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1133 UNUSUAL_DEV(  0x08bd, 0x1100, 0x0000, 0x0000,
1134                 "CITIZEN",
1135                 "X1DE-USB",
1136                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1137                 US_FL_SINGLE_LUN),
1138
1139 /* Submitted by Dylan Taft <d13f00l@gmail.com>
1140  * US_FL_IGNORE_RESIDUE Needed
1141  */
1142 UNUSUAL_DEV(  0x08ca, 0x3103, 0x0100, 0x0100,
1143                 "AIPTEK",
1144                 "Aiptek USB Keychain MP3 Player",
1145                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1146                 US_FL_IGNORE_RESIDUE),
1147
1148 /* Entry needed for flags. Moreover, all devices with this ID use
1149  * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1150  * One example is "Trumpion Digital Research MYMP3".
1151  * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1152  */
1153 UNUSUAL_DEV(  0x090a, 0x1001, 0x0100, 0x0100,
1154                 "Trumpion",
1155                 "t33520 USB Flash Card Controller",
1156                 USB_SC_DEVICE, USB_PR_BULK, NULL,
1157                 US_FL_NEED_OVERRIDE ),
1158
1159 /* Reported by Filippo Bardelli <filibard@libero.it>
1160  * The device reports a subclass of RBC, which is wrong.
1161  */
1162 UNUSUAL_DEV(  0x090a, 0x1050, 0x0100, 0x0100,
1163                 "Trumpion Microelectronics, Inc.",
1164                 "33520 USB Digital Voice Recorder",
1165                 USB_SC_UFI, USB_PR_DEVICE, NULL,
1166                 0),
1167
1168 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1169 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1170                 "Trumpion",
1171                 "MP3 player",
1172                 USB_SC_RBC, USB_PR_BULK, NULL,
1173                 0 ),
1174
1175 /* aeb */
1176 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1177                 "Feiya",
1178                 "5-in-1 Card Reader",
1179                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1180                 US_FL_FIX_CAPACITY ),
1181
1182 /* Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1183  * This card reader returns "Illegal Request, Logical Block Address
1184  * Out of Range" for the first READ(10) after a new card is inserted.
1185  */
1186 UNUSUAL_DEV(  0x090c, 0x6000, 0x0100, 0x0100,
1187                 "Feiya",
1188                 "SD/SDHC Card Reader",
1189                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1190                 US_FL_INITIAL_READ10 ),
1191
1192 /* This Pentax still camera is not conformant
1193  * to the USB storage specification: -
1194  * - It does not like the INQUIRY command. So we must handle this command
1195  *   of the SCSI layer ourselves.
1196  * Tested on Rev. 10.00 (0x1000)
1197  * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1198  */
1199 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1200                 "Pentax",
1201                 "Optio 2/3/400",
1202                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1203                 US_FL_FIX_INQUIRY ),
1204
1205 /* These are virtual windows driver CDs, which the zd1211rw driver
1206  * automatically converts into WLAN devices. */
1207 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1208                 "ZyXEL",
1209                 "G-220F USB-WLAN Install",
1210                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1211                 US_FL_IGNORE_DEVICE ),
1212
1213 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1214                 "SiteCom",
1215                 "WL-117 USB-WLAN Install",
1216                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1217                 US_FL_IGNORE_DEVICE ),
1218
1219 /* Reported by Dan Williams <dcbw@redhat.com>
1220  * Option N.V. mobile broadband modems
1221  * Ignore driver CD mode and force into modem mode by default.
1222  */
1223
1224 /* iCON 225 */
1225 UNUSUAL_DEV(  0x0af0, 0x6971, 0x0000, 0x9999,
1226                 "Option N.V.",
1227                 "Mass Storage",
1228                 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1229                 0),
1230
1231 /* Reported by F. Aben <f.aben@option.com>
1232  * This device (wrongly) has a vendor-specific device descriptor.
1233  * The entry is needed so usb-storage can bind to it's mass-storage
1234  * interface as an interface driver */
1235 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1236                 "Option",
1237                 "GI 0401 SD-Card",
1238                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1239                 0 ),
1240
1241 /* Reported by Jan Dumon <j.dumon@option.com>
1242  * These devices (wrongly) have a vendor-specific device descriptor.
1243  * These entries are needed so usb-storage can bind to their mass-storage
1244  * interface as an interface driver */
1245 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1246                 "Option",
1247                 "GI 0431 SD-Card",
1248                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1249                 0 ),
1250
1251 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1252                 "Option",
1253                 "GI 0451 SD-Card",
1254                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1255                 0 ),
1256
1257 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1258                 "Option",
1259                 "GI 0451 SD-Card",
1260                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1261                 0 ),
1262
1263 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1264                 "Option",
1265                 "GI 0452 SD-Card",
1266                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1267                 0 ),
1268
1269 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1270                 "Option",
1271                 "GI 0461 SD-Card",
1272                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1273                 0 ),
1274
1275 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1276                 "Option",
1277                 "GI 0461 SD-Card",
1278                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1279                 0 ),
1280
1281 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1282                 "Option",
1283                 "GI 033x SD-Card",
1284                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1285                 0 ),
1286
1287 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1288                 "Option",
1289                 "GI 033x SD-Card",
1290                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1291                 0 ),
1292
1293 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1294                 "Option",
1295                 "GI 033x SD-Card",
1296                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1297                 0 ),
1298
1299 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1300                 "Option",
1301                 "GI 070x SD-Card",
1302                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1303                 0 ),
1304
1305 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1306                 "Option",
1307                 "GI 1505 SD-Card",
1308                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1309                 0 ),
1310
1311 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1312                 "Option",
1313                 "GI 1509 SD-Card",
1314                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1315                 0 ),
1316
1317 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1318                 "Option",
1319                 "GI 1515 SD-Card",
1320                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1321                 0 ),
1322
1323 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1324                 "Option",
1325                 "GI 1215 SD-Card",
1326                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1327                 0 ),
1328
1329 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1330                 "Option",
1331                 "GI 1505 SD-Card",
1332                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1333                 0 ),
1334
1335 /* Reported by Ben Efros <ben@pc-doctor.com> */
1336 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1337                 "Seagate",
1338                 "FreeAgent Pro",
1339                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1340                 US_FL_SANE_SENSE ),
1341
1342 UNUSUAL_DEV(  0x0d49, 0x7310, 0x0000, 0x9999,
1343                 "Maxtor",
1344                 "USB to SATA",
1345                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1346                 US_FL_SANE_SENSE),
1347
1348 /*
1349  * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1350  * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1351  */
1352 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1353                 "Unknown",
1354                 "Unknown",
1355                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1356                 US_FL_SINGLE_LUN ),
1357
1358 /* Submitted by Joris Struyve <joris@struyve.be> */
1359 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1360                 "Medion",
1361                 "MD 7425",
1362                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1363                 US_FL_FIX_INQUIRY),
1364
1365 /*
1366  * Entry for Jenoptik JD 5200z3
1367  *
1368  * email: car.busse@gmx.de
1369  */
1370 UNUSUAL_DEV(  0x0d96, 0x5200, 0x0001, 0x0200,
1371                 "Jenoptik",
1372                 "JD 5200 z3",
1373                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1374
1375 /* Reported by  Jason Johnston <killean@shaw.ca> */
1376 UNUSUAL_DEV(  0x0dc4, 0x0073, 0x0000, 0x0000,
1377                 "Macpower Technology Co.LTD.",
1378                 "USB 2.0 3.5\" DEVICE",
1379                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1380                 US_FL_FIX_CAPACITY),
1381
1382 /* Reported by Lubomir Blaha <tritol@trilogic.cz>
1383  * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1384  * works for me. Can anybody correct these values? (I able to test corrected
1385  * version.)
1386  */
1387 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1388                 "Netac",
1389                 "USB-CF-Card",
1390                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1391                 US_FL_FIX_INQUIRY ),
1392
1393 /* Reported by Edward Chapman (taken from linux-usb mailing list)
1394    Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1395 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1396                 "Netac",
1397                 "USB Flash Disk",
1398                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1399                 US_FL_IGNORE_RESIDUE ),
1400
1401
1402 /* Patch by Stephan Walter <stephan.walter@epfl.ch>
1403  * I don't know why, but it works... */
1404 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1405                 "WINWARD",
1406                 "Music Disk",
1407                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1408                 US_FL_IGNORE_RESIDUE ),
1409
1410 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1411 UNUSUAL_DEV(  0x0dda, 0x0301, 0x0012, 0x0012,
1412                 "PNP_MP3",
1413                 "PNP_MP3 PLAYER",
1414                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1415                 US_FL_IGNORE_RESIDUE ),
1416
1417 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1418 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1419                 "Cowon Systems",
1420                 "iAUDIO M5",
1421                 USB_SC_DEVICE, USB_PR_BULK, NULL,
1422                 US_FL_NEED_OVERRIDE ),
1423
1424 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1425 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1426                 "USB",
1427                 "Solid state disk",
1428                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1429                 US_FL_FIX_INQUIRY ),
1430
1431 /* Submitted by Daniel Drake <dsd@gentoo.org>
1432  * Reported by dayul on the Gentoo Forums */
1433 UNUSUAL_DEV(  0x0ea0, 0x2168, 0x0110, 0x0110,
1434                 "Ours Technology",
1435                 "Flash Disk",
1436                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1437                 US_FL_IGNORE_RESIDUE ),
1438
1439 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1440 UNUSUAL_DEV(  0x0ea0, 0x6828, 0x0110, 0x0110,
1441                 "USB",
1442                 "Flash Disk",
1443                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1444                 US_FL_IGNORE_RESIDUE ),
1445
1446 /* Reported by Benjamin Schiller <sbenni@gmx.de>
1447  * It is also sold by Easylite as DJ 20 */
1448 UNUSUAL_DEV(  0x0ed1, 0x7636, 0x0103, 0x0103,
1449                 "Typhoon",
1450                 "My DJ 1820",
1451                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1452                 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1453
1454 /* Patch by Leonid Petrov mail at lpetrov.net
1455  * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1456  * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1457  * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1458  */
1459 UNUSUAL_DEV(  0x0f19, 0x0103, 0x0100, 0x0100,
1460                 "Oracom Co., Ltd",
1461                 "ORC-200M",
1462                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1463                 US_FL_IGNORE_RESIDUE ),
1464
1465 /* David Kuehling <dvdkhlng@gmx.de>:
1466  * for MP3-Player AVOX WSX-300ER (bought in Japan).  Reports lots of SCSI
1467  * errors when trying to write.
1468  */
1469 UNUSUAL_DEV(  0x0f19, 0x0105, 0x0100, 0x0100,
1470                 "C-MEX",
1471                 "A-VOX",
1472                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1473                 US_FL_IGNORE_RESIDUE ),
1474
1475 /* Submitted by Nick Holloway */
1476 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1477                 "VTech",
1478                 "Kidizoom",
1479                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1480                 US_FL_FIX_CAPACITY ),
1481
1482 /* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
1483 UNUSUAL_DEV(  0x0fca, 0x8004, 0x0201, 0x0201,
1484                 "Research In Motion",
1485                 "BlackBerry Bold 9000",
1486                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1487                 US_FL_MAX_SECTORS_64 ),
1488
1489 /* Reported by Michael Stattmann <michael@stattmann.com> */
1490 UNUSUAL_DEV(  0x0fce, 0xd008, 0x0000, 0x0000,
1491                 "Sony Ericsson",
1492                 "V800-Vodafone 802",
1493                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1494                 US_FL_NO_WP_DETECT ),
1495
1496 /* Reported by The Solutor <thesolutor@gmail.com> */
1497 UNUSUAL_DEV(  0x0fce, 0xd0e1, 0x0000, 0x0000,
1498                 "Sony Ericsson",
1499                 "MD400",
1500                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1501                 US_FL_IGNORE_DEVICE),
1502
1503 /* Reported by Jan Mate <mate@fiit.stuba.sk>
1504  * and by Soeren Sonnenburg <kernel@nn7.de> */
1505 UNUSUAL_DEV(  0x0fce, 0xe030, 0x0000, 0x0000,
1506                 "Sony Ericsson",
1507                 "P990i",
1508                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1509                 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1510
1511 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1512 UNUSUAL_DEV(  0x0fce, 0xe031, 0x0000, 0x0000,
1513                 "Sony Ericsson",
1514                 "M600i",
1515                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1516                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1517
1518 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1519 UNUSUAL_DEV(  0x0fce, 0xe092, 0x0000, 0x0000,
1520                 "Sony Ericsson",
1521                 "P1i",
1522                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1523                 US_FL_IGNORE_RESIDUE ),
1524
1525 /* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1526  * Tested on hardware version 1.10.
1527  * Entry is needed only for the initializer function override.
1528  * Devices with bcd > 110 seem to not need it while those
1529  * with bcd < 110 appear to need it.
1530  */
1531 UNUSUAL_DEV(  0x1019, 0x0c55, 0x0000, 0x0110,
1532                 "Desknote",
1533                 "UCR-61S2B",
1534                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1535                 0 ),
1536
1537 UNUSUAL_DEV(  0x1058, 0x0704, 0x0000, 0x9999,
1538                 "Western Digital",
1539                 "External HDD",
1540                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1541                 US_FL_SANE_SENSE),
1542
1543 /* Reported by Fabio Venturi <f.venturi@tdnet.it>
1544  * The device reports a vendor-specific bDeviceClass.
1545  */
1546 UNUSUAL_DEV(  0x10d6, 0x2200, 0x0100, 0x0100,
1547                 "Actions Semiconductor",
1548                 "Mtp device",
1549                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1550                 0),
1551
1552 /* Reported by Pascal Terjan <pterjan@mandriva.com>
1553  * Ignore driver CD mode and force into modem mode by default.
1554  */
1555 UNUSUAL_DEV(  0x1186, 0x3e04, 0x0000, 0x0000,
1556            "D-Link",
1557            "USB Mass Storage",
1558            USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1559
1560 /* Reported by Kevin Lloyd <linux@sierrawireless.com>
1561  * Entry is needed for the initializer function override,
1562  * which instructs the device to load as a modem
1563  * device.
1564  */
1565 UNUSUAL_DEV(  0x1199, 0x0fff, 0x0000, 0x9999,
1566                 "Sierra Wireless",
1567                 "USB MMC Storage",
1568                 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1569                 0),
1570
1571 /* Reported by Jaco Kroon <jaco@kroon.co.za>
1572  * The usb-storage module found on the Digitech GNX4 (and supposedly other
1573  * devices) misbehaves and causes a bunch of invalid I/O errors.
1574  */
1575 UNUSUAL_DEV(  0x1210, 0x0003, 0x0100, 0x0100,
1576                 "Digitech HMG",
1577                 "DigiTech Mass Storage",
1578                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1579                 US_FL_IGNORE_RESIDUE ),
1580
1581 /* Reported by fangxiaozhi <huananhu@huawei.com>
1582  * This brings the HUAWEI data card devices into multi-port mode
1583  */
1584 UNUSUAL_DEV(  0x12d1, 0x1001, 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, 0x1003, 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, 0x1004, 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, 0x1401, 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, 0x1402, 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, 0x1403, 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, 0x1404, 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, 0x1405, 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, 0x1406, 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, 0x1407, 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, 0x1408, 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, 0x1409, 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, 0x140A, 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, 0x140B, 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, 0x140C, 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, 0x140D, 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, 0x140E, 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, 0x140F, 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, 0x1410, 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, 0x1411, 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, 0x1412, 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, 0x1413, 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, 0x1414, 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, 0x1415, 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, 0x1416, 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, 0x1417, 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, 0x1418, 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, 0x1419, 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, 0x141A, 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, 0x141B, 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, 0x141C, 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, 0x141D, 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, 0x141E, 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, 0x141F, 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, 0x1420, 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, 0x1421, 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, 0x1422, 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, 0x1423, 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, 0x1424, 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, 0x1425, 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, 0x1426, 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, 0x1427, 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, 0x1428, 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, 0x1429, 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, 0x142A, 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, 0x142B, 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, 0x142C, 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, 0x142D, 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, 0x142E, 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, 0x142F, 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, 0x1430, 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, 0x1431, 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, 0x1432, 0x0000, 0x0000,
1845                 "HUAWEI MOBILE",
1846                 "Mass Storage",
1847                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1848                 0),
1849 UNUSUAL_DEV(  0x12d1, 0x1433, 0x0000, 0x0000,
1850                 "HUAWEI MOBILE",
1851                 "Mass Storage",
1852                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1853                 0),
1854 UNUSUAL_DEV(  0x12d1, 0x1434, 0x0000, 0x0000,
1855                 "HUAWEI MOBILE",
1856                 "Mass Storage",
1857                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1858                 0),
1859 UNUSUAL_DEV(  0x12d1, 0x1435, 0x0000, 0x0000,
1860                 "HUAWEI MOBILE",
1861                 "Mass Storage",
1862                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1863                 0),
1864 UNUSUAL_DEV(  0x12d1, 0x1436, 0x0000, 0x0000,
1865                 "HUAWEI MOBILE",
1866                 "Mass Storage",
1867                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1868                 0),
1869 UNUSUAL_DEV(  0x12d1, 0x1437, 0x0000, 0x0000,
1870                 "HUAWEI MOBILE",
1871                 "Mass Storage",
1872                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1873                 0),
1874 UNUSUAL_DEV(  0x12d1, 0x1438, 0x0000, 0x0000,
1875                 "HUAWEI MOBILE",
1876                 "Mass Storage",
1877                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1878                 0),
1879 UNUSUAL_DEV(  0x12d1, 0x1439, 0x0000, 0x0000,
1880                 "HUAWEI MOBILE",
1881                 "Mass Storage",
1882                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1883                 0),
1884 UNUSUAL_DEV(  0x12d1, 0x143A, 0x0000, 0x0000,
1885                 "HUAWEI MOBILE",
1886                 "Mass Storage",
1887                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1888                 0),
1889 UNUSUAL_DEV(  0x12d1, 0x143B, 0x0000, 0x0000,
1890                 "HUAWEI MOBILE",
1891                 "Mass Storage",
1892                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1893                 0),
1894 UNUSUAL_DEV(  0x12d1, 0x143C, 0x0000, 0x0000,
1895                 "HUAWEI MOBILE",
1896                 "Mass Storage",
1897                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1898                 0),
1899 UNUSUAL_DEV(  0x12d1, 0x143D, 0x0000, 0x0000,
1900                 "HUAWEI MOBILE",
1901                 "Mass Storage",
1902                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1903                 0),
1904 UNUSUAL_DEV(  0x12d1, 0x143E, 0x0000, 0x0000,
1905                 "HUAWEI MOBILE",
1906                 "Mass Storage",
1907                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1908                 0),
1909 UNUSUAL_DEV(  0x12d1, 0x143F, 0x0000, 0x0000,
1910                 "HUAWEI MOBILE",
1911                 "Mass Storage",
1912                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1913                 0),
1914
1915 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1916 UNUSUAL_DEV(  0x132b, 0x000b, 0x0001, 0x0001,
1917                 "Minolta",
1918                 "Dimage Z10",
1919                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1920                 0 ),
1921
1922 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
1923 UNUSUAL_DEV(  0x1370, 0x6828, 0x0110, 0x0110,
1924                 "SWISSBIT",
1925                 "Black Silver",
1926                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1927                 US_FL_IGNORE_RESIDUE ),
1928
1929 /* Reported by Qinglin Ye <yestyle@gmail.com> */
1930 UNUSUAL_DEV(  0x13fe, 0x3600, 0x0100, 0x0100,
1931                 "Kingston",
1932                 "DT 101 G2",
1933                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1934                 US_FL_BULK_IGNORE_TAG ),
1935
1936 /* Reported by Francesco Foresti <frafore@tiscali.it> */
1937 UNUSUAL_DEV(  0x14cd, 0x6600, 0x0201, 0x0201,
1938                 "Super Top",
1939                 "IDE DEVICE",
1940                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1941                 US_FL_IGNORE_RESIDUE ),
1942
1943 /* Reported by Michael Büsch <m@bues.ch> */
1944 UNUSUAL_DEV(  0x152d, 0x0567, 0x0114, 0x0114,
1945                 "JMicron",
1946                 "USB to ATA/ATAPI Bridge",
1947                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1948                 US_FL_BROKEN_FUA ),
1949
1950 /* Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1951  * JMicron responds to USN and several other SCSI ioctls with a
1952  * residue that causes subsequent I/O requests to fail.  */
1953 UNUSUAL_DEV(  0x152d, 0x2329, 0x0100, 0x0100,
1954                 "JMicron",
1955                 "USB to ATA/ATAPI Bridge",
1956                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1957                 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1958
1959 /* Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
1960  * and Mac USB Dock USB-SCSI */
1961 UNUSUAL_DEV(  0x1645, 0x0007, 0x0100, 0x0133,
1962                 "Entrega Technologies",
1963                 "USB to SCSI Converter",
1964                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1965                 US_FL_SCM_MULT_TARG ),
1966
1967 /* Reported by Robert Schedel <r.schedel@yahoo.de>
1968  * Note: this is a 'super top' device like the above 14cd/6600 device */
1969 UNUSUAL_DEV(  0x1652, 0x6600, 0x0201, 0x0201,
1970                 "Teac",
1971                 "HD-35PUK-B",
1972                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1973                 US_FL_IGNORE_RESIDUE ),
1974
1975 /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
1976 UNUSUAL_DEV(  0x177f, 0x0400, 0x0000, 0x0000,
1977                 "Yarvik",
1978                 "PMP400",
1979                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1980                 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
1981
1982 UNUSUAL_DEV(  0x1822, 0x0001, 0x0000, 0x9999,
1983                 "Ariston Technologies",
1984                 "iConnect USB to SCSI adapter",
1985                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1986                 US_FL_SCM_MULT_TARG ),
1987
1988 /* Reported by Hans de Goede <hdegoede@redhat.com>
1989  * These Appotech controllers are found in Picture Frames, they provide a
1990  * (buggy) emulation of a cdrom drive which contains the windows software
1991  * Uploading of pictures happens over the corresponding /dev/sg device. */
1992 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
1993                 "BUILDWIN",
1994                 "Photo Frame",
1995                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1996                 US_FL_BAD_SENSE ),
1997 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
1998                 "BUILDWIN",
1999                 "Photo Frame",
2000                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2001                 US_FL_BAD_SENSE ),
2002 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2003                 "BUILDWIN",
2004                 "Photo Frame",
2005                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2006                 US_FL_NO_READ_DISC_INFO ),
2007
2008 /* Reported by Sven Geggus <sven-usbst@geggus.net>
2009  * This encrypted pen drive returns bogus data for the initial READ(10).
2010  */
2011 UNUSUAL_DEV(  0x1b1c, 0x1ab5, 0x0200, 0x0200,
2012                 "Corsair",
2013                 "Padlock v2",
2014                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2015                 US_FL_INITIAL_READ10 ),
2016
2017 /* Patch by Richard Schütz <r.schtz@t-online.de>
2018  * This external hard drive enclosure uses a JMicron chip which
2019  * needs the US_FL_IGNORE_RESIDUE flag to work properly. */
2020 UNUSUAL_DEV(  0x1e68, 0x001b, 0x0000, 0x0000,
2021                 "TrekStor GmbH & Co. KG",
2022                 "DataStation maxi g.u",
2023                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2024                 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2025
2026 /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
2027 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2028                 "Coby Electronics",
2029                 "MP3 Player",
2030                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2031                 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2032
2033 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2034                 "ST",
2035                 "2A",
2036                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2037                 US_FL_FIX_CAPACITY),
2038
2039 /* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2040  * and Renato Perini <rperini@email.it>
2041  */
2042 UNUSUAL_DEV(  0x22b8, 0x3010, 0x0001, 0x0001,
2043                 "Motorola",
2044                 "RAZR V3x",
2045                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2046                 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2047
2048 /*
2049  * Patch by Constantin Baranov <const@tltsu.ru>
2050  * Report by Andreas Koenecke.
2051  * Motorola ROKR Z6.
2052  */
2053 UNUSUAL_DEV(  0x22b8, 0x6426, 0x0101, 0x0101,
2054                 "Motorola",
2055                 "MSnc.",
2056                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2057                 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2058
2059 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2060 UNUSUAL_DEV(  0x2735, 0x100b, 0x0000, 0x9999,
2061                 "MPIO",
2062                 "HS200",
2063                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2064                 US_FL_GO_SLOW ),
2065
2066 /* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2067  * Mio Moov 330
2068  */
2069 UNUSUAL_DEV(  0x3340, 0xffff, 0x0000, 0x0000,
2070                 "Mitac",
2071                 "Mio DigiWalker USB Sync",
2072                 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2073                 US_FL_MAX_SECTORS_64 ),
2074
2075 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2076 UNUSUAL_DEV(  0x4102, 0x1020, 0x0100,  0x0100,
2077                 "iRiver",
2078                 "MP3 T10",
2079                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2080                 US_FL_IGNORE_RESIDUE ),
2081
2082 /* Reported by Sergey Pinaev <dfo@antex.ru> */
2083 UNUSUAL_DEV(  0x4102, 0x1059, 0x0000,  0x0000,
2084                "iRiver",
2085                "P7K",
2086                USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2087                US_FL_MAX_SECTORS_64 ),
2088
2089 /*
2090  * David Härdeman <david@2gen.com>
2091  * The key makes the SCSI stack print confusing (but harmless) messages
2092  */
2093 UNUSUAL_DEV(  0x4146, 0xba01, 0x0100, 0x0100,
2094                 "Iomega",
2095                 "Micro Mini 1GB",
2096                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2097
2098 /*
2099  * Nick Bowler <nbowler@elliptictech.com>
2100  * SCSI stack spams (otherwise harmless) error messages.
2101  */
2102 UNUSUAL_DEV(  0xc251, 0x4003, 0x0100, 0x0100,
2103                 "Keil Software, Inc.",
2104                 "V2M MotherBoard",
2105                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2106                 US_FL_NOT_LOCKABLE),
2107
2108 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2109 UNUSUAL_DEV(  0xed06, 0x4500, 0x0001, 0x0001,
2110                 "DataStor",
2111                 "USB4500 FW1.04",
2112                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2113                 US_FL_CAPACITY_HEURISTICS),
2114
2115 /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2116 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2117                 "TGE",
2118                 "Digital MP3 Audio Player",
2119                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2120
2121 /* Control/Bulk transport for all SubClass values */
2122 USUAL_DEV(USB_SC_RBC, USB_PR_CB, USB_US_TYPE_STOR),
2123 USUAL_DEV(USB_SC_8020, USB_PR_CB, USB_US_TYPE_STOR),
2124 USUAL_DEV(USB_SC_QIC, USB_PR_CB, USB_US_TYPE_STOR),
2125 USUAL_DEV(USB_SC_UFI, USB_PR_CB, USB_US_TYPE_STOR),
2126 USUAL_DEV(USB_SC_8070, USB_PR_CB, USB_US_TYPE_STOR),
2127 USUAL_DEV(USB_SC_SCSI, USB_PR_CB, USB_US_TYPE_STOR),
2128
2129 /* Control/Bulk/Interrupt transport for all SubClass values */
2130 USUAL_DEV(USB_SC_RBC, USB_PR_CBI, USB_US_TYPE_STOR),
2131 USUAL_DEV(USB_SC_8020, USB_PR_CBI, USB_US_TYPE_STOR),
2132 USUAL_DEV(USB_SC_QIC, USB_PR_CBI, USB_US_TYPE_STOR),
2133 USUAL_DEV(USB_SC_UFI, USB_PR_CBI, USB_US_TYPE_STOR),
2134 USUAL_DEV(USB_SC_8070, USB_PR_CBI, USB_US_TYPE_STOR),
2135 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI, USB_US_TYPE_STOR),
2136
2137 /* Bulk-only transport for all SubClass values */
2138 USUAL_DEV(USB_SC_RBC, USB_PR_BULK, USB_US_TYPE_STOR),
2139 USUAL_DEV(USB_SC_8020, USB_PR_BULK, USB_US_TYPE_STOR),
2140 USUAL_DEV(USB_SC_QIC, USB_PR_BULK, USB_US_TYPE_STOR),
2141 USUAL_DEV(USB_SC_UFI, USB_PR_BULK, USB_US_TYPE_STOR),
2142 USUAL_DEV(USB_SC_8070, USB_PR_BULK, USB_US_TYPE_STOR),
2143 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK, 0),