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