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