[PATCH] USB: Storage: unusual devs update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / usb / storage / unusual_devs.h
CommitLineData
1da177e4 1/* Driver for USB Mass Storage compliant devices
093cf723 2 * Unusual Devices File
1da177e4
LT
3 *
4 * $Id: unusual_devs.h,v 1.32 2002/02/25 02:41:24 mdharm Exp $
5 *
6 * Current development and maintenance by:
7 * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
8 *
9 * Initial work by:
10 * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
11 *
12 * Please see http://www.one-eyed-alien.net/~mdharm/linux-usb for more
13 * information about this driver.
14 *
15 * This program is free software; you can redistribute it and/or modify it
16 * under the terms of the GNU General Public License as published by the
17 * Free Software Foundation; either version 2, or (at your option) any
18 * later version.
19 *
20 * This program is distributed in the hope that it will be useful, but
21 * WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * General Public License for more details.
24 *
25 * You should have received a copy of the GNU General Public License along
26 * with this program; if not, write to the Free Software Foundation, Inc.,
27 * 675 Mass Ave, Cambridge, MA 02139, USA.
28 */
29
30/* IMPORTANT NOTE: This file must be included in another file which does
31 * the following thing for it to work:
32 * The macro UNUSUAL_DEV() must be defined before this file is included
33 */
34#include <linux/config.h>
35
36/* If you edit this file, please try to keep it sorted first by VendorID,
37 * then by ProductID.
38 *
39 * If you want to add an entry for this file, be sure to include the
40 * following information:
41 * - a patch that adds the entry for your device, including your
42 * email address right above the entry (plus maybe a brief
43 * explanation of the reason for the entry),
44 * - a copy of /proc/bus/usb/devices with your device plugged in
45 * running with this patch.
46 * Send your submission to either Phil Dibowitz <phil@ipom.com> or
47 * Alan Stern <stern@rowland.harvard.edu>, and don't forget to CC: the
48 * USB development list <linux-usb-devel@lists.sourceforge.net>.
49 */
50
8af60be9
VB
51/* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr>
52 */
53UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
54 "ATMEL",
55 "SND1 Storage",
56 US_SC_DEVICE, US_PR_DEVICE, NULL,
57 US_FL_IGNORE_RESIDUE),
58
1da177e4
LT
59UNUSUAL_DEV( 0x03ee, 0x6901, 0x0000, 0x0100,
60 "Mitsumi",
61 "USB FDD",
62 US_SC_DEVICE, US_PR_DEVICE, NULL,
63 US_FL_SINGLE_LUN ),
64
9d5847bc
RQ
65/* Reported by Rodolfo Quesada <rquesada@roqz.net> */
66UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
67 "VIA Technologies Inc.",
68 "Mitsumi multi cardreader",
69 US_SC_DEVICE, US_PR_DEVICE, NULL,
70 US_FL_IGNORE_RESIDUE ),
71
1da177e4
LT
72UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
73 "HP",
74 "CD-Writer+",
75 US_SC_8070, US_PR_CB, NULL, 0),
76
77#ifdef CONFIG_USB_STORAGE_USBAT
78UNUSUAL_DEV( 0x03f0, 0x0207, 0x0001, 0x0001,
79 "HP",
80 "CD-Writer+ 8200e",
b7b1e655 81 US_SC_8070, US_PR_USBAT, init_usbat, 0),
1da177e4
LT
82
83UNUSUAL_DEV( 0x03f0, 0x0307, 0x0001, 0x0001,
84 "HP",
85 "CD-Writer+ CD-4e",
b7b1e655 86 US_SC_8070, US_PR_USBAT, init_usbat, 0),
1da177e4
LT
87#endif
88
1ea640ce
PD
89/* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
90 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
91 * for USB floppies that need the SINGLE_LUN enforcement.
92 */
93UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
94 "NEC",
95 "NEC USB UF000x",
96 US_SC_DEVICE, US_PR_DEVICE, NULL,
97 US_FL_SINGLE_LUN ),
98
3e220e95
PD
99/* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
100UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
101 "VIA Technologies Inc.",
102 "USB 2.0 Card Reader",
103 US_SC_DEVICE, US_PR_DEVICE, NULL,
104 US_FL_IGNORE_RESIDUE ),
105
1da177e4
LT
106/* Deduced by Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
107 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
108 * always fails and confuses drive.
109 */
110UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
111 "Buffalo",
112 "DUB-P40G HDD",
113 US_SC_DEVICE, US_PR_DEVICE, NULL,
114 US_FL_FIX_INQUIRY ),
115
1d614a4b
AS
116/* Reported by Christian Leber <christian@leber.de> */
117UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
118 "TrekStor",
119 "i.Beat 115 2.0",
120 US_SC_DEVICE, US_PR_DEVICE, NULL,
121 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
122
e4a16e0c
PD
123/* Reported by Stefan Werner <dustbln@gmx.de> */
124UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
125 "TrekStor",
126 "i.Beat Joy 2.0",
127 US_SC_DEVICE, US_PR_DEVICE, NULL,
128 US_FL_IGNORE_RESIDUE ),
129
23b7885d
PZ
130/* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
131UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
132 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
133 US_SC_DEVICE, US_PR_DEVICE, NULL,
134 US_FL_IGNORE_RESIDUE ),
135
1ea640ce
PD
136/* Reported by Olaf Hering <olh@suse.de> from novell bug #105878 */
137UNUSUAL_DEV( 0x0424, 0x0fdc, 0x0210, 0x0210,
138 "SMSC",
139 "FDC GOLD-2.30",
140 US_SC_DEVICE, US_PR_DEVICE, NULL,
141 US_FL_SINGLE_LUN ),
142
1da177e4
LT
143#ifdef CONFIG_USB_STORAGE_DPCM
144UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
145 "Microtech",
146 "CameraMate (DPCM_USB)",
147 US_SC_SCSI, US_PR_DPCM_USB, NULL, 0 ),
148#endif
149
16f05be7
PD
150/* Patch submitted by Daniel Drake <dsd@gentoo.org>
151 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
152UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
153 "Neuros Audio",
154 "USB 2.0 HD 2.5",
155 US_SC_DEVICE, US_PR_BULK, NULL,
156 US_FL_NEED_OVERRIDE ),
157
490dce15
PZ
158/*
159 * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
160 * The key does not actually break, but it returns zero sense which
161 * makes our SCSI stack to print confusing messages.
162 */
163UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
164 "USBest Technology", /* sold by Transcend */
165 "USB Mass Storage Device",
166 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
167
16f05be7
PD
168/*
169* Bohdan Linda <bohdan.linda@gmail.com>
170* 1GB USB sticks MyFlash High Speed. I have restricted
171* the revision to my model only
172*/
173UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
174 "USB 2.0",
175 "Flash Disk",
176 US_SC_DEVICE, US_PR_DEVICE, NULL,
177 US_FL_NOT_LOCKABLE ),
e1c37b8d 178
abb02fdf
MD
179UNUSUAL_DEV( 0x045a, 0x5210, 0x0101, 0x0101,
180 "Rio",
181 "Rio Karma",
182 US_SC_SCSI, US_PR_BULK, rio_karma_init, 0),
183
1da177e4
LT
184/* Patch submitted by Philipp Friedrich <philipp@void.at> */
185UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
186 "Kyocera",
187 "Finecam S3x",
188 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
189
190/* Patch submitted by Philipp Friedrich <philipp@void.at> */
191UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
192 "Kyocera",
193 "Finecam S4",
194 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
195
196/* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
197UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
198 "Kyocera",
199 "Finecam S5",
200 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
201
202/* Patch for Kyocera Finecam L3
203 * Submitted by Michael Krauth <michael.krauth@web.de>
204 * and Alessandro Fracchetti <al.fracchetti@tin.it>
205 */
206UNUSUAL_DEV( 0x0482, 0x0105, 0x0100, 0x0100,
207 "Kyocera",
208 "Finecam L3",
209 US_SC_SCSI, US_PR_BULK, NULL,
210 US_FL_FIX_INQUIRY),
211
212/* Reported by Paul Stewart <stewart@wetlogic.net>
213 * This entry is needed because the device reports Sub=ff */
214UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
215 "Hitachi",
216 "DVD-CAM DZ-MV100A Camcorder",
217 US_SC_SCSI, US_PR_CB, NULL, US_FL_SINGLE_LUN),
218
219/* Reported by Andreas Bockhold <andreas@bockionline.de> */
220UNUSUAL_DEV( 0x04b0, 0x0405, 0x0100, 0x0100,
221 "NIKON",
222 "NIKON DSC D70",
223 US_SC_DEVICE, US_PR_DEVICE, NULL,
224 US_FL_FIX_CAPACITY),
225
17fa6e55
C
226/* Patch for Nikon coolpix 2000
227 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/
228UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
229 "NIKON",
230 "NIKON DSC E2000",
231 US_SC_DEVICE, US_PR_DEVICE,NULL,
232 US_FL_NOT_LOCKABLE ),
233
1da177e4
LT
234/* BENQ DC5330
235 * Reported by Manuel Fombuena <mfombuena@ya.com> and
236 * Frank Copeland <fjc@thingy.apana.org.au> */
237UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
238 "Tekom Technologies, Inc",
239 "300_CAMERA",
240 US_SC_DEVICE, US_PR_DEVICE, NULL,
241 US_FL_IGNORE_RESIDUE ),
242
243/* Reported by Simon Levitt <simon@whattf.com>
244 * This entry needs Sub and Proto fields */
245UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
246 "Epson",
247 "875DC Storage",
248 US_SC_SCSI, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
249
250/* Reported by Khalid Aziz <khalid@gonehiking.org>
251 * This entry is needed because the device reports Sub=ff */
252UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
253 "Epson",
254 "785EPX Storage",
255 US_SC_SCSI, US_PR_BULK, NULL, US_FL_SINGLE_LUN),
256
257/* Not sure who reported this originally but
258 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
259 * flag be added */
260UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
261 "Fujifilm",
262 "FinePix 1400Zoom",
263 US_SC_UFI, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
264
265