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