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