[PATCH] USB: unusual_devs.h entry: TrekStor i.Beat
[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
65UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
66 "HP",
67 "CD-Writer+",
68 US_SC_8070, US_PR_CB, NULL, 0),
69
70#ifdef CONFIG_USB_STORAGE_USBAT
71UNUSUAL_DEV( 0x03f0, 0x0207, 0x0001, 0x0001,
72 "HP",
73 "CD-Writer+ 8200e",
b7b1e655 74 US_SC_8070, US_PR_USBAT, init_usbat, 0),
1da177e4
LT
75
76UNUSUAL_DEV( 0x03f0, 0x0307, 0x0001, 0x0001,
77 "HP",
78 "CD-Writer+ CD-4e",
b7b1e655 79 US_SC_8070, US_PR_USBAT, init_usbat, 0),
1da177e4
LT
80#endif
81
1ea640ce
PD
82/* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
83 * and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
84 * for USB floppies that need the SINGLE_LUN enforcement.
85 */
86UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
87 "NEC",
88 "NEC USB UF000x",
89 US_SC_DEVICE, US_PR_DEVICE, NULL,
90 US_FL_SINGLE_LUN ),
91
3e220e95
PD
92/* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
93UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
94 "VIA Technologies Inc.",
95 "USB 2.0 Card Reader",
96 US_SC_DEVICE, US_PR_DEVICE, NULL,
97 US_FL_IGNORE_RESIDUE ),
98
1da177e4
LT
99/* Deduced by Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
100 * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
101 * always fails and confuses drive.
102 */
103UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
104 "Buffalo",
105 "DUB-P40G HDD",
106 US_SC_DEVICE, US_PR_DEVICE, NULL,
107 US_FL_FIX_INQUIRY ),
108
1d614a4b
AS
109/* Reported by Christian Leber <christian@leber.de> */
110UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
111 "TrekStor",
112 "i.Beat 115 2.0",
113 US_SC_DEVICE, US_PR_DEVICE, NULL,
114 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
115
e4a16e0c
PD
116/* Reported by Stefan Werner <dustbln@gmx.de> */
117UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
118 "TrekStor",
119 "i.Beat Joy 2.0",
120 US_SC_DEVICE, US_PR_DEVICE, NULL,
121 US_FL_IGNORE_RESIDUE ),
122
1ea640ce
PD
123/* Reported by Olaf Hering <olh@suse.de> from novell bug #105878 */
124UNUSUAL_DEV( 0x0424, 0x0fdc, 0x0210, 0x0210,
125 "SMSC",
126 "FDC GOLD-2.30",
127 US_SC_DEVICE, US_PR_DEVICE, NULL,
128 US_FL_SINGLE_LUN ),
129
1da177e4
LT
130#ifdef CONFIG_USB_STORAGE_DPCM
131UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
132 "Microtech",
133 "CameraMate (DPCM_USB)",
134 US_SC_SCSI, US_PR_DPCM_USB, NULL, 0 ),
135#endif
136
490dce15
PZ
137/*
138 * Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
139 * The key does not actually break, but it returns zero sense which
140 * makes our SCSI stack to print confusing messages.
141 */
142UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
143 "USBest Technology", /* sold by Transcend */
144 "USB Mass Storage Device",
145 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
146
e1c37b8d
DD
147/* Patch submitted by Daniel Drake <dsd@gentoo.org>
148 * Device reports nonsense bInterfaceProtocol 6 when connected over USB2 */
149UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
150 "Neuros Audio",
151 "USB 2.0 HD 2.5",
152 US_SC_DEVICE, US_PR_BULK, NULL,
153 US_FL_NEED_OVERRIDE ),
154
abb02fdf
MD
155UNUSUAL_DEV( 0x045a, 0x5210, 0x0101, 0x0101,
156 "Rio",
157 "Rio Karma",
158 US_SC_SCSI, US_PR_BULK, rio_karma_init, 0),
159
1da177e4
LT
160/* Patch submitted by Philipp Friedrich <philipp@void.at> */
161UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
162 "Kyocera",
163 "Finecam S3x",
164 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
165
166/* Patch submitted by Philipp Friedrich <philipp@void.at> */
167UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
168 "Kyocera",
169 "Finecam S4",
170 US_SC_8070, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
171
172/* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
173UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
174 "Kyocera",
175 "Finecam S5",
176 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
177
178/* Patch for Kyocera Finecam L3
179 * Submitted by Michael Krauth <michael.krauth@web.de>
180 * and Alessandro Fracchetti <al.fracchetti@tin.it>
181 */
182UNUSUAL_DEV( 0x0482, 0x0105, 0x0100, 0x0100,
183 "Kyocera",
184 "Finecam L3",
185 US_SC_SCSI, US_PR_BULK, NULL,
186 US_FL_FIX_INQUIRY),
187
188/* Reported by Paul Stewart <stewart@wetlogic.net>
189 * This entry is needed because the device reports Sub=ff */
190UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
191 "Hitachi",
192 "DVD-CAM DZ-MV100A Camcorder",
193 US_SC_SCSI, US_PR_CB, NULL, US_FL_SINGLE_LUN),
194
195/* Reported by Andreas Bockhold <andreas@bockionline.de> */
196UNUSUAL_DEV( 0x04b0, 0x0405, 0x0100, 0x0100,
197 "NIKON",
198 "NIKON DSC D70",
199 US_SC_DEVICE, US_PR_DEVICE, NULL,
200 US_FL_FIX_CAPACITY),
201
17fa6e55
C
202/* Patch for Nikon coolpix 2000
203 * Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>*/
204UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
205 "NIKON",
206 "NIKON DSC E2000",
207 US_SC_DEVICE, US_PR_DEVICE,NULL,
208 US_FL_NOT_LOCKABLE ),
209
1da177e4
LT
210/* BENQ DC5330
211 * Reported by Manuel Fombuena <mfombuena@ya.com> and
212 * Frank Copeland <fjc@thingy.apana.org.au> */
213UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
214 "Tekom Technologies, Inc",
215 "300_CAMERA",
216 US_SC_DEVICE, US_PR_DEVICE, NULL,
217 US_FL_IGNORE_RESIDUE ),
218
219/* Reported by Simon Levitt <simon@whattf.com>
220 * This entry needs Sub and Proto fields */
221UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
222 "Epson",
223 "875DC Storage",
224 US_SC_SCSI, US_PR_CB, NULL, US_FL_FIX_INQUIRY),
225
226/* Reported by Khalid Aziz <khalid@gonehiking.org>
227 * This entry is needed because the device reports Sub=ff */
228UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
229 "Epson",
230 "785EPX Storage",
231 US_SC_SCSI, US_PR_BULK, NULL, US_FL_SINGLE_LUN),
232
233/* Not sure who reported this originally but
234 * Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
235 * flag be added */
236UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
237 "Fujifilm",
238 "FinePix 1400Zoom",
239 US_SC_UFI, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
240
241