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