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