USB: storage: Unusual USB device Prolific 2507 variation added
[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 /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
955  * Thomas Bartosik <tbartdev@gmx-topmail.de> */
956 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
957                 "Prolific Technology Inc.",
958                 "Mass Storage Device",
959                 US_SC_DEVICE, US_PR_DEVICE, NULL,
960                 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
961
962 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
963 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
964                 "Prolific Technology Inc.",
965                 "ATAPI-6 Bridge Controller",
966                 US_SC_DEVICE, US_PR_DEVICE, NULL,
967                 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
968
969 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
970 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
971                 "Minolta",
972                 "Dimage F300",
973                 US_SC_SCSI, US_PR_BULK, NULL, 0 ),
974
975 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
976 UNUSUAL_DEV(  0x0686, 0x4017, 0x0001, 0x0001,
977                 "Minolta",
978                 "DIMAGE E223",
979                 US_SC_SCSI, US_PR_DEVICE, NULL, 0 ),
980
981 UNUSUAL_DEV(  0x0693, 0x0005, 0x0100, 0x0100,
982                 "Hagiwara",
983                 "Flashgate",
984                 US_SC_SCSI, US_PR_BULK, NULL, 0 ),
985
986 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
987 UNUSUAL_DEV(  0x069b, 0x3004, 0x0001, 0x0001,
988                 "Thomson Multimedia Inc.",
989                 "RCA RD1080 MP3 Player",
990                 US_SC_DEVICE, US_PR_DEVICE, NULL,
991                 US_FL_FIX_CAPACITY ),
992
993 /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
994 UNUSUAL_DEV(  0x071b, 0x3203, 0x0000, 0x0000,
995                 "RockChip",
996                 "MP3",
997                 US_SC_DEVICE, US_PR_DEVICE, NULL,
998                 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
999
1000 /* Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
1001  * Support the following product :
1002  *    "Dane-Elec MediaTouch"
1003  */
1004 UNUSUAL_DEV(  0x071b, 0x32bb, 0x0000, 0x0000,
1005                 "RockChip",
1006                 "MTP",
1007                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1008                 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
1009
1010 /* Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
1011  * This USB MP3/AVI player device fails and disconnects if more than 128
1012  * sectors (64kB) are read/written in a single command, and may be present
1013  * at least in the following products:
1014  *   "Magnex Digital Video Panel DVP 1800"
1015  *   "MP4 AIGO 4GB SLOT SD"
1016  *   "Teclast TL-C260 MP3"
1017  *   "i.Meizu PMP MP3/MP4"
1018  *   "Speed MV8 MP4 Audio Player"
1019  */
1020 UNUSUAL_DEV(  0x071b, 0x3203, 0x0100, 0x0100,
1021                 "RockChip",
1022                 "ROCK MP3",
1023                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1024                 US_FL_MAX_SECTORS_64),
1025
1026 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
1027 UNUSUAL_DEV(  0x0727, 0x0306, 0x0100, 0x0100,
1028                 "ATMEL",
1029                 "SND1 Storage",
1030                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1031                 US_FL_IGNORE_RESIDUE),
1032
1033 /* Submitted by Roman Hodek <roman@hodek.net> */
1034 UNUSUAL_DEV(  0x0781, 0x0001, 0x0200, 0x0200,
1035                 "Sandisk",
1036                 "ImageMate SDDR-05a",
1037                 US_SC_SCSI, US_PR_CB, NULL,
1038                 US_FL_SINGLE_LUN ),
1039
1040 UNUSUAL_DEV(  0x0781, 0x0002, 0x0009, 0x0009,
1041                 "SanDisk Corporation",
1042                 "ImageMate CompactFlash USB",
1043                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1044                 US_FL_FIX_CAPACITY ),
1045
1046 #ifdef CONFIG_USB_STORAGE_USBAT
1047 UNUSUAL_DEV(  0x0781, 0x0005, 0x0005, 0x0005,
1048                 "Sandisk",
1049                 "ImageMate SDDR-05b",
1050                 US_SC_SCSI, US_PR_USBAT, init_usbat_flash,
1051                 US_FL_SINGLE_LUN ),
1052 #endif
1053
1054 UNUSUAL_DEV(  0x0781, 0x0100, 0x0100, 0x0100,
1055                 "Sandisk",
1056                 "ImageMate SDDR-12",
1057                 US_SC_SCSI, US_PR_CB, NULL,
1058                 US_FL_SINGLE_LUN ),
1059
1060 #ifdef CONFIG_USB_STORAGE_SDDR09
1061 UNUSUAL_DEV(  0x0781, 0x0200, 0x0000, 0x9999,
1062                 "Sandisk",
1063                 "ImageMate SDDR-09",
1064                 US_SC_SCSI, US_PR_EUSB_SDDR09, usb_stor_sddr09_init,
1065                 0),
1066 #endif
1067
1068 #ifdef CONFIG_USB_STORAGE_FREECOM
1069 UNUSUAL_DEV(  0x07ab, 0xfc01, 0x0000, 0x9999,
1070                 "Freecom",
1071                 "USB-IDE",
1072                 US_SC_QIC, US_PR_FREECOM, freecom_init, 0),
1073 #endif
1074
1075 /* Reported by Eero Volotinen <eero@ping-viini.org> */
1076 UNUSUAL_DEV(  0x07ab, 0xfccd, 0x0000, 0x9999,
1077                 "Freecom Technologies",
1078                 "FHD-Classic",
1079                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1080                 US_FL_FIX_CAPACITY),
1081
1082 UNUSUAL_DEV(  0x07af, 0x0004, 0x0100, 0x0133,
1083                 "Microtech",
1084                 "USB-SCSI-DB25",
1085                 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
1086                 US_FL_SCM_MULT_TARG ), 
1087
1088 UNUSUAL_DEV(  0x07af, 0x0005, 0x0100, 0x0100,
1089                 "Microtech",
1090                 "USB-SCSI-HD50",
1091                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_euscsi_init,
1092                 US_FL_SCM_MULT_TARG ),
1093
1094 #ifdef CONFIG_USB_STORAGE_SDDR09
1095 UNUSUAL_DEV(  0x07af, 0x0006, 0x0100, 0x0100,
1096                 "Microtech",
1097                 "CameraMate (DPCM_USB)",
1098                 US_SC_SCSI, US_PR_DPCM_USB, NULL, 0 ),
1099 #else
1100 UNUSUAL_DEV(  0x07af, 0x0006, 0x0100, 0x0100,
1101                 "Microtech",
1102                 "CameraMate",
1103                 US_SC_SCSI, US_PR_CB, NULL,
1104                 US_FL_SINGLE_LUN ),
1105 #endif
1106
1107 #ifdef CONFIG_USB_STORAGE_ALAUDA
1108 UNUSUAL_DEV(  0x07b4, 0x010a, 0x0102, 0x0102,
1109                 "Olympus",
1110                 "MAUSB-10 (Alauda)",
1111                 US_SC_SCSI, US_PR_ALAUDA, init_alauda, 0 ),
1112 #endif
1113
1114 #ifdef CONFIG_USB_STORAGE_DATAFAB
1115 UNUSUAL_DEV(  0x07c4, 0xa000, 0x0000, 0x0015,
1116                 "Datafab",
1117                 "MDCFE-B USB CF Reader",
1118                 US_SC_SCSI, US_PR_DATAFAB, NULL,
1119                 0 ),
1120
1121 /*
1122  * The following Datafab-based devices may or may not work
1123  * using the current driver...the 0xffff is arbitrary since I
1124  * don't know what device versions exist for these guys.
1125  *
1126  * The 0xa003 and 0xa004 devices in particular I'm curious about.
1127  * I'm told they exist but so far nobody has come forward to say that
1128  * they work with this driver.  Given the success we've had getting
1129  * other Datafab-based cards operational with this driver, I've decided
1130  * to leave these two devices in the list.
1131  */
1132 UNUSUAL_DEV( 0x07c4, 0xa001, 0x0000, 0xffff,
1133                 "SIIG/Datafab",
1134                 "SIIG/Datafab Memory Stick+CF Reader/Writer",
1135                 US_SC_SCSI, US_PR_DATAFAB, NULL,
1136                 0 ),
1137
1138 /* Reported by Josef Reisinger <josef.reisinger@netcologne.de> */
1139 UNUSUAL_DEV( 0x07c4, 0xa002, 0x0000, 0xffff,
1140                 "Datafab/Unknown",
1141                 "MD2/MD3 Disk enclosure",
1142                 US_SC_SCSI, US_PR_DATAFAB, NULL,
1143                 US_FL_SINGLE_LUN ),
1144
1145 UNUSUAL_DEV( 0x07c4, 0xa003, 0x0000, 0xffff,
1146                 "Datafab/Unknown",
1147                 "Datafab-based Reader",
1148                 US_SC_SCSI, US_PR_DATAFAB, NULL,
1149                 0 ),
1150
1151 UNUSUAL_DEV( 0x07c4, 0xa004, 0x0000, 0xffff,
1152                 "Datafab/Unknown",
1153                 "Datafab-based Reader",
1154                 US_SC_SCSI, US_PR_DATAFAB, NULL,
1155                 0 ),
1156
1157 UNUSUAL_DEV( 0x07c4, 0xa005, 0x0000, 0xffff,
1158                 "PNY/Datafab",
1159                 "PNY/Datafab CF+SM Reader",
1160                 US_SC_SCSI, US_PR_DATAFAB, NULL,
1161                 0 ),
1162
1163 UNUSUAL_DEV( 0x07c4, 0xa006, 0x0000, 0xffff,
1164                 "Simple Tech/Datafab",
1165                 "Simple Tech/Datafab CF+SM Reader",
1166                 US_SC_SCSI, US_PR_DATAFAB, NULL,
1167                 0 ),
1168 #endif
1169                 
1170 #ifdef CONFIG_USB_STORAGE_SDDR55
1171 /* Contributed by Peter Waechtler */
1172 UNUSUAL_DEV( 0x07c4, 0xa103, 0x0000, 0x9999,
1173                 "Datafab",
1174                 "MDSM-B reader",
1175                 US_SC_SCSI, US_PR_SDDR55, NULL,
1176                 US_FL_FIX_INQUIRY ),
1177 #endif
1178
1179 #ifdef CONFIG_USB_STORAGE_DATAFAB
1180 /* Submitted by Olaf Hering <olh@suse.de> */
1181 UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0xffff,
1182                 "Datafab Systems, Inc.",
1183                 "USB to CF + SM Combo (LC1)",
1184                 US_SC_SCSI, US_PR_DATAFAB, NULL,
1185                 0 ),
1186 #endif
1187 #ifdef CONFIG_USB_STORAGE_SDDR55
1188 /* SM part - aeb <Andries.Brouwer@cwi.nl> */
1189 UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0xffff,
1190                 "Datafab Systems, Inc.",
1191                 "USB to CF + SM Combo (LC1)",
1192                 US_SC_SCSI, US_PR_SDDR55, NULL,
1193                 US_FL_SINGLE_LUN ),
1194 #endif
1195
1196 #ifdef CONFIG_USB_STORAGE_DATAFAB
1197 /* Reported by Felix Moeller <felix@derklecks.de>
1198  * in Germany this is sold by Hama with the productnumber 46952
1199  * as "DualSlot CompactFlash(TM) & MStick Drive USB"
1200  */
1201 UNUSUAL_DEV(  0x07c4, 0xa10b, 0x0000, 0xffff,
1202                 "DataFab Systems Inc.",
1203                 "USB CF+MS",
1204                 US_SC_SCSI, US_PR_DATAFAB, NULL,
1205                 0 ),
1206
1207 #endif
1208
1209 /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1210  * Only revision 1.13 tested (same for all of the above devices,
1211  * based on the Datafab DF-UG-07 chip).  Needed for US_FL_FIX_INQUIRY.
1212  * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
1213  * See also http://martin.wilck.bei.t-online.de/#kecf .
1214  */
1215 UNUSUAL_DEV(  0x07c4, 0xa400, 0x0000, 0xffff,
1216                 "Datafab",
1217                 "KECF-USB",
1218                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1219                 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1220
1221 /* Reported by Rauch Wolke <rauchwolke@gmx.net> */
1222 UNUSUAL_DEV(  0x07c4, 0xa4a5, 0x0000, 0xffff,
1223                 "Simple Tech/Datafab",
1224                 "CF+SM Reader",
1225                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1226                 US_FL_IGNORE_RESIDUE ),
1227
1228 /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1229  * to the USB storage specification in two ways:
1230  * - They tell us they are using transport protocol CBI. In reality they
1231  *   are using transport protocol CB.
1232  * - They don't like the INQUIRY command. So we must handle this command
1233  *   of the SCSI layer ourselves.
1234  * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1235  *   bInterfaceProtocol=0x00 (US_PR_CBI) while others have 0x01 (US_PR_CB).
1236  *   So don't remove the US_PR_CB override!
1237  * - Cameras with bcdDevice=0x9009 require the US_SC_8070 override.
1238  */
1239 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1240                 "Casio",
1241                 "QV DigitalCamera",
1242                 US_SC_8070, US_PR_CB, NULL,
1243                 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1244
1245 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1246 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1247                 "Samsung",
1248                 "Digimax 410",
1249                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1250                 US_FL_FIX_INQUIRY),
1251
1252 /* Reported by Luciano Rocha <luciano@eurotux.com> */
1253 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1254                 "Argosy",
1255                 "Storage",
1256                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1257                 US_FL_FIX_CAPACITY),
1258
1259 /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1260 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1261                 "Argosy",
1262                 "Storage",
1263                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1264                 US_FL_FIX_CAPACITY),
1265
1266 /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1267 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1268                 "Argosy",
1269                 "Storage",
1270                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1271                 US_FL_FIX_CAPACITY),
1272
1273 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1274  * Flag will support Bulk devices which use a standards-violating 32-byte
1275  * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1276  * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1277  */
1278
1279 UNUSUAL_DEV(  0x084d, 0x0011, 0x0110, 0x0110,
1280                 "Grandtech",
1281                 "DC2MEGA",
1282                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1283                 US_FL_BULK32),
1284
1285 /* Andrew Lunn <andrew@lunn.ch>
1286  * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1287  * on LUN 4.
1288  * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1289 */
1290 UNUSUAL_DEV(  0x0851, 0x1543, 0x0200, 0x0200,
1291                 "PanDigital",
1292                 "Photo Frame",
1293                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1294                 US_FL_NOT_LOCKABLE),
1295
1296 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1297 UNUSUAL_DEV(  0x08bd, 0x1100, 0x0000, 0x0000,
1298                 "CITIZEN",
1299                 "X1DE-USB",
1300                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1301                 US_FL_SINGLE_LUN),
1302
1303 /* Submitted by Dylan Taft <d13f00l@gmail.com>
1304  * US_FL_IGNORE_RESIDUE Needed
1305  */
1306 UNUSUAL_DEV(  0x08ca, 0x3103, 0x0100, 0x0100,
1307                 "AIPTEK",
1308                 "Aiptek USB Keychain MP3 Player",
1309                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1310                 US_FL_IGNORE_RESIDUE),
1311
1312 /* Entry needed for flags. Moreover, all devices with this ID use
1313  * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1314  * One example is "Trumpion Digital Research MYMP3".
1315  * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1316  */
1317 UNUSUAL_DEV(  0x090a, 0x1001, 0x0100, 0x0100,
1318                 "Trumpion",
1319                 "t33520 USB Flash Card Controller",
1320                 US_SC_DEVICE, US_PR_BULK, NULL,
1321                 US_FL_NEED_OVERRIDE ),
1322
1323 /* Reported by Filippo Bardelli <filibard@libero.it>
1324  * The device reports a subclass of RBC, which is wrong.
1325  */
1326 UNUSUAL_DEV(  0x090a, 0x1050, 0x0100, 0x0100,
1327                 "Trumpion Microelectronics, Inc.",
1328                 "33520 USB Digital Voice Recorder",
1329                 US_SC_UFI, US_PR_DEVICE, NULL,
1330                 0),
1331
1332 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1333 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1334                 "Trumpion",
1335                 "MP3 player",
1336                 US_SC_RBC, US_PR_BULK, NULL,
1337                 0 ),
1338
1339 /* aeb */
1340 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1341                 "Feiya",
1342                 "5-in-1 Card Reader",
1343                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1344                 US_FL_FIX_CAPACITY ),
1345
1346 /* This Pentax still camera is not conformant
1347  * to the USB storage specification: -
1348  * - It does not like the INQUIRY command. So we must handle this command
1349  *   of the SCSI layer ourselves.
1350  * Tested on Rev. 10.00 (0x1000)
1351  * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1352  */
1353 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1354                 "Pentax",
1355                 "Optio 2/3/400",
1356                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1357                 US_FL_FIX_INQUIRY ),
1358
1359 /* These are virtual windows driver CDs, which the zd1211rw driver
1360  * automatically converts into WLAN devices. */
1361 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1362                 "ZyXEL",
1363                 "G-220F USB-WLAN Install",
1364                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1365                 US_FL_IGNORE_DEVICE ),
1366
1367 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1368                 "SiteCom",
1369                 "WL-117 USB-WLAN Install",
1370                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1371                 US_FL_IGNORE_DEVICE ),
1372
1373 /* Reported by Dan Williams <dcbw@redhat.com>
1374  * Option N.V. mobile broadband modems
1375  * Ignore driver CD mode and force into modem mode by default.
1376  */
1377
1378 /* iCON 225 */
1379 UNUSUAL_DEV(  0x0af0, 0x6971, 0x0000, 0x9999,
1380                 "Option N.V.",
1381                 "Mass Storage",
1382                 US_SC_DEVICE, US_PR_DEVICE, option_ms_init,
1383                 0),
1384
1385 /* Reported by F. Aben <f.aben@option.com>
1386  * This device (wrongly) has a vendor-specific device descriptor.
1387  * The entry is needed so usb-storage can bind to it's mass-storage
1388  * interface as an interface driver */
1389 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1390                 "Option",
1391                 "GI 0401 SD-Card",
1392                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1393                 0 ),
1394
1395 /* Reported by Jan Dumon <j.dumon@option.com>
1396  * This device (wrongly) has a vendor-specific device descriptor.
1397  * The entry is needed so usb-storage can bind to it's mass-storage
1398  * interface as an interface driver */
1399 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1400                 "Option",
1401                 "GI 0431 SD-Card",
1402                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1403                 0 ),
1404
1405 /* Reported by Ben Efros <ben@pc-doctor.com> */
1406 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1407                 "Seagate",
1408                 "FreeAgent Pro",
1409                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1410                 US_FL_SANE_SENSE ),
1411
1412 #ifdef CONFIG_USB_STORAGE_ISD200
1413 UNUSUAL_DEV(  0x0bf6, 0xa001, 0x0100, 0x0110,
1414                 "ATI",
1415                 "USB Cable 205",
1416                 US_SC_ISD200, US_PR_BULK, isd200_Initialization,
1417                 0 ),
1418 #endif
1419
1420 #ifdef CONFIG_USB_STORAGE_DATAFAB
1421 UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0xffff,
1422                 "Acomdata",
1423                 "CF",
1424                 US_SC_SCSI, US_PR_DATAFAB, NULL,
1425                 US_FL_SINGLE_LUN ),
1426 #endif
1427 #ifdef CONFIG_USB_STORAGE_SDDR55
1428 UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0xffff,
1429                 "Acomdata",
1430                 "SM",
1431                 US_SC_SCSI, US_PR_SDDR55, NULL,
1432                 US_FL_SINGLE_LUN ),
1433 #endif
1434
1435 UNUSUAL_DEV(  0x0d49, 0x7310, 0x0000, 0x9999,
1436                 "Maxtor",
1437                 "USB to SATA",
1438                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1439                 US_FL_SANE_SENSE),
1440
1441 /*
1442  * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1443  * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1444  */
1445 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1446                 "Unknown",
1447                 "Unknown",
1448                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1449                 US_FL_SINGLE_LUN ),
1450
1451 /* Submitted by: Nick Sillik <n.sillik@temple.edu>
1452  * Needed for OneTouch extension to usb-storage
1453  *
1454  */
1455 #ifdef CONFIG_USB_STORAGE_ONETOUCH
1456         UNUSUAL_DEV(  0x0d49, 0x7000, 0x0000, 0x9999,
1457                         "Maxtor",
1458                         "OneTouch External Harddrive",
1459                         US_SC_DEVICE, US_PR_DEVICE, onetouch_connect_input,
1460                         0),
1461         UNUSUAL_DEV(  0x0d49, 0x7010, 0x0000, 0x9999,
1462                         "Maxtor",
1463                         "OneTouch External Harddrive",
1464                         US_SC_DEVICE, US_PR_DEVICE, onetouch_connect_input,
1465                         0),
1466 #endif
1467
1468 /* Submitted by Joris Struyve <joris@struyve.be> */
1469 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1470                 "Medion",
1471                 "MD 7425",
1472                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1473                 US_FL_FIX_INQUIRY),
1474
1475 /*
1476  * Entry for Jenoptik JD 5200z3
1477  *
1478  * email: car.busse@gmx.de
1479  */
1480 UNUSUAL_DEV(  0x0d96, 0x5200, 0x0001, 0x0200,
1481                 "Jenoptik",
1482                 "JD 5200 z3",
1483                 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1484
1485 /* Reported by  Jason Johnston <killean@shaw.ca> */
1486 UNUSUAL_DEV(  0x0dc4, 0x0073, 0x0000, 0x0000,
1487                 "Macpower Technology Co.LTD.",
1488                 "USB 2.0 3.5\" DEVICE",
1489                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1490                 US_FL_FIX_CAPACITY),
1491
1492 /* Reported by Lubomir Blaha <tritol@trilogic.cz>
1493  * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1494  * works for me. Can anybody correct these values? (I able to test corrected
1495  * version.)
1496  */
1497 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1498                 "Netac",
1499                 "USB-CF-Card",
1500                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1501                 US_FL_FIX_INQUIRY ),
1502
1503 /* Reported by Edward Chapman (taken from linux-usb mailing list)
1504    Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1505 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1506                 "Netac",
1507                 "USB Flash Disk",
1508                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1509                 US_FL_IGNORE_RESIDUE ),
1510
1511
1512 /* Patch by Stephan Walter <stephan.walter@epfl.ch>
1513  * I don't know why, but it works... */
1514 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1515                 "WINWARD",
1516                 "Music Disk",
1517                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1518                 US_FL_IGNORE_RESIDUE ),
1519
1520 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1521 UNUSUAL_DEV(  0x0dda, 0x0301, 0x0012, 0x0012,
1522                 "PNP_MP3",
1523                 "PNP_MP3 PLAYER",
1524                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1525                 US_FL_IGNORE_RESIDUE ),
1526
1527 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1528 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1529                 "Cowon Systems",
1530                 "iAUDIO M5",
1531                 US_SC_DEVICE, US_PR_BULK, NULL,
1532                 US_FL_NEED_OVERRIDE ),
1533
1534 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1535 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1536                 "USB",
1537                 "Solid state disk",
1538                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1539                 US_FL_FIX_INQUIRY ),
1540
1541 /* Submitted by Daniel Drake <dsd@gentoo.org>
1542  * Reported by dayul on the Gentoo Forums */
1543 UNUSUAL_DEV(  0x0ea0, 0x2168, 0x0110, 0x0110,
1544                 "Ours Technology",
1545                 "Flash Disk",
1546                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1547                 US_FL_IGNORE_RESIDUE ),
1548
1549 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1550 UNUSUAL_DEV(  0x0ea0, 0x6828, 0x0110, 0x0110,
1551                 "USB",
1552                 "Flash Disk",
1553                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1554                 US_FL_IGNORE_RESIDUE ),
1555
1556 /* Reported by Benjamin Schiller <sbenni@gmx.de>
1557  * It is also sold by Easylite as DJ 20 */
1558 UNUSUAL_DEV(  0x0ed1, 0x7636, 0x0103, 0x0103,
1559                 "Typhoon",
1560                 "My DJ 1820",
1561                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1562                 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1563
1564 /* Patch by Leonid Petrov mail at lpetrov.net
1565  * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1566  * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1567  * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1568  */
1569 UNUSUAL_DEV(  0x0f19, 0x0103, 0x0100, 0x0100,
1570                 "Oracom Co., Ltd",
1571                 "ORC-200M",
1572                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1573                 US_FL_IGNORE_RESIDUE ),
1574
1575 /* David Kuehling <dvdkhlng@gmx.de>:
1576  * for MP3-Player AVOX WSX-300ER (bought in Japan).  Reports lots of SCSI
1577  * errors when trying to write.
1578  */
1579 UNUSUAL_DEV(  0x0f19, 0x0105, 0x0100, 0x0100,
1580                 "C-MEX",
1581                 "A-VOX",
1582                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1583                 US_FL_IGNORE_RESIDUE ),
1584
1585 /* Jeremy Katz <katzj@redhat.com>:
1586  * The Blackberry Pearl can run in two modes; a usb-storage only mode
1587  * and a mode that allows access via mass storage and to its database.
1588  * The berry_charge module will set the device to dual mode and thus we
1589  * should ignore its native mode if that module is built
1590  */
1591 #ifdef CONFIG_USB_BERRY_CHARGE
1592 UNUSUAL_DEV(  0x0fca, 0x0006, 0x0001, 0x0001,
1593                 "RIM",
1594                 "Blackberry Pearl",
1595                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1596                 US_FL_IGNORE_DEVICE ),
1597 #endif
1598
1599 /* Reported by Michael Stattmann <michael@stattmann.com> */
1600 UNUSUAL_DEV(  0x0fce, 0xd008, 0x0000, 0x0000,
1601                 "Sony Ericsson",
1602                 "V800-Vodafone 802",
1603                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1604                 US_FL_NO_WP_DETECT ),
1605
1606 /* Reported by The Solutor <thesolutor@gmail.com> */
1607 UNUSUAL_DEV(  0x0fce, 0xd0e1, 0x0000, 0x0000,
1608                 "Sony Ericsson",
1609                 "MD400",
1610                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1611                 US_FL_IGNORE_DEVICE),
1612
1613 /* Reported by Jan Mate <mate@fiit.stuba.sk>
1614  * and by Soeren Sonnenburg <kernel@nn7.de> */
1615 UNUSUAL_DEV(  0x0fce, 0xe030, 0x0000, 0x0000,
1616                 "Sony Ericsson",
1617                 "P990i",
1618                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1619                 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1620
1621 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1622 UNUSUAL_DEV(  0x0fce, 0xe031, 0x0000, 0x0000,
1623                 "Sony Ericsson",
1624                 "M600i",
1625                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1626                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1627
1628 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1629 UNUSUAL_DEV(  0x0fce, 0xe092, 0x0000, 0x0000,
1630                 "Sony Ericsson",
1631                 "P1i",
1632                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1633                 US_FL_IGNORE_RESIDUE ),
1634
1635 /* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1636  * Tested on hardware version 1.10.
1637  * Entry is needed only for the initializer function override.
1638  * Devices with bcd > 110 seem to not need it while those
1639  * with bcd < 110 appear to need it.
1640  */
1641 UNUSUAL_DEV(  0x1019, 0x0c55, 0x0000, 0x0110,
1642                 "Desknote",
1643                 "UCR-61S2B",
1644                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_ucr61s2b_init,
1645                 0 ),
1646
1647 UNUSUAL_DEV(  0x1058, 0x0704, 0x0000, 0x9999,
1648                 "Western Digital",
1649                 "External HDD",
1650                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1651                 US_FL_SANE_SENSE),
1652
1653 /* Reported by Fabio Venturi <f.venturi@tdnet.it>
1654  * The device reports a vendor-specific bDeviceClass.
1655  */
1656 UNUSUAL_DEV(  0x10d6, 0x2200, 0x0100, 0x0100,
1657                 "Actions Semiconductor",
1658                 "Mtp device",
1659                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1660                 0),
1661
1662 /* Reported by Kevin Lloyd <linux@sierrawireless.com>
1663  * Entry is needed for the initializer function override,
1664  * which instructs the device to load as a modem
1665  * device.
1666  */
1667 UNUSUAL_DEV(  0x1199, 0x0fff, 0x0000, 0x9999,
1668                 "Sierra Wireless",
1669                 "USB MMC Storage",
1670                 US_SC_DEVICE, US_PR_DEVICE, sierra_ms_init,
1671                 0),
1672
1673 /* Reported by Jaco Kroon <jaco@kroon.co.za>
1674  * The usb-storage module found on the Digitech GNX4 (and supposedly other
1675  * devices) misbehaves and causes a bunch of invalid I/O errors.
1676  */
1677 UNUSUAL_DEV(  0x1210, 0x0003, 0x0100, 0x0100,
1678                 "Digitech HMG",
1679                 "DigiTech Mass Storage",
1680                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1681                 US_FL_IGNORE_RESIDUE ),
1682
1683 /* Reported by fangxiaozhi <huananhu@huawei.com>
1684  * This brings the HUAWEI data card devices into multi-port mode
1685  */
1686 UNUSUAL_DEV(  0x12d1, 0x1001, 0x0000, 0x0000,
1687                 "HUAWEI MOBILE",
1688                 "Mass Storage",
1689                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1690                 0),
1691 UNUSUAL_DEV(  0x12d1, 0x1003, 0x0000, 0x0000,
1692                 "HUAWEI MOBILE",
1693                 "Mass Storage",
1694                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1695                 0),
1696 UNUSUAL_DEV(  0x12d1, 0x1004, 0x0000, 0x0000,
1697                 "HUAWEI MOBILE",
1698                 "Mass Storage",
1699                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1700                 0),
1701 UNUSUAL_DEV(  0x12d1, 0x1401, 0x0000, 0x0000,
1702                 "HUAWEI MOBILE",
1703                 "Mass Storage",
1704                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1705                 0),
1706 UNUSUAL_DEV(  0x12d1, 0x1402, 0x0000, 0x0000,
1707                 "HUAWEI MOBILE",
1708                 "Mass Storage",
1709                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1710                 0),
1711 UNUSUAL_DEV(  0x12d1, 0x1403, 0x0000, 0x0000,
1712                 "HUAWEI MOBILE",
1713                 "Mass Storage",
1714                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1715                 0),
1716 UNUSUAL_DEV(  0x12d1, 0x1404, 0x0000, 0x0000,
1717                 "HUAWEI MOBILE",
1718                 "Mass Storage",
1719                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1720                 0),
1721 UNUSUAL_DEV(  0x12d1, 0x1405, 0x0000, 0x0000,
1722                 "HUAWEI MOBILE",
1723                 "Mass Storage",
1724                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1725                 0),
1726 UNUSUAL_DEV(  0x12d1, 0x1406, 0x0000, 0x0000,
1727                 "HUAWEI MOBILE",
1728                 "Mass Storage",
1729                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1730                 0),
1731 UNUSUAL_DEV(  0x12d1, 0x1407, 0x0000, 0x0000,
1732                 "HUAWEI MOBILE",
1733                 "Mass Storage",
1734                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1735                 0),
1736 UNUSUAL_DEV(  0x12d1, 0x1408, 0x0000, 0x0000,
1737                 "HUAWEI MOBILE",
1738                 "Mass Storage",
1739                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1740                 0),
1741 UNUSUAL_DEV(  0x12d1, 0x1409, 0x0000, 0x0000,
1742                 "HUAWEI MOBILE",
1743                 "Mass Storage",
1744                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1745                 0),
1746 UNUSUAL_DEV(  0x12d1, 0x140A, 0x0000, 0x0000,
1747                 "HUAWEI MOBILE",
1748                 "Mass Storage",
1749                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1750                 0),
1751 UNUSUAL_DEV(  0x12d1, 0x140B, 0x0000, 0x0000,
1752                 "HUAWEI MOBILE",
1753                 "Mass Storage",
1754                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1755                 0),
1756 UNUSUAL_DEV(  0x12d1, 0x140C, 0x0000, 0x0000,
1757                 "HUAWEI MOBILE",
1758                 "Mass Storage",
1759                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1760                 0),
1761 UNUSUAL_DEV(  0x12d1, 0x140D, 0x0000, 0x0000,
1762                 "HUAWEI MOBILE",
1763                 "Mass Storage",
1764                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1765                 0),
1766 UNUSUAL_DEV(  0x12d1, 0x140E, 0x0000, 0x0000,
1767                 "HUAWEI MOBILE",
1768                 "Mass Storage",
1769                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1770                 0),
1771 UNUSUAL_DEV(  0x12d1, 0x140F, 0x0000, 0x0000,
1772                 "HUAWEI MOBILE",
1773                 "Mass Storage",
1774                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1775                 0),
1776 UNUSUAL_DEV(  0x12d1, 0x1410, 0x0000, 0x0000,
1777                 "HUAWEI MOBILE",
1778                 "Mass Storage",
1779                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1780                 0),
1781 UNUSUAL_DEV(  0x12d1, 0x1411, 0x0000, 0x0000,
1782                 "HUAWEI MOBILE",
1783                 "Mass Storage",
1784                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1785                 0),
1786 UNUSUAL_DEV(  0x12d1, 0x1412, 0x0000, 0x0000,
1787                 "HUAWEI MOBILE",
1788                 "Mass Storage",
1789                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1790                 0),
1791 UNUSUAL_DEV(  0x12d1, 0x1413, 0x0000, 0x0000,
1792                 "HUAWEI MOBILE",
1793                 "Mass Storage",
1794                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1795                 0),
1796 UNUSUAL_DEV(  0x12d1, 0x1414, 0x0000, 0x0000,
1797                 "HUAWEI MOBILE",
1798                 "Mass Storage",
1799                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1800                 0),
1801 UNUSUAL_DEV(  0x12d1, 0x1415, 0x0000, 0x0000,
1802                 "HUAWEI MOBILE",
1803                 "Mass Storage",
1804                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1805                 0),
1806 UNUSUAL_DEV(  0x12d1, 0x1416, 0x0000, 0x0000,
1807                 "HUAWEI MOBILE",
1808                 "Mass Storage",
1809                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1810                 0),
1811 UNUSUAL_DEV(  0x12d1, 0x1417, 0x0000, 0x0000,
1812                 "HUAWEI MOBILE",
1813                 "Mass Storage",
1814                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1815                 0),
1816 UNUSUAL_DEV(  0x12d1, 0x1418, 0x0000, 0x0000,
1817                 "HUAWEI MOBILE",
1818                 "Mass Storage",
1819                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1820                 0),
1821 UNUSUAL_DEV(  0x12d1, 0x1419, 0x0000, 0x0000,
1822                 "HUAWEI MOBILE",
1823                 "Mass Storage",
1824                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1825                 0),
1826 UNUSUAL_DEV(  0x12d1, 0x141A, 0x0000, 0x0000,
1827                 "HUAWEI MOBILE",
1828                 "Mass Storage",
1829                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1830                 0),
1831 UNUSUAL_DEV(  0x12d1, 0x141B, 0x0000, 0x0000,
1832                 "HUAWEI MOBILE",
1833                 "Mass Storage",
1834                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1835                 0),
1836 UNUSUAL_DEV(  0x12d1, 0x141C, 0x0000, 0x0000,
1837                 "HUAWEI MOBILE",
1838                 "Mass Storage",
1839                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1840                 0),
1841 UNUSUAL_DEV(  0x12d1, 0x141D, 0x0000, 0x0000,
1842                 "HUAWEI MOBILE",
1843                 "Mass Storage",
1844                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1845                 0),
1846 UNUSUAL_DEV(  0x12d1, 0x141E, 0x0000, 0x0000,
1847                 "HUAWEI MOBILE",
1848                 "Mass Storage",
1849                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1850                 0),
1851 UNUSUAL_DEV(  0x12d1, 0x141F, 0x0000, 0x0000,
1852                 "HUAWEI MOBILE",
1853                 "Mass Storage",
1854                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1855                 0),
1856 UNUSUAL_DEV(  0x12d1, 0x1420, 0x0000, 0x0000,
1857                 "HUAWEI MOBILE",
1858                 "Mass Storage",
1859                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1860                 0),
1861 UNUSUAL_DEV(  0x12d1, 0x1421, 0x0000, 0x0000,
1862                 "HUAWEI MOBILE",
1863                 "Mass Storage",
1864                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1865                 0),
1866 UNUSUAL_DEV(  0x12d1, 0x1422, 0x0000, 0x0000,
1867                 "HUAWEI MOBILE",
1868                 "Mass Storage",
1869                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1870                 0),
1871 UNUSUAL_DEV(  0x12d1, 0x1423, 0x0000, 0x0000,
1872                 "HUAWEI MOBILE",
1873                 "Mass Storage",
1874                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1875                 0),
1876 UNUSUAL_DEV(  0x12d1, 0x1424, 0x0000, 0x0000,
1877                 "HUAWEI MOBILE",
1878                 "Mass Storage",
1879                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1880                 0),
1881 UNUSUAL_DEV(  0x12d1, 0x1425, 0x0000, 0x0000,
1882                 "HUAWEI MOBILE",
1883                 "Mass Storage",
1884                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1885                 0),
1886 UNUSUAL_DEV(  0x12d1, 0x1426, 0x0000, 0x0000,
1887                 "HUAWEI MOBILE",
1888                 "Mass Storage",
1889                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1890                 0),
1891 UNUSUAL_DEV(  0x12d1, 0x1427, 0x0000, 0x0000,
1892                 "HUAWEI MOBILE",
1893                 "Mass Storage",
1894                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1895                 0),
1896 UNUSUAL_DEV(  0x12d1, 0x1428, 0x0000, 0x0000,
1897                 "HUAWEI MOBILE",
1898                 "Mass Storage",
1899                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1900                 0),
1901 UNUSUAL_DEV(  0x12d1, 0x1429, 0x0000, 0x0000,
1902                 "HUAWEI MOBILE",
1903                 "Mass Storage",
1904                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1905                 0),
1906 UNUSUAL_DEV(  0x12d1, 0x142A, 0x0000, 0x0000,
1907                 "HUAWEI MOBILE",
1908                 "Mass Storage",
1909                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1910                 0),
1911 UNUSUAL_DEV(  0x12d1, 0x142B, 0x0000, 0x0000,
1912                 "HUAWEI MOBILE",
1913                 "Mass Storage",
1914                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1915                 0),
1916 UNUSUAL_DEV(  0x12d1, 0x142C, 0x0000, 0x0000,
1917                 "HUAWEI MOBILE",
1918                 "Mass Storage",
1919                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1920                 0),
1921 UNUSUAL_DEV(  0x12d1, 0x142D, 0x0000, 0x0000,
1922                 "HUAWEI MOBILE",
1923                 "Mass Storage",
1924                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1925                 0),
1926 UNUSUAL_DEV(  0x12d1, 0x142E, 0x0000, 0x0000,
1927                 "HUAWEI MOBILE",
1928                 "Mass Storage",
1929                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1930                 0),
1931 UNUSUAL_DEV(  0x12d1, 0x142F, 0x0000, 0x0000,
1932                 "HUAWEI MOBILE",
1933                 "Mass Storage",
1934                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1935                 0),
1936 UNUSUAL_DEV(  0x12d1, 0x1430, 0x0000, 0x0000,
1937                 "HUAWEI MOBILE",
1938                 "Mass Storage",
1939                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1940                 0),
1941 UNUSUAL_DEV(  0x12d1, 0x1431, 0x0000, 0x0000,
1942                 "HUAWEI MOBILE",
1943                 "Mass Storage",
1944                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1945                 0),
1946 UNUSUAL_DEV(  0x12d1, 0x1432, 0x0000, 0x0000,
1947                 "HUAWEI MOBILE",
1948                 "Mass Storage",
1949                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1950                 0),
1951 UNUSUAL_DEV(  0x12d1, 0x1433, 0x0000, 0x0000,
1952                 "HUAWEI MOBILE",
1953                 "Mass Storage",
1954                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1955                 0),
1956 UNUSUAL_DEV(  0x12d1, 0x1434, 0x0000, 0x0000,
1957                 "HUAWEI MOBILE",
1958                 "Mass Storage",
1959                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1960                 0),
1961 UNUSUAL_DEV(  0x12d1, 0x1435, 0x0000, 0x0000,
1962                 "HUAWEI MOBILE",
1963                 "Mass Storage",
1964                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1965                 0),
1966 UNUSUAL_DEV(  0x12d1, 0x1436, 0x0000, 0x0000,
1967                 "HUAWEI MOBILE",
1968                 "Mass Storage",
1969                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1970                 0),
1971 UNUSUAL_DEV(  0x12d1, 0x1437, 0x0000, 0x0000,
1972                 "HUAWEI MOBILE",
1973                 "Mass Storage",
1974                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1975                 0),
1976 UNUSUAL_DEV(  0x12d1, 0x1438, 0x0000, 0x0000,
1977                 "HUAWEI MOBILE",
1978                 "Mass Storage",
1979                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1980                 0),
1981 UNUSUAL_DEV(  0x12d1, 0x1439, 0x0000, 0x0000,
1982                 "HUAWEI MOBILE",
1983                 "Mass Storage",
1984                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1985                 0),
1986 UNUSUAL_DEV(  0x12d1, 0x143A, 0x0000, 0x0000,
1987                 "HUAWEI MOBILE",
1988                 "Mass Storage",
1989                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1990                 0),
1991 UNUSUAL_DEV(  0x12d1, 0x143B, 0x0000, 0x0000,
1992                 "HUAWEI MOBILE",
1993                 "Mass Storage",
1994                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
1995                 0),
1996 UNUSUAL_DEV(  0x12d1, 0x143C, 0x0000, 0x0000,
1997                 "HUAWEI MOBILE",
1998                 "Mass Storage",
1999                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
2000                 0),
2001 UNUSUAL_DEV(  0x12d1, 0x143D, 0x0000, 0x0000,
2002                 "HUAWEI MOBILE",
2003                 "Mass Storage",
2004                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
2005                 0),
2006 UNUSUAL_DEV(  0x12d1, 0x143E, 0x0000, 0x0000,
2007                 "HUAWEI MOBILE",
2008                 "Mass Storage",
2009                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
2010                 0),
2011 UNUSUAL_DEV(  0x12d1, 0x143F, 0x0000, 0x0000,
2012                 "HUAWEI MOBILE",
2013                 "Mass Storage",
2014                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_huawei_e220_init,
2015                 0),
2016
2017 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
2018 UNUSUAL_DEV(  0x132b, 0x000b, 0x0001, 0x0001,
2019                 "Minolta",
2020                 "Dimage Z10",
2021                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2022                 0 ),
2023
2024 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
2025 UNUSUAL_DEV(  0x1370, 0x6828, 0x0110, 0x0110,
2026                 "SWISSBIT",
2027                 "Black Silver",
2028                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2029                 US_FL_IGNORE_RESIDUE ),
2030
2031 /* Reported by Francesco Foresti <frafore@tiscali.it> */
2032 UNUSUAL_DEV(  0x14cd, 0x6600, 0x0201, 0x0201,
2033                 "Super Top",
2034                 "IDE DEVICE",
2035                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2036                 US_FL_IGNORE_RESIDUE ),
2037
2038 /* Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2039  * JMicron responds to USN and several other SCSI ioctls with a
2040  * residue that causes subsequent I/O requests to fail.  */
2041 UNUSUAL_DEV(  0x152d, 0x2329, 0x0100, 0x0100,
2042                 "JMicron",
2043                 "USB to ATA/ATAPI Bridge",
2044                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2045                 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2046
2047 /* Reported by Robert Schedel <r.schedel@yahoo.de>
2048  * Note: this is a 'super top' device like the above 14cd/6600 device */
2049 UNUSUAL_DEV(  0x1652, 0x6600, 0x0201, 0x0201,
2050                 "Teac",
2051                 "HD-35PUK-B",
2052                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2053                 US_FL_IGNORE_RESIDUE ),
2054
2055 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2056                 "ST",
2057                 "2A",
2058                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2059                 US_FL_FIX_CAPACITY),
2060
2061 /* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2062  * and Renato Perini <rperini@email.it>
2063  */
2064 UNUSUAL_DEV(  0x22b8, 0x3010, 0x0001, 0x0001,
2065                 "Motorola",
2066                 "RAZR V3x",
2067                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2068                 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2069
2070 /*
2071  * Patch by Constantin Baranov <const@tltsu.ru>
2072  * Report by Andreas Koenecke.
2073  * Motorola ROKR Z6.
2074  */
2075 UNUSUAL_DEV(  0x22b8, 0x6426, 0x0101, 0x0101,
2076                 "Motorola",
2077                 "MSnc.",
2078                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2079                 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2080
2081 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2082 UNUSUAL_DEV(  0x2735, 0x100b, 0x0000, 0x9999,
2083                 "MPIO",
2084                 "HS200",
2085                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2086                 US_FL_GO_SLOW ),
2087
2088 /* Reported by Rohan Hart <rohan.hart17@gmail.com> */
2089 UNUSUAL_DEV(  0x2770, 0x915d, 0x0010, 0x0010,
2090                 "INTOVA",
2091                 "Pixtreme",
2092                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2093                 US_FL_FIX_CAPACITY ),
2094
2095 /* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2096  * Mio Moov 330
2097  */
2098 UNUSUAL_DEV(  0x3340, 0xffff, 0x0000, 0x0000,
2099                 "Mitac",
2100                 "Mio DigiWalker USB Sync",
2101                 US_SC_DEVICE,US_PR_DEVICE,NULL,
2102                 US_FL_MAX_SECTORS_64 ),
2103
2104 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2105 UNUSUAL_DEV(  0x4102, 0x1020, 0x0100,  0x0100,
2106                 "iRiver",
2107                 "MP3 T10",
2108                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2109                 US_FL_IGNORE_RESIDUE ),
2110
2111 /*
2112  * David Härdeman <david@2gen.com>
2113  * The key makes the SCSI stack print confusing (but harmless) messages
2114  */
2115 UNUSUAL_DEV(  0x4146, 0xba01, 0x0100, 0x0100,
2116                 "Iomega",
2117                 "Micro Mini 1GB",
2118                 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2119
2120 #ifdef CONFIG_USB_STORAGE_SDDR55
2121 UNUSUAL_DEV(  0x55aa, 0xa103, 0x0000, 0x9999, 
2122                 "Sandisk",
2123                 "ImageMate SDDR55",
2124                 US_SC_SCSI, US_PR_SDDR55, NULL,
2125                 US_FL_SINGLE_LUN),
2126 #endif
2127
2128 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2129 UNUSUAL_DEV(  0xed06, 0x4500, 0x0001, 0x0001,
2130                 "DataStor",
2131                 "USB4500 FW1.04",
2132                 US_SC_DEVICE, US_PR_DEVICE, NULL,
2133                 US_FL_CAPACITY_HEURISTICS),
2134
2135 /* Control/Bulk transport for all SubClass values */
2136 USUAL_DEV(US_SC_RBC, US_PR_CB, USB_US_TYPE_STOR),
2137 USUAL_DEV(US_SC_8020, US_PR_CB, USB_US_TYPE_STOR),
2138 USUAL_DEV(US_SC_QIC, US_PR_CB, USB_US_TYPE_STOR),
2139 USUAL_DEV(US_SC_UFI, US_PR_CB, USB_US_TYPE_STOR),
2140 USUAL_DEV(US_SC_8070, US_PR_CB, USB_US_TYPE_STOR),
2141 USUAL_DEV(US_SC_SCSI, US_PR_CB, USB_US_TYPE_STOR),
2142
2143 /* Control/Bulk/Interrupt transport for all SubClass values */
2144 USUAL_DEV(US_SC_RBC, US_PR_CBI, USB_US_TYPE_STOR),
2145 USUAL_DEV(US_SC_8020, US_PR_CBI, USB_US_TYPE_STOR),
2146 USUAL_DEV(US_SC_QIC, US_PR_CBI, USB_US_TYPE_STOR),
2147 USUAL_DEV(US_SC_UFI, US_PR_CBI, USB_US_TYPE_STOR),
2148 USUAL_DEV(US_SC_8070, US_PR_CBI, USB_US_TYPE_STOR),
2149 USUAL_DEV(US_SC_SCSI, US_PR_CBI, USB_US_TYPE_STOR),
2150
2151 /* Bulk-only transport for all SubClass values */
2152 USUAL_DEV(US_SC_RBC, US_PR_BULK, USB_US_TYPE_STOR),
2153 USUAL_DEV(US_SC_8020, US_PR_BULK, USB_US_TYPE_STOR),
2154 USUAL_DEV(US_SC_QIC, US_PR_BULK, USB_US_TYPE_STOR),
2155 USUAL_DEV(US_SC_UFI, US_PR_BULK, USB_US_TYPE_STOR),
2156 USUAL_DEV(US_SC_8070, US_PR_BULK, USB_US_TYPE_STOR),
2157 USUAL_DEV(US_SC_SCSI, US_PR_BULK, 0),