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