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