blob: 7ef99b2f3aaf75ff3222db35292ca3edaa7ac607 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* Driver for USB Mass Storage compliant devices
Steven Cole093cf722005-05-03 19:07:24 -06002 * Unusual Devices File
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 *
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 * 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:
Alan Stern25ff1c32008-12-15 12:43:41 -050030 * The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
31 * before this file is included.
Linus Torvalds1da177e2005-04-16 15:20:36 -070032 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070033
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
Andrew Lunncef03f82008-04-23 22:04:30 +020046 * USB development list <linux-usb@vger.kernel.org> and the USB storage list
47 * <usb-storage@lists.one-eyed-alien.net>
Linus Torvalds1da177e2005-04-16 15:20:36 -070048 */
49
Alan Stern25ff1c32008-12-15 12:43:41 -050050/* 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
Bjørn Morkfbb8c742013-03-05 09:58:42 +010056/* 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
Alan Stern0ff71882009-02-12 14:47:49 -050064#if !defined(CONFIG_USB_STORAGE_SDDR09) && \
65 !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
66#define NO_SDDR09
67#endif
68
Vivian Bregier8af60be2005-05-03 02:16:34 +020069/* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr>
70 */
71UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -070072 "ATMEL",
73 "SND1 Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +020074 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -070075 US_FL_IGNORE_RESIDUE),
Vivian Bregier8af60be2005-05-03 02:16:34 +020076
Rodolfo Quesada9d5847b2006-03-06 10:45:42 -050077/* Reported by Rodolfo Quesada <rquesada@roqz.net> */
78UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
79 "VIA Technologies Inc.",
80 "Mitsumi multi cardreader",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +020081 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Rodolfo Quesada9d5847b2006-03-06 10:45:42 -050082 US_FL_IGNORE_RESIDUE ),
83
S.Caglar Onurc0e0c192007-07-04 13:52:47 -070084UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
Linus Torvalds1da177e2005-04-16 15:20:36 -070085 "HP",
86 "CD-Writer+",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +020087 USB_SC_8070, USB_PR_CB, NULL, 0),
Linus Torvalds1da177e2005-04-16 15:20:36 -070088
Ben Efrosdbe6e0c02008-11-23 20:06:38 -080089/* Reported by Ben Efros <ben@pc-doctor.com> */
90UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
91 "HP",
92 "Personal Media Drive",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +020093 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Ben Efrosdbe6e0c02008-11-23 20:06:38 -080094 US_FL_SANE_SENSE ),
95
Grant Grundler4b24f912008-01-23 21:31:03 -080096/* 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",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200102 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
Grant Grundler4b24f912008-01-23 21:31:03 -0800103
Phil Dibowitz1ea640c2005-08-29 22:38:28 -0700104/* 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",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200111 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitz1ea640c2005-08-29 22:38:28 -0700112 US_FL_SINGLE_LUN ),
113
Phil Dibowitz3e220e92005-12-18 21:30:02 -0800114/* 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",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200118 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitz3e220e92005-12-18 21:30:02 -0800119 US_FL_IGNORE_RESIDUE ),
120
Jonathan Woithe409a3e92012-03-27 13:01:01 +1030121/* Deduced by Jonathan Woithe <jwoithe@just42.net>
Linus Torvalds1da177e2005-04-16 15:20:36 -0700122 * 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",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200128 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129 US_FL_FIX_INQUIRY ),
130
Ernisd8840d62006-06-26 16:02:43 -0400131/* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
132UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700133 "Samsung Info. Systems America, Inc.",
134 "MP3 Player",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200135 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700136 US_FL_IGNORE_RESIDUE ),
Ernisd8840d62006-06-26 16:02:43 -0400137
Phil Dibowitz5501a482006-07-04 12:46:43 -0700138/* Reported by Orgad Shaneh <orgads@gmail.com> */
139UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
140 "Samsung", "MP3 Player",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200141 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitz5501a482006-07-04 12:46:43 -0700142 US_FL_IGNORE_RESIDUE ),
143
Alan Stern1d614a42006-02-13 10:15:22 -0500144/* Reported by Christian Leber <christian@leber.de> */
145UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
146 "TrekStor",
147 "i.Beat 115 2.0",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200148 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern1d614a42006-02-13 10:15:22 -0500149 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
150
Phil Dibowitze4a16e02005-09-30 00:20:15 -0700151/* Reported by Stefan Werner <dustbln@gmx.de> */
152UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
153 "TrekStor",
154 "i.Beat Joy 2.0",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200155 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitze4a16e02005-09-30 00:20:15 -0700156 US_FL_IGNORE_RESIDUE ),
157
Pete Zaitcev23b78852006-03-05 21:45:44 -0800158/* 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. */
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200161 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Pete Zaitcev23b78852006-03-05 21:45:44 -0800162 US_FL_IGNORE_RESIDUE ),
163
Phil Dibowitz031defd2009-04-26 12:47:51 +0200164/* Reported by Andrew Nayenko <relan@bk.ru>
165 * Updated for new firmware by Phillip Potter <phillipinda@hotmail.com> */
166UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
Andrew Nayenko0d8c7ae2007-02-25 00:40:20 -0800167 "Nokia",
168 "Nokia 6288",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200169 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Andrew Nayenko0d8c7ae2007-02-25 00:40:20 -0800170 US_FL_MAX_SECTORS_64 ),
171
Alan Sternde1caa42006-07-31 10:10:28 -0400172/* Reported by Mario Rettig <mariorettig@web.de> */
173UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
174 "Nokia",
175 "Nokia 3250",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200176 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sternde1caa42006-07-31 10:10:28 -0400177 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
178
Andrew Mortonfe1ec342006-12-04 15:22:40 -0800179/* Reported by <honkkis@gmail.com> */
180UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
181 "Nokia",
182 "E70",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200183 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Andrew Mortonfe1ec342006-12-04 15:22:40 -0800184 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
185
Alan Stern79238112006-09-28 12:11:56 -0400186/* Reported by Jon Hart <Jon.Hart@web.de> */
187UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
188 "Nokia",
189 "E60",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200190 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern79238112006-09-28 12:11:56 -0400191 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
192
Alan Stern9a013552006-07-07 13:45:13 -0400193/* 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",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200198 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern9a013552006-07-07 13:45:13 -0400199 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
200
Alan Sternd5681fe2006-06-13 09:59:32 -0400201/* 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",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200206 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sternd5681fe2006-06-13 09:59:32 -0400207 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
208
Alan Stern57b01b12006-07-10 11:51:12 -0400209/* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
210UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
211 "Nokia",
212 "E61",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200213 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern57b01b12006-07-10 11:51:12 -0400214 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
215
Alan Sterne4a20da2006-10-04 16:31:15 -0400216/* Reported by Bardur Arantsson <bardur@scientician.net> */
Alan Stern393e5512007-09-18 10:09:32 -0400217UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
Alan Sterne4a20da2006-10-04 16:31:15 -0400218 "Nokia",
219 "6131",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200220 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sterne4a20da2006-10-04 16:31:15 -0400221 US_FL_MAX_SECTORS_64 ),
222
Manuel Osdoba39559b42007-01-18 21:28:45 +0100223/* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
Moritz Muehlenhoff716a9c82009-03-14 00:43:21 +0100224UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
Manuel Osdoba39559b42007-01-18 21:28:45 +0100225 "Nokia",
226 "Nokia 6233",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200227 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Manuel Osdoba39559b42007-01-18 21:28:45 +0100228 US_FL_MAX_SECTORS_64 ),
229
Alan Stern3ccf25c2006-10-13 09:59:17 -0400230/* Reported by Alex Corcoles <alex@corcoles.net> */
231UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
232 "Nokia",
233 "6234",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200234 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern3ccf25c2006-10-13 09:59:17 -0400235 US_FL_MAX_SECTORS_64 ),
236
Daniele Forsi6ed07d42014-04-28 17:09:11 +0200237/* Reported by Daniele Forsi <dforsi@gmail.com> */
238UNUSUAL_DEV( 0x0421, 0x04b9, 0x0350, 0x0350,
239 "Nokia",
240 "5300",
241 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
242 US_FL_MAX_SECTORS_64 ),
243
Victor A. Santosf0ef5d42014-04-26 23:20:14 -0300244/* Patch submitted by Victor A. Santos <victoraur.santos@gmail.com> */
245UNUSUAL_DEV( 0x0421, 0x05af, 0x0742, 0x0742,
246 "Nokia",
247 "305",
248 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
249 US_FL_MAX_SECTORS_64),
250
Mikhail Zolotaryov0e16114f2013-12-28 01:56:35 +0200251/* Patch submitted by Mikhail Zolotaryov <lebon@lebon.org.ua> */
252UNUSUAL_DEV( 0x0421, 0x06aa, 0x1110, 0x1110,
253 "Nokia",
254 "502",
255 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
256 US_FL_MAX_SECTORS_64 ),
257
Alan Stern0ff71882009-02-12 14:47:49 -0500258#ifdef NO_SDDR09
Alan Sternc20b15f2008-12-01 10:36:15 -0500259UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
260 "Microtech",
261 "CameraMate",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200262 USB_SC_SCSI, USB_PR_CB, NULL,
Alan Sternc20b15f2008-12-01 10:36:15 -0500263 US_FL_SINGLE_LUN ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264#endif
265
Phil Dibowitz16f05be2006-02-13 15:59:42 -0800266/* Patch submitted by Daniel Drake <dsd@gentoo.org>
267 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
268UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
269 "Neuros Audio",
270 "USB 2.0 HD 2.5",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200271 USB_SC_DEVICE, USB_PR_BULK, NULL,
Phil Dibowitz16f05be2006-02-13 15:59:42 -0800272 US_FL_NEED_OVERRIDE ),
273
Pete Zaitcev490dce12005-08-23 07:46:13 -0700274/*
275 * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
276 * The key does not actually break, but it returns zero sense which
277 * makes our SCSI stack to print confusing messages.
278 */
279UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
280 "USBest Technology", /* sold by Transcend */
281 "USB Mass Storage Device",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200282 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
Pete Zaitcev490dce12005-08-23 07:46:13 -0700283
Phil Dibowitz16f05be2006-02-13 15:59:42 -0800284/*
285* Bohdan Linda <bohdan.linda@gmail.com>
286* 1GB USB sticks MyFlash High Speed. I have restricted
287* the revision to my model only
288*/
289UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700290 "USB 2.0",
291 "Flash Disk",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200292 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700293 US_FL_NOT_LOCKABLE ),
Daniel Drakee1c37b82005-08-31 16:38:41 +0100294
Alan Sterna6b7b032008-11-21 16:15:12 -0500295/* Reported by Tamas Kerecsen <kerecsen@bigfoot.com>
296 * Obviously the PROM has not been customized by the VAR;
297 * the Vendor and Product string descriptors are:
298 * Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
299 * Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
300 */
301UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
302 "Mitac",
303 "GPS",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200304 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sterna6b7b032008-11-21 16:15:12 -0500305 US_FL_MAX_SECTORS_64 ),
306
Pete Zaitcev379885a2007-01-13 15:17:46 -0800307/*
308 * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
309 * Reported by Pete Zaitcev <zaitcev@redhat.com>
310 * This device chokes on both version of MODE SENSE which we have, so
311 * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
312 */
313UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
314 "AMI",
315 "Virtual Floppy",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200316 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Pete Zaitcev379885a2007-01-13 15:17:46 -0800317 US_FL_NO_WP_DETECT),
318
Linus Torvalds1da177e2005-04-16 15:20:36 -0700319/* Patch submitted by Philipp Friedrich <philipp@void.at> */
320UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
321 "Kyocera",
322 "Finecam S3x",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200323 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700324
325/* Patch submitted by Philipp Friedrich <philipp@void.at> */
326UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
327 "Kyocera",
328 "Finecam S4",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200329 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700330
331/* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
332UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
333 "Kyocera",
334 "Finecam S5",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200335 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700336
Jens Taprogge74511bb2008-10-26 18:16:09 +0100337/* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
338UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
339 "Kyocera",
340 "CONTAX SL300R T*",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200341 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jens Taprogge74511bb2008-10-26 18:16:09 +0100342 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
343
Linus Torvalds1da177e2005-04-16 15:20:36 -0700344/* Reported by Paul Stewart <stewart@wetlogic.net>
345 * This entry is needed because the device reports Sub=ff */
346UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
347 "Hitachi",
348 "DVD-CAM DZ-MV100A Camcorder",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200349 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700350
Alan Sternf9dc8f92008-11-18 14:08:07 -0500351/* BENQ DC5330
352 * Reported by Manuel Fombuena <mfombuena@ya.com> and
353 * Frank Copeland <fjc@thingy.apana.org.au> */
354UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
355 "Tekom Technologies, Inc",
356 "300_CAMERA",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200357 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sternf9dc8f92008-11-18 14:08:07 -0500358 US_FL_IGNORE_RESIDUE ),
359
fabien COSSE17fa6e52005-11-30 01:16:00 -0800360/* Patch for Nikon coolpix 2000
361 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/
362UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
363 "NIKON",
364 "NIKON DSC E2000",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200365 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
fabien COSSE17fa6e52005-11-30 01:16:00 -0800366 US_FL_NOT_LOCKABLE ),
367
Doug Maxey33abc042007-12-05 23:36:45 -0600368/* Reported by Doug Maxey (dwm@austin.ibm.com) */
369UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
370 "IBM",
371 "IBM RSA2",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200372 USB_SC_DEVICE, USB_PR_CB, NULL,
Doug Maxey33abc042007-12-05 23:36:45 -0600373 US_FL_MAX_SECTORS_MIN),
374
Linus Torvalds1da177e2005-04-16 15:20:36 -0700375/* Reported by Simon Levitt <simon@whattf.com>
376 * This entry needs Sub and Proto fields */
377UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
378 "Epson",
379 "875DC Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200380 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700381
382/* Reported by Khalid Aziz <khalid@gonehiking.org>
383 * This entry is needed because the device reports Sub=ff */
384UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
385 "Epson",
386 "785EPX Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200387 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700388
389/* Not sure who reported this originally but
390 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
391 * flag be added */
392UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
393 "Fujifilm",
394 "FinePix 1400Zoom",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200395 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396
Ondrej Zarycd0e8aa2010-02-27 22:56:28 +0100397/* Reported by Ondrej Zary <linux@rainbow-software.org>
398 * The device reports one sector more and breaks when that sector is accessed
399 */
400UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
401 "ScanLogic",
402 "SL11R-IDE",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200403 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Ondrej Zarycd0e8aa2010-02-27 22:56:28 +0100404 US_FL_FIX_CAPACITY),
405
Linus Torvalds1da177e2005-04-16 15:20:36 -0700406/* Reported by Kriston Fincher <kriston@airmail.net>
407 * Patch submitted by Sean Millichamp <sean@bruenor.org>
408 * This is to support the Panasonic PalmCam PV-SD4090
409 * This entry is needed because the device reports Sub=ff
410 */
411UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
412 "Panasonic",
413 "LS-120 Camera",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200414 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700415
416/* From Yukihiro Nakai, via zaitcev@yahoo.com.
417 * This is needed for CB instead of CBI */
418UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
419 "Sharp CE-CW05",
420 "CD-R/RW Drive",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200421 USB_SC_8070, USB_PR_CB, NULL, 0),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700422
423/* Reported by Adriaan Penning <a.penning@luon.net> */
424UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
425 "Panasonic",
426 "DMC-LCx Camera",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200427 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700428 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
429
Simeon Simeonovdcab4ea2005-10-19 11:32:14 -0400430/* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
431UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
432 "LEICA",
433 "D-LUX Camera",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200434 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Simeon Simeonovdcab4ea2005-10-19 11:32:14 -0400435 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
436
Linus Torvalds1da177e2005-04-16 15:20:36 -0700437/* Most of the following entries were developed with the help of
438 * Shuttle/SCM directly.
439 */
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700440UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700441 "Matshita",
442 "LS-120",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200443 USB_SC_8020, USB_PR_CB, NULL, 0),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700444
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700445UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700446 "Shuttle",
447 "eUSCSI Bridge",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200448 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700449 US_FL_SCM_MULT_TARG ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700450
Alan Stern0ff71882009-02-12 14:47:49 -0500451#ifdef NO_SDDR09
Alan Sternc20b15f2008-12-01 10:36:15 -0500452UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
453 "SCM Microsystems",
454 "eUSB CompactFlash Adapter",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200455 USB_SC_SCSI, USB_PR_CB, NULL,
Alan Sternc20b15f2008-12-01 10:36:15 -0500456 US_FL_SINGLE_LUN),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700457#endif
458
459/* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700460UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700461 "SCM Microsystems Inc.",
462 "eUSB MMC Adapter",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200463 USB_SC_SCSI, USB_PR_CB, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700464 US_FL_SINGLE_LUN),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700465
466/* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700467UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700468 "Shuttle",
469 "eUSB MMC Adapter",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200470 USB_SC_SCSI, USB_PR_DEVICE, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700471 US_FL_SINGLE_LUN),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700472
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700473UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700474 "Sony",
475 "Hifd",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200476 USB_SC_SCSI, USB_PR_CB, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700477 US_FL_SINGLE_LUN),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700478
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700479UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700480 "Shuttle",
481 "eUSB ATA/ATAPI Adapter",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200482 USB_SC_8020, USB_PR_CB, NULL, 0),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700483
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700484UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700485 "Shuttle",
486 "eUSB CompactFlash Adapter",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200487 USB_SC_8020, USB_PR_CB, NULL, 0),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700488
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700489UNUSUAL_DEV( 0x04e6, 0x000B, 0x0100, 0x0100,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700490 "Shuttle",
491 "eUSCSI Bridge",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200492 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700493 US_FL_SCM_MULT_TARG ),
494
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700495UNUSUAL_DEV( 0x04e6, 0x000C, 0x0100, 0x0100,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700496 "Shuttle",
497 "eUSCSI Bridge",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200498 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700499 US_FL_SCM_MULT_TARG ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700500
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700501UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700502 "Shuttle",
503 "CD-RW Device",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200504 USB_SC_8020, USB_PR_CB, NULL, 0),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700505
Alan Sternb28884c2008-04-28 10:26:13 -0400506/* Reported by Dmitry Khlystov <adminimus@gmail.com> */
507UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
508 "Samsung",
509 "YP-U3",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200510 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sternb28884c2008-04-28 10:26:13 -0400511 US_FL_MAX_SECTORS_64),
512
Vitaly Kuznetsovd73a9b32010-12-14 10:16:49 -0500513/* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
514UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
515 "Samsung",
516 "YP-CP3",
517 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
518 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
519
Dmitry Artamonow29f86e62013-03-09 20:30:58 +0400520/* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
521UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
522 "Samsung",
523 "YP-Z3",
524 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
525 US_FL_MAX_SECTORS_64),
526
Phil Dibowitzed3e8fc2008-05-03 18:04:30 -0700527/* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
528 * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
529 * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
530 */
531UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
532 "Kobian Mercury",
533 "Binocam DCB-132",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200534 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitzed3e8fc2008-05-03 18:04:30 -0700535 US_FL_BULK32),
536
Linus Torvalds1da177e2005-04-16 15:20:36 -0700537/* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
538UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
539 "Belkin",
540 "USB SCSI Adaptor",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200541 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700542 US_FL_SCM_MULT_TARG ),
543
544/* Iomega Clik! Drive
545 * Reported by David Chatenay <dchatenay@hotmail.com>
546 * The reason this is needed is not fully known.
547 */
548UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
549 "Iomega",
550 "USB Clik! 40",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200551 USB_SC_8070, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700552 US_FL_FIX_INQUIRY ),
553
Alan Stern25ff1c32008-12-15 12:43:41 -0500554/* Added by Alan Stern <stern@rowland.harvard.edu> */
555COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
556 "Linux",
557 "File-backed Storage Gadget",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200558 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern25ff1c32008-12-15 12:43:41 -0500559 US_FL_CAPACITY_OK ),
560
Linus Torvalds1da177e2005-04-16 15:20:36 -0700561/* Yakumo Mega Image 37
562 * Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
563UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
564 "Tekom Technologies, Inc",
565 "300_CAMERA",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200566 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700567 US_FL_IGNORE_RESIDUE ),
568
569/* Another Yakumo camera.
570 * Reported by Michele Alzetta <michele.alzetta@aliceposta.it> */
571UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
572 "Tekom Technologies, Inc",
573 "300_CAMERA",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200574 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700575 US_FL_IGNORE_RESIDUE ),
576
577/* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
578UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
579 "Tekom Technologies, Inc",
580 "300_CAMERA",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200581 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700582 US_FL_IGNORE_RESIDUE ),
583
584/* Yakumo Mega Image 47
585 * Reported by Bjoern Paetzel <kolrabi@kolrabi.de> */
586UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
587 "Tekom Technologies, Inc",
588 "400_CAMERA",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200589 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700590 US_FL_IGNORE_RESIDUE ),
591
592/* Reported by Paul Ortyl <ortylp@3miasto.net>
593 * Note that it's similar to the device above, only different prodID */
594UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
595 "Tekom Technologies, Inc",
596 "400_CAMERA",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200597 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700598 US_FL_IGNORE_RESIDUE ),
599
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700600UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700601 "Sony",
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700602 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200603 USB_SC_SCSI, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700604 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
605
Lars Jacob7e3bd122006-07-10 11:53:58 -0400606/* Submitted by Lars Jacob <jacob.lars@googlemail.com>
607 * This entry is needed because the device reports Sub=ff */
608UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
Alexandre Duret-Lutzec7dc8d2005-12-26 23:04:24 -0800609 "Sony",
Lars Jacob7e3bd122006-07-10 11:53:58 -0400610 "DSC-T1/T5/H5",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200611 USB_SC_8070, USB_PR_DEVICE, NULL,
Alexandre Duret-Lutzec7dc8d2005-12-26 23:04:24 -0800612 US_FL_SINGLE_LUN ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700613
614
615/* Reported by wim@geeks.nl */
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700616UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700617 "Sony",
618 "Memorystick NW-MS7",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200619 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700620 US_FL_SINGLE_LUN ),
621
Linus Torvalds1da177e2005-04-16 15:20:36 -0700622/* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
Luiz Fernando N. Capitulino20b2e282007-01-24 16:19:37 -0200623UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700624 "Sony",
625 "USB Floppy Drive",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200626 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700627 US_FL_SINGLE_LUN ),
628
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700629UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700630 "Sony",
631 "Memorystick MSAC-US1",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200632 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700633 US_FL_SINGLE_LUN ),
634
635/* Submitted by Klaus Mueller <k.mueller@intershop.de> */
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700636UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700637 "Sony",
638 "Handycam",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200639 USB_SC_SCSI, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700640 US_FL_SINGLE_LUN ),
641
642/* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700643UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700644 "Sony",
645 "Handycam HC-85",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200646 USB_SC_UFI, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700647 US_FL_SINGLE_LUN ),
648
649UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
650 "Sony",
651 "Memorystick MSC-U01N",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200652 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700653 US_FL_SINGLE_LUN ),
654
655/* Submitted by Michal Mlotek <mlotek@foobar.pl> */
656UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
657 "Sony",
658 "PEG N760c Memorystick",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200659 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700660 US_FL_FIX_INQUIRY ),
661
662UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
663 "Sony",
664 "Memorystick MSC-U03",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200665 USB_SC_UFI, USB_PR_CB, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700666 US_FL_SINGLE_LUN ),
667
668/* Submitted by Nathan Babb <nathan@lexi.com> */
669UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
670 "Sony",
671 "PEG Mass Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200672 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700673 US_FL_FIX_INQUIRY ),
674
Alan Sternf9dc8f92008-11-18 14:08:07 -0500675/* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
676UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700677 "Sony",
678 "PEG Mass Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200679 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700680 US_FL_FIX_INQUIRY ),
Alan Sternf9dc8f92008-11-18 14:08:07 -0500681
682/* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
683UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700684 "Sony",
685 "PEG Mass Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200686 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700687 US_FL_FIX_INQUIRY ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700688
Ren Bigcrene7a6121f2013-07-02 13:34:30 +0200689/* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
690UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
691 "Sony Corp.",
692 "MicroVault Flash Drive",
693 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
694 US_FL_NO_READ_CAPACITY_16 ),
695
juergen.mell@t-online.de082fdd12006-08-28 13:53:53 -0700696/* floppy reports multiple luns */
697UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700698 "SAMSUNG",
699 "SFD-321U [FW 0C]",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200700 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700701 US_FL_SINGLE_LUN ),
juergen.mell@t-online.de082fdd12006-08-28 13:53:53 -0700702
Pete Zaitcevfd4f3a932009-08-20 20:00:19 -0600703/* We keep this entry to force the transport; firmware 3.00 and later is ok. */
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700704UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700705 "Y-E Data",
706 "Flashbuster-U",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200707 USB_SC_DEVICE, USB_PR_CB, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700708 US_FL_SINGLE_LUN),
709
Linus Torvalds1da177e2005-04-16 15:20:36 -0700710/* Reported by Johann Cardon <johann.cardon@free.fr>
711 * This entry is needed only because the device reports
712 * bInterfaceClass = 0xff (vendor-specific)
713 */
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700714UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700715 "Y-E Data",
716 "Silicon Media R/W",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200717 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700718
Alan Sternf1e8de0d2007-11-26 10:23:05 -0500719/* Reported by RTE <raszilki@yandex.ru> */
720UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
721 "JetFlash",
722 "TS1GJF2A/120",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200723 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sternf1e8de0d2007-11-26 10:23:05 -0500724 US_FL_MAX_SECTORS_64 ),
725
Linus Torvalds1da177e2005-04-16 15:20:36 -0700726/* Fabrizio Fellini <fello@libero.it> */
727UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
728 "Fujifilm",
729 "Digital Camera EX-20 DSC",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200730 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700731
Alan Sterna4625492008-02-13 10:45:28 -0500732/* Reported by Andre Welter <a.r.welter@gmx.de>
733 * This antique device predates the release of the Bulk-only Transport
734 * spec, and if it gets a Get-Max-LUN then it requires the host to do a
735 * Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
736 * us from sending the request.
737 */
738UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
739 "Iomega",
740 "ZIP 100",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200741 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sterna4625492008-02-13 10:45:28 -0500742 US_FL_SINGLE_LUN ),
743
Alan Sternb97b1962006-09-14 15:18:54 -0400744/* Reported by <Hendryk.Pfeiffer@gmx.de> */
745UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
746 "LaCie",
747 "DVD+-RW",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200748 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sternb97b1962006-09-14 15:18:54 -0400749 US_FL_GO_SLOW ),
750
Linus Torvalds1da177e2005-04-16 15:20:36 -0700751/* Submitted by Joel Bourquard <numlock@freesurf.ch>
752 * Some versions of this device need the SubClass and Protocol overrides
753 * while others don't.
754 */
755UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
756 "In-System",
757 "PyroGate External CD-ROM Enclosure (FCD-523)",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200758 USB_SC_SCSI, USB_PR_BULK, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700759 US_FL_NEED_OVERRIDE ),
760
Sven Anderson35f4a0c2005-04-22 15:06:58 -0700761/* Submitted by Sven Anderson <sven-linux@anderson.de>
762 * There are at least four ProductIDs used for iPods, so I added 0x1202 and
763 * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
764 * to change with firmware updates, I changed the range to maximum for all
765 * iPod entries.
766 */
767UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700768 "Apple",
769 "iPod",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200770 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700771 US_FL_FIX_CAPACITY ),
772
Sven Anderson35f4a0c2005-04-22 15:06:58 -0700773/* Reported by Avi Kivity <avi@argo.co.il> */
774UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
775 "Apple",
776 "iPod",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200777 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Sven Anderson35f4a0c2005-04-22 15:06:58 -0700778 US_FL_FIX_CAPACITY ),
779
780UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
781 "Apple",
782 "iPod",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200783 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Pete Zaitcevad1428c2006-12-31 13:43:26 -0800784 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
Sven Anderson35f4a0c2005-04-22 15:06:58 -0700785
786UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700787 "Apple",
788 "iPod",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200789 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700790 US_FL_FIX_CAPACITY ),
791
Phil Dibowitz880a9b52005-09-30 00:27:36 -0700792/*
793 * Reported by Tyson Vinson <lornoss@gmail.com>
794 * This particular productId is the iPod Nano
795 */
796UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
797 "Apple",
798 "iPod",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200799 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitz880a9b52005-09-30 00:27:36 -0700800 US_FL_FIX_CAPACITY ),
801
Dan Williams281b0642008-12-14 12:39:22 -0500802/* Reported by Dan Williams <dcbw@redhat.com>
803 * Option N.V. mobile broadband modems
804 * Ignore driver CD mode and force into modem mode by default.
805 */
806
807/* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
808UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
809 "Option N.V.",
810 "Mass Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200811 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
Dan Williams281b0642008-12-14 12:39:22 -0500812 0),
813
Linus Torvalds1da177e2005-04-16 15:20:36 -0700814/* Reported by Blake Matheny <bmatheny@purdue.edu> */
815UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
816 "Lexar",
817 "USB CF Reader",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200818 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700819 US_FL_FIX_INQUIRY ),
820
821/* The following two entries are for a Genesys USB to IDE
822 * converter chip, but it changes its ProductId depending
823 * on whether or not a disk or an optical device is enclosed
824 * They were originally reported by Alexander Oltu
825 * <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
826 * respectively.
Phil Dibowitz883d9892006-06-24 17:27:10 -0700827 *
828 * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
829 * <phil@ipom.com> as these flags were made and hard-coded
830 * special-cases were pulled from scsiglue.c.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700831 */
832UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
833 "Genesys Logic",
834 "USB to IDE Optical",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200835 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern5126a262009-02-23 12:02:05 -0500836 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700837
838UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
839 "Genesys Logic",
840 "USB to IDE Disk",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200841 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern5126a262009-02-23 12:02:05 -0500842 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700843
Ben Efrosdbe6e0c02008-11-23 20:06:38 -0800844/* Reported by Ben Efros <ben@pc-doctor.com> */
845UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
846 "Genesys Logic",
847 "USB to SATA",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200848 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Ben Efrosdbe6e0c02008-11-23 20:06:38 -0800849 US_FL_SANE_SENSE ),
850
Linus Torvalds1da177e2005-04-16 15:20:36 -0700851/* Reported by Hanno Boeck <hanno@gmx.de>
852 * Taken from the Lycoris Kernel */
853UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
854 "Vivitar",
855 "Vivicam 35Xx",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200856 USB_SC_SCSI, USB_PR_BULK, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700857 US_FL_FIX_INQUIRY ),
858
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700859UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700860 "TEAC",
861 "Floppy Drive",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200862 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700863
Linus Torvalds1da177e2005-04-16 15:20:36 -0700864/* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
865UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
866 "SigmaTel",
867 "USBMSC Audio Player",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200868 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700869 US_FL_FIX_CAPACITY ),
870
Alan Sterna0bb1082009-12-07 16:39:16 -0500871/* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
872UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
873 "Prolific Technology, Inc.",
874 "Prolific Storage Gadget",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200875 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sterna0bb1082009-12-07 16:39:16 -0500876 US_FL_BAD_SENSE ),
877
Rogerio Britoc15e3ca2009-08-06 15:20:19 -0700878/* Reported by Rogerio Brito <rbrito@ime.usp.br> */
879UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
880 "Prolific Technology, Inc.",
881 "Mass Storage Device",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200882 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Rogerio Britoc15e3ca2009-08-06 15:20:19 -0700883 US_FL_NOT_LOCKABLE ),
884
Linus Torvalds1da177e2005-04-16 15:20:36 -0700885/* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
Thomas Bartosik8a0845c2009-03-16 16:04:38 +0100886/* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
887 * Thomas Bartosik <tbartdev@gmx-topmail.de> */
888UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700889 "Prolific Technology Inc.",
890 "Mass Storage Device",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200891 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700892 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
893
894/* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
Oliver Neukumb1636392008-12-12 11:01:45 +0100895UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700896 "Prolific Technology Inc.",
897 "ATAPI-6 Bridge Controller",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200898 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700899 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
900
901/* Submitted by Benny Sjostrand <benny@hostmobility.com> */
902UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
903 "Minolta",
904 "Dimage F300",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200905 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700906
907/* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
908UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700909 "Minolta",
910 "DIMAGE E223",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200911 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700912
Linus Torvalds1da177e2005-04-16 15:20:36 -0700913UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
914 "Hagiwara",
915 "Flashgate",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200916 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
Linus Torvalds1da177e2005-04-16 15:20:36 -0700917
Alan Stern754501b2006-02-23 10:19:25 -0500918/* Reported by David Hamilton <niftimusmaximus@lycos.com> */
919UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
920 "Thomson Multimedia Inc.",
921 "RCA RD1080 MP3 Player",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200922 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern754501b2006-02-23 10:19:25 -0500923 US_FL_FIX_CAPACITY ),
924
Marka7e69dd2014-08-19 21:45:22 +0100925UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
926 "Newer Technology",
927 "uSCSI",
928 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
929 US_FL_SCM_MULT_TARG ),
930
Alan Sternfe1926a2008-09-04 09:56:35 -0400931/* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
932UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
933 "RockChip",
934 "MP3",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200935 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Hans de Goede00914022010-10-01 14:20:11 -0700936 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
937 US_FL_NO_READ_CAPACITY_16),
Alan Sternfe1926a2008-09-04 09:56:35 -0400938
Jean-Baptiste Onofre64915092008-12-20 20:11:55 +0100939/* Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
940 * Support the following product :
941 * "Dane-Elec MediaTouch"
942 */
943UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
944 "RockChip",
945 "MTP",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200946 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jean-Baptiste Onofre64915092008-12-20 20:11:55 +0100947 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
948
Massimiliano Ghilardic4766562007-09-04 22:53:43 +0200949/* Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
950 * This USB MP3/AVI player device fails and disconnects if more than 128
951 * sectors (64kB) are read/written in a single command, and may be present
952 * at least in the following products:
953 * "Magnex Digital Video Panel DVP 1800"
954 * "MP4 AIGO 4GB SLOT SD"
955 * "Teclast TL-C260 MP3"
956 * "i.Meizu PMP MP3/MP4"
957 * "Speed MV8 MP4 Audio Player"
958 */
959UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
960 "RockChip",
961 "ROCK MP3",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200962 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Massimiliano Ghilardic4766562007-09-04 22:53:43 +0200963 US_FL_MAX_SECTORS_64),
964
Olivier Blondeauf430c402006-04-16 19:19:25 -0700965/* Reported by Olivier Blondeau <zeitoun@gmail.com> */
966UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
967 "ATMEL",
968 "SND1 Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200969 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Olivier Blondeauf430c402006-04-16 19:19:25 -0700970 US_FL_IGNORE_RESIDUE),
971
Phil Dibowitz1e7a5a82006-03-05 21:36:51 -0800972/* Submitted by Roman Hodek <roman@hodek.net> */
973UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700974 "Sandisk",
975 "ImageMate SDDR-05a",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200976 USB_SC_SCSI, USB_PR_CB, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700977 US_FL_SINGLE_LUN ),
978
Phil Dibowitz1e7a5a82006-03-05 21:36:51 -0800979UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
980 "SanDisk Corporation",
981 "ImageMate CompactFlash USB",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200982 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitz1e7a5a82006-03-05 21:36:51 -0800983 US_FL_FIX_CAPACITY ),
984
Linus Torvalds1da177e2005-04-16 15:20:36 -0700985UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
986 "Sandisk",
987 "ImageMate SDDR-12",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200988 USB_SC_SCSI, USB_PR_CB, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700989 US_FL_SINGLE_LUN ),
990
Linus Torvalds1da177e2005-04-16 15:20:36 -0700991/* Reported by Eero Volotinen <eero@ping-viini.org> */
Phil Dibowitze5278322005-10-23 23:52:39 -0700992UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700993 "Freecom Technologies",
994 "FHD-Classic",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +0200995 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700996 US_FL_FIX_CAPACITY),
997
S.Caglar Onurc0e0c192007-07-04 13:52:47 -0700998UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700999 "Microtech",
1000 "USB-SCSI-DB25",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001001 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001002 US_FL_SCM_MULT_TARG ),
1003
S.Caglar Onurc0e0c192007-07-04 13:52:47 -07001004UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001005 "Microtech",
1006 "USB-SCSI-HD50",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001007 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -07001008 US_FL_SCM_MULT_TARG ),
Linus Torvalds1da177e2005-04-16 15:20:36 -07001009
Alan Stern0ff71882009-02-12 14:47:49 -05001010#ifdef NO_SDDR09
Alan Sternc20b15f2008-12-01 10:36:15 -05001011UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
1012 "Microtech",
1013 "CameraMate",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001014 USB_SC_SCSI, USB_PR_CB, NULL,
Alan Sternc20b15f2008-12-01 10:36:15 -05001015 US_FL_SINGLE_LUN ),
Linus Torvalds1da177e2005-04-16 15:20:36 -07001016#endif
1017
Linus Torvalds1da177e2005-04-16 15:20:36 -07001018/* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1019 * Only revision 1.13 tested (same for all of the above devices,
1020 * based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
1021 * Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
1022 * See also http://martin.wilck.bei.t-online.de/#kecf .
1023 */
1024UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
1025 "Datafab",
1026 "KECF-USB",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001027 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Nick Holloway049a6ac2009-01-25 16:58:43 +00001028 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
Linus Torvalds1da177e2005-04-16 15:20:36 -07001029
Alan Sterne4813ee2009-03-24 10:39:13 -04001030/* Reported by Rauch Wolke <rauchwolke@gmx.net>
1031 * and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
1032 */
Alan Stern368ee642008-07-21 10:08:28 -04001033UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
1034 "Simple Tech/Datafab",
1035 "CF+SM Reader",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001036 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sterne4813ee2009-03-24 10:39:13 -04001037 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
Alan Stern368ee642008-07-21 10:08:28 -04001038
Linus Torvalds1da177e2005-04-16 15:20:36 -07001039/* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1040 * to the USB storage specification in two ways:
1041 * - They tell us they are using transport protocol CBI. In reality they
1042 * are using transport protocol CB.
1043 * - They don't like the INQUIRY command. So we must handle this command
1044 * of the SCSI layer ourselves.
1045 * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001046 * bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1047 * So don't remove the USB_PR_CB override!
1048 * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001049 */
1050UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1051 "Casio",
1052 "QV DigitalCamera",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001053 USB_SC_8070, USB_PR_CB, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001054 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1055
Michael Shigorind7870af2012-10-22 12:18:56 +03001056/* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
1057UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1058 "Casio",
1059 "EX-N1 DigitalCamera",
1060 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1061
Linus Torvalds1da177e2005-04-16 15:20:36 -07001062/* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
1063UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1064 "Samsung",
1065 "Digimax 410",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001066 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001067 US_FL_FIX_INQUIRY),
1068
Alan Stern8010e062008-11-04 11:33:35 -05001069/* Reported by Luciano Rocha <luciano@eurotux.com> */
1070UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1071 "Argosy",
1072 "Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001073 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern8010e062008-11-04 11:33:35 -05001074 US_FL_FIX_CAPACITY),
1075
Nguyen Anh Quynhe2673b22008-12-11 15:04:11 -08001076/* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
1077UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1078 "Argosy",
1079 "Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001080 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Nguyen Anh Quynhe2673b22008-12-11 15:04:11 -08001081 US_FL_FIX_CAPACITY),
1082
Phil Dibowitzaa23c8d2009-01-20 23:42:52 +01001083/* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
1084UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1085 "Argosy",
1086 "Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001087 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitzaa23c8d2009-01-20 23:42:52 +01001088 US_FL_FIX_CAPACITY),
1089
Linus Torvalds1da177e2005-04-16 15:20:36 -07001090/* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
1091 * Flag will support Bulk devices which use a standards-violating 32-byte
1092 * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1093 * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1094 */
1095
1096UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
1097 "Grandtech",
1098 "DC2MEGA",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001099 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001100 US_FL_BULK32),
1101
Alan Stern12f68c42011-01-03 16:47:49 -05001102/* Reported by <ttkspam@free.fr>
1103 * The device reports a vendor-specific device class, requiring an
1104 * explicit vendor/product match.
1105 */
1106UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
1107 "MagicPixel",
1108 "FW_Omega2",
1109 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1110
Andrew Lunnf7687212008-04-24 19:36:39 +02001111/* Andrew Lunn <andrew@lunn.ch>
1112 * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1113 * on LUN 4.
1114 * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1115*/
1116UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
1117 "PanDigital",
1118 "Photo Frame",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001119 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Andrew Lunnf7687212008-04-24 19:36:39 +02001120 US_FL_NOT_LOCKABLE),
1121
Alan Sternba3e93a2006-01-30 10:19:43 -05001122/* Submitted by Jan De Luyck <lkml@kcore.org> */
1123UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
1124 "CITIZEN",
1125 "X1DE-USB",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001126 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sternba3e93a2006-01-30 10:19:43 -05001127 US_FL_SINGLE_LUN),
Linus Torvalds1da177e2005-04-16 15:20:36 -07001128
Dylan Tafta7e555b2007-02-05 16:41:01 -08001129/* Submitted by Dylan Taft <d13f00l@gmail.com>
1130 * US_FL_IGNORE_RESIDUE Needed
1131 */
1132UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -07001133 "AIPTEK",
1134 "Aiptek USB Keychain MP3 Player",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001135 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -07001136 US_FL_IGNORE_RESIDUE),
Dylan Tafta7e555b2007-02-05 16:41:01 -08001137
Linus Torvalds1da177e2005-04-16 15:20:36 -07001138/* Entry needed for flags. Moreover, all devices with this ID use
1139 * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1140 * One example is "Trumpion Digital Research MYMP3".
1141 * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1142 */
1143UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
1144 "Trumpion",
1145 "t33520 USB Flash Card Controller",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001146 USB_SC_DEVICE, USB_PR_BULK, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001147 US_FL_NEED_OVERRIDE ),
1148
Phil Dibowitz17247572005-05-21 00:45:55 -07001149/* Reported by Filippo Bardelli <filibard@libero.it>
1150 * The device reports a subclass of RBC, which is wrong.
1151 */
1152UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
1153 "Trumpion Microelectronics, Inc.",
1154 "33520 USB Digital Voice Recorder",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001155 USB_SC_UFI, USB_PR_DEVICE, NULL,
Phil Dibowitz17247572005-05-21 00:45:55 -07001156 0),
1157
Linus Torvalds1da177e2005-04-16 15:20:36 -07001158/* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
1159UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1160 "Trumpion",
1161 "MP3 player",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001162 USB_SC_RBC, USB_PR_BULK, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001163 0 ),
1164
1165/* aeb */
1166UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1167 "Feiya",
1168 "5-in-1 Card Reader",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001169 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001170 US_FL_FIX_CAPACITY ),
1171
Alan Stern21c13a42011-06-07 11:35:52 -04001172/* Reported by Paul Hartman <paul.hartman+linux@gmail.com>
1173 * This card reader returns "Illegal Request, Logical Block Address
1174 * Out of Range" for the first READ(10) after a new card is inserted.
1175 */
1176UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
1177 "Feiya",
1178 "SD/SDHC Card Reader",
1179 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1180 US_FL_INITIAL_READ10 ),
1181
Linus Torvalds1da177e2005-04-16 15:20:36 -07001182/* This Pentax still camera is not conformant
1183 * to the USB storage specification: -
1184 * - It does not like the INQUIRY command. So we must handle this command
1185 * of the SCSI layer ourselves.
1186 * Tested on Rev. 10.00 (0x1000)
1187 * Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
1188 */
1189UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -07001190 "Pentax",
1191 "Optio 2/3/400",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001192 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -07001193 US_FL_FIX_INQUIRY ),
Linus Torvalds1da177e2005-04-16 15:20:36 -07001194
Ben Collins67fa1062007-05-26 03:06:32 -07001195/* These are virtual windows driver CDs, which the zd1211rw driver
1196 * automatically converts into WLAN devices. */
Daniel Drake3c332422006-07-26 13:59:23 +01001197UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -07001198 "ZyXEL",
1199 "G-220F USB-WLAN Install",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001200 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
S.Caglar Onurc0e0c192007-07-04 13:52:47 -07001201 US_FL_IGNORE_DEVICE ),
Daniel Drake3c332422006-07-26 13:59:23 +01001202
Matthew Davidson64902cb2007-05-01 01:15:01 +01001203UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1204 "SiteCom",
1205 "WL-117 USB-WLAN Install",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001206 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Matthew Davidson64902cb2007-05-01 01:15:01 +01001207 US_FL_IGNORE_DEVICE ),
1208
Dan Williams281b0642008-12-14 12:39:22 -05001209/* Reported by Dan Williams <dcbw@redhat.com>
1210 * Option N.V. mobile broadband modems
1211 * Ignore driver CD mode and force into modem mode by default.
1212 */
1213
1214/* iCON 225 */
1215UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
1216 "Option N.V.",
1217 "Mass Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001218 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
Dan Williams281b0642008-12-14 12:39:22 -05001219 0),
1220
Filip Abene7c6f802008-05-08 10:48:12 -07001221/* Reported by F. Aben <f.aben@option.com>
1222 * This device (wrongly) has a vendor-specific device descriptor.
1223 * The entry is needed so usb-storage can bind to it's mass-storage
1224 * interface as an interface driver */
1225UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1226 "Option",
1227 "GI 0401 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001228 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Filip Abene7c6f802008-05-08 10:48:12 -07001229 0 ),
1230
Jan Dumonc497e712009-03-10 17:29:47 +01001231/* Reported by Jan Dumon <j.dumon@option.com>
Jan Dumon46216e4f2010-01-05 15:53:26 +01001232 * These devices (wrongly) have a vendor-specific device descriptor.
1233 * These entries are needed so usb-storage can bind to their mass-storage
Jan Dumonc497e712009-03-10 17:29:47 +01001234 * interface as an interface driver */
1235UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1236 "Option",
1237 "GI 0431 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001238 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumonc497e712009-03-10 17:29:47 +01001239 0 ),
1240
Jan Dumon46216e4f2010-01-05 15:53:26 +01001241UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1242 "Option",
1243 "GI 0451 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001244 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001245 0 ),
1246
1247UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1248 "Option",
1249 "GI 0451 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001250 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001251 0 ),
1252
1253UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1254 "Option",
1255 "GI 0452 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001256 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001257 0 ),
1258
1259UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1260 "Option",
1261 "GI 0461 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001262 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001263 0 ),
1264
1265UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1266 "Option",
1267 "GI 0461 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001268 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001269 0 ),
1270
1271UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1272 "Option",
1273 "GI 033x SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001274 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001275 0 ),
1276
1277UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1278 "Option",
1279 "GI 033x SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001280 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001281 0 ),
1282
1283UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1284 "Option",
1285 "GI 033x SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001286 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001287 0 ),
1288
1289UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1290 "Option",
1291 "GI 070x SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001292 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001293 0 ),
1294
1295UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1296 "Option",
1297 "GI 1505 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001298 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001299 0 ),
1300
1301UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1302 "Option",
1303 "GI 1509 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001304 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001305 0 ),
1306
1307UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1308 "Option",
1309 "GI 1515 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001310 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001311 0 ),
1312
1313UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1314 "Option",
1315 "GI 1215 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001316 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001317 0 ),
1318
1319UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1320 "Option",
1321 "GI 1505 SD-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001322 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jan Dumon46216e4f2010-01-05 15:53:26 +01001323 0 ),
1324
Namjae Jeon3bd4dc92012-07-07 23:05:49 -04001325/* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1326UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1327 "Seagate",
1328 "Portable HDD",
1329 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1330
Ben Efrosdbe6e0c02008-11-23 20:06:38 -08001331/* Reported by Ben Efros <ben@pc-doctor.com> */
1332UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1333 "Seagate",
1334 "FreeAgent Pro",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001335 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Ben Efrosdbe6e0c02008-11-23 20:06:38 -08001336 US_FL_SANE_SENSE ),
1337
Ben Efrosdbe6e0c02008-11-23 20:06:38 -08001338UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
1339 "Maxtor",
1340 "USB to SATA",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001341 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Ben Efrosdbe6e0c02008-11-23 20:06:38 -08001342 US_FL_SANE_SENSE),
1343
Alan Sternf9dc8f92008-11-18 14:08:07 -05001344/*
1345 * Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
1346 * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1347 */
1348UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1349 "Unknown",
1350 "Unknown",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001351 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sternf9dc8f92008-11-18 14:08:07 -05001352 US_FL_SINGLE_LUN ),
1353
Linus Torvalds1da177e2005-04-16 15:20:36 -07001354/* Submitted by Joris Struyve <joris@struyve.be> */
1355UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1356 "Medion",
1357 "MD 7425",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001358 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001359 US_FL_FIX_INQUIRY),
1360
1361/*
1362 * Entry for Jenoptik JD 5200z3
1363 *
1364 * email: car.busse@gmx.de
1365 */
1366UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
1367 "Jenoptik",
1368 "JD 5200 z3",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001369 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
Linus Torvalds1da177e2005-04-16 15:20:36 -07001370
Sergey Ovcharenko3b438e32008-12-17 19:28:06 +03001371/* Reported by Jason Johnston <killean@shaw.ca> */
1372UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
1373 "Macpower Technology Co.LTD.",
1374 "USB 2.0 3.5\" DEVICE",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001375 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Sergey Ovcharenko3b438e32008-12-17 19:28:06 +03001376 US_FL_FIX_CAPACITY),
1377
Linus Torvalds1da177e2005-04-16 15:20:36 -07001378/* Reported by Lubomir Blaha <tritol@trilogic.cz>
1379 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1380 * works for me. Can anybody correct these values? (I able to test corrected
1381 * version.)
1382 */
1383UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1384 "Netac",
1385 "USB-CF-Card",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001386 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001387 US_FL_FIX_INQUIRY ),
1388
Ben Collins67fa1062007-05-26 03:06:32 -07001389/* Reported by Edward Chapman (taken from linux-usb mailing list)
1390 Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive */
1391UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1392 "Netac",
1393 "USB Flash Disk",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001394 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Ben Collins67fa1062007-05-26 03:06:32 -07001395 US_FL_IGNORE_RESIDUE ),
1396
1397
Linus Torvalds1da177e2005-04-16 15:20:36 -07001398/* Patch by Stephan Walter <stephan.walter@epfl.ch>
1399 * I don't know why, but it works... */
1400UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1401 "WINWARD",
1402 "Music Disk",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001403 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001404 US_FL_IGNORE_RESIDUE ),
1405
1406/* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1407UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
1408 "PNP_MP3",
1409 "PNP_MP3 PLAYER",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001410 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001411 US_FL_IGNORE_RESIDUE ),
1412
Alan Stern982db2a2006-02-13 10:16:04 -05001413/* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
1414UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1415 "Cowon Systems",
1416 "iAUDIO M5",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001417 USB_SC_DEVICE, USB_PR_BULK, NULL,
Phil Dibowitzbc724b92006-10-19 00:11:17 -07001418 US_FL_NEED_OVERRIDE ),
Alan Stern982db2a2006-02-13 10:16:04 -05001419
Linus Torvalds1da177e2005-04-16 15:20:36 -07001420/* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
1421UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1422 "USB",
1423 "Solid state disk",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001424 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001425 US_FL_FIX_INQUIRY ),
1426
1427/* Submitted by Daniel Drake <dsd@gentoo.org>
1428 * Reported by dayul on the Gentoo Forums */
1429UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
1430 "Ours Technology",
1431 "Flash Disk",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001432 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001433 US_FL_IGNORE_RESIDUE ),
1434
1435/* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
1436UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
1437 "USB",
1438 "Flash Disk",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001439 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001440 US_FL_IGNORE_RESIDUE ),
1441
Phil Dibowitz883d9892006-06-24 17:27:10 -07001442/* Reported by Benjamin Schiller <sbenni@gmx.de>
1443 * It is also sold by Easylite as DJ 20 */
1444UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
1445 "Typhoon",
1446 "My DJ 1820",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001447 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitz883d9892006-06-24 17:27:10 -07001448 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1449
Robert Spitzenpfeil4e584072008-02-20 12:11:22 -05001450/* Patch by Leonid Petrov mail at lpetrov.net
1451 * Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
1452 * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1453 * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1454 */
1455UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
1456 "Oracom Co., Ltd",
1457 "ORC-200M",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001458 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Robert Spitzenpfeil4e584072008-02-20 12:11:22 -05001459 US_FL_IGNORE_RESIDUE ),
1460
David Kuehlingb41ee5d2006-08-07 10:18:48 -04001461/* David Kuehling <dvdkhlng@gmx.de>:
1462 * for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
1463 * errors when trying to write.
1464 */
1465UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
1466 "C-MEX",
1467 "A-VOX",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001468 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
David Kuehlingb41ee5d2006-08-07 10:18:48 -04001469 US_FL_IGNORE_RESIDUE ),
1470
Nick Hollowayc25f6b12011-01-26 21:47:43 +00001471/* Submitted by Nick Holloway */
1472UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1473 "VTech",
1474 "Kidizoom",
1475 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1476 US_FL_FIX_CAPACITY ),
1477
Alan Sternc5637e52014-01-21 10:38:45 -05001478/* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
1479UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
1480 "Research In Motion",
1481 "BlackBerry Bold 9000",
1482 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1483 US_FL_MAX_SECTORS_64 ),
1484
Linus Torvalds1da177e2005-04-16 15:20:36 -07001485/* Reported by Michael Stattmann <michael@stattmann.com> */
1486UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
1487 "Sony Ericsson",
1488 "V800-Vodafone 802",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001489 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001490 US_FL_NO_WP_DETECT ),
1491
Phil Dibowitza83775b2009-01-20 23:48:36 +01001492/* Reported by The Solutor <thesolutor@gmail.com> */
1493UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
1494 "Sony Ericsson",
1495 "MD400",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001496 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitza83775b2009-01-20 23:48:36 +01001497 US_FL_IGNORE_DEVICE),
1498
Alan Sternb544d742007-01-31 10:57:55 -05001499/* Reported by Jan Mate <mate@fiit.stuba.sk>
1500 * and by Soeren Sonnenburg <kernel@nn7.de> */
Phil Dibowitz39c2f3ac2006-09-11 00:27:40 -07001501UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
1502 "Sony Ericsson",
1503 "P990i",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001504 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sternb544d742007-01-31 10:57:55 -05001505 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
Phil Dibowitz39c2f3ac2006-09-11 00:27:40 -07001506
Phil Dibowitzc9c770e2006-08-27 23:54:37 -07001507/* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
1508UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
1509 "Sony Ericsson",
1510 "M600i",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001511 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitzc5f23b02008-05-26 21:33:58 +02001512 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
Phil Dibowitzc9c770e2006-08-27 23:54:37 -07001513
Alan Sternf9dc8f92008-11-18 14:08:07 -05001514/* Reported by Ricardo Barberis <ricardo@dattatec.com> */
1515UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
1516 "Sony Ericsson",
1517 "P1i",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001518 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Sternf9dc8f92008-11-18 14:08:07 -05001519 US_FL_IGNORE_RESIDUE ),
1520
Linus Torvalds1da177e2005-04-16 15:20:36 -07001521/* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
1522 * Tested on hardware version 1.10.
1523 * Entry is needed only for the initializer function override.
Phil Dibowitz51b5bce2006-11-02 23:14:10 -08001524 * Devices with bcd > 110 seem to not need it while those
1525 * with bcd < 110 appear to need it.
Linus Torvalds1da177e2005-04-16 15:20:36 -07001526 */
Phil Dibowitz51b5bce2006-11-02 23:14:10 -08001527UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001528 "Desknote",
1529 "UCR-61S2B",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001530 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001531 0 ),
1532
Ben Efrosdbe6e0c02008-11-23 20:06:38 -08001533UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
1534 "Western Digital",
1535 "External HDD",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001536 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Ben Efrosdbe6e0c02008-11-23 20:06:38 -08001537 US_FL_SANE_SENSE),
1538
Namjae Jeon3bd4dc92012-07-07 23:05:49 -04001539/* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
1540UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1541 "Western Digital",
1542 "My Passport HDD",
1543 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1544
Alan Stern274399d2008-02-20 12:10:04 -05001545/* Reported by Fabio Venturi <f.venturi@tdnet.it>
1546 * The device reports a vendor-specific bDeviceClass.
1547 */
1548UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
1549 "Actions Semiconductor",
1550 "Mtp device",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001551 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern274399d2008-02-20 12:10:04 -05001552 0),
1553
Pascal Terjanc00deaa2009-04-07 14:40:42 +02001554/* Reported by Pascal Terjan <pterjan@mandriva.com>
1555 * Ignore driver CD mode and force into modem mode by default.
1556 */
1557UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
1558 "D-Link",
1559 "USB Mass Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001560 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
Pascal Terjanc00deaa2009-04-07 14:40:42 +02001561
Kevin Lloyd112225b2007-07-16 13:49:27 -07001562/* Reported by Kevin Lloyd <linux@sierrawireless.com>
1563 * Entry is needed for the initializer function override,
1564 * which instructs the device to load as a modem
1565 * device.
1566 */
1567UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
1568 "Sierra Wireless",
1569 "USB MMC Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001570 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
Kevin Lloyd32fe5e32008-07-10 14:14:57 -07001571 0),
Kevin Lloyd112225b2007-07-16 13:49:27 -07001572
Jaco Kroon49314372006-11-15 01:02:08 -08001573/* Reported by Jaco Kroon <jaco@kroon.co.za>
1574 * The usb-storage module found on the Digitech GNX4 (and supposedly other
1575 * devices) misbehaves and causes a bunch of invalid I/O errors.
1576 */
1577UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
1578 "Digitech HMG",
1579 "DigiTech Mass Storage",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001580 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Jaco Kroon49314372006-11-15 01:02:08 -08001581 US_FL_IGNORE_RESIDUE ),
1582
fangxiaozhiaad8a272008-04-10 14:51:06 +08001583/* Reported by fangxiaozhi <huananhu@huawei.com>
1584 * This brings the HUAWEI data card devices into multi-port mode
Johann Wilhelmd853d872007-09-05 13:49:29 +02001585 */
Bjørn Morkab4b7162013-03-04 14:19:21 +01001586UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
fangxiaozhiaad8a272008-04-10 14:51:06 +08001587 "HUAWEI MOBILE",
1588 "Mass Storage",
Bjørn Morkab4b7162013-03-04 14:19:21 +01001589 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1590 0),
1591UNUSUAL_DEV( 0x12d1, 0x1003, 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, 0x1004, 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, 0x1401, 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, 0x1402, 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, 0x1403, 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, 0x1404, 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, 0x1405, 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, 0x1406, 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, 0x1407, 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, 0x1408, 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, 0x1409, 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, 0x140A, 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, 0x140B, 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, 0x140C, 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, 0x140D, 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, 0x140E, 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, 0x140F, 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, 0x1410, 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, 0x1411, 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, 0x1412, 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, 0x1413, 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, 0x1414, 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, 0x1415, 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, 0x1416, 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, 0x1417, 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, 0x1418, 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, 0x1419, 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, 0x141A, 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, 0x141B, 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, 0x141C, 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, 0x141D, 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, 0x141E, 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, 0x141F, 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, 0x1420, 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, 0x1421, 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, 0x1422, 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, 0x1423, 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, 0x1424, 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, 0x1425, 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, 0x1426, 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, 0x1427, 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, 0x1428, 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, 0x1429, 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, 0x142A, 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, 0x142B, 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, 0x142C, 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, 0x142D, 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, 0x142E, 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, 0x142F, 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, 0x1430, 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, 0x1431, 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, 0x1432, 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, 0x1433, 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, 0x1434, 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, 0x1435, 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, 0x1436, 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, 0x1437, 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, 0x1438, 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, 0x1439, 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, 0x143A, 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, 0x143B, 0x0000, 0x0000,
1892 "HUAWEI MOBILE",
1893 "Mass Storage",
1894 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1895 0),
1896UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
1897 "HUAWEI MOBILE",
1898 "Mass Storage",
1899 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1900 0),
1901UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
1902 "HUAWEI MOBILE",
1903 "Mass Storage",
1904 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1905 0),
1906UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
1907 "HUAWEI MOBILE",
1908 "Mass Storage",
1909 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1910 0),
1911UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
1912 "HUAWEI MOBILE",
1913 "Mass Storage",
1914 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
fangxiaozhiaad8a272008-04-10 14:51:06 +08001915 0),
Johann Wilhelmd853d872007-09-05 13:49:29 +02001916
Phil Dibowitz7b1cbeb2005-05-02 23:54:28 -07001917/* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
1918UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
1919 "Minolta",
1920 "Dimage Z10",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001921 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitz7b1cbeb2005-05-02 23:54:28 -07001922 0 ),
1923
Linus Torvalds1da177e2005-04-16 15:20:36 -07001924/* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
1925UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
1926 "SWISSBIT",
1927 "Black Silver",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001928 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001929 US_FL_IGNORE_RESIDUE ),
1930
Qinglin Yecec28a52011-11-23 23:39:32 +08001931/* Reported by Qinglin Ye <yestyle@gmail.com> */
1932UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
1933 "Kingston",
1934 "DT 101 G2",
1935 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1936 US_FL_BULK_IGNORE_TAG ),
1937
Phil Dibowitzf1cd4ad2006-12-31 00:19:50 -08001938/* Reported by Francesco Foresti <frafore@tiscali.it> */
1939UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
1940 "Super Top",
1941 "IDE DEVICE",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001942 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitzf1cd4ad2006-12-31 00:19:50 -08001943 US_FL_IGNORE_RESIDUE ),
1944
Alan Sternb14bf2d2014-06-30 11:04:21 -04001945/* Reported by Michael Büsch <m@bues.ch> */
1946UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0114,
1947 "JMicron",
1948 "USB to ATA/ATAPI Bridge",
1949 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1950 US_FL_BROKEN_FUA ),
1951
Phil Dibowitz3030ca42008-10-19 08:17:54 +02001952/* Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1953 * JMicron responds to USN and several other SCSI ioctls with a
1954 * residue that causes subsequent I/O requests to fail. */
1955UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
Ben Efrosdbe6e0c02008-11-23 20:06:38 -08001956 "JMicron",
1957 "USB to ATA/ATAPI Bridge",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001958 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Ben Efrosdbe6e0c02008-11-23 20:06:38 -08001959 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
Phil Dibowitz3030ca42008-10-19 08:17:54 +02001960
Phil Dibowitzf1cd4ad2006-12-31 00:19:50 -08001961/* Reported by Robert Schedel <r.schedel@yahoo.de>
1962 * Note: this is a 'super top' device like the above 14cd/6600 device */
1963UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
1964 "Teac",
1965 "HD-35PUK-B",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001966 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Phil Dibowitzf1cd4ad2006-12-31 00:19:50 -08001967 US_FL_IGNORE_RESIDUE ),
1968
Oliver Neukum32c37fc2013-10-14 15:24:55 +02001969/* Reported by Oliver Neukum <oneukum@suse.com> */
1970UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
1971 "ASMedia",
1972 "AS2105",
1973 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1974 US_FL_NEEDS_CAP16),
1975
Alan Sterndf767b72012-05-08 15:15:25 -04001976/* Reported by Jesse Feddema <jdfeddema@gmail.com> */
1977UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
1978 "Yarvik",
1979 "PMP400",
1980 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1981 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
1982
Hans de Goedea78f4f12010-04-29 12:59:04 +02001983/* Reported by Hans de Goede <hdegoede@redhat.com>
1984 * These Appotech controllers are found in Picture Frames, they provide a
1985 * (buggy) emulation of a cdrom drive which contains the windows software
1986 * Uploading of pictures happens over the corresponding /dev/sg device. */
1987UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
1988 "BUILDWIN",
1989 "Photo Frame",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001990 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Hans de Goedea78f4f12010-04-29 12:59:04 +02001991 US_FL_BAD_SENSE ),
1992UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
1993 "BUILDWIN",
1994 "Photo Frame",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02001995 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Hans de Goedea78f4f12010-04-29 12:59:04 +02001996 US_FL_BAD_SENSE ),
Hans de Goedeae38c782010-10-01 14:20:10 -07001997UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
1998 "BUILDWIN",
1999 "Photo Frame",
2000 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2001 US_FL_NO_READ_DISC_INFO ),
Hans de Goedea78f4f12010-04-29 12:59:04 +02002002
Alan Stern21c13a42011-06-07 11:35:52 -04002003/* Reported by Sven Geggus <sven-usbst@geggus.net>
2004 * This encrypted pen drive returns bogus data for the initial READ(10).
2005 */
2006UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
2007 "Corsair",
2008 "Padlock v2",
2009 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2010 US_FL_INITIAL_READ10 ),
2011
Al Virod36b6912011-12-29 17:09:01 -05002012/* Patch by Richard Schütz <r.schtz@t-online.de>
Richard Schütz7e1e7bd2010-12-22 14:28:56 +01002013 * This external hard drive enclosure uses a JMicron chip which
2014 * needs the US_FL_IGNORE_RESIDUE flag to work properly. */
2015UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
2016 "TrekStor GmbH & Co. KG",
2017 "DataStation maxi g.u",
2018 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2019 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2020
Alan Stern3ea3c9b2011-01-25 13:07:04 -05002021/* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
2022UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2023 "Coby Electronics",
2024 "MP3 Player",
2025 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2026 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2027
Oliver Neukumb90de8a2009-01-14 16:17:19 +01002028UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2029 "ST",
2030 "2A",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02002031 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Oliver Neukumb90de8a2009-01-14 16:17:19 +01002032 US_FL_FIX_CAPACITY),
2033
Davide Perini0ddc0632006-06-19 17:07:39 -04002034/* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
2035 * and Renato Perini <rperini@email.it>
2036 */
2037UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
2038 "Motorola",
2039 "RAZR V3x",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02002040 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Davide Perini0ddc0632006-06-19 17:07:39 -04002041 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2042
Pete Zaitceva7f3dd52007-03-10 15:17:16 -08002043/*
Constantin Baranovcc36bdd2008-03-16 20:04:23 +00002044 * Patch by Constantin Baranov <const@tltsu.ru>
2045 * Report by Andreas Koenecke.
2046 * Motorola ROKR Z6.
2047 */
2048UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
2049 "Motorola",
2050 "MSnc.",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02002051 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Constantin Baranovcc36bdd2008-03-16 20:04:23 +00002052 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2053
Linus Torvalds1da177e2005-04-16 15:20:36 -07002054/* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
2055UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
2056 "MPIO",
2057 "HS200",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02002058 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Linus Torvalds1da177e2005-04-16 15:20:36 -07002059 US_FL_GO_SLOW ),
2060
Frédéric Marchale8fab4c2008-10-13 14:00:11 +02002061/* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
2062 * Mio Moov 330
2063 */
2064UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
2065 "Mitac",
2066 "Mio DigiWalker USB Sync",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02002067 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
Frédéric Marchale8fab4c2008-10-13 14:00:11 +02002068 US_FL_MAX_SECTORS_64 ),
2069
Alan Stern368ee642008-07-21 10:08:28 -04002070/* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
2071UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
2072 "iRiver",
2073 "MP3 T10",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02002074 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Alan Stern368ee642008-07-21 10:08:28 -04002075 US_FL_IGNORE_RESIDUE ),
2076
Sergey Pinaev2f136122009-09-17 17:26:50 +04002077/* Reported by Sergey Pinaev <dfo@antex.ru> */
2078UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
2079 "iRiver",
2080 "P7K",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02002081 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Sergey Pinaev2f136122009-09-17 17:26:50 +04002082 US_FL_MAX_SECTORS_64 ),
2083
David Härdeman63dc3ff2005-11-23 15:45:49 -08002084/*
Jan Engelhardt96de0e22007-10-19 23:21:04 +02002085 * David Härdeman <david@2gen.com>
David Härdeman63dc3ff2005-11-23 15:45:49 -08002086 * The key makes the SCSI stack print confusing (but harmless) messages
2087 */
2088UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
2089 "Iomega",
2090 "Micro Mini 1GB",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02002091 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
David Härdeman63dc3ff2005-11-23 15:45:49 -08002092
Nick Bowlera871e4f2011-07-13 11:40:09 -04002093/*
2094 * Nick Bowler <nbowler@elliptictech.com>
2095 * SCSI stack spams (otherwise harmless) error messages.
2096 */
2097UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
2098 "Keil Software, Inc.",
2099 "V2M MotherBoard",
2100 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2101 US_FL_NOT_LOCKABLE),
2102
Alan Sterna2149bc2006-02-02 09:52:45 -05002103/* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
2104UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
2105 "DataStor",
2106 "USB4500 FW1.04",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02002107 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
Oliver Neukum61bf54b2007-02-08 09:04:48 +01002108 US_FL_CAPACITY_HEURISTICS),
Alan Sterna2149bc2006-02-02 09:52:45 -05002109
Chuck Short46c6e932009-04-14 20:50:31 +02002110/* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
2111UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2112 "TGE",
2113 "Digital MP3 Audio Player",
Michal Nazarewicz8fa7fd72010-10-07 13:05:21 +02002114 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
Chuck Short46c6e932009-04-14 20:50:31 +02002115
Hans de Goede5bfd5b52013-10-21 09:40:48 +01002116/* Unusual uas devices */
2117#if IS_ENABLED(CONFIG_USB_UAS)
2118#include "unusual_uas.h"
2119#endif
2120
Pete Zaitceva00828e2005-10-22 20:15:09 -07002121/* Control/Bulk transport for all SubClass values */
Sebastian Andrzej Siewiorf61870e2012-08-28 22:37:13 +02002122USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2123USUAL_DEV(USB_SC_8020, USB_PR_CB),
2124USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2125USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2126USUAL_DEV(USB_SC_8070, USB_PR_CB),
2127USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
Pete Zaitceva00828e2005-10-22 20:15:09 -07002128
2129/* Control/Bulk/Interrupt transport for all SubClass values */
Sebastian Andrzej Siewiorf61870e2012-08-28 22:37:13 +02002130USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2131USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2132USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2133USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2134USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2135USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
Pete Zaitceva00828e2005-10-22 20:15:09 -07002136
2137/* Bulk-only transport for all SubClass values */
Sebastian Andrzej Siewiorf61870e2012-08-28 22:37:13 +02002138USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2139USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2140USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2141USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2142USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2143USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),