Merge tag 'v3.10.56' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / usb / storage / unusual_devs.h
1 /* Driver for USB Mass Storage compliant devices
2 * Unusual Devices File
3 *
4 * Current development and maintenance by:
5 * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
6 *
7 * Initial work by:
8 * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
9 *
10 * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more
11 * information about this driver.
12 *
13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License as published by the
15 * Free Software Foundation; either version 2, or (at your option) any
16 * later version.
17 *
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License along
24 * with this program; if not, write to the Free Software Foundation, Inc.,
25 * 675 Mass Ave, Cambridge, MA 02139, USA.
26 */
27
28 /* IMPORTANT NOTE: This file must be included in another file which does
29 * the following thing for it to work:
30 * The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
31 * before this file is included.
32 */
33
34 /* If you edit this file, please try to keep it sorted first by VendorID,
35 * then by ProductID.
36 *
37 * If you want to add an entry for this file, be sure to include the
38 * following information:
39 * - a patch that adds the entry for your device, including your
40 * email address right above the entry (plus maybe a brief
41 * explanation of the reason for the entry),
42 * - a copy of /proc/bus/usb/devices with your device plugged in
43 * running with this patch.
44 * Send your submission to either Phil Dibowitz <phil@ipom.com> or
45 * Alan Stern <stern@rowland.harvard.edu>, and don't forget to CC: the
46 * USB development list <linux-usb@vger.kernel.org> and the USB storage list
47 * <usb-storage@lists.one-eyed-alien.net>
48 */
49
50 /* Note: If you add an entry only in order to set the CAPACITY_OK flag,
51 * use the COMPLIANT_DEV macro instead of UNUSUAL_DEV. This is
52 * because such entries mark devices which actually work correctly,
53 * as opposed to devices that do something strangely or wrongly.
54 */
55
56 /* In-kernel mode switching is deprecated. Do not add new devices to
57 * this list for the sole purpose of switching them to a different
58 * mode. Existing userspace solutions are superior.
59 *
60 * New mode switching devices should instead be added to the database
61 * maintained at http://www.draisberghof.de/usb_modeswitch/
62 */
63
64 #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
65 !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
66 #define NO_SDDR09
67 #endif
68
69 /* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr>
70 */
71 UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
72 "ATMEL",
73 "SND1 Storage",
74 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
75 US_FL_IGNORE_RESIDUE),
76
77 /* Reported by Rodolfo Quesada <rquesada@roqz.net> */
78 UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
79 "VIA Technologies Inc.",
80 "Mitsumi multi cardreader",
81 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
82 US_FL_IGNORE_RESIDUE ),
83
84 UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
85 "HP",
86 "CD-Writer+",
87 USB_SC_8070, USB_PR_CB, NULL, 0),
88
89 /* Reported by Ben Efros <ben@pc-doctor.com> */
90 UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
91 "HP",
92 "Personal Media Drive",
93 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
94 US_FL_SANE_SENSE ),
95
96 /* Reported by Grant Grundler <grundler@parisc-linux.org>
97 * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
98 */
99 UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
100 "HP",
101 "PhotoSmart R707",
102 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
103
104 UNUSUAL_DEV( 0x03f3, 0x0001, 0x0000, 0x9999,
105 "Adaptec",
106 "USBConnect 2000",
107 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
108 US_FL_SCM_MULT_TARG ),
109
110 /* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
111 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
112 * for USB floppies that need the SINGLE_LUN enforcement.
113 */
114 UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
115 "NEC",
116 "NEC USB UF000x",
117 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
118 US_FL_SINGLE_LUN ),
119
120 /* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
121 UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
122 "VIA Technologies Inc.",
123 "USB 2.0 Card Reader",
124 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
125 US_FL_IGNORE_RESIDUE ),
126
127 /* Deduced by Jonathan Woithe <jwoithe@just42.net>
128 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
129 * always fails and confuses drive.
130 */
131 UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
132 "Buffalo",
133 "DUB-P40G HDD",
134 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
135 US_FL_FIX_INQUIRY ),
136
137 /* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
138 UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
139 "Samsung Info. Systems America, Inc.",
140 "MP3 Player",
141 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
142 US_FL_IGNORE_RESIDUE ),
143
144 /* Reported by Orgad Shaneh <orgads@gmail.com> */
145 UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
146 "Samsung", "MP3 Player",
147 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
148 US_FL_IGNORE_RESIDUE ),
149
150 /* Reported by Christian Leber <christian@leber.de> */
151 UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
152 "TrekStor",
153 "i.Beat 115 2.0",
154 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
155 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
156
157 /* Reported by Stefan Werner <dustbln@gmx.de> */
158 UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
159 "TrekStor",
160 "i.Beat Joy 2.0",
161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
162 US_FL_IGNORE_RESIDUE ),
163
164 /* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
165 UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
166 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
167 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
168 US_FL_IGNORE_RESIDUE ),
169
170 /* Reported by Andrew Nayenko <relan@bk.ru>
171 * Updated for new firmware by Phillip Potter <phillipinda@hotmail.com> */
172 UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
173 "Nokia",
174 "Nokia 6288",
175 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
176 US_FL_MAX_SECTORS_64 ),
177
178 /* Reported by Mario Rettig <mariorettig@web.de> */
179 UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
180 "Nokia",
181 "Nokia 3250",
182 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
183 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
184
185 /* Reported by <honkkis@gmail.com> */
186 UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
187 "Nokia",
188 "E70",
189 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
190 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
191
192 /* Reported by Jon Hart <Jon.Hart@web.de> */
193 UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
194 "Nokia",
195 "E60",
196 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
197 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
198
199 /* Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
200 * Einar Th. Einarsson <einarthered@gmail.com> */
201 UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
202 "Nokia",
203 "N91",
204 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
205 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
206
207 /* Reported by Jiri Slaby <jirislaby@gmail.com> and
208 * Rene C. Castberg <Rene@Castberg.org> */
209 UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
210 "Nokia",
211 "N80",
212 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
213 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
214
215 /* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
216 UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
217 "Nokia",
218 "E61",
219 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
220 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
221
222 /* Reported by Bardur Arantsson <bardur@scientician.net> */
223 UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
224 "Nokia",
225 "6131",
226 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
227 US_FL_MAX_SECTORS_64 ),
228
229 /* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
230 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
231 "Nokia",
232 "Nokia 6233",
233 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
234 US_FL_MAX_SECTORS_64 ),
235
236 /* Reported by Alex Corcoles <alex@corcoles.net> */
237 UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
238 "Nokia",
239 "6234",
240 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
241 US_FL_MAX_SECTORS_64 ),
242
243 /* Reported by Daniele Forsi <dforsi@gmail.com> */
244 UNUSUAL_DEV( 0x0421, 0x04b9, 0x0350, 0x0350,
245 "Nokia",
246 "5300",
247 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
248 US_FL_MAX_SECTORS_64 ),
249
250 /* Patch submitted by Victor A. Santos <victoraur.santos@gmail.com> */
251 UNUSUAL_DEV( 0x0421, 0x05af, 0x0742, 0x0742,
252 "Nokia",
253 "305",
254 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
255 US_FL_MAX_SECTORS_64),
256
257 /* Patch submitted by Mikhail Zolotaryov <lebon@lebon.org.ua> */
258 UNUSUAL_DEV( 0x0421, 0x06aa, 0x1110, 0x1110,
259 "Nokia",
260 "502",
261 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
262 US_FL_MAX_SECTORS_64 ),
263
264 #ifdef NO_SDDR09
265 UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
266 "Microtech",
267 "CameraMate",
268 USB_SC_SCSI, USB_PR_CB, NULL,
269 US_FL_SINGLE_LUN ),
270 #endif
271
272 /* Patch submitted by Daniel Drake <dsd@gentoo.org>
273 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
274 UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
275 "Neuros Audio",
276 "USB 2.0 HD 2.5",
277 USB_SC_DEVICE, USB_PR_BULK, NULL,
278 US_FL_NEED_OVERRIDE ),
279
280 /*
281 * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
282 * The key does not actually break, but it returns zero sense which
283 * makes our SCSI stack to print confusing messages.
284 */
285 UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
286 "USBest Technology", /* sold by Transcend */
287 "USB Mass Storage Device",
288 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
289
290 /*
291 * Bohdan Linda <bohdan.linda@gmail.com>
292 * 1GB USB sticks MyFlash High Speed. I have restricted
293 * the revision to my model only
294 */
295 UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
296 "USB 2.0",
297 "Flash Disk",
298 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
299 US_FL_NOT_LOCKABLE ),
300
301 /* Reported by Tamas Kerecsen <kerecsen@bigfoot.com>
302 * Obviously the PROM has not been customized by the VAR;
303 * the Vendor and Product string descriptors are:
304 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
305 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
306 */
307 UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
308 "Mitac",
309 "GPS",
310 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
311 US_FL_MAX_SECTORS_64 ),
312
313 /*
314 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
315 * Reported by Pete Zaitcev <zaitcev@redhat.com>
316 * This device chokes on both version of MODE SENSE which we have, so
317 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
318 */
319 UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
320 "AMI",
321 "Virtual Floppy",
322 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
323 US_FL_NO_WP_DETECT),
324
325 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
326 UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
327 "Kyocera",
328 "Finecam S3x",
329 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
330
331 /* Patch submitted by Philipp Friedrich <philipp@void.at> */
332 UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
333 "Kyocera",
334 "Finecam S4",
335 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
336
337 /* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
338 UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
339 "Kyocera",
340 "Finecam S5",
341 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
342
343 /* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
344 UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
345 "Kyocera",
346 "CONTAX SL300R T*",
347 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
348 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
349
350 /* Reported by Paul Stewart <stewart@wetlogic.net>
351 * This entry is needed because the device reports Sub=ff */
352 UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
353 "Hitachi",
354 "DVD-CAM DZ-MV100A Camcorder",
355 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
356
357 /* BENQ DC5330
358 * Reported by Manuel Fombuena <mfombuena@ya.com> and
359 * Frank Copeland <fjc@thingy.apana.org.au> */
360 UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
361 "Tekom Technologies, Inc",
362 "300_CAMERA",
363 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
364 US_FL_IGNORE_RESIDUE ),
365
366 /* Patch for Nikon coolpix 2000
367 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/
368 UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
369 "NIKON",
370 "NIKON DSC E2000",
371 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
372 US_FL_NOT_LOCKABLE ),
373
374 /* Reported by Doug Maxey (dwm@austin.ibm.com) */
375 UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
376 "IBM",
377 "IBM RSA2",
378 USB_SC_DEVICE, USB_PR_CB, NULL,
379 US_FL_MAX_SECTORS_MIN),
380
381 /* Reported by Simon Levitt <simon@whattf.com>
382 * This entry needs Sub and Proto fields */
383 UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
384 "Epson",
385 "875DC Storage",
386 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
387
388 /* Reported by Khalid Aziz <khalid@gonehiking.org>
389 * This entry is needed because the device reports Sub=ff */
390 UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
391 "Epson",
392 "785EPX Storage",
393 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
394
395 /* Not sure who reported this originally but
396 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
397 * flag be added */
398 UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
399 "Fujifilm",
400 "FinePix 1400Zoom",
401 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
402
403 /* Reported by Ondrej Zary <linux@rainbow-software.org>
404 * The device reports one sector more and breaks when that sector is accessed
405 */
406 UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
407 "ScanLogic",
408 "SL11R-IDE",
409 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
410 US_FL_FIX_CAPACITY),
411
412 /* Reported by Kriston Fincher <kriston@airmail.net>
413 * Patch submitted by Sean Millichamp <sean@bruenor.org>
414 * This is to support the Panasonic PalmCam PV-SD4090
415 * This entry is needed because the device reports Sub=ff
416 */
417 UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
418 "Panasonic",
419 "LS-120 Camera",
420 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
421
422 /* From Yukihiro Nakai, via zaitcev@yahoo.com.
423 * This is needed for CB instead of CBI */
424 UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
425 "Sharp CE-CW05",
426 "CD-R/RW Drive",
427 USB_SC_8070, USB_PR_CB, NULL, 0),
428
429 /* Reported by Adriaan Penning <a.penning@luon.net> */
430 UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
431 "Panasonic",
432 "DMC-LCx Camera",
433 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
434 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
435
436 /* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
437 UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
438 "LEICA",
439 "D-LUX Camera",
440 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
441 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
442
443 /* Most of the following entries were developed with the help of
444 * Shuttle/SCM directly.
445 */
446 UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
447 "Matshita",
448 "LS-120",
449 USB_SC_8020, USB_PR_CB, NULL, 0),
450
451 UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
452 "Shuttle",
453 "eUSCSI Bridge",
454 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
455 US_FL_SCM_MULT_TARG ),
456
457 #ifdef NO_SDDR09
458 UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
459 "SCM Microsystems",
460 "eUSB CompactFlash Adapter",
461 USB_SC_SCSI, USB_PR_CB, NULL,
462 US_FL_SINGLE_LUN),
463 #endif
464
465 /* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
466 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
467 "SCM Microsystems Inc.",
468 "eUSB MMC Adapter",
469 USB_SC_SCSI, USB_PR_CB, NULL,
470 US_FL_SINGLE_LUN),
471
472 /* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
473 UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
474 "Shuttle",
475 "eUSB MMC Adapter",
476 USB_SC_SCSI, USB_PR_DEVICE, NULL,
477 US_FL_SINGLE_LUN),
478
479 UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
480 "Sony",
481 "Hifd",
482 USB_SC_SCSI, USB_PR_CB, NULL,
483 US_FL_SINGLE_LUN),
484
485 UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
486 "Shuttle",
487 "eUSB ATA/ATAPI Adapter",
488 USB_SC_8020, USB_PR_CB, NULL, 0),
489
490 UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
491 "Shuttle",
492 "eUSB CompactFlash Adapter",
493 USB_SC_8020, USB_PR_CB, NULL, 0),
494
495 UNUSUAL_DEV( 0x04e6, 0x000B, 0x0100, 0x0100,
496 "Shuttle",
497 "eUSCSI Bridge",
498 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
499 US_FL_SCM_MULT_TARG ),
500
501 UNUSUAL_DEV( 0x04e6, 0x000C, 0x0100, 0x0100,
502 "Shuttle",
503 "eUSCSI Bridge",
504 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
505 US_FL_SCM_MULT_TARG ),
506
507 UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
508 "Shuttle",
509 "CD-RW Device",
510 USB_SC_8020, USB_PR_CB, NULL, 0),
511
512 /* Reported by Dmitry Khlystov <adminimus@gmail.com> */
513 UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
514 "Samsung",
515 "YP-U3",
516 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
517 US_FL_MAX_SECTORS_64),
518
519 /* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
520 UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
521 "Samsung",
522 "YP-CP3",
523 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
524 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
525
526 /* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
527 UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
528 "Samsung",
529 "YP-Z3",
530 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
531 US_FL_MAX_SECTORS_64),
532
533 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
534 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
535 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
536 */
537 UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
538 "Kobian Mercury",
539 "Binocam DCB-132",
540 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
541 US_FL_BULK32),
542
543 /* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
544 UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
545 "Belkin",
546 "USB SCSI Adaptor",
547 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
548 US_FL_SCM_MULT_TARG ),
549
550 /* Iomega Clik! Drive
551 * Reported by David Chatenay <dchatenay@hotmail.com>
552 * The reason this is needed is not fully known.
553 */
554 UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
555 "Iomega",
556 "USB Clik! 40",
557 USB_SC_8070, USB_PR_DEVICE, NULL,
558 US_FL_FIX_INQUIRY ),
559
560 /* Added by Alan Stern <stern@rowland.harvard.edu> */
561 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
562 "Linux",
563 "File-backed Storage Gadget",
564 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
565 US_FL_CAPACITY_OK ),
566
567 /* Yakumo Mega Image 37
568 * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
569 UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
570 "Tekom Technologies, Inc",
571 "300_CAMERA",
572 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
573 US_FL_IGNORE_RESIDUE ),
574
575 /* Another Yakumo camera.
576 * Reported by Michele Alzetta <michele.alzetta@aliceposta.it> */
577 UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
578 "Tekom Technologies, Inc",
579 "300_CAMERA",
580 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
581 US_FL_IGNORE_RESIDUE ),
582
583 /* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
584 UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
585 "Tekom Technologies, Inc",
586 "300_CAMERA",
587 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
588 US_FL_IGNORE_RESIDUE ),
589
590 /* Yakumo Mega Image 47
591 * Reported by Bjoern Paetzel <kolrabi@kolrabi.de> */
592 UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
593 "Tekom Technologies, Inc",
594 "400_CAMERA",
595 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
596 US_FL_IGNORE_RESIDUE ),
597
598 /* Reported by Paul Ortyl <ortylp@3miasto.net>
599 * Note that it's similar to the device above, only different prodID */
600 UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
601 "Tekom Technologies, Inc",
602 "400_CAMERA",
603 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
604 US_FL_IGNORE_RESIDUE ),
605
606 UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
607 "Sony",
608 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
609 USB_SC_SCSI, USB_PR_DEVICE, NULL,
610 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
611
612 /* Submitted by Lars Jacob <jacob.lars@googlemail.com>
613 * This entry is needed because the device reports Sub=ff */
614 UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
615 "Sony",
616 "DSC-T1/T5/H5",
617 USB_SC_8070, USB_PR_DEVICE, NULL,
618 US_FL_SINGLE_LUN ),
619
620
621 /* Reported by wim@geeks.nl */
622 UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
623 "Sony",
624 "Memorystick NW-MS7",
625 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
626 US_FL_SINGLE_LUN ),
627
628 /* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
629 UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
630 "Sony",
631 "USB Floppy Drive",
632 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
633 US_FL_SINGLE_LUN ),
634
635 UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
636 "Sony",
637 "Memorystick MSAC-US1",
638 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
639 US_FL_SINGLE_LUN ),
640
641 /* Submitted by Klaus Mueller <k.mueller@intershop.de> */
642 UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
643 "Sony",
644 "Handycam",
645 USB_SC_SCSI, USB_PR_DEVICE, NULL,
646 US_FL_SINGLE_LUN ),
647
648 /* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
649 UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
650 "Sony",
651 "Handycam HC-85",
652 USB_SC_UFI, USB_PR_DEVICE, NULL,
653 US_FL_SINGLE_LUN ),
654
655 UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
656 "Sony",
657 "Memorystick MSC-U01N",
658 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
659 US_FL_SINGLE_LUN ),
660
661 /* Submitted by Michal Mlotek <mlotek@foobar.pl> */
662 UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
663 "Sony",
664 "PEG N760c Memorystick",
665 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
666 US_FL_FIX_INQUIRY ),
667
668 UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
669 "Sony",
670 "Memorystick MSC-U03",
671 USB_SC_UFI, USB_PR_CB, NULL,
672 US_FL_SINGLE_LUN ),
673
674 /* Submitted by Nathan Babb <nathan@lexi.com> */
675 UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
676 "Sony",
677 "PEG Mass Storage",
678 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
679 US_FL_FIX_INQUIRY ),
680
681 /* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
682 UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
683 "Sony",
684 "PEG Mass Storage",
685 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
686 US_FL_FIX_INQUIRY ),
687
688 /* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
689 UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
690 "Sony",
691 "PEG Mass Storage",
692 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
693 US_FL_FIX_INQUIRY ),
694
695 /* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
696 UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
697 "Sony Corp.",
698 "MicroVault Flash Drive",
699 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
700 US_FL_NO_READ_CAPACITY_16 ),
701
702 /* floppy reports multiple luns */
703 UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
704 "SAMSUNG",
705 "SFD-321U [FW 0C]",
706 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
707 US_FL_SINGLE_LUN ),
708
709 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
710 UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
711 "Y-E Data",
712 "Flashbuster-U",
713 USB_SC_DEVICE, USB_PR_CB, NULL,
714 US_FL_SINGLE_LUN),
715
716 /* Reported by Johann Cardon <johann.cardon@free.fr>
717 * This entry is needed only because the device reports
718 * bInterfaceClass = 0xff (vendor-specific)
719 */
720 UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
721 "Y-E Data",
722 "Silicon Media R/W",
723 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
724
725 /* Reported by RTE <raszilki@yandex.ru> */
726 UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
727 "JetFlash",
728 "TS1GJF2A/120",
729 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
730 US_FL_MAX_SECTORS_64 ),
731
732 /* Fabrizio Fellini <fello@libero.it> */
733 UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
734 "Fujifilm",
735 "Digital Camera EX-20 DSC",
736 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
737
738 /* Reported by Andre Welter <a.r.welter@gmx.de>
739 * This antique device predates the release of the Bulk-only Transport
740 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
741 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
742 * us from sending the request.
743 */
744 UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
745 "Iomega",
746 "ZIP 100",
747 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
748 US_FL_SINGLE_LUN ),
749
750 UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
751 "Iomega",
752 "Jaz USB Adapter",
753 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
754 US_FL_SINGLE_LUN ),
755
756 /* Reported by <Hendryk.Pfeiffer@gmx.de> */
757 UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
758 "LaCie",
759 "DVD+-RW",
760 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
761 US_FL_GO_SLOW ),
762
763 /* Submitted by Joel Bourquard <numlock@freesurf.ch>
764 * Some versions of this device need the SubClass and Protocol overrides
765 * while others don't.
766 */
767 UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
768 "In-System",
769 "PyroGate External CD-ROM Enclosure (FCD-523)",
770 USB_SC_SCSI, USB_PR_BULK, NULL,
771 US_FL_NEED_OVERRIDE ),
772
773 /* Submitted by Sven Anderson <sven-linux@anderson.de>
774 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
775 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
776 * to change with firmware updates, I changed the range to maximum for all
777 * iPod entries.
778 */
779 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
780 "Apple",
781 "iPod",
782 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
783 US_FL_FIX_CAPACITY ),
784
785 /* Reported by Avi Kivity <avi@argo.co.il> */
786 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
787 "Apple",
788 "iPod",
789 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
790 US_FL_FIX_CAPACITY ),
791
792 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
793 "Apple",
794 "iPod",
795 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
796 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
797
798 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
799 "Apple",
800 "iPod",
801 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
802 US_FL_FIX_CAPACITY ),
803
804 /*
805 * Reported by Tyson Vinson <lornoss@gmail.com>
806 * This particular productId is the iPod Nano
807 */
808 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
809 "Apple",
810 "iPod",
811 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
812 US_FL_FIX_CAPACITY ),
813
814 /* Reported by Dan Williams <dcbw@redhat.com>
815 * Option N.V. mobile broadband modems
816 * Ignore driver CD mode and force into modem mode by default.
817 */
818
819 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
820 UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
821 "Option N.V.",
822 "Mass Storage",
823 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
824 0),
825
826 /* Reported by Blake Matheny <bmatheny@purdue.edu> */
827 UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
828 "Lexar",
829 "USB CF Reader",
830 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
831 US_FL_FIX_INQUIRY ),
832
833 /* The following two entries are for a Genesys USB to IDE
834 * converter chip, but it changes its ProductId depending
835 * on whether or not a disk or an optical device is enclosed
836 * They were originally reported by Alexander Oltu
837 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
838 * respectively.
839 *
840 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
841 * <phil@ipom.com> as these flags were made and hard-coded
842 * special-cases were pulled from scsiglue.c.
843 */
844 UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
845 "Genesys Logic",
846 "USB to IDE Optical",
847 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
848 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
849
850 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
851 "Genesys Logic",
852 "USB to IDE Disk",
853 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
854 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
855
856 /* Reported by Ben Efros <ben@pc-doctor.com> */
857 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
858 "Genesys Logic",
859 "USB to SATA",
860 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
861 US_FL_SANE_SENSE ),
862
863 /* Reported by Hanno Boeck <hanno@gmx.de>
864 * Taken from the Lycoris Kernel */
865 UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
866 "Vivitar",
867 "Vivicam 35Xx",
868 USB_SC_SCSI, USB_PR_BULK, NULL,
869 US_FL_FIX_INQUIRY ),
870
871 UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
872 "TEAC",
873 "Floppy Drive",
874 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
875
876 /* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
877 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
878 "SigmaTel",
879 "USBMSC Audio Player",
880 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
881 US_FL_FIX_CAPACITY ),
882
883 /* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
884 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
885 "Prolific Technology, Inc.",
886 "Prolific Storage Gadget",
887 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
888 US_FL_BAD_SENSE ),
889
890 /* Reported by Rogerio Brito <rbrito@ime.usp.br> */
891 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
892 "Prolific Technology, Inc.",
893 "Mass Storage Device",
894 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
895 US_FL_NOT_LOCKABLE ),
896
897 /* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
898 /* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
899 * Thomas Bartosik <tbartdev@gmx-topmail.de> */
900 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
901 "Prolific Technology Inc.",
902 "Mass Storage Device",
903 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
904 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
905
906 /* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
907 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
908 "Prolific Technology Inc.",
909 "ATAPI-6 Bridge Controller",
910 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
911 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
912
913 /* Submitted by Benny Sjostrand <benny@hostmobility.com> */
914 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
915 "Minolta",
916 "Dimage F300",
917 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
918
919 /* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
920 UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
921 "Minolta",
922 "DIMAGE E223",
923 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
924
925 UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
926 "Hagiwara",
927 "Flashgate",
928 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
929
930 /* Reported by David Hamilton <niftimusmaximus@lycos.com> */
931 UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
932 "Thomson Multimedia Inc.",
933 "RCA RD1080 MP3 Player",
934 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
935 US_FL_FIX_CAPACITY ),
936
937 /* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
938 UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
939 "RockChip",
940 "MP3",
941 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
942 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
943 US_FL_NO_READ_CAPACITY_16),
944
945 /* Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
946 * Support the following product :
947 * "Dane-Elec MediaTouch"
948 */
949 UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
950 "RockChip",
951 "MTP",
952 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
953 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
954
955 /* Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
956 * This USB MP3/AVI player device fails and disconnects if more than 128
957 * sectors (64kB) are read/written in a single command, and may be present
958 * at least in the following products:
959 * "Magnex Digital Video Panel DVP 1800"
960 * "MP4 AIGO 4GB SLOT SD"
961 * "Teclast TL-C260 MP3"
962 * "i.Meizu PMP MP3/MP4"
963 * "Speed MV8 MP4 Audio Player"
964 */
965 UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
966 "RockChip",
967 "ROCK MP3",
968 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
969 US_FL_MAX_SECTORS_64),
970
971 /* Reported by Olivier Blondeau <zeitoun@gmail.com> */
972 UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
973 "ATMEL",
974 "SND1 Storage",
975 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
976 US_FL_IGNORE_RESIDUE),
977
978 /* Submitted by Roman Hodek <roman@hodek.net> */
979 UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
980 "Sandisk",
981 "ImageMate SDDR-05a",
982 USB_SC_SCSI, USB_PR_CB, NULL,
983 US_FL_SINGLE_LUN ),
984
985 UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
986 "SanDisk Corporation",
987 "ImageMate CompactFlash USB",
988 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
989 US_FL_FIX_CAPACITY ),
990
991 UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
992 "Sandisk",
993 "ImageMate SDDR-12",
994 USB_SC_SCSI, USB_PR_CB, NULL,
995 US_FL_SINGLE_LUN ),
996
997 /* Reported by Eero Volotinen <eero@ping-viini.org> */
998 UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
999 "Freecom Technologies",
1000 "FHD-Classic",
1001 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1002 US_FL_FIX_CAPACITY),
1003
1004 UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
1005 "Microtech",
1006 "USB-SCSI-DB25",
1007 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1008 US_FL_SCM_MULT_TARG ),
1009
1010 UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
1011 "Microtech",
1012 "USB-SCSI-HD50",
1013 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1014 US_FL_SCM_MULT_TARG ),
1015
1016 #ifdef NO_SDDR09
1017 UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1018 "Microtech",
1019 "CameraMate",
1020 USB_SC_SCSI, USB_PR_CB, NULL,
1021 US_FL_SINGLE_LUN ),
1022 #endif
1023
1024 /* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1025 * Only revision 1.13 tested (same for all of the above devices,
1026 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1027 * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
1028 * See also http://martin.wilck.bei.t-online.de/#kecf .
1029 */
1030 UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1031 "Datafab",
1032 "KECF-USB",
1033 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1034 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1035
1036 /* Reported by Rauch Wolke <rauchwolke@gmx.net>
1037 * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
1038 */
1039 UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1040 "Simple Tech/Datafab",
1041 "CF+SM Reader",
1042 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1043 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1044
1045 /* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1046 * to the USB storage specification in two ways:
1047 * - They tell us they are using transport protocol CBI. In reality they
1048 * are using transport protocol CB.
1049 * - They don't like the INQUIRY command. So we must handle this command
1050 * of the SCSI layer ourselves.
1051 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1052 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1053 * So don't remove the USB_PR_CB override!
1054 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1055 */
1056 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1057 "Casio",
1058 "QV DigitalCamera",
1059 USB_SC_8070, USB_PR_CB, NULL,
1060 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1061
1062 /* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1063 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1064 "Casio",
1065 "EX-N1 DigitalCamera",
1066 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1067
1068 /* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1069 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1070 "Samsung",
1071 "Digimax 410",
1072 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1073 US_FL_FIX_INQUIRY),
1074
1075 /* Reported by Luciano Rocha <luciano@eurotux.com> */
1076 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1077 "Argosy",
1078 "Storage",
1079 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1080 US_FL_FIX_CAPACITY),
1081
1082 /* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1083 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1084 "Argosy",
1085 "Storage",
1086 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1087 US_FL_FIX_CAPACITY),
1088
1089 /* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1090 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1091 "Argosy",
1092 "Storage",
1093 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1094 US_FL_FIX_CAPACITY),
1095
1096 /* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1097 * Flag will support Bulk devices which use a standards-violating 32-byte
1098 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1099 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1100 */
1101
1102 UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1103 "Grandtech",
1104 "DC2MEGA",
1105 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1106 US_FL_BULK32),
1107
1108 /* Reported by <ttkspam@free.fr>
1109 * The device reports a vendor-specific device class, requiring an
1110 * explicit vendor/product match.
1111 */
1112 UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1113 "MagicPixel",
1114 "FW_Omega2",
1115 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1116
1117 /* Andrew Lunn <andrew@lunn.ch>
1118 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1119 * on LUN 4.
1120 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1121 */
1122 UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1123 "PanDigital",
1124 "Photo Frame",
1125 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1126 US_FL_NOT_LOCKABLE),
1127
1128 UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1129 "Xircom",
1130 "PortGear USB-SCSI (Mac USB Dock)",
1131 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1132 US_FL_SCM_MULT_TARG ),
1133
1134 UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1135 "Xircom",
1136 "PortGear USB to SCSI Converter",
1137 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1138 US_FL_SCM_MULT_TARG ),
1139
1140 /* Submitted by Jan De Luyck <lkml@kcore.org> */
1141 UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1142 "CITIZEN",
1143 "X1DE-USB",
1144 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1145 US_FL_SINGLE_LUN),
1146
1147 /* Submitted by Dylan Taft <d13f00l@gmail.com>
1148 * US_FL_IGNORE_RESIDUE Needed
1149 */
1150 UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
1151 "AIPTEK",
1152 "Aiptek USB Keychain MP3 Player",
1153 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1154 US_FL_IGNORE_RESIDUE),
1155
1156 /* Entry needed for flags. Moreover, all devices with this ID use
1157 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1158 * One example is "Trumpion Digital Research MYMP3".
1159 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1160 */
1161 UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1162 "Trumpion",
1163 "t33520 USB Flash Card Controller",
1164 USB_SC_DEVICE, USB_PR_BULK, NULL,
1165 US_FL_NEED_OVERRIDE ),
1166
1167 /* Reported by Filippo Bardelli <filibard@libero.it>
1168 * The device reports a subclass of RBC, which is wrong.
1169 */
1170 UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1171 "Trumpion Microelectronics, Inc.",
1172 "33520 USB Digital Voice Recorder",
1173 USB_SC_UFI, USB_PR_DEVICE, NULL,
1174 0),
1175
1176 /* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1177 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1178 "Trumpion",
1179 "MP3 player",
1180 USB_SC_RBC, USB_PR_BULK, NULL,
1181 0 ),
1182
1183 /* aeb */
1184 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1185 "Feiya",
1186 "5-in-1 Card Reader",
1187 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1188 US_FL_FIX_CAPACITY ),
1189
1190 /* Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1191 * This card reader returns "Illegal Request, Logical Block Address
1192 * Out of Range" for the first READ(10) after a new card is inserted.
1193 */
1194 UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1195 "Feiya",
1196 "SD/SDHC Card Reader",
1197 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1198 US_FL_INITIAL_READ10 ),
1199
1200 /* This Pentax still camera is not conformant
1201 * to the USB storage specification: -
1202 * - It does not like the INQUIRY command. So we must handle this command
1203 * of the SCSI layer ourselves.
1204 * Tested on Rev. 10.00 (0x1000)
1205 * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1206 */
1207 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1208 "Pentax",
1209 "Optio 2/3/400",
1210 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1211 US_FL_FIX_INQUIRY ),
1212
1213 /* These are virtual windows driver CDs, which the zd1211rw driver
1214 * automatically converts into WLAN devices. */
1215 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1216 "ZyXEL",
1217 "G-220F USB-WLAN Install",
1218 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1219 US_FL_IGNORE_DEVICE ),
1220
1221 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1222 "SiteCom",
1223 "WL-117 USB-WLAN Install",
1224 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1225 US_FL_IGNORE_DEVICE ),
1226
1227 /* Reported by Dan Williams <dcbw@redhat.com>
1228 * Option N.V. mobile broadband modems
1229 * Ignore driver CD mode and force into modem mode by default.
1230 */
1231
1232 /* iCON 225 */
1233 UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1234 "Option N.V.",
1235 "Mass Storage",
1236 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1237 0),
1238
1239 /* Reported by F. Aben <f.aben@option.com>
1240 * This device (wrongly) has a vendor-specific device descriptor.
1241 * The entry is needed so usb-storage can bind to it's mass-storage
1242 * interface as an interface driver */
1243 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1244 "Option",
1245 "GI 0401 SD-Card",
1246 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1247 0 ),
1248
1249 /* Reported by Jan Dumon <j.dumon@option.com>
1250 * These devices (wrongly) have a vendor-specific device descriptor.
1251 * These entries are needed so usb-storage can bind to their mass-storage
1252 * interface as an interface driver */
1253 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1254 "Option",
1255 "GI 0431 SD-Card",
1256 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1257 0 ),
1258
1259 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1260 "Option",
1261 "GI 0451 SD-Card",
1262 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1263 0 ),
1264
1265 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1266 "Option",
1267 "GI 0451 SD-Card",
1268 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1269 0 ),
1270
1271 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1272 "Option",
1273 "GI 0452 SD-Card",
1274 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1275 0 ),
1276
1277 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1278 "Option",
1279 "GI 0461 SD-Card",
1280 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1281 0 ),
1282
1283 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1284 "Option",
1285 "GI 0461 SD-Card",
1286 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1287 0 ),
1288
1289 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1290 "Option",
1291 "GI 033x SD-Card",
1292 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1293 0 ),
1294
1295 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1296 "Option",
1297 "GI 033x SD-Card",
1298 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1299 0 ),
1300
1301 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1302 "Option",
1303 "GI 033x SD-Card",
1304 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1305 0 ),
1306
1307 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1308 "Option",
1309 "GI 070x SD-Card",
1310 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1311 0 ),
1312
1313 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1314 "Option",
1315 "GI 1505 SD-Card",
1316 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1317 0 ),
1318
1319 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1320 "Option",
1321 "GI 1509 SD-Card",
1322 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1323 0 ),
1324
1325 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1326 "Option",
1327 "GI 1515 SD-Card",
1328 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1329 0 ),
1330
1331 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1332 "Option",
1333 "GI 1215 SD-Card",
1334 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1335 0 ),
1336
1337 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1338 "Option",
1339 "GI 1505 SD-Card",
1340 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1341 0 ),
1342
1343 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1344 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1345 "Seagate",
1346 "Portable HDD",
1347 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1348
1349 /* Reported by Ben Efros <ben@pc-doctor.com> */
1350 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1351 "Seagate",
1352 "FreeAgent Pro",
1353 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1354 US_FL_SANE_SENSE ),
1355
1356 UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1357 "Maxtor",
1358 "USB to SATA",
1359 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1360 US_FL_SANE_SENSE),
1361
1362 /*
1363 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1364 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1365 */
1366 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1367 "Unknown",
1368 "Unknown",
1369 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1370 US_FL_SINGLE_LUN ),
1371
1372 /* Submitted by Joris Struyve <joris@struyve.be> */
1373 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1374 "Medion",
1375 "MD 7425",
1376 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1377 US_FL_FIX_INQUIRY),
1378
1379 /*
1380 * Entry for Jenoptik JD 5200z3
1381 *
1382 * email: car.busse@gmx.de
1383 */
1384 UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1385 "Jenoptik",
1386 "JD 5200 z3",
1387 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1388
1389 /* Reported by Jason Johnston <killean@shaw.ca> */
1390 UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1391 "Macpower Technology Co.LTD.",
1392 "USB 2.0 3.5\" DEVICE",
1393 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1394 US_FL_FIX_CAPACITY),
1395
1396 /* Reported by Lubomir Blaha <tritol@trilogic.cz>
1397 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1398 * works for me. Can anybody correct these values? (I able to test corrected
1399 * version.)
1400 */
1401 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1402 "Netac",
1403 "USB-CF-Card",
1404 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1405 US_FL_FIX_INQUIRY ),
1406
1407 /* Reported by Edward Chapman (taken from linux-usb mailing list)
1408 Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1409 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1410 "Netac",
1411 "USB Flash Disk",
1412 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1413 US_FL_IGNORE_RESIDUE ),
1414
1415
1416 /* Patch by Stephan Walter <stephan.walter@epfl.ch>
1417 * I don't know why, but it works... */
1418 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1419 "WINWARD",
1420 "Music Disk",
1421 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1422 US_FL_IGNORE_RESIDUE ),
1423
1424 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1425 UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1426 "PNP_MP3",
1427 "PNP_MP3 PLAYER",
1428 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1429 US_FL_IGNORE_RESIDUE ),
1430
1431 /* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1432 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1433 "Cowon Systems",
1434 "iAUDIO M5",
1435 USB_SC_DEVICE, USB_PR_BULK, NULL,
1436 US_FL_NEED_OVERRIDE ),
1437
1438 /* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1439 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1440 "USB",
1441 "Solid state disk",
1442 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1443 US_FL_FIX_INQUIRY ),
1444
1445 /* Submitted by Daniel Drake <dsd@gentoo.org>
1446 * Reported by dayul on the Gentoo Forums */
1447 UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1448 "Ours Technology",
1449 "Flash Disk",
1450 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1451 US_FL_IGNORE_RESIDUE ),
1452
1453 /* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1454 UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1455 "USB",
1456 "Flash Disk",
1457 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1458 US_FL_IGNORE_RESIDUE ),
1459
1460 /* Reported by Benjamin Schiller <sbenni@gmx.de>
1461 * It is also sold by Easylite as DJ 20 */
1462 UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1463 "Typhoon",
1464 "My DJ 1820",
1465 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1466 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1467
1468 /* Patch by Leonid Petrov mail at lpetrov.net
1469 * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1470 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1471 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1472 */
1473 UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1474 "Oracom Co., Ltd",
1475 "ORC-200M",
1476 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1477 US_FL_IGNORE_RESIDUE ),
1478
1479 /* David Kuehling <dvdkhlng@gmx.de>:
1480 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1481 * errors when trying to write.
1482 */
1483 UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1484 "C-MEX",
1485 "A-VOX",
1486 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1487 US_FL_IGNORE_RESIDUE ),
1488
1489 /* Submitted by Nick Holloway */
1490 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1491 "VTech",
1492 "Kidizoom",
1493 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1494 US_FL_FIX_CAPACITY ),
1495
1496 /* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
1497 UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1498 "Research In Motion",
1499 "BlackBerry Bold 9000",
1500 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1501 US_FL_MAX_SECTORS_64 ),
1502
1503 /* Reported by Michael Stattmann <michael@stattmann.com> */
1504 UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1505 "Sony Ericsson",
1506 "V800-Vodafone 802",
1507 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1508 US_FL_NO_WP_DETECT ),
1509
1510 /* Reported by The Solutor <thesolutor@gmail.com> */
1511 UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1512 "Sony Ericsson",
1513 "MD400",
1514 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1515 US_FL_IGNORE_DEVICE),
1516
1517 /* Reported by Jan Mate <mate@fiit.stuba.sk>
1518 * and by Soeren Sonnenburg <kernel@nn7.de> */
1519 UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1520 "Sony Ericsson",
1521 "P990i",
1522 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1523 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1524
1525 /* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1526 UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1527 "Sony Ericsson",
1528 "M600i",
1529 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1530 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1531
1532 /* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1533 UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1534 "Sony Ericsson",
1535 "P1i",
1536 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1537 US_FL_IGNORE_RESIDUE ),
1538
1539 /* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1540 * Tested on hardware version 1.10.
1541 * Entry is needed only for the initializer function override.
1542 * Devices with bcd > 110 seem to not need it while those
1543 * with bcd < 110 appear to need it.
1544 */
1545 UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
1546 "Desknote",
1547 "UCR-61S2B",
1548 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1549 0 ),
1550
1551 UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1552 "Western Digital",
1553 "External HDD",
1554 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1555 US_FL_SANE_SENSE),
1556
1557 /* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1558 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1559 "Western Digital",
1560 "My Passport HDD",
1561 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1562
1563 /* Reported by Fabio Venturi <f.venturi@tdnet.it>
1564 * The device reports a vendor-specific bDeviceClass.
1565 */
1566 UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1567 "Actions Semiconductor",
1568 "Mtp device",
1569 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1570 0),
1571
1572 /* Reported by Pascal Terjan <pterjan@mandriva.com>
1573 * Ignore driver CD mode and force into modem mode by default.
1574 */
1575 UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1576 "D-Link",
1577 "USB Mass Storage",
1578 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1579
1580 /* Reported by Kevin Lloyd <linux@sierrawireless.com>
1581 * Entry is needed for the initializer function override,
1582 * which instructs the device to load as a modem
1583 * device.
1584 */
1585 UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1586 "Sierra Wireless",
1587 "USB MMC Storage",
1588 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1589 0),
1590
1591 /* Reported by Jaco Kroon <jaco@kroon.co.za>
1592 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1593 * devices) misbehaves and causes a bunch of invalid I/O errors.
1594 */
1595 UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1596 "Digitech HMG",
1597 "DigiTech Mass Storage",
1598 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1599 US_FL_IGNORE_RESIDUE ),
1600
1601 /* Reported by fangxiaozhi <huananhu@huawei.com>
1602 * This brings the HUAWEI data card devices into multi-port mode
1603 */
1604 UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
1605 "HUAWEI MOBILE",
1606 "Mass Storage",
1607 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1608 0),
1609 UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
1610 "HUAWEI MOBILE",
1611 "Mass Storage",
1612 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1613 0),
1614 UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
1615 "HUAWEI MOBILE",
1616 "Mass Storage",
1617 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1618 0),
1619 UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
1620 "HUAWEI MOBILE",
1621 "Mass Storage",
1622 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1623 0),
1624 UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
1625 "HUAWEI MOBILE",
1626 "Mass Storage",
1627 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1628 0),
1629 UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
1630 "HUAWEI MOBILE",
1631 "Mass Storage",
1632 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1633 0),
1634 UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
1635 "HUAWEI MOBILE",
1636 "Mass Storage",
1637 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1638 0),
1639 UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
1640 "HUAWEI MOBILE",
1641 "Mass Storage",
1642 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1643 0),
1644 UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
1645 "HUAWEI MOBILE",
1646 "Mass Storage",
1647 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1648 0),
1649 UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
1650 "HUAWEI MOBILE",
1651 "Mass Storage",
1652 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1653 0),
1654 UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
1655 "HUAWEI MOBILE",
1656 "Mass Storage",
1657 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1658 0),
1659 UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
1660 "HUAWEI MOBILE",
1661 "Mass Storage",
1662 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1663 0),
1664 UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
1665 "HUAWEI MOBILE",
1666 "Mass Storage",
1667 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1668 0),
1669 UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
1670 "HUAWEI MOBILE",
1671 "Mass Storage",
1672 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1673 0),
1674 UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
1675 "HUAWEI MOBILE",
1676 "Mass Storage",
1677 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1678 0),
1679 UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
1680 "HUAWEI MOBILE",
1681 "Mass Storage",
1682 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1683 0),
1684 UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
1685 "HUAWEI MOBILE",
1686 "Mass Storage",
1687 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1688 0),
1689 UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
1690 "HUAWEI MOBILE",
1691 "Mass Storage",
1692 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1693 0),
1694 UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
1695 "HUAWEI MOBILE",
1696 "Mass Storage",
1697 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1698 0),
1699 UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
1700 "HUAWEI MOBILE",
1701 "Mass Storage",
1702 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1703 0),
1704 UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
1705 "HUAWEI MOBILE",
1706 "Mass Storage",
1707 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1708 0),
1709 UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
1710 "HUAWEI MOBILE",
1711 "Mass Storage",
1712 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1713 0),
1714 UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
1715 "HUAWEI MOBILE",
1716 "Mass Storage",
1717 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1718 0),
1719 UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
1720 "HUAWEI MOBILE",
1721 "Mass Storage",
1722 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1723 0),
1724 UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
1725 "HUAWEI MOBILE",
1726 "Mass Storage",
1727 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1728 0),
1729 UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
1730 "HUAWEI MOBILE",
1731 "Mass Storage",
1732 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1733 0),
1734 UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
1735 "HUAWEI MOBILE",
1736 "Mass Storage",
1737 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1738 0),
1739 UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
1740 "HUAWEI MOBILE",
1741 "Mass Storage",
1742 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1743 0),
1744 UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
1745 "HUAWEI MOBILE",
1746 "Mass Storage",
1747 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1748 0),
1749 UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
1750 "HUAWEI MOBILE",
1751 "Mass Storage",
1752 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1753 0),
1754 UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
1755 "HUAWEI MOBILE",
1756 "Mass Storage",
1757 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1758 0),
1759 UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
1760 "HUAWEI MOBILE",
1761 "Mass Storage",
1762 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1763 0),
1764 UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
1765 "HUAWEI MOBILE",
1766 "Mass Storage",
1767 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1768 0),
1769 UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
1770 "HUAWEI MOBILE",
1771 "Mass Storage",
1772 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1773 0),
1774 UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
1775 "HUAWEI MOBILE",
1776 "Mass Storage",
1777 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1778 0),
1779 UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
1780 "HUAWEI MOBILE",
1781 "Mass Storage",
1782 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1783 0),
1784 UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
1785 "HUAWEI MOBILE",
1786 "Mass Storage",
1787 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1788 0),
1789 UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
1790 "HUAWEI MOBILE",
1791 "Mass Storage",
1792 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1793 0),
1794 UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
1795 "HUAWEI MOBILE",
1796 "Mass Storage",
1797 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1798 0),
1799 UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
1800 "HUAWEI MOBILE",
1801 "Mass Storage",
1802 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1803 0),
1804 UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
1805 "HUAWEI MOBILE",
1806 "Mass Storage",
1807 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1808 0),
1809 UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
1810 "HUAWEI MOBILE",
1811 "Mass Storage",
1812 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1813 0),
1814 UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
1815 "HUAWEI MOBILE",
1816 "Mass Storage",
1817 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1818 0),
1819 UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
1820 "HUAWEI MOBILE",
1821 "Mass Storage",
1822 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1823 0),
1824 UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
1825 "HUAWEI MOBILE",
1826 "Mass Storage",
1827 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1828 0),
1829 UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
1830 "HUAWEI MOBILE",
1831 "Mass Storage",
1832 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1833 0),
1834 UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
1835 "HUAWEI MOBILE",
1836 "Mass Storage",
1837 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1838 0),
1839 UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
1840 "HUAWEI MOBILE",
1841 "Mass Storage",
1842 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1843 0),
1844 UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
1845 "HUAWEI MOBILE",
1846 "Mass Storage",
1847 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1848 0),
1849 UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
1850 "HUAWEI MOBILE",
1851 "Mass Storage",
1852 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1853 0),
1854 UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
1855 "HUAWEI MOBILE",
1856 "Mass Storage",
1857 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1858 0),
1859 UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
1860 "HUAWEI MOBILE",
1861 "Mass Storage",
1862 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1863 0),
1864 UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
1865 "HUAWEI MOBILE",
1866 "Mass Storage",
1867 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1868 0),
1869 UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
1870 "HUAWEI MOBILE",
1871 "Mass Storage",
1872 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1873 0),
1874 UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
1875 "HUAWEI MOBILE",
1876 "Mass Storage",
1877 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1878 0),
1879 UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
1880 "HUAWEI MOBILE",
1881 "Mass Storage",
1882 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1883 0),
1884 UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
1885 "HUAWEI MOBILE",
1886 "Mass Storage",
1887 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1888 0),
1889 UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
1890 "HUAWEI MOBILE",
1891 "Mass Storage",
1892 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1893 0),
1894 UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
1895 "HUAWEI MOBILE",
1896 "Mass Storage",
1897 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1898 0),
1899 UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
1900 "HUAWEI MOBILE",
1901 "Mass Storage",
1902 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1903 0),
1904 UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
1905 "HUAWEI MOBILE",
1906 "Mass Storage",
1907 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1908 0),
1909 UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
1910 "HUAWEI MOBILE",
1911 "Mass Storage",
1912 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1913 0),
1914 UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
1915 "HUAWEI MOBILE",
1916 "Mass Storage",
1917 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1918 0),
1919 UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
1920 "HUAWEI MOBILE",
1921 "Mass Storage",
1922 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1923 0),
1924 UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
1925 "HUAWEI MOBILE",
1926 "Mass Storage",
1927 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1928 0),
1929 UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
1930 "HUAWEI MOBILE",
1931 "Mass Storage",
1932 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1933 0),
1934 #if 1
1935 HW_UNUSUAL_DEV ( 0x12d1, 0x08, 0x06, 0x50,
1936 "HUAWEI",
1937 "HUAWEI MOBILE Mass Storage",
1938 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_init,
1939 0),
1940
1941 HW_UNUSUAL_DEV ( 0x19d2, 0x08, 0x06, 0x50,
1942 "ZTE",
1943 "ZTE MOBILE Mass Storage",
1944 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_zte_init,
1945 0),
1946 HW_UNUSUAL_DEV( 0x2001, 0xa708, 0x06, 0x50,
1947 "D-LINK",
1948 "CD-ROM",
1949 USB_SC_8020, USB_PR_DEVICE, usb_stor_dlink_scsi_init,
1950 0),
1951 #endif
1952 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1953 UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
1954 "Minolta",
1955 "Dimage Z10",
1956 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1957 0 ),
1958
1959 /* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
1960 UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
1961 "SWISSBIT",
1962 "Black Silver",
1963 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1964 US_FL_IGNORE_RESIDUE ),
1965
1966 /* Reported by Qinglin Ye <yestyle@gmail.com> */
1967 UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
1968 "Kingston",
1969 "DT 101 G2",
1970 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1971 US_FL_BULK_IGNORE_TAG ),
1972
1973 /* Reported by Francesco Foresti <frafore@tiscali.it> */
1974 UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
1975 "Super Top",
1976 "IDE DEVICE",
1977 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1978 US_FL_IGNORE_RESIDUE ),
1979
1980 /* Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1981 * JMicron responds to USN and several other SCSI ioctls with a
1982 * residue that causes subsequent I/O requests to fail. */
1983 UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
1984 "JMicron",
1985 "USB to ATA/ATAPI Bridge",
1986 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1987 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
1988
1989 /* Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
1990 * and Mac USB Dock USB-SCSI */
1991 UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
1992 "Entrega Technologies",
1993 "USB to SCSI Converter",
1994 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1995 US_FL_SCM_MULT_TARG ),
1996
1997 /* Reported by Robert Schedel <r.schedel@yahoo.de>
1998 * Note: this is a 'super top' device like the above 14cd/6600 device */
1999 UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
2000 "Teac",
2001 "HD-35PUK-B",
2002 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2003 US_FL_IGNORE_RESIDUE ),
2004
2005 /* Reported by Oliver Neukum <oneukum@suse.com> */
2006 UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
2007 "ASMedia",
2008 "AS2105",
2009 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2010 US_FL_NEEDS_CAP16),
2011
2012 /* Reported by Jesse Feddema <jdfeddema@gmail.com> */
2013 UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
2014 "Yarvik",
2015 "PMP400",
2016 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2017 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2018
2019 UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2020 "Ariston Technologies",
2021 "iConnect USB to SCSI adapter",
2022 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2023 US_FL_SCM_MULT_TARG ),
2024
2025 /* Reported by Hans de Goede <hdegoede@redhat.com>
2026 * These Appotech controllers are found in Picture Frames, they provide a
2027 * (buggy) emulation of a cdrom drive which contains the windows software
2028 * Uploading of pictures happens over the corresponding /dev/sg device. */
2029 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2030 "BUILDWIN",
2031 "Photo Frame",
2032 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2033 US_FL_BAD_SENSE ),
2034 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2035 "BUILDWIN",
2036 "Photo Frame",
2037 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2038 US_FL_BAD_SENSE ),
2039 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2040 "BUILDWIN",
2041 "Photo Frame",
2042 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2043 US_FL_NO_READ_DISC_INFO ),
2044
2045 /* Reported by Sven Geggus <sven-usbst@geggus.net>
2046 * This encrypted pen drive returns bogus data for the initial READ(10).
2047 */
2048 UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2049 "Corsair",
2050 "Padlock v2",
2051 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2052 US_FL_INITIAL_READ10 ),
2053
2054 /* Patch by Richard Schütz <r.schtz@t-online.de>
2055 * This external hard drive enclosure uses a JMicron chip which
2056 * needs the US_FL_IGNORE_RESIDUE flag to work properly. */
2057 UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2058 "TrekStor GmbH & Co. KG",
2059 "DataStation maxi g.u",
2060 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2061 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2062
2063 /* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
2064 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2065 "Coby Electronics",
2066 "MP3 Player",
2067 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2068 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2069
2070 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2071 "ST",
2072 "2A",
2073 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2074 US_FL_FIX_CAPACITY),
2075
2076 /* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2077 * and Renato Perini <rperini@email.it>
2078 */
2079 UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2080 "Motorola",
2081 "RAZR V3x",
2082 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2083 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2084
2085 /*
2086 * Patch by Constantin Baranov <const@tltsu.ru>
2087 * Report by Andreas Koenecke.
2088 * Motorola ROKR Z6.
2089 */
2090 UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2091 "Motorola",
2092 "MSnc.",
2093 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2094 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2095
2096 /* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2097 UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2098 "MPIO",
2099 "HS200",
2100 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2101 US_FL_GO_SLOW ),
2102
2103 /* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2104 * Mio Moov 330
2105 */
2106 UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2107 "Mitac",
2108 "Mio DigiWalker USB Sync",
2109 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2110 US_FL_MAX_SECTORS_64 ),
2111
2112 /* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2113 UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2114 "iRiver",
2115 "MP3 T10",
2116 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2117 US_FL_IGNORE_RESIDUE ),
2118
2119 /* Reported by Sergey Pinaev <dfo@antex.ru> */
2120 UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2121 "iRiver",
2122 "P7K",
2123 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2124 US_FL_MAX_SECTORS_64 ),
2125
2126 /*
2127 * David Härdeman <david@2gen.com>
2128 * The key makes the SCSI stack print confusing (but harmless) messages
2129 */
2130 UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2131 "Iomega",
2132 "Micro Mini 1GB",
2133 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2134
2135 /*
2136 * Nick Bowler <nbowler@elliptictech.com>
2137 * SCSI stack spams (otherwise harmless) error messages.
2138 */
2139 UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2140 "Keil Software, Inc.",
2141 "V2M MotherBoard",
2142 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2143 US_FL_NOT_LOCKABLE),
2144
2145 /* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2146 UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2147 "DataStor",
2148 "USB4500 FW1.04",
2149 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2150 US_FL_CAPACITY_HEURISTICS),
2151
2152 /* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2153 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2154 "TGE",
2155 "Digital MP3 Audio Player",
2156 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2157
2158 /* Control/Bulk transport for all SubClass values */
2159 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2160 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2161 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2162 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2163 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2164 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2165
2166 /* Control/Bulk/Interrupt transport for all SubClass values */
2167 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2168 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2169 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2170 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2171 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2172 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2173
2174 /* Bulk-only transport for all SubClass values */
2175 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2176 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2177 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2178 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2179 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2180 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),