]> nv-tegra.nvidia Code Review - linux-2.6.git/blob - drivers/usb/storage/unusual_devs.h
2793f9a912b4a7b6c2e05e136cc90c8eccc14905
[linux-2.6.git] / drivers / usb / storage / unusual_devs.h
1 /* Driver for USB Mass Storage compliant devices
2  * Unusual Devices File
3  *
4  * $Id: unusual_devs.h,v 1.32 2002/02/25 02:41:24 mdharm Exp $
5  *
6  * Current development and maintenance by:
7  *   (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
8  *
9  * Initial work by:
10  *   (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
11  *
12  * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more
13  * information about this driver.
14  *
15  * This program is free software; you can redistribute it and/or modify it
16  * under the terms of the GNU General Public License as published by the
17  * Free Software Foundation; either version 2, or (at your option) any
18  * later version.
19  *
20  * This program is distributed in the hope that it will be useful, but
21  * WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
23  * General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License along
26  * with this program; if not, write to the Free Software Foundation, Inc.,
27  * 675 Mass Ave, Cambridge, MA 02139, USA.
28  */
29
30 /* IMPORTANT NOTE: This file must be included in another file which does
31  * the following thing for it to work:
32  * The macro UNUSUAL_DEV() must be defined before this file is included
33  */
34
35 /* If you edit this file, please try to keep it sorted first by VendorID,
36  * then by ProductID.
37  *
38  * If you want to add an entry for this file, be sure to include the
39  * following information:
40  *      - a patch that adds the entry for your device, including your
41  *        email address right above the entry (plus maybe a brief
42  *        explanation of the reason for the entry),
43  *      - a copy of /proc/bus/usb/devices with your device plugged in
44  *        running with this patch.
45  * Send your submission to either Phil Dibowitz <phil@ipom.com> or
46  * Alan Stern <stern@rowland.harvard.edu>, and don't forget to CC: the
47  * USB development list <linux-usb-devel@lists.sourceforge.net>.
48  */
49
50 /* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr>
51  */
52 UNUSUAL_DEV(  0x03eb, 0x2002, 0x0100, 0x0100,
53                 "ATMEL",
54                 "SND1 Storage",
55                 US_SC_DEVICE, US_PR_DEVICE, NULL,
56                 US_FL_IGNORE_RESIDUE),
57
58 UNUSUAL_DEV(  0x03ee, 0x6901, 0x0000, 0x0100,
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 Sebastian Kapfer <sebastian_kapfer@gmx.net>
89  * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
90  * for USB floppies that need the SINGLE_LUN enforcement.
91  */
92 UNUSUAL_DEV(  0x0409, 0x0040, 0x0000, 0x9999,
93                 "NEC",
94                 "NEC USB UF000x",
95                 US_SC_DEVICE, US_PR_DEVICE, NULL,
96                 US_FL_SINGLE_LUN ),
97
98 /* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
99 UNUSUAL_DEV(  0x040d, 0x6205, 0x0003, 0x0003,
100                 "VIA Technologies Inc.",
101                 "USB 2.0 Card Reader",
102                 US_SC_DEVICE, US_PR_DEVICE, NULL,
103                 US_FL_IGNORE_RESIDUE ),
104
105 /* Deduced by Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
106  * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
107  * always fails and confuses drive.
108  */
109 UNUSUAL_DEV(  0x0411, 0x001c, 0x0113, 0x0113,
110                 "Buffalo",
111                 "DUB-P40G HDD",
112                 US_SC_DEVICE, US_PR_DEVICE, NULL,
113                 US_FL_FIX_INQUIRY ),
114
115 /* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
116 UNUSUAL_DEV(  0x0419, 0x0100, 0x0100, 0x0100,
117                 "Samsung Info. Systems America, Inc.",
118                 "MP3 Player",
119                 US_SC_DEVICE, US_PR_DEVICE, NULL,
120                 US_FL_IGNORE_RESIDUE ),
121
122 /* Reported by Orgad Shaneh <orgads@gmail.com> */
123 UNUSUAL_DEV(  0x0419, 0xaace, 0x0100, 0x0100,
124                 "Samsung", "MP3 Player",
125                 US_SC_DEVICE, US_PR_DEVICE, NULL,
126                 US_FL_IGNORE_RESIDUE ),
127
128 /* Reported by Christian Leber <christian@leber.de> */
129 UNUSUAL_DEV(  0x0419, 0xaaf5, 0x0100, 0x0100,
130                 "TrekStor",
131                 "i.Beat 115 2.0",
132                 US_SC_DEVICE, US_PR_DEVICE, NULL,
133                 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
134
135 /* Reported by Stefan Werner <dustbln@gmx.de> */
136 UNUSUAL_DEV(  0x0419, 0xaaf6, 0x0100, 0x0100,
137                 "TrekStor",
138                 "i.Beat Joy 2.0",
139                 US_SC_DEVICE, US_PR_DEVICE, NULL,
140                 US_FL_IGNORE_RESIDUE ),
141
142 /* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
143 UNUSUAL_DEV(  0x0420, 0x0001, 0x0100, 0x0100,
144                 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
145                 US_SC_DEVICE, US_PR_DEVICE, NULL,
146                 US_FL_IGNORE_RESIDUE ),
147
148 /* Reported by Mario Rettig <mariorettig@web.de> */
149 UNUSUAL_DEV(  0x0421, 0x042e, 0x0100, 0x0100,
150                 "Nokia",
151                 "Nokia 3250",
152                 US_SC_DEVICE, US_PR_DEVICE, NULL,
153                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
154
155 /* Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
156  * Einar Th. Einarsson <einarthered@gmail.com> */
157 UNUSUAL_DEV(  0x0421, 0x0444, 0x0100, 0x0100,
158                 "Nokia",
159                 "N91",
160                 US_SC_DEVICE, US_PR_DEVICE, NULL,
161                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
162
163 /* Reported by Jiri Slaby <jirislaby@gmail.com> and
164  * Rene C. Castberg <Rene@Castberg.org> */
165 UNUSUAL_DEV(  0x0421, 0x0446, 0x0100, 0x0100,
166                 "Nokia",
167                 "N80",
168                 US_SC_DEVICE, US_PR_DEVICE, NULL,
169                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
170
171 /* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
172 UNUSUAL_DEV(  0x0421, 0x044e, 0x0100, 0x0100,
173                 "Nokia",
174                 "E61",
175                 US_SC_DEVICE, US_PR_DEVICE, NULL,
176                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
177
178 /* Reported by Olaf Hering <olh@suse.de> from novell bug #105878 */
179 UNUSUAL_DEV(  0x0424, 0x0fdc, 0x0210, 0x0210,
180                 "SMSC",
181                 "FDC GOLD-2.30",
182                 US_SC_DEVICE, US_PR_DEVICE, NULL,
183                 US_FL_SINGLE_LUN ),
184
185 #ifdef CONFIG_USB_STORAGE_DPCM
186 UNUSUAL_DEV(  0x0436, 0x0005, 0x0100, 0x0100,
187                 "Microtech",
188                 "CameraMate (DPCM_USB)",
189                 US_SC_SCSI, US_PR_DPCM_USB, NULL, 0 ),
190 #endif
191
192 /* Patch submitted by Daniel Drake <dsd@gentoo.org>
193  * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
194 UNUSUAL_DEV(  0x0451, 0x5416, 0x0100, 0x0100,
195                 "Neuros Audio",
196                 "USB 2.0 HD 2.5",
197                 US_SC_DEVICE, US_PR_BULK, NULL,
198                 US_FL_NEED_OVERRIDE ),
199
200 /*
201  * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
202  * The key does not actually break, but it returns zero sense which
203  * makes our SCSI stack to print confusing messages.
204  */
205 UNUSUAL_DEV(  0x0457, 0x0150, 0x0100, 0x0100,
206                 "USBest Technology",    /* sold by Transcend */
207                 "USB Mass Storage Device",
208                 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
209
210 /*
211 * Bohdan Linda <bohdan.linda@gmail.com>
212 * 1GB USB sticks MyFlash High Speed. I have restricted
213 * the revision to my model only
214 */
215 UNUSUAL_DEV(  0x0457, 0x0151, 0x0100, 0x0100,
216                 "USB 2.0",
217                 "Flash Disk",
218                 US_SC_DEVICE, US_PR_DEVICE, NULL,
219                 US_FL_NOT_LOCKABLE ),
220
221 UNUSUAL_DEV(  0x045a, 0x5210, 0x0101, 0x0101,
222                 "Rio",
223                 "Rio Karma",
224                 US_SC_SCSI, US_PR_BULK, rio_karma_init, 0),
225
226 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
227 UNUSUAL_DEV(  0x0482, 0x0100, 0x0100, 0x0100,
228                 "Kyocera",
229                 "Finecam S3x",
230                 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
231
232 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
233 UNUSUAL_DEV(  0x0482, 0x0101, 0x0100, 0x0100,
234                 "Kyocera",
235                 "Finecam S4",
236                 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
237
238 /* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
239 UNUSUAL_DEV(  0x0482, 0x0103, 0x0100, 0x0100,
240                 "Kyocera",
241                 "Finecam S5",
242                 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
243
244 /* Patch for Kyocera Finecam L3
245  * Submitted by Michael Krauth <michael.krauth@web.de>
246  * and Alessandro Fracchetti <al.fracchetti@tin.it>
247  */
248 UNUSUAL_DEV(  0x0482, 0x0105, 0x0100, 0x0100,
249                 "Kyocera",
250                 "Finecam L3",
251                 US_SC_SCSI, US_PR_BULK, NULL,
252                 US_FL_FIX_INQUIRY),
253
254 /* Reported by Paul Stewart <stewart@wetlogic.net>
255  * This entry is needed because the device reports Sub=ff */
256 UNUSUAL_DEV(  0x04a4, 0x0004, 0x0001, 0x0001,
257                 "Hitachi",
258                 "DVD-CAM DZ-MV100A Camcorder",
259                 US_SC_SCSI, US_PR_CB, NULL, US_FL_SINGLE_LUN),
260
261 /* Patch for Nikon coolpix 2000
262  * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/
263 UNUSUAL_DEV(  0x04b0, 0x0301, 0x0010, 0x0010,
264                 "NIKON",
265                 "NIKON DSC E2000",
266                 US_SC_DEVICE, US_PR_DEVICE,NULL,
267                 US_FL_NOT_LOCKABLE ),
268
269 /* Reported by Andreas Bockhold <andreas@bockionline.de> */
270 UNUSUAL_DEV(  0x04b0, 0x0405, 0x0100, 0x0100,
271                 "NIKON",
272                 "NIKON DSC D70",
273                 US_SC_DEVICE, US_PR_DEVICE, NULL,
274                 US_FL_FIX_CAPACITY),
275
276 /* Reported by Jamie Kitson <jamie@staberinde.fsnet.co.uk> */
277 UNUSUAL_DEV(  0x04b0, 0x040d, 0x0100, 0x0100,
278                 "NIKON",
279                 "NIKON DSC D70s",
280                 US_SC_DEVICE, US_PR_DEVICE, NULL,
281                 US_FL_FIX_CAPACITY),
282
283 /* BENQ DC5330
284  * Reported by Manuel Fombuena <mfombuena@ya.com> and
285  * Frank Copeland <fjc@thingy.apana.org.au> */
286 UNUSUAL_DEV(  0x04a5, 0x3010, 0x0100, 0x0100,
287                 "Tekom Technologies, Inc",
288                 "300_CAMERA",
289                 US_SC_DEVICE, US_PR_DEVICE, NULL,
290                 US_FL_IGNORE_RESIDUE ),
291
292 /* Reported by Simon Levitt <simon@whattf.com>
293  * This entry needs Sub and Proto fields */
294 UNUSUAL_DEV(  0x04b8, 0x0601, 0x0100, 0x0100,
295                 "Epson",
296                 "875DC Storage",
297                 US_SC_SCSI, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
298
299 /* Reported by Khalid Aziz <khalid@gonehiking.org>
300  * This entry is needed because the device reports Sub=ff */
301 UNUSUAL_DEV(  0x04b8, 0x0602, 0x0110, 0x0110,
302                 "Epson",
303                 "785EPX Storage",
304                 US_SC_SCSI, US_PR_BULK, NULL, US_FL_SINGLE_LUN),
305
306 /* Not sure who reported this originally but
307  * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
308  * flag be added */
309 UNUSUAL_DEV(  0x04cb, 0x0100, 0x0000, 0x2210,
310                 "Fujifilm",
311                 "FinePix 1400Zoom",
312                 US_SC_UFI, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
313
314 /* Reported by Peter Wächtler <pwaechtler@loewe-komp.de>
315  * The device needs the flags only.
316  */
317 UNUSUAL_DEV(  0x04ce, 0x0002, 0x0074, 0x0074,
318                 "ScanLogic",
319                 "SL11R-IDE",
320                 US_SC_DEVICE, US_PR_DEVICE, NULL,
321                 US_FL_FIX_INQUIRY),
322
323 /* Reported by Kriston Fincher <kriston@airmail.net>
324  * Patch submitted by Sean Millichamp <sean@bruenor.org>
325  * This is to support the Panasonic PalmCam PV-SD4090
326  * This entry is needed because the device reports Sub=ff 
327  */
328 UNUSUAL_DEV(  0x04da, 0x0901, 0x0100, 0x0200,
329                 "Panasonic",
330                 "LS-120 Camera",
331                 US_SC_UFI, US_PR_DEVICE, NULL, 0),
332
333 /* From Yukihiro Nakai, via zaitcev@yahoo.com.
334  * This is needed for CB instead of CBI */
335 UNUSUAL_DEV(  0x04da, 0x0d05, 0x0000, 0x0000,
336                 "Sharp CE-CW05",
337                 "CD-R/RW Drive",
338                 US_SC_8070, US_PR_CB, NULL, 0),
339
340 /* Reported by Adriaan Penning <a.penning@luon.net> */
341 UNUSUAL_DEV(  0x04da, 0x2372, 0x0000, 0x9999,
342                 "Panasonic",
343                 "DMC-LCx Camera",
344                 US_SC_DEVICE, US_PR_DEVICE, NULL,
345                 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
346
347 /* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
348 UNUSUAL_DEV(  0x04da, 0x2373, 0x0000, 0x9999,
349                 "LEICA",
350                 "D-LUX Camera",
351                 US_SC_DEVICE, US_PR_DEVICE, NULL,
352                 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
353
354 /* Most of the following entries were developed with the help of
355  * Shuttle/SCM directly.
356  */
357 UNUSUAL_DEV(  0x04e6, 0x0001, 0x0200, 0x0200, 
358                 "Matshita",
359                 "LS-120",
360                 US_SC_8020, US_PR_CB, NULL, 0),
361
362 UNUSUAL_DEV(  0x04e6, 0x0002, 0x0100, 0x0100, 
363                 "Shuttle",
364                 "eUSCSI Bridge",
365                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_euscsi_init, 
366                 US_FL_SCM_MULT_TARG ), 
367
368 #ifdef CONFIG_USB_STORAGE_SDDR09
369 UNUSUAL_DEV(  0x04e6, 0x0003, 0x0000, 0x9999, 
370                 "Sandisk",
371                 "ImageMate SDDR09",
372                 US_SC_SCSI, US_PR_EUSB_SDDR09, usb_stor_sddr09_init,
373                 0),
374
375 /* This entry is from Andries.Brouwer@cwi.nl */
376 UNUSUAL_DEV(  0x04e6, 0x0005, 0x0100, 0x0208,
377                 "SCM Microsystems",
378                 "eUSB SmartMedia / CompactFlash Adapter",
379                 US_SC_SCSI, US_PR_DPCM_USB, usb_stor_sddr09_dpcm_init,
380                 0), 
381 #endif
382
383 /* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
384 UNUSUAL_DEV(  0x04e6, 0x0006, 0x0100, 0x0100, 
385                 "SCM Microsystems Inc.",
386                 "eUSB MMC Adapter",
387                 US_SC_SCSI, US_PR_CB, NULL, 
388                 US_FL_SINGLE_LUN), 
389
390 /* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
391 UNUSUAL_DEV(  0x04e6, 0x0006, 0x0205, 0x0205, 
392                 "Shuttle",
393                 "eUSB MMC Adapter",
394                 US_SC_SCSI, US_PR_DEVICE, NULL, 
395                 US_FL_SINGLE_LUN), 
396
397 UNUSUAL_DEV(  0x04e6, 0x0007, 0x0100, 0x0200, 
398                 "Sony",
399                 "Hifd",
400                 US_SC_SCSI, US_PR_CB, NULL, 
401                 US_FL_SINGLE_LUN), 
402
403 UNUSUAL_DEV(  0x04e6, 0x0009, 0x0200, 0x0200, 
404                 "Shuttle",
405                 "eUSB ATA/ATAPI Adapter",
406                 US_SC_8020, US_PR_CB, NULL, 0),
407
408 UNUSUAL_DEV(  0x04e6, 0x000a, 0x0200, 0x0200, 
409                 "Shuttle",
410                 "eUSB CompactFlash Adapter",
411                 US_SC_8020, US_PR_CB, NULL, 0),
412
413 UNUSUAL_DEV(  0x04e6, 0x000B, 0x0100, 0x0100, 
414                 "Shuttle",
415                 "eUSCSI Bridge",
416                 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init, 
417                 US_FL_SCM_MULT_TARG ), 
418
419 UNUSUAL_DEV(  0x04e6, 0x000C, 0x0100, 0x0100, 
420                 "Shuttle",
421                 "eUSCSI Bridge",
422                 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init, 
423                 US_FL_SCM_MULT_TARG ), 
424
425 UNUSUAL_DEV(  0x04e6, 0x0101, 0x0200, 0x0200, 
426                 "Shuttle",
427                 "CD-RW Device",
428                 US_SC_8020, US_PR_CB, NULL, 0),
429
430 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
431  * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
432  * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
433  */
434
435 UNUSUAL_DEV(  0x04fc, 0x80c2, 0x0100, 0x0100,
436                 "Kobian Mercury",
437                 "Binocam DCB-132",
438                 US_SC_DEVICE, US_PR_DEVICE, NULL,
439                 US_FL_BULK32),
440
441 #ifdef CONFIG_USB_STORAGE_USBAT
442 UNUSUAL_DEV(  0x04e6, 0x1010, 0x0000, 0x9999,
443                 "Shuttle/SCM",
444                 "USBAT-02",
445                 US_SC_SCSI, US_PR_USBAT, init_usbat_flash,
446                 US_FL_SINGLE_LUN),
447 #endif
448
449 /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
450 UNUSUAL_DEV(  0x050d, 0x0115, 0x0133, 0x0133,
451                 "Belkin",
452                 "USB SCSI Adaptor",
453                 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
454                 US_FL_SCM_MULT_TARG ),
455
456 /* Iomega Clik! Drive 
457  * Reported by David Chatenay <dchatenay@hotmail.com>
458  * The reason this is needed is not fully known.
459  */
460 UNUSUAL_DEV(  0x0525, 0xa140, 0x0100, 0x0100,
461                 "Iomega",
462                 "USB Clik! 40",
463                 US_SC_8070, US_PR_DEVICE, NULL,
464                 US_FL_FIX_INQUIRY ),
465
466 /* Yakumo Mega Image 37
467  * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
468 UNUSUAL_DEV(  0x052b, 0x1801, 0x0100, 0x0100,
469                 "Tekom Technologies, Inc",
470                 "300_CAMERA",
471                 US_SC_DEVICE, US_PR_DEVICE, NULL,
472                 US_FL_IGNORE_RESIDUE ),
473
474 /* Another Yakumo camera.
475  * Reported by Michele Alzetta <michele.alzetta@aliceposta.it> */
476 UNUSUAL_DEV(  0x052b, 0x1804, 0x0100, 0x0100,
477                 "Tekom Technologies, Inc",
478                 "300_CAMERA",
479                 US_SC_DEVICE, US_PR_DEVICE, NULL,
480                 US_FL_IGNORE_RESIDUE ),
481
482 /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
483 UNUSUAL_DEV(  0x052b, 0x1807, 0x0100, 0x0100,
484                 "Tekom Technologies, Inc",
485                 "300_CAMERA",
486                 US_SC_DEVICE, US_PR_DEVICE, NULL,
487                 US_FL_IGNORE_RESIDUE ),
488
489 /* Yakumo Mega Image 47
490  * Reported by Bjoern Paetzel <kolrabi@kolrabi.de> */
491 UNUSUAL_DEV(  0x052b, 0x1905, 0x0100, 0x0100,
492                 "Tekom Technologies, Inc",
493                 "400_CAMERA",
494                 US_SC_DEVICE, US_PR_DEVICE, NULL,
495                 US_FL_IGNORE_RESIDUE ),
496
497 /* Reported by Paul Ortyl <ortylp@3miasto.net>
498  * Note that it's similar to the device above, only different prodID */
499 UNUSUAL_DEV(  0x052b, 0x1911, 0x0100, 0x0100,
500                 "Tekom Technologies, Inc",
501                 "400_CAMERA",
502                 US_SC_DEVICE, US_PR_DEVICE, NULL,
503                 US_FL_IGNORE_RESIDUE ),
504
505 UNUSUAL_DEV(  0x054c, 0x0010, 0x0106, 0x0450, 
506                 "Sony",
507                 "DSC-S30/S70/S75/505V/F505/F707/F717/P8", 
508                 US_SC_SCSI, US_PR_DEVICE, NULL,
509                 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
510
511 /* Submitted by Lars Jacob <jacob.lars@googlemail.com>
512  * This entry is needed because the device reports Sub=ff */
513 UNUSUAL_DEV(  0x054c, 0x0010, 0x0500, 0x0610,
514                 "Sony",
515                 "DSC-T1/T5/H5",
516                 US_SC_8070, US_PR_DEVICE, NULL,
517                 US_FL_SINGLE_LUN ),
518
519
520 /* Reported by wim@geeks.nl */
521 UNUSUAL_DEV(  0x054c, 0x0025, 0x0100, 0x0100, 
522                 "Sony",
523                 "Memorystick NW-MS7",
524                 US_SC_DEVICE, US_PR_DEVICE, NULL,
525                 US_FL_SINGLE_LUN ),
526
527 #ifdef CONFIG_USB_STORAGE_ISD200
528 UNUSUAL_DEV(  0x054c, 0x002b, 0x0100, 0x0110,
529                 "Sony",
530                 "Portable USB Harddrive V2",
531                 US_SC_ISD200, US_PR_BULK, isd200_Initialization,
532                 0 ),
533 #endif
534
535 /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
536 UNUSUAL_DEV(  0x054c, 0x002c, 0x0501, 0x0501,
537                 "Sony",
538                 "USB Floppy Drive",
539                 US_SC_DEVICE, US_PR_DEVICE, NULL,
540                 US_FL_SINGLE_LUN ),
541
542 UNUSUAL_DEV(  0x054c, 0x002d, 0x0100, 0x0100, 
543                 "Sony",
544                 "Memorystick MSAC-US1",
545                 US_SC_DEVICE, US_PR_DEVICE, NULL,
546                 US_FL_SINGLE_LUN ),
547
548 /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
549 UNUSUAL_DEV(  0x054c, 0x002e, 0x0106, 0x0310, 
550                 "Sony",
551                 "Handycam",
552                 US_SC_SCSI, US_PR_DEVICE, NULL,
553                 US_FL_SINGLE_LUN ),
554
555 /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
556 UNUSUAL_DEV(  0x054c, 0x002e, 0x0500, 0x0500, 
557                 "Sony",
558                 "Handycam HC-85",
559                 US_SC_UFI, US_PR_DEVICE, NULL,
560                 US_FL_SINGLE_LUN ),
561
562 UNUSUAL_DEV(  0x054c, 0x0032, 0x0000, 0x9999,
563                 "Sony",
564                 "Memorystick MSC-U01N",
565                 US_SC_DEVICE, US_PR_DEVICE, NULL,
566                 US_FL_SINGLE_LUN ),
567
568 /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
569 UNUSUAL_DEV(  0x054c, 0x0058, 0x0000, 0x9999,
570                 "Sony",
571                 "PEG N760c Memorystick",
572                 US_SC_DEVICE, US_PR_DEVICE, NULL,
573                 US_FL_FIX_INQUIRY ),
574                 
575 UNUSUAL_DEV(  0x054c, 0x0069, 0x0000, 0x9999,
576                 "Sony",
577                 "Memorystick MSC-U03",
578                 US_SC_UFI, US_PR_CB, NULL,
579                 US_FL_SINGLE_LUN ),
580
581 /* Submitted by Nathan Babb <nathan@lexi.com> */
582 UNUSUAL_DEV(  0x054c, 0x006d, 0x0000, 0x9999,
583                 "Sony",
584                 "PEG Mass Storage",
585                 US_SC_DEVICE, US_PR_DEVICE, NULL,
586                 US_FL_FIX_INQUIRY ),
587
588 /* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
589 UNUSUAL_DEV(  0x054c, 0x016a, 0x0000, 0x9999,
590                 "Sony",
591                 "PEG Mass Storage",
592                 US_SC_DEVICE, US_PR_DEVICE, NULL,
593                 US_FL_FIX_INQUIRY ),
594                 
595 /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
596 UNUSUAL_DEV(  0x054c, 0x0099, 0x0000, 0x9999,
597                 "Sony",
598                 "PEG Mass Storage",
599                 US_SC_DEVICE, US_PR_DEVICE, NULL,
600                 US_FL_FIX_INQUIRY ),
601
602                 
603 UNUSUAL_DEV(  0x057b, 0x0000, 0x0000, 0x0299, 
604                 "Y-E Data",
605                 "Flashbuster-U",
606                 US_SC_DEVICE,  US_PR_CB, NULL,
607                 US_FL_SINGLE_LUN),
608
609 UNUSUAL_DEV(  0x057b, 0x0000, 0x0300, 0x9999, 
610                 "Y-E Data",
611                 "Flashbuster-U",
612                 US_SC_DEVICE,  US_PR_DEVICE, NULL,
613                 US_FL_SINGLE_LUN),
614
615 /* Reported by Johann Cardon <johann.cardon@free.fr>
616  * This entry is needed only because the device reports
617  * bInterfaceClass = 0xff (vendor-specific)
618  */
619 UNUSUAL_DEV(  0x057b, 0x0022, 0x0000, 0x9999, 
620                 "Y-E Data",
621                 "Silicon Media R/W",
622                 US_SC_DEVICE, US_PR_DEVICE, NULL, 0),
623
624 #ifdef CONFIG_USB_STORAGE_ALAUDA
625 UNUSUAL_DEV(  0x0584, 0x0008, 0x0102, 0x0102,
626                 "Fujifilm",
627                 "DPC-R1 (Alauda)",
628                 US_SC_SCSI, US_PR_ALAUDA, init_alauda, 0 ),
629 #endif
630
631 /* Fabrizio Fellini <fello@libero.it> */
632 UNUSUAL_DEV(  0x0595, 0x4343, 0x0000, 0x2210,
633                 "Fujifilm",
634                 "Digital Camera EX-20 DSC",
635                 US_SC_8070, US_PR_DEVICE, NULL, 0 ),
636
637 /* Submitted by Joel Bourquard <numlock@freesurf.ch>
638  * Some versions of this device need the SubClass and Protocol overrides
639  * while others don't.
640  */
641 UNUSUAL_DEV(  0x05ab, 0x0060, 0x1104, 0x1110,
642                 "In-System",
643                 "PyroGate External CD-ROM Enclosure (FCD-523)",
644                 US_SC_SCSI, US_PR_BULK, NULL,
645                 US_FL_NEED_OVERRIDE ),
646
647 #ifdef CONFIG_USB_STORAGE_ISD200
648 UNUSUAL_DEV(  0x05ab, 0x0031, 0x0100, 0x0110,
649                 "In-System",
650                 "USB/IDE Bridge (ATA/ATAPI)",
651                 US_SC_ISD200, US_PR_BULK, isd200_Initialization,
652                 0 ),
653
654 UNUSUAL_DEV(  0x05ab, 0x0301, 0x0100, 0x0110,
655                 "In-System",
656                 "Portable USB Harddrive V2",
657                 US_SC_ISD200, US_PR_BULK, isd200_Initialization,
658                 0 ),
659
660 UNUSUAL_DEV(  0x05ab, 0x0351, 0x0100, 0x0110,
661                 "In-System",
662                 "Portable USB Harddrive V2",
663                 US_SC_ISD200, US_PR_BULK, isd200_Initialization,
664                 0 ),
665
666 UNUSUAL_DEV(  0x05ab, 0x5701, 0x0100, 0x0110,
667                 "In-System",
668                 "USB Storage Adapter V2",
669                 US_SC_ISD200, US_PR_BULK, isd200_Initialization,
670                 0 ),
671 #endif
672
673 /* Submitted by Sven Anderson <sven-linux@anderson.de>
674  * There are at least four ProductIDs used for iPods, so I added 0x1202 and
675  * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
676  * to change with firmware updates, I changed the range to maximum for all
677  * iPod entries.
678  */
679 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
680                 "Apple",
681                 "iPod",
682                 US_SC_DEVICE, US_PR_DEVICE, NULL,
683                 US_FL_FIX_CAPACITY ),
684
685 /* Reported by Avi Kivity <avi@argo.co.il> */
686 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
687                 "Apple",
688                 "iPod",
689                 US_SC_DEVICE, US_PR_DEVICE, NULL,
690                 US_FL_FIX_CAPACITY ),
691
692 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
693                 "Apple",
694                 "iPod",
695                 US_SC_DEVICE, US_PR_DEVICE, NULL,
696                 US_FL_FIX_CAPACITY ),
697
698 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
699                 "Apple",
700                 "iPod",
701                 US_SC_DEVICE, US_PR_DEVICE, NULL,
702                 US_FL_FIX_CAPACITY ),
703
704 /*
705  * Reported by Tyson Vinson <lornoss@gmail.com>
706  * This particular productId is the iPod Nano
707  */
708 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
709                 "Apple",
710                 "iPod",
711                 US_SC_DEVICE, US_PR_DEVICE, NULL,
712                 US_FL_FIX_CAPACITY ),
713
714 #ifdef CONFIG_USB_STORAGE_JUMPSHOT
715 UNUSUAL_DEV(  0x05dc, 0x0001, 0x0000, 0x0001,
716                 "Lexar",
717                 "Jumpshot USB CF Reader",
718                 US_SC_SCSI, US_PR_JUMPSHOT, NULL,
719                 US_FL_NEED_OVERRIDE ),
720 #endif
721
722 /* Reported by Blake Matheny <bmatheny@purdue.edu> */
723 UNUSUAL_DEV(  0x05dc, 0xb002, 0x0000, 0x0113,
724                 "Lexar",
725                 "USB CF Reader",
726                 US_SC_DEVICE, US_PR_DEVICE, NULL,
727                 US_FL_FIX_INQUIRY ),
728
729 /* The following two entries are for a Genesys USB to IDE
730  * converter chip, but it changes its ProductId depending
731  * on whether or not a disk or an optical device is enclosed
732  * They were originally reported by Alexander Oltu
733  * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
734  * respectively.
735  *
736  * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
737  * <phil@ipom.com> as these flags were made and hard-coded
738  * special-cases were pulled from scsiglue.c.
739  */
740 UNUSUAL_DEV(  0x05e3, 0x0701, 0x0000, 0xffff,
741                 "Genesys Logic",
742                 "USB to IDE Optical",
743                 US_SC_DEVICE, US_PR_DEVICE, NULL,
744                 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 ),
745
746 UNUSUAL_DEV(  0x05e3, 0x0702, 0x0000, 0xffff,
747                 "Genesys Logic",
748                 "USB to IDE Disk",
749                 US_SC_DEVICE, US_PR_DEVICE, NULL,
750                 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 ),
751
752 /* Reported by Hanno Boeck <hanno@gmx.de>
753  * Taken from the Lycoris Kernel */
754 UNUSUAL_DEV(  0x0636, 0x0003, 0x0000, 0x9999,
755                 "Vivitar",
756                 "Vivicam 35Xx",
757                 US_SC_SCSI, US_PR_BULK, NULL,
758                 US_FL_FIX_INQUIRY ),
759
760 UNUSUAL_DEV(  0x0644, 0x0000, 0x0100, 0x0100, 
761                 "TEAC",
762                 "Floppy Drive",
763                 US_SC_UFI, US_PR_CB, NULL, 0 ), 
764
765 #ifdef CONFIG_USB_STORAGE_SDDR09
766 UNUSUAL_DEV(  0x066b, 0x0105, 0x0100, 0x0100, 
767                 "Olympus",
768                 "Camedia MAUSB-2",
769                 US_SC_SCSI, US_PR_EUSB_SDDR09, usb_stor_sddr09_init,
770                 0),
771 #endif
772
773 /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
774 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
775                 "SigmaTel",
776                 "USBMSC Audio Player",
777                 US_SC_DEVICE, US_PR_DEVICE, NULL,
778                 US_FL_FIX_CAPACITY ),
779
780 /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
781 UNUSUAL_DEV( 0x067b, 0x2507, 0x0100, 0x0100,
782                 "Prolific Technology Inc.",
783                 "Mass Storage Device",
784                 US_SC_DEVICE, US_PR_DEVICE, NULL,
785                 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
786
787 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
788 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0001,
789                 "Prolific Technology Inc.",
790                 "ATAPI-6 Bridge Controller",
791                 US_SC_DEVICE, US_PR_DEVICE, NULL,
792                 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
793
794 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
795 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
796                 "Minolta",
797                 "Dimage F300",
798                 US_SC_SCSI, US_PR_BULK, NULL, 0 ),
799
800 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
801 UNUSUAL_DEV(  0x0686, 0x4017, 0x0001, 0x0001,
802                 "Minolta",
803                 "DIMAGE E223",
804                 US_SC_SCSI, US_PR_DEVICE, NULL, 0 ),
805
806 UNUSUAL_DEV(  0x0693, 0x0005, 0x0100, 0x0100,
807                 "Hagiwara",
808                 "Flashgate",
809                 US_SC_SCSI, US_PR_BULK, NULL, 0 ), 
810
811 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
812 UNUSUAL_DEV(  0x069b, 0x3004, 0x0001, 0x0001,
813                 "Thomson Multimedia Inc.",
814                 "RCA RD1080 MP3 Player",
815                 US_SC_DEVICE, US_PR_DEVICE, NULL,
816                 US_FL_FIX_CAPACITY ),
817
818 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
819 UNUSUAL_DEV(  0x0727, 0x0306, 0x0100, 0x0100,
820                 "ATMEL",
821                 "SND1 Storage",
822                 US_SC_DEVICE, US_PR_DEVICE, NULL,
823                 US_FL_IGNORE_RESIDUE),
824
825 /* Submitted by Roman Hodek <roman@hodek.net> */
826 UNUSUAL_DEV(  0x0781, 0x0001, 0x0200, 0x0200,
827                 "Sandisk",
828                 "ImageMate SDDR-05a",
829                 US_SC_SCSI, US_PR_CB, NULL,
830                 US_FL_SINGLE_LUN ),
831
832 UNUSUAL_DEV(  0x0781, 0x0002, 0x0009, 0x0009,
833                 "SanDisk Corporation",
834                 "ImageMate CompactFlash USB",
835                 US_SC_DEVICE, US_PR_DEVICE, NULL,
836                 US_FL_FIX_CAPACITY ),
837
838 #ifdef CONFIG_USB_STORAGE_USBAT
839 UNUSUAL_DEV(  0x0781, 0x0005, 0x0005, 0x0005,
840                 "Sandisk",
841                 "ImageMate SDDR-05b",
842                 US_SC_SCSI, US_PR_USBAT, init_usbat_flash,
843                 US_FL_SINGLE_LUN ),
844 #endif
845
846 UNUSUAL_DEV(  0x0781, 0x0100, 0x0100, 0x0100,
847                 "Sandisk",
848                 "ImageMate SDDR-12",
849                 US_SC_SCSI, US_PR_CB, NULL,
850                 US_FL_SINGLE_LUN ),
851
852 #ifdef CONFIG_USB_STORAGE_SDDR09
853 UNUSUAL_DEV(  0x0781, 0x0200, 0x0000, 0x9999, 
854                 "Sandisk",
855                 "ImageMate SDDR-09",
856                 US_SC_SCSI, US_PR_EUSB_SDDR09, usb_stor_sddr09_init,
857                 0),
858 #endif
859
860 #ifdef CONFIG_USB_STORAGE_FREECOM
861 UNUSUAL_DEV(  0x07ab, 0xfc01, 0x0000, 0x9999,
862                 "Freecom",
863                 "USB-IDE",
864                 US_SC_QIC, US_PR_FREECOM, freecom_init, 0),
865 #endif
866
867 /* Reported by Eero Volotinen <eero@ping-viini.org> */
868 UNUSUAL_DEV(  0x07ab, 0xfccd, 0x0000, 0x9999,
869                 "Freecom Technologies",
870                 "FHD-Classic",
871                 US_SC_DEVICE, US_PR_DEVICE, NULL,
872                 US_FL_FIX_CAPACITY),
873
874 UNUSUAL_DEV(  0x07af, 0x0004, 0x0100, 0x0133, 
875                 "Microtech",
876                 "USB-SCSI-DB25",
877                 US_SC_SCSI, US_PR_BULK, usb_stor_euscsi_init,
878                 US_FL_SCM_MULT_TARG ), 
879
880 UNUSUAL_DEV(  0x07af, 0x0005, 0x0100, 0x0100, 
881                 "Microtech",
882                 "USB-SCSI-HD50",
883                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_euscsi_init,
884                 US_FL_SCM_MULT_TARG ), 
885
886 #ifdef CONFIG_USB_STORAGE_DPCM
887 UNUSUAL_DEV(  0x07af, 0x0006, 0x0100, 0x0100,
888                 "Microtech",
889                 "CameraMate (DPCM_USB)",
890                 US_SC_SCSI, US_PR_DPCM_USB, NULL, 0 ),
891 #endif
892
893 #ifdef CONFIG_USB_STORAGE_ALAUDA
894 UNUSUAL_DEV(  0x07b4, 0x010a, 0x0102, 0x0102,
895                 "Olympus",
896                 "MAUSB-10 (Alauda)",
897                 US_SC_SCSI, US_PR_ALAUDA, init_alauda, 0 ),
898 #endif
899
900 #ifdef CONFIG_USB_STORAGE_DATAFAB
901 UNUSUAL_DEV(  0x07c4, 0xa000, 0x0000, 0x0015,
902                 "Datafab",
903                 "MDCFE-B USB CF Reader",
904                 US_SC_SCSI, US_PR_DATAFAB, NULL,
905                 0 ),
906
907 /*
908  * The following Datafab-based devices may or may not work
909  * using the current driver...the 0xffff is arbitrary since I
910  * don't know what device versions exist for these guys.
911  *
912  * The 0xa003 and 0xa004 devices in particular I'm curious about.
913  * I'm told they exist but so far nobody has come forward to say that
914  * they work with this driver.  Given the success we've had getting
915  * other Datafab-based cards operational with this driver, I've decided
916  * to leave these two devices in the list.
917  */
918 UNUSUAL_DEV( 0x07c4, 0xa001, 0x0000, 0xffff,
919                 "SIIG/Datafab",
920                 "SIIG/Datafab Memory Stick+CF Reader/Writer",
921                 US_SC_SCSI, US_PR_DATAFAB, NULL,
922                 0 ),
923
924 /* Reported by Josef Reisinger <josef.reisinger@netcologne.de> */
925 UNUSUAL_DEV( 0x07c4, 0xa002, 0x0000, 0xffff,
926                 "Datafab/Unknown",
927                 "MD2/MD3 Disk enclosure",
928                 US_SC_SCSI, US_PR_DATAFAB, NULL,
929                 US_FL_SINGLE_LUN ),
930
931 UNUSUAL_DEV( 0x07c4, 0xa003, 0x0000, 0xffff,
932                 "Datafab/Unknown",
933                 "Datafab-based Reader",
934                 US_SC_SCSI, US_PR_DATAFAB, NULL,
935                 0 ),
936
937 UNUSUAL_DEV( 0x07c4, 0xa004, 0x0000, 0xffff,
938                 "Datafab/Unknown",
939                 "Datafab-based Reader",
940                 US_SC_SCSI, US_PR_DATAFAB, NULL,
941                 0 ),
942
943 UNUSUAL_DEV( 0x07c4, 0xa005, 0x0000, 0xffff,
944                 "PNY/Datafab",
945                 "PNY/Datafab CF+SM Reader",
946                 US_SC_SCSI, US_PR_DATAFAB, NULL,
947                 0 ),
948
949 UNUSUAL_DEV( 0x07c4, 0xa006, 0x0000, 0xffff,
950                 "Simple Tech/Datafab",
951                 "Simple Tech/Datafab CF+SM Reader",
952                 US_SC_SCSI, US_PR_DATAFAB, NULL,
953                 0 ),
954 #endif
955                 
956 #ifdef CONFIG_USB_STORAGE_SDDR55
957 /* Contributed by Peter Waechtler */
958 UNUSUAL_DEV( 0x07c4, 0xa103, 0x0000, 0x9999,
959                 "Datafab",
960                 "MDSM-B reader",
961                 US_SC_SCSI, US_PR_SDDR55, NULL,
962                 US_FL_FIX_INQUIRY ),
963 #endif
964
965 #ifdef CONFIG_USB_STORAGE_DATAFAB
966 /* Submitted by Olaf Hering <olh@suse.de> */
967 UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0xffff,
968                 "Datafab Systems, Inc.",
969                 "USB to CF + SM Combo (LC1)",
970                 US_SC_SCSI, US_PR_DATAFAB, NULL,
971                 0 ),
972 #endif
973 #ifdef CONFIG_USB_STORAGE_SDDR55
974 /* SM part - aeb <Andries.Brouwer@cwi.nl> */
975 UNUSUAL_DEV(  0x07c4, 0xa109, 0x0000, 0xffff,
976                 "Datafab Systems, Inc.",
977                 "USB to CF + SM Combo (LC1)",
978                 US_SC_SCSI, US_PR_SDDR55, NULL,
979                 US_FL_SINGLE_LUN ),
980 #endif
981
982 #ifdef CONFIG_USB_STORAGE_DATAFAB
983 /* Reported by Felix Moeller <felix@derklecks.de>
984  * in Germany this is sold by Hama with the productnumber 46952
985  * as "DualSlot CompactFlash(TM) & MStick Drive USB"
986  */
987 UNUSUAL_DEV(  0x07c4, 0xa10b, 0x0000, 0xffff,
988                 "DataFab Systems Inc.",
989                 "USB CF+MS",
990                 US_SC_SCSI, US_PR_DATAFAB, NULL,
991                 0 ),
992
993 #endif
994
995 /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
996  * Only revision 1.13 tested (same for all of the above devices,
997  * based on the Datafab DF-UG-07 chip).  Needed for US_FL_FIX_INQUIRY.
998  * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
999  * See also http://martin.wilck.bei.t-online.de/#kecf .
1000  */
1001 UNUSUAL_DEV(  0x07c4, 0xa400, 0x0000, 0xffff,
1002                 "Datafab",
1003                 "KECF-USB",
1004                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1005                 US_FL_FIX_INQUIRY ),
1006
1007 /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1008  * to the USB storage specification in two ways:
1009  * - They tell us they are using transport protocol CBI. In reality they
1010  *   are using transport protocol CB.
1011  * - They don't like the INQUIRY command. So we must handle this command
1012  *   of the SCSI layer ourselves.
1013  * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1014  *   bInterfaceProtocol=0x00 (US_PR_CBI) while others have 0x01 (US_PR_CB).
1015  *   So don't remove the US_PR_CB override!
1016  * - Cameras with bcdDevice=0x9009 require the US_SC_8070 override.
1017  */
1018 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1019                 "Casio",
1020                 "QV DigitalCamera",
1021                 US_SC_8070, US_PR_CB, NULL,
1022                 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1023
1024 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1025 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1026                 "Samsung",
1027                 "Digimax 410",
1028                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1029                 US_FL_FIX_INQUIRY),
1030
1031 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1032  * Flag will support Bulk devices which use a standards-violating 32-byte
1033  * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1034  * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1035  */
1036
1037 UNUSUAL_DEV(  0x084d, 0x0011, 0x0110, 0x0110,
1038                 "Grandtech",
1039                 "DC2MEGA",
1040                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1041                 US_FL_BULK32),
1042
1043 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1044 UNUSUAL_DEV(  0x08bd, 0x1100, 0x0000, 0x0000,
1045                 "CITIZEN",
1046                 "X1DE-USB",
1047                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1048                 US_FL_SINGLE_LUN),
1049
1050 /* Entry needed for flags. Moreover, all devices with this ID use
1051  * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1052  * One example is "Trumpion Digital Research MYMP3".
1053  * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1054  */
1055 UNUSUAL_DEV(  0x090a, 0x1001, 0x0100, 0x0100,
1056                 "Trumpion",
1057                 "t33520 USB Flash Card Controller",
1058                 US_SC_DEVICE, US_PR_BULK, NULL,
1059                 US_FL_NEED_OVERRIDE ),
1060
1061 /* Reported by Filippo Bardelli <filibard@libero.it>
1062  * The device reports a subclass of RBC, which is wrong.
1063  */
1064 UNUSUAL_DEV(  0x090a, 0x1050, 0x0100, 0x0100,
1065                 "Trumpion Microelectronics, Inc.",
1066                 "33520 USB Digital Voice Recorder",
1067                 US_SC_UFI, US_PR_DEVICE, NULL,
1068                 0),
1069
1070 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1071 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1072                 "Trumpion",
1073                 "MP3 player",
1074                 US_SC_RBC, US_PR_BULK, NULL,
1075                 0 ),
1076
1077 /* aeb */
1078 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1079                 "Feiya",
1080                 "5-in-1 Card Reader",
1081                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1082                 US_FL_FIX_CAPACITY ),
1083
1084 /* This Pentax still camera is not conformant
1085  * to the USB storage specification: -
1086  * - It does not like the INQUIRY command. So we must handle this command
1087  *   of the SCSI layer ourselves.
1088  * Tested on Rev. 10.00 (0x1000)
1089  * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1090  */
1091 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1092                 "Pentax",
1093                 "Optio 2/3/400",
1094                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1095                 US_FL_FIX_INQUIRY ),
1096
1097
1098 /* Submitted by Per Winkvist <per.winkvist@uk.com> */
1099 UNUSUAL_DEV( 0x0a17, 0x006, 0x0000, 0xffff,
1100                 "Pentax",
1101                 "Optio S/S4",
1102                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1103                 US_FL_FIX_INQUIRY ),
1104
1105 /* This is a virtual windows driver CD, which the zd1211rw driver automatically
1106  * converts into a WLAN device. */
1107 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1108                 "ZyXEL",
1109                 "G-220F USB-WLAN Install",
1110                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1111                 US_FL_IGNORE_DEVICE ),
1112
1113 #ifdef CONFIG_USB_STORAGE_ISD200
1114 UNUSUAL_DEV(  0x0bf6, 0xa001, 0x0100, 0x0110,
1115                 "ATI",
1116                 "USB Cable 205",
1117                 US_SC_ISD200, US_PR_BULK, isd200_Initialization,
1118                 0 ),
1119 #endif
1120
1121 #ifdef CONFIG_USB_STORAGE_DATAFAB
1122 UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0xffff,
1123                "Acomdata",
1124                "CF",
1125                US_SC_SCSI, US_PR_DATAFAB, NULL,
1126                US_FL_SINGLE_LUN ),
1127 #endif
1128 #ifdef CONFIG_USB_STORAGE_SDDR55
1129 UNUSUAL_DEV( 0x0c0b, 0xa109, 0x0000, 0xffff,
1130                "Acomdata",
1131                "SM",
1132                US_SC_SCSI, US_PR_SDDR55, NULL,
1133                US_FL_SINGLE_LUN ),
1134 #endif
1135
1136 /* Submitted by: Nick Sillik <n.sillik@temple.edu>
1137  * Needed for OneTouch extension to usb-storage
1138  *
1139  */
1140 #ifdef CONFIG_USB_STORAGE_ONETOUCH
1141         UNUSUAL_DEV(  0x0d49, 0x7000, 0x0000, 0x9999,
1142                         "Maxtor",
1143                         "OneTouch External Harddrive",
1144                         US_SC_DEVICE, US_PR_DEVICE, onetouch_connect_input,
1145                         0),
1146         UNUSUAL_DEV(  0x0d49, 0x7010, 0x0000, 0x9999,
1147                         "Maxtor",
1148                         "OneTouch External Harddrive",
1149                         US_SC_DEVICE, US_PR_DEVICE, onetouch_connect_input,
1150                         0),
1151 #endif
1152
1153 /*
1154  * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1155  * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1156  */
1157 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1158                 "Unknown",
1159                 "Unknown",
1160                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1161                 US_FL_SINGLE_LUN ),
1162
1163 /* Submitted by Joris Struyve <joris@struyve.be> */
1164 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1165                 "Medion",
1166                 "MD 7425",
1167                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1168                 US_FL_FIX_INQUIRY),
1169
1170 /*
1171  * Entry for Jenoptik JD 5200z3
1172  *
1173  * email: car.busse@gmx.de
1174  */
1175 UNUSUAL_DEV(  0x0d96, 0x5200, 0x0001, 0x0200,
1176                 "Jenoptik",
1177                 "JD 5200 z3",
1178                 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1179
1180 /* Reported by Lubomir Blaha <tritol@trilogic.cz>
1181  * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1182  * works for me. Can anybody correct these values? (I able to test corrected
1183  * version.)
1184  */
1185 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1186                 "Netac",
1187                 "USB-CF-Card",
1188                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1189                 US_FL_FIX_INQUIRY ),
1190
1191 /* Patch by Stephan Walter <stephan.walter@epfl.ch>
1192  * I don't know why, but it works... */
1193 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1194                 "WINWARD",
1195                 "Music Disk",
1196                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1197                 US_FL_IGNORE_RESIDUE ),
1198
1199 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1200 UNUSUAL_DEV(  0x0dda, 0x0301, 0x0012, 0x0012,
1201                 "PNP_MP3",
1202                 "PNP_MP3 PLAYER",
1203                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1204                 US_FL_IGNORE_RESIDUE ),
1205
1206 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1207 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1208                 "Cowon Systems",
1209                 "iAUDIO M5",
1210                 US_SC_DEVICE, US_PR_BULK, NULL,
1211                 0 ),
1212
1213 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1214 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1215                 "USB",
1216                 "Solid state disk",
1217                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1218                 US_FL_FIX_INQUIRY ),
1219
1220 /* Submitted by Daniel Drake <dsd@gentoo.org>
1221  * Reported by dayul on the Gentoo Forums */
1222 UNUSUAL_DEV(  0x0ea0, 0x2168, 0x0110, 0x0110,
1223                 "Ours Technology",
1224                 "Flash Disk",
1225                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1226                 US_FL_IGNORE_RESIDUE ),
1227
1228 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1229 UNUSUAL_DEV(  0x0ea0, 0x6828, 0x0110, 0x0110,
1230                 "USB",
1231                 "Flash Disk",
1232                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1233                 US_FL_IGNORE_RESIDUE ),
1234
1235 /* Reported by Benjamin Schiller <sbenni@gmx.de>
1236  * It is also sold by Easylite as DJ 20 */
1237 UNUSUAL_DEV(  0x0ed1, 0x7636, 0x0103, 0x0103,
1238                 "Typhoon",
1239                 "My DJ 1820",
1240                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1241                 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1242
1243 /* Reported by Michael Stattmann <michael@stattmann.com> */
1244 UNUSUAL_DEV(  0x0fce, 0xd008, 0x0000, 0x0000,
1245                 "Sony Ericsson",
1246                 "V800-Vodafone 802",
1247                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1248                 US_FL_NO_WP_DETECT ),
1249
1250 /* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1251  * Tested on hardware version 1.10.
1252  * Entry is needed only for the initializer function override.
1253  */
1254 UNUSUAL_DEV(  0x1019, 0x0c55, 0x0000, 0x9999,
1255                 "Desknote",
1256                 "UCR-61S2B",
1257                 US_SC_DEVICE, US_PR_DEVICE, usb_stor_ucr61s2b_init,
1258                 0 ),
1259
1260 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1261 UNUSUAL_DEV(  0x132b, 0x000b, 0x0001, 0x0001,
1262                 "Minolta",
1263                 "Dimage Z10",
1264                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1265                 0 ),
1266
1267 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
1268 UNUSUAL_DEV(  0x1370, 0x6828, 0x0110, 0x0110,
1269                 "SWISSBIT",
1270                 "Black Silver",
1271                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1272                 US_FL_IGNORE_RESIDUE ),
1273
1274 /* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
1275  * and Renato Perini <rperini@email.it>
1276  */
1277 UNUSUAL_DEV(  0x22b8, 0x3010, 0x0001, 0x0001,
1278                 "Motorola",
1279                 "RAZR V3x",
1280                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1281                 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1282
1283 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
1284 UNUSUAL_DEV(  0x2735, 0x100b, 0x0000, 0x9999,
1285                 "MPIO",
1286                 "HS200",
1287                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1288                 US_FL_GO_SLOW ),
1289
1290 /*
1291  * David Härdeman <david@2gen.com>
1292  * The key makes the SCSI stack print confusing (but harmless) messages
1293  */
1294 UNUSUAL_DEV(  0x4146, 0xba01, 0x0100, 0x0100,
1295                 "Iomega",
1296                 "Micro Mini 1GB",
1297                 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
1298
1299 #ifdef CONFIG_USB_STORAGE_SDDR55
1300 UNUSUAL_DEV(  0x55aa, 0xa103, 0x0000, 0x9999, 
1301                 "Sandisk",
1302                 "ImageMate SDDR55",
1303                 US_SC_SCSI, US_PR_SDDR55, NULL,
1304                 US_FL_SINGLE_LUN),
1305 #endif
1306
1307 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
1308 UNUSUAL_DEV(  0xed06, 0x4500, 0x0001, 0x0001,
1309                 "DataStor",
1310                 "USB4500 FW1.04",
1311                 US_SC_DEVICE, US_PR_DEVICE, NULL,
1312                 US_FL_FIX_CAPACITY),
1313
1314 /* Control/Bulk transport for all SubClass values */
1315 USUAL_DEV(US_SC_RBC, US_PR_CB, USB_US_TYPE_STOR),
1316 USUAL_DEV(US_SC_8020, US_PR_CB, USB_US_TYPE_STOR),
1317 USUAL_DEV(US_SC_QIC, US_PR_CB, USB_US_TYPE_STOR),
1318 USUAL_DEV(US_SC_UFI, US_PR_CB, USB_US_TYPE_STOR),
1319 USUAL_DEV(US_SC_8070, US_PR_CB, USB_US_TYPE_STOR),
1320 USUAL_DEV(US_SC_SCSI, US_PR_CB, USB_US_TYPE_STOR),
1321
1322 /* Control/Bulk/Interrupt transport for all SubClass values */
1323 USUAL_DEV(US_SC_RBC, US_PR_CBI, USB_US_TYPE_STOR),
1324 USUAL_DEV(US_SC_8020, US_PR_CBI, USB_US_TYPE_STOR),
1325 USUAL_DEV(US_SC_QIC, US_PR_CBI, USB_US_TYPE_STOR),
1326 USUAL_DEV(US_SC_UFI, US_PR_CBI, USB_US_TYPE_STOR),
1327 USUAL_DEV(US_SC_8070, US_PR_CBI, USB_US_TYPE_STOR),
1328 USUAL_DEV(US_SC_SCSI, US_PR_CBI, USB_US_TYPE_STOR),
1329
1330 /* Bulk-only transport for all SubClass values */
1331 USUAL_DEV(US_SC_RBC, US_PR_BULK, USB_US_TYPE_STOR),
1332 USUAL_DEV(US_SC_8020, US_PR_BULK, USB_US_TYPE_STOR),
1333 USUAL_DEV(US_SC_QIC, US_PR_BULK, USB_US_TYPE_STOR),
1334 USUAL_DEV(US_SC_UFI, US_PR_BULK, USB_US_TYPE_STOR),
1335 USUAL_DEV(US_SC_8070, US_PR_BULK, USB_US_TYPE_STOR),
1336 USUAL_DEV(US_SC_SCSI, US_PR_BULK, 0),