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