]> Git Repo - linux.git/blob - drivers/usb/storage/unusual_devs.h
Linux 6.14-rc3
[linux.git] / drivers / usb / storage / unusual_devs.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Driver for USB Mass Storage compliant devices
4  * Unusual Devices File
5  *
6  * Current development and maintenance by:
7  *   (c) 2000-2002 Matthew Dharm ([email protected])
8  *
9  * Initial work by:
10  *   (c) 2000 Adam J. Richter ([email protected]), Yggdrasil Computing, Inc.
11  */
12
13 /*
14  * IMPORTANT NOTE: This file must be included in another file which does
15  * the following thing for it to work:
16  * The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
17  * before this file is included.
18  */
19
20 /*
21  * If you edit this file, please try to keep it sorted first by VendorID,
22  * then by ProductID.
23  *
24  * If you want to add an entry for this file, be sure to include the
25  * following information:
26  *      - a patch that adds the entry for your device, including your
27  *        email address right above the entry (plus maybe a brief
28  *        explanation of the reason for the entry),
29  *      - a copy of /sys/kernel/debug/usb/devices with your device plugged in
30  *        running with this patch.
31  * Send your submission to the USB development list <[email protected]>
32  */
33
34 /*
35  * Note: If you add an entry only in order to set the CAPACITY_OK flag,
36  * use the COMPLIANT_DEV macro instead of UNUSUAL_DEV.  This is
37  * because such entries mark devices which actually work correctly,
38  * as opposed to devices that do something strangely or wrongly.
39  */
40
41 /*
42  * In-kernel mode switching is deprecated.  Do not add new devices to
43  * this list for the sole purpose of switching them to a different
44  * mode.  Existing userspace solutions are superior.
45  *
46  * New mode switching devices should instead be added to the database
47  * maintained at https://www.draisberghof.de/usb_modeswitch/
48  */
49
50 #if !defined(CONFIG_USB_STORAGE_SDDR09) && \
51                 !defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
52 #define NO_SDDR09
53 #endif
54
55 /* patch submitted by Vivian Bregier <[email protected]> */
56 UNUSUAL_DEV(  0x03eb, 0x2002, 0x0100, 0x0100,
57                 "ATMEL",
58                 "SND1 Storage",
59                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
60                 US_FL_IGNORE_RESIDUE),
61
62 /* Reported by Rodolfo Quesada <[email protected]> */
63 UNUSUAL_DEV(  0x03ee, 0x6906, 0x0003, 0x0003,
64                 "VIA Technologies Inc.",
65                 "Mitsumi multi cardreader",
66                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
67                 US_FL_IGNORE_RESIDUE ),
68
69 UNUSUAL_DEV(  0x03f0, 0x0107, 0x0200, 0x0200,
70                 "HP",
71                 "CD-Writer+",
72                 USB_SC_8070, USB_PR_CB, NULL, 0),
73
74 /* Reported by Ben Efros <[email protected]> */
75 UNUSUAL_DEV(  0x03f0, 0x070c, 0x0000, 0x0000,
76                 "HP",
77                 "Personal Media Drive",
78                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
79                 US_FL_SANE_SENSE ),
80
81 /*
82  * Reported by Grant Grundler <[email protected]>
83  * HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
84  */
85 UNUSUAL_DEV(  0x03f0, 0x4002, 0x0001, 0x0001,
86                 "HP",
87                 "PhotoSmart R707",
88                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
89
90 UNUSUAL_DEV(  0x03f3, 0x0001, 0x0000, 0x9999,
91                 "Adaptec",
92                 "USBConnect 2000",
93                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
94                 US_FL_SCM_MULT_TARG ),
95
96 /*
97  * Reported by Sebastian Kapfer <[email protected]>
98  * and Olaf Hering <[email protected]> (different bcd's, same vendor/product)
99  * for USB floppies that need the SINGLE_LUN enforcement.
100  */
101 UNUSUAL_DEV(  0x0409, 0x0040, 0x0000, 0x9999,
102                 "NEC",
103                 "NEC USB UF000x",
104                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
105                 US_FL_SINGLE_LUN ),
106
107 /* Patch submitted by Mihnea-Costin Grigore <[email protected]> */
108 UNUSUAL_DEV(  0x040d, 0x6205, 0x0003, 0x0003,
109                 "VIA Technologies Inc.",
110                 "USB 2.0 Card Reader",
111                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
112                 US_FL_IGNORE_RESIDUE ),
113
114 /*
115  * Deduced by Jonathan Woithe <[email protected]>
116  * Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
117  * always fails and confuses drive.
118  */
119 UNUSUAL_DEV(  0x0411, 0x001c, 0x0113, 0x0113,
120                 "Buffalo",
121                 "DUB-P40G HDD",
122                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
123                 US_FL_FIX_INQUIRY ),
124
125 /* Submitted by Ernestas Vaiciukevicius <[email protected]> */
126 UNUSUAL_DEV(  0x0419, 0x0100, 0x0100, 0x0100,
127                 "Samsung Info. Systems America, Inc.",
128                 "MP3 Player",
129                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
130                 US_FL_IGNORE_RESIDUE ),
131
132 /* Reported by Orgad Shaneh <[email protected]> */
133 UNUSUAL_DEV(  0x0419, 0xaace, 0x0100, 0x0100,
134                 "Samsung", "MP3 Player",
135                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
136                 US_FL_IGNORE_RESIDUE ),
137
138 /* Reported by Christian Leber <[email protected]> */
139 UNUSUAL_DEV(  0x0419, 0xaaf5, 0x0100, 0x0100,
140                 "TrekStor",
141                 "i.Beat 115 2.0",
142                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
143                 US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
144
145 /* Reported by Stefan Werner <[email protected]> */
146 UNUSUAL_DEV(  0x0419, 0xaaf6, 0x0100, 0x0100,
147                 "TrekStor",
148                 "i.Beat Joy 2.0",
149                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
150                 US_FL_IGNORE_RESIDUE ),
151
152 /* Reported by Pete Zaitcev <[email protected]>, bz#176584 */
153 UNUSUAL_DEV(  0x0420, 0x0001, 0x0100, 0x0100,
154                 "GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
155                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
156                 US_FL_IGNORE_RESIDUE ),
157
158 /*
159  * Reported by Andrew Nayenko <[email protected]>
160  * Updated for new firmware by Phillip Potter <[email protected]>
161  */
162 UNUSUAL_DEV(  0x0421, 0x0019, 0x0592, 0x0610,
163                 "Nokia",
164                 "Nokia 6288",
165                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
166                 US_FL_MAX_SECTORS_64 ),
167
168 /* Reported by Mario Rettig <[email protected]> */
169 UNUSUAL_DEV(  0x0421, 0x042e, 0x0100, 0x0100,
170                 "Nokia",
171                 "Nokia 3250",
172                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
173                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
174
175 /* Reported by <[email protected]> */
176 UNUSUAL_DEV(  0x0421, 0x0433, 0x0100, 0x0100,
177                 "Nokia",
178                 "E70",
179                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
180                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
181
182 /* Reported by Jon Hart <[email protected]> */
183 UNUSUAL_DEV(  0x0421, 0x0434, 0x0100, 0x0100,
184                 "Nokia",
185                 "E60",
186                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
187                 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
188
189 /*
190  * Reported by Sumedha Swamy <[email protected]> and
191  * Einar Th. Einarsson <[email protected]>
192  */
193 UNUSUAL_DEV(  0x0421, 0x0444, 0x0100, 0x0100,
194                 "Nokia",
195                 "N91",
196                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
197                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
198
199 /*
200  * Reported by Jiri Slaby <[email protected]> and
201  * Rene C. Castberg <[email protected]>
202  */
203 UNUSUAL_DEV(  0x0421, 0x0446, 0x0100, 0x0100,
204                 "Nokia",
205                 "N80",
206                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
207                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
208
209 /* Reported by Matthew Bloch <[email protected]> */
210 UNUSUAL_DEV(  0x0421, 0x044e, 0x0100, 0x0100,
211                 "Nokia",
212                 "E61",
213                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
214                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
215
216 /* Reported by Bardur Arantsson <[email protected]> */
217 UNUSUAL_DEV(  0x0421, 0x047c, 0x0370, 0x0610,
218                 "Nokia",
219                 "6131",
220                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
221                 US_FL_MAX_SECTORS_64 ),
222
223 /* Reported by Manuel Osdoba <[email protected]> */
224 UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
225                 "Nokia",
226                 "Nokia 6233",
227                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
228                 US_FL_MAX_SECTORS_64 ),
229
230 /* Reported by Alex Corcoles <[email protected]> */
231 UNUSUAL_DEV(  0x0421, 0x0495, 0x0370, 0x0370,
232                 "Nokia",
233                 "6234",
234                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
235                 US_FL_MAX_SECTORS_64 ),
236
237 /* Reported by Daniele Forsi <[email protected]> */
238 UNUSUAL_DEV(  0x0421, 0x04b9, 0x0350, 0x0350,
239                 "Nokia",
240                 "5300",
241                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
242                 US_FL_MAX_SECTORS_64 ),
243
244 /* Patch submitted by Victor A. Santos <[email protected]> */
245 UNUSUAL_DEV(  0x0421, 0x05af, 0x0742, 0x0742,
246                 "Nokia",
247                 "305",
248                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
249                 US_FL_MAX_SECTORS_64),
250
251 /* Patch submitted by Mikhail Zolotaryov <[email protected]> */
252 UNUSUAL_DEV(  0x0421, 0x06aa, 0x1110, 0x1110,
253                 "Nokia",
254                 "502",
255                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
256                 US_FL_MAX_SECTORS_64 ),
257
258 /* Added by Lubomir Rintel <[email protected]>, a very fine chap */
259 UNUSUAL_DEV(  0x0421, 0x06c2, 0x0000, 0x0406,
260                 "Nokia",
261                 "Nokia 208",
262                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
263                 US_FL_MAX_SECTORS_64 ),
264
265 #ifdef NO_SDDR09
266 UNUSUAL_DEV(  0x0436, 0x0005, 0x0100, 0x0100,
267                 "Microtech",
268                 "CameraMate",
269                 USB_SC_SCSI, USB_PR_CB, NULL,
270                 US_FL_SINGLE_LUN ),
271 #endif
272
273 /*
274  * Patch submitted by Daniel Drake <[email protected]>
275  * Device reports nonsense bInterfaceProtocol 6 when connected over USB2
276  */
277 UNUSUAL_DEV(  0x0451, 0x5416, 0x0100, 0x0100,
278                 "Neuros Audio",
279                 "USB 2.0 HD 2.5",
280                 USB_SC_DEVICE, USB_PR_BULK, NULL,
281                 US_FL_NEED_OVERRIDE ),
282
283 /*
284  * Pete Zaitcev <[email protected]>, from Patrick C. F. Ernzer, bz#162559.
285  * The key does not actually break, but it returns zero sense which
286  * makes our SCSI stack to print confusing messages.
287  */
288 UNUSUAL_DEV(  0x0457, 0x0150, 0x0100, 0x0100,
289                 "USBest Technology",    /* sold by Transcend */
290                 "USB Mass Storage Device",
291                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
292
293 /*
294  * Bohdan Linda <[email protected]>
295  * 1GB USB sticks MyFlash High Speed. I have restricted
296  * the revision to my model only
297  */
298 UNUSUAL_DEV(  0x0457, 0x0151, 0x0100, 0x0100,
299                 "USB 2.0",
300                 "Flash Disk",
301                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
302                 US_FL_NOT_LOCKABLE ),
303
304 /*
305  * Reported by Tamas Kerecsen <[email protected]>
306  * Obviously the PROM has not been customized by the VAR;
307  * the Vendor and Product string descriptors are:
308  *      Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
309  *      Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
310  */
311 UNUSUAL_DEV(  0x045e, 0xffff, 0x0000, 0x0000,
312                 "Mitac",
313                 "GPS",
314                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
315                 US_FL_MAX_SECTORS_64 ),
316
317 /*
318  * This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
319  * Reported by Pete Zaitcev <[email protected]>
320  * This device chokes on both version of MODE SENSE which we have, so
321  * use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
322  */
323 UNUSUAL_DEV(  0x046b, 0xff40, 0x0100, 0x0100,
324                 "AMI",
325                 "Virtual Floppy",
326                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
327                 US_FL_NO_WP_DETECT),
328
329 /* Reported by Egbert Eich <[email protected]> */
330 UNUSUAL_DEV(  0x0480, 0xd010, 0x0100, 0x9999,
331                 "Toshiba",
332                 "External USB 3.0",
333                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
334                 US_FL_ALWAYS_SYNC),
335
336 /* Patch submitted by Philipp Friedrich <[email protected]> */
337 UNUSUAL_DEV(  0x0482, 0x0100, 0x0100, 0x0100,
338                 "Kyocera",
339                 "Finecam S3x",
340                 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
341
342 /* Patch submitted by Philipp Friedrich <[email protected]> */
343 UNUSUAL_DEV(  0x0482, 0x0101, 0x0100, 0x0100,
344                 "Kyocera",
345                 "Finecam S4",
346                 USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
347
348 /* Patch submitted by Stephane Galles <[email protected]> */
349 UNUSUAL_DEV(  0x0482, 0x0103, 0x0100, 0x0100,
350                 "Kyocera",
351                 "Finecam S5",
352                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
353
354 /* Patch submitted by Jens Taprogge <[email protected]> */
355 UNUSUAL_DEV(  0x0482, 0x0107, 0x0100, 0x0100,
356                 "Kyocera",
357                 "CONTAX SL300R T*",
358                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
359                 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
360
361 /*
362  * Reported by Paul Stewart <[email protected]>
363  * This entry is needed because the device reports Sub=ff
364  */
365 UNUSUAL_DEV(  0x04a4, 0x0004, 0x0001, 0x0001,
366                 "Hitachi",
367                 "DVD-CAM DZ-MV100A Camcorder",
368                 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
369
370 /*
371  * BENQ DC5330
372  * Reported by Manuel Fombuena <[email protected]> and
373  * Frank Copeland <[email protected]>
374  */
375 UNUSUAL_DEV(  0x04a5, 0x3010, 0x0100, 0x0100,
376                 "Tekom Technologies, Inc",
377                 "300_CAMERA",
378                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
379                 US_FL_IGNORE_RESIDUE ),
380
381 /*
382  * Patch for Nikon coolpix 2000
383  * Submitted by Fabien Cosse <[email protected]>
384  */
385 UNUSUAL_DEV(  0x04b0, 0x0301, 0x0010, 0x0010,
386                 "NIKON",
387                 "NIKON DSC E2000",
388                 USB_SC_DEVICE, USB_PR_DEVICE,NULL,
389                 US_FL_NOT_LOCKABLE ),
390
391 /* Reported by Doug Maxey ([email protected]) */
392 UNUSUAL_DEV(  0x04b3, 0x4001, 0x0110, 0x0110,
393                 "IBM",
394                 "IBM RSA2",
395                 USB_SC_DEVICE, USB_PR_CB, NULL,
396                 US_FL_MAX_SECTORS_MIN),
397
398 /*
399  * Reported by Simon Levitt <[email protected]>
400  * This entry needs Sub and Proto fields
401  */
402 UNUSUAL_DEV(  0x04b8, 0x0601, 0x0100, 0x0100,
403                 "Epson",
404                 "875DC Storage",
405                 USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
406
407 /*
408  * Reported by Khalid Aziz <[email protected]>
409  * This entry is needed because the device reports Sub=ff
410  */
411 UNUSUAL_DEV(  0x04b8, 0x0602, 0x0110, 0x0110,
412                 "Epson",
413                 "785EPX Storage",
414                 USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
415
416 /*
417  * Reported by James Buren <[email protected]>
418  * Virtual ISOs cannot be remounted if ejected while the device is locked
419  * Disable locking to mimic Windows behavior that bypasses the issue
420  */
421 UNUSUAL_DEV(  0x04c5, 0x2028, 0x0001, 0x0001,
422                 "iODD",
423                 "2531/2541",
424                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE),
425
426 /*
427  * Not sure who reported this originally but
428  * Pavel Machek <[email protected]> reported that the extra US_FL_SINGLE_LUN
429  * flag be added */
430 UNUSUAL_DEV(  0x04cb, 0x0100, 0x0000, 0x2210,
431                 "Fujifilm",
432                 "FinePix 1400Zoom",
433                 USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
434
435 /*
436  * Reported by Ondrej Zary <[email protected]>
437  * The device reports one sector more and breaks when that sector is accessed
438  * Firmwares older than 2.6c (the latest one and the only that claims Linux
439  * support) have also broken tag handling
440  */
441 UNUSUAL_DEV(  0x04ce, 0x0002, 0x0000, 0x026b,
442                 "ScanLogic",
443                 "SL11R-IDE",
444                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
445                 US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
446 UNUSUAL_DEV(  0x04ce, 0x0002, 0x026c, 0x026c,
447                 "ScanLogic",
448                 "SL11R-IDE",
449                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
450                 US_FL_FIX_CAPACITY),
451
452 /*
453  * Reported by Kriston Fincher <[email protected]>
454  * Patch submitted by Sean Millichamp <[email protected]>
455  * This is to support the Panasonic PalmCam PV-SD4090
456  * This entry is needed because the device reports Sub=ff 
457  */
458 UNUSUAL_DEV(  0x04da, 0x0901, 0x0100, 0x0200,
459                 "Panasonic",
460                 "LS-120 Camera",
461                 USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
462
463 /*
464  * From Yukihiro Nakai, via [email protected].
465  * This is needed for CB instead of CBI
466  */
467 UNUSUAL_DEV(  0x04da, 0x0d05, 0x0000, 0x0000,
468                 "Sharp CE-CW05",
469                 "CD-R/RW Drive",
470                 USB_SC_8070, USB_PR_CB, NULL, 0),
471
472 /* Reported by Adriaan Penning <[email protected]> */
473 UNUSUAL_DEV(  0x04da, 0x2372, 0x0000, 0x9999,
474                 "Panasonic",
475                 "DMC-LCx Camera",
476                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
477                 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
478
479 /* Reported by Simeon Simeonov <[email protected]> */
480 UNUSUAL_DEV(  0x04da, 0x2373, 0x0000, 0x9999,
481                 "LEICA",
482                 "D-LUX Camera",
483                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
484                 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
485
486 /*
487  * Most of the following entries were developed with the help of
488  * Shuttle/SCM directly.
489  */
490 UNUSUAL_DEV(  0x04e6, 0x0001, 0x0200, 0x0200,
491                 "Matshita",
492                 "LS-120",
493                 USB_SC_8020, USB_PR_CB, NULL, 0),
494
495 UNUSUAL_DEV(  0x04e6, 0x0002, 0x0100, 0x0100,
496                 "Shuttle",
497                 "eUSCSI Bridge",
498                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
499                 US_FL_SCM_MULT_TARG ),
500
501 #ifdef NO_SDDR09
502 UNUSUAL_DEV(  0x04e6, 0x0005, 0x0100, 0x0208,
503                 "SCM Microsystems",
504                 "eUSB CompactFlash Adapter",
505                 USB_SC_SCSI, USB_PR_CB, NULL,
506                 US_FL_SINGLE_LUN),
507 #endif
508
509 /* Reported by Markus Demleitner <[email protected]> */
510 UNUSUAL_DEV(  0x04e6, 0x0006, 0x0100, 0x0100,
511                 "SCM Microsystems Inc.",
512                 "eUSB MMC Adapter",
513                 USB_SC_SCSI, USB_PR_CB, NULL,
514                 US_FL_SINGLE_LUN),
515
516 /* Reported by Daniel Nouri <[email protected]> */
517 UNUSUAL_DEV(  0x04e6, 0x0006, 0x0205, 0x0205,
518                 "Shuttle",
519                 "eUSB MMC Adapter",
520                 USB_SC_SCSI, USB_PR_DEVICE, NULL,
521                 US_FL_SINGLE_LUN),
522
523 UNUSUAL_DEV(  0x04e6, 0x0007, 0x0100, 0x0200,
524                 "Sony",
525                 "Hifd",
526                 USB_SC_SCSI, USB_PR_CB, NULL,
527                 US_FL_SINGLE_LUN),
528
529 UNUSUAL_DEV(  0x04e6, 0x0009, 0x0200, 0x0200,
530                 "Shuttle",
531                 "eUSB ATA/ATAPI Adapter",
532                 USB_SC_8020, USB_PR_CB, NULL, 0),
533
534 UNUSUAL_DEV(  0x04e6, 0x000a, 0x0200, 0x0200,
535                 "Shuttle",
536                 "eUSB CompactFlash Adapter",
537                 USB_SC_8020, USB_PR_CB, NULL, 0),
538
539 UNUSUAL_DEV(  0x04e6, 0x000b, 0x0100, 0x0100,
540                 "Shuttle",
541                 "eUSCSI Bridge",
542                 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
543                 US_FL_SCM_MULT_TARG ), 
544
545 UNUSUAL_DEV(  0x04e6, 0x000c, 0x0100, 0x0100,
546                 "Shuttle",
547                 "eUSCSI Bridge",
548                 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
549                 US_FL_SCM_MULT_TARG ),
550
551 UNUSUAL_DEV(  0x04e6, 0x000f, 0x0000, 0x9999,
552                 "SCM Microsystems",
553                 "eUSB SCSI Adapter (Bus Powered)",
554                 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
555                 US_FL_SCM_MULT_TARG ),
556
557 UNUSUAL_DEV(  0x04e6, 0x0101, 0x0200, 0x0200,
558                 "Shuttle",
559                 "CD-RW Device",
560                 USB_SC_8020, USB_PR_CB, NULL, 0),
561
562 /* Reported by Dmitry Khlystov <[email protected]> */
563 UNUSUAL_DEV(  0x04e8, 0x507c, 0x0220, 0x0220,
564                 "Samsung",
565                 "YP-U3",
566                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
567                 US_FL_MAX_SECTORS_64),
568
569 /* Reported by Vitaly Kuznetsov <[email protected]> */
570 UNUSUAL_DEV(  0x04e8, 0x5122, 0x0000, 0x9999,
571                 "Samsung",
572                 "YP-CP3",
573                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
574                 US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
575
576 /* Added by Dmitry Artamonow <[email protected]> */
577 UNUSUAL_DEV(  0x04e8, 0x5136, 0x0000, 0x9999,
578                 "Samsung",
579                 "YP-Z3",
580                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
581                 US_FL_MAX_SECTORS_64),
582
583 /*
584  * Entry and supporting patch by Theodore Kilgore <[email protected]>.
585  * Device uses standards-violating 32-byte Bulk Command Block Wrappers and
586  * reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
587  */
588 UNUSUAL_DEV(  0x04fc, 0x80c2, 0x0100, 0x0100,
589                 "Kobian Mercury",
590                 "Binocam DCB-132",
591                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
592                 US_FL_BULK32),
593
594 /* Reported by Bob Sass <[email protected]> -- only rev 1.33 tested */
595 UNUSUAL_DEV(  0x050d, 0x0115, 0x0133, 0x0133,
596                 "Belkin",
597                 "USB SCSI Adaptor",
598                 USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
599                 US_FL_SCM_MULT_TARG ),
600
601 /*
602  * Iomega Clik! Drive 
603  * Reported by David Chatenay <[email protected]>
604  * The reason this is needed is not fully known.
605  */
606 UNUSUAL_DEV(  0x0525, 0xa140, 0x0100, 0x0100,
607                 "Iomega",
608                 "USB Clik! 40",
609                 USB_SC_8070, USB_PR_DEVICE, NULL,
610                 US_FL_FIX_INQUIRY ),
611
612 /* Added by Alan Stern <[email protected]> */
613 COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
614                 "Linux",
615                 "File-backed Storage Gadget",
616                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
617                 US_FL_CAPACITY_OK ),
618
619 /*
620  * Yakumo Mega Image 37
621  * Submitted by Stephan Fuhrmann <[email protected]> */
622 UNUSUAL_DEV(  0x052b, 0x1801, 0x0100, 0x0100,
623                 "Tekom Technologies, Inc",
624                 "300_CAMERA",
625                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
626                 US_FL_IGNORE_RESIDUE ),
627
628 /*
629  * Another Yakumo camera.
630  * Reported by Michele Alzetta <[email protected]>
631  */
632 UNUSUAL_DEV(  0x052b, 0x1804, 0x0100, 0x0100,
633                 "Tekom Technologies, Inc",
634                 "300_CAMERA",
635                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
636                 US_FL_IGNORE_RESIDUE ),
637
638 /* Reported by Iacopo Spalletti <[email protected]> */
639 UNUSUAL_DEV(  0x052b, 0x1807, 0x0100, 0x0100,
640                 "Tekom Technologies, Inc",
641                 "300_CAMERA",
642                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
643                 US_FL_IGNORE_RESIDUE ),
644
645 /*
646  * Yakumo Mega Image 47
647  * Reported by Bjoern Paetzel <[email protected]>
648  */
649 UNUSUAL_DEV(  0x052b, 0x1905, 0x0100, 0x0100,
650                 "Tekom Technologies, Inc",
651                 "400_CAMERA",
652                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
653                 US_FL_IGNORE_RESIDUE ),
654
655 /*
656  * Reported by Paul Ortyl <[email protected]>
657  * Note that it's similar to the device above, only different prodID
658  */
659 UNUSUAL_DEV(  0x052b, 0x1911, 0x0100, 0x0100,
660                 "Tekom Technologies, Inc",
661                 "400_CAMERA",
662                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
663                 US_FL_IGNORE_RESIDUE ),
664
665 UNUSUAL_DEV(  0x054c, 0x0010, 0x0106, 0x0450,
666                 "Sony",
667                 "DSC-S30/S70/S75/505V/F505/F707/F717/P8",
668                 USB_SC_SCSI, USB_PR_DEVICE, NULL,
669                 US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
670
671 /*
672  * Submitted by Lars Jacob <[email protected]>
673  * This entry is needed because the device reports Sub=ff
674  */
675 UNUSUAL_DEV(  0x054c, 0x0010, 0x0500, 0x0610,
676                 "Sony",
677                 "DSC-T1/T5/H5",
678                 USB_SC_8070, USB_PR_DEVICE, NULL,
679                 US_FL_SINGLE_LUN ),
680
681
682 /* Reported by [email protected] */
683 UNUSUAL_DEV(  0x054c, 0x0025, 0x0100, 0x0100,
684                 "Sony",
685                 "Memorystick NW-MS7",
686                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
687                 US_FL_SINGLE_LUN ),
688
689 /* Submitted by Olaf Hering, <[email protected]> SuSE Bugzilla #49049 */
690 UNUSUAL_DEV(  0x054c, 0x002c, 0x0501, 0x2000,
691                 "Sony",
692                 "USB Floppy Drive",
693                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
694                 US_FL_SINGLE_LUN ),
695
696 UNUSUAL_DEV(  0x054c, 0x002d, 0x0100, 0x0100,
697                 "Sony",
698                 "Memorystick MSAC-US1",
699                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
700                 US_FL_SINGLE_LUN ),
701
702 /* Submitted by Klaus Mueller <[email protected]> */
703 UNUSUAL_DEV(  0x054c, 0x002e, 0x0106, 0x0310,
704                 "Sony",
705                 "Handycam",
706                 USB_SC_SCSI, USB_PR_DEVICE, NULL,
707                 US_FL_SINGLE_LUN ),
708
709 /* Submitted by Rajesh Kumble Nayak <[email protected]> */
710 UNUSUAL_DEV(  0x054c, 0x002e, 0x0500, 0x0500,
711                 "Sony",
712                 "Handycam HC-85",
713                 USB_SC_UFI, USB_PR_DEVICE, NULL,
714                 US_FL_SINGLE_LUN ),
715
716 UNUSUAL_DEV(  0x054c, 0x0032, 0x0000, 0x9999,
717                 "Sony",
718                 "Memorystick MSC-U01N",
719                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
720                 US_FL_SINGLE_LUN ),
721
722 /* Submitted by Michal Mlotek <[email protected]> */
723 UNUSUAL_DEV(  0x054c, 0x0058, 0x0000, 0x9999,
724                 "Sony",
725                 "PEG N760c Memorystick",
726                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
727                 US_FL_FIX_INQUIRY ),
728                 
729 UNUSUAL_DEV(  0x054c, 0x0069, 0x0000, 0x9999,
730                 "Sony",
731                 "Memorystick MSC-U03",
732                 USB_SC_UFI, USB_PR_CB, NULL,
733                 US_FL_SINGLE_LUN ),
734
735 /* Submitted by Nathan Babb <[email protected]> */
736 UNUSUAL_DEV(  0x054c, 0x006d, 0x0000, 0x9999,
737                 "Sony",
738                 "PEG Mass Storage",
739                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
740                 US_FL_FIX_INQUIRY ),
741
742 /* Submitted by Frank Engel <[email protected]> */
743 UNUSUAL_DEV(  0x054c, 0x0099, 0x0000, 0x9999,
744                 "Sony",
745                 "PEG Mass Storage",
746                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
747                 US_FL_FIX_INQUIRY ),
748
749 /* Submitted by Mike Alborn <[email protected]> */
750 UNUSUAL_DEV(  0x054c, 0x016a, 0x0000, 0x9999,
751                 "Sony",
752                 "PEG Mass Storage",
753                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
754                 US_FL_FIX_INQUIRY ),
755
756 /* Submitted by Ren Bigcren <[email protected]> */
757 UNUSUAL_DEV(  0x054c, 0x02a5, 0x0100, 0x0100,
758                 "Sony Corp.",
759                 "MicroVault Flash Drive",
760                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
761                 US_FL_NO_READ_CAPACITY_16 ),
762
763 /* floppy reports multiple luns */
764 UNUSUAL_DEV(  0x055d, 0x2020, 0x0000, 0x0210,
765                 "SAMSUNG",
766                 "SFD-321U [FW 0C]",
767                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
768                 US_FL_SINGLE_LUN ),
769
770 /* We keep this entry to force the transport; firmware 3.00 and later is ok. */
771 UNUSUAL_DEV(  0x057b, 0x0000, 0x0000, 0x0299,
772                 "Y-E Data",
773                 "Flashbuster-U",
774                 USB_SC_DEVICE,  USB_PR_CB, NULL,
775                 US_FL_SINGLE_LUN),
776
777 /*
778  * Reported by Johann Cardon <[email protected]>
779  * This entry is needed only because the device reports
780  * bInterfaceClass = 0xff (vendor-specific)
781  */
782 UNUSUAL_DEV(  0x057b, 0x0022, 0x0000, 0x9999,
783                 "Y-E Data",
784                 "Silicon Media R/W",
785                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
786
787 /* Reported by RTE <[email protected]> */
788 UNUSUAL_DEV(  0x058f, 0x6387, 0x0141, 0x0141,
789                 "JetFlash",
790                 "TS1GJF2A/120",
791                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
792                 US_FL_MAX_SECTORS_64 ),
793
794 /* Fabrizio Fellini <[email protected]> */
795 UNUSUAL_DEV(  0x0595, 0x4343, 0x0000, 0x2210,
796                 "Fujifilm",
797                 "Digital Camera EX-20 DSC",
798                 USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
799
800 /*
801  * Reported by Andre Welter <[email protected]>
802  * This antique device predates the release of the Bulk-only Transport
803  * spec, and if it gets a Get-Max-LUN then it requires the host to do a
804  * Clear-Halt on the bulk endpoints.  The SINGLE_LUN flag will prevent
805  * us from sending the request.
806  */
807 UNUSUAL_DEV(  0x059b, 0x0001, 0x0100, 0x0100,
808                 "Iomega",
809                 "ZIP 100",
810                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
811                 US_FL_SINGLE_LUN ),
812
813 UNUSUAL_DEV(  0x059b, 0x0040, 0x0100, 0x0100,
814                 "Iomega",
815                 "Jaz USB Adapter",
816                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
817                 US_FL_SINGLE_LUN ),
818
819 /* Reported by <[email protected]> */
820 UNUSUAL_DEV(  0x059f, 0x0643, 0x0000, 0x0000,
821                 "LaCie",
822                 "DVD+-RW",
823                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
824                 US_FL_GO_SLOW ),
825
826 /* Reported by Christian Schaller <[email protected]> */
827 UNUSUAL_DEV(  0x059f, 0x0651, 0x0000, 0x0000,
828                 "LaCie",
829                 "External HDD",
830                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
831                 US_FL_NO_WP_DETECT ),
832
833 /*
834  * Submitted by Joel Bourquard <[email protected]>
835  * Some versions of this device need the SubClass and Protocol overrides
836  * while others don't.
837  */
838 UNUSUAL_DEV(  0x05ab, 0x0060, 0x1104, 0x1110,
839                 "In-System",
840                 "PyroGate External CD-ROM Enclosure (FCD-523)",
841                 USB_SC_SCSI, USB_PR_BULK, NULL,
842                 US_FL_NEED_OVERRIDE ),
843
844 /*
845  * Submitted by Sven Anderson <[email protected]>
846  * There are at least four ProductIDs used for iPods, so I added 0x1202 and
847  * 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
848  * to change with firmware updates, I changed the range to maximum for all
849  * iPod entries.
850  */
851 UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
852                 "Apple",
853                 "iPod",
854                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
855                 US_FL_FIX_CAPACITY ),
856
857 /* Reported by Avi Kivity <[email protected]> */
858 UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
859                 "Apple",
860                 "iPod",
861                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
862                 US_FL_FIX_CAPACITY ),
863
864 UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
865                 "Apple",
866                 "iPod",
867                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
868                 US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
869
870 UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
871                 "Apple",
872                 "iPod",
873                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
874                 US_FL_FIX_CAPACITY ),
875
876 /*
877  * Reported by Tyson Vinson <[email protected]>
878  * This particular productId is the iPod Nano
879  */
880 UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
881                 "Apple",
882                 "iPod",
883                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
884                 US_FL_FIX_CAPACITY ),
885
886 /*
887  * Reported by Dan Williams <[email protected]>
888  * Option N.V. mobile broadband modems
889  * Ignore driver CD mode and force into modem mode by default.
890  */
891
892 /* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
893 UNUSUAL_DEV(  0x05c6, 0x1000, 0x0000, 0x9999,
894                 "Option N.V.",
895                 "Mass Storage",
896                 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
897                 0),
898
899 /* Reported by Blake Matheny <[email protected]> */
900 UNUSUAL_DEV(  0x05dc, 0xb002, 0x0000, 0x0113,
901                 "Lexar",
902                 "USB CF Reader",
903                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
904                 US_FL_FIX_INQUIRY ),
905
906 /*
907  * The following two entries are for a Genesys USB to IDE
908  * converter chip, but it changes its ProductId depending
909  * on whether or not a disk or an optical device is enclosed
910  * They were originally reported by Alexander Oltu
911  * <[email protected]> and Peter Marks <[email protected]>
912  * respectively.
913  *
914  * US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
915  * <[email protected]> as these flags were made and hard-coded
916  * special-cases were pulled from scsiglue.c.
917  */
918 UNUSUAL_DEV(  0x05e3, 0x0701, 0x0000, 0xffff,
919                 "Genesys Logic",
920                 "USB to IDE Optical",
921                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
922                 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
923
924 UNUSUAL_DEV(  0x05e3, 0x0702, 0x0000, 0xffff,
925                 "Genesys Logic",
926                 "USB to IDE Disk",
927                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
928                 US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
929
930 /* Reported by Ben Efros <[email protected]> */
931 UNUSUAL_DEV(  0x05e3, 0x0723, 0x9451, 0x9451,
932                 "Genesys Logic",
933                 "USB to SATA",
934                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
935                 US_FL_SANE_SENSE ),
936
937 /*
938  * Reported by Hanno Boeck <[email protected]>
939  * Taken from the Lycoris Kernel
940  */
941 UNUSUAL_DEV(  0x0636, 0x0003, 0x0000, 0x9999,
942                 "Vivitar",
943                 "Vivicam 35Xx",
944                 USB_SC_SCSI, USB_PR_BULK, NULL,
945                 US_FL_FIX_INQUIRY ),
946
947 UNUSUAL_DEV(  0x0644, 0x0000, 0x0100, 0x0100,
948                 "TEAC",
949                 "Floppy Drive",
950                 USB_SC_UFI, USB_PR_CB, NULL, 0 ),
951
952 /* Reported by Darsen Lu <[email protected]> */
953 UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
954                 "SigmaTel",
955                 "USBMSC Audio Player",
956                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
957                 US_FL_FIX_CAPACITY ),
958
959 /* Reported by Daniel Kukula <[email protected]> */
960 UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
961                 "Prolific Technology, Inc.",
962                 "Prolific Storage Gadget",
963                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
964                 US_FL_BAD_SENSE ),
965
966 /* Reported by Rogerio Brito <[email protected]> */
967 UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
968                 "Prolific Technology, Inc.",
969                 "Mass Storage Device",
970                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
971                 US_FL_NOT_LOCKABLE ),
972
973 /* Reported by Richard -=[]=- <[email protected]> */
974 /*
975  * Change to bcdDeviceMin (0x0100 to 0x0001) reported by
976  * Thomas Bartosik <[email protected]>
977  */
978 UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
979                 "Prolific Technology Inc.",
980                 "Mass Storage Device",
981                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
982                 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
983
984 /* Reported by Alex Butcher <[email protected]> */
985 UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
986                 "Prolific Technology Inc.",
987                 "ATAPI-6 Bridge Controller",
988                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
989                 US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
990
991 /* Submitted by Benny Sjostrand <[email protected]> */
992 UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
993                 "Minolta",
994                 "Dimage F300",
995                 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
996
997 /* Reported by Miguel A. Fosas <[email protected]> */
998 UNUSUAL_DEV(  0x0686, 0x4017, 0x0001, 0x0001,
999                 "Minolta",
1000                 "DIMAGE E223",
1001                 USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
1002
1003 UNUSUAL_DEV(  0x0693, 0x0005, 0x0100, 0x0100,
1004                 "Hagiwara",
1005                 "Flashgate",
1006                 USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
1007
1008 /* Reported by David Hamilton <[email protected]> */
1009 UNUSUAL_DEV(  0x069b, 0x3004, 0x0001, 0x0001,
1010                 "Thomson Multimedia Inc.",
1011                 "RCA RD1080 MP3 Player",
1012                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1013                 US_FL_FIX_CAPACITY ),
1014
1015 UNUSUAL_DEV(  0x06ca, 0x2003, 0x0100, 0x0100,
1016                 "Newer Technology",
1017                 "uSCSI",
1018                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1019                 US_FL_SCM_MULT_TARG ),
1020
1021 /* Reported by Adrian Pilchowiec <[email protected]> */
1022 UNUSUAL_DEV(  0x071b, 0x3203, 0x0000, 0x0000,
1023                 "RockChip",
1024                 "MP3",
1025                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1026                 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
1027                 US_FL_NO_READ_CAPACITY_16),
1028
1029 /*
1030  * Reported by Jean-Baptiste Onofre <[email protected]>
1031  * Support the following product :
1032  *    "Dane-Elec MediaTouch"
1033  */
1034 UNUSUAL_DEV(  0x071b, 0x32bb, 0x0000, 0x0000,
1035                 "RockChip",
1036                 "MTP",
1037                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1038                 US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
1039
1040 /*
1041  * Reported by Massimiliano Ghilardi <[email protected]>
1042  * This USB MP3/AVI player device fails and disconnects if more than 128
1043  * sectors (64kB) are read/written in a single command, and may be present
1044  * at least in the following products:
1045  *   "Magnex Digital Video Panel DVP 1800"
1046  *   "MP4 AIGO 4GB SLOT SD"
1047  *   "Teclast TL-C260 MP3"
1048  *   "i.Meizu PMP MP3/MP4"
1049  *   "Speed MV8 MP4 Audio Player"
1050  */
1051 UNUSUAL_DEV(  0x071b, 0x3203, 0x0100, 0x0100,
1052                 "RockChip",
1053                 "ROCK MP3",
1054                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1055                 US_FL_MAX_SECTORS_64),
1056
1057 /* Reported by Olivier Blondeau <[email protected]> */
1058 UNUSUAL_DEV(  0x0727, 0x0306, 0x0100, 0x0100,
1059                 "ATMEL",
1060                 "SND1 Storage",
1061                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1062                 US_FL_IGNORE_RESIDUE),
1063
1064 /* Submitted by Roman Hodek <[email protected]> */
1065 UNUSUAL_DEV(  0x0781, 0x0001, 0x0200, 0x0200,
1066                 "Sandisk",
1067                 "ImageMate SDDR-05a",
1068                 USB_SC_SCSI, USB_PR_CB, NULL,
1069                 US_FL_SINGLE_LUN ),
1070
1071 UNUSUAL_DEV(  0x0781, 0x0002, 0x0009, 0x0009,
1072                 "SanDisk Corporation",
1073                 "ImageMate CompactFlash USB",
1074                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1075                 US_FL_FIX_CAPACITY ),
1076
1077 UNUSUAL_DEV(  0x0781, 0x0100, 0x0100, 0x0100,
1078                 "Sandisk",
1079                 "ImageMate SDDR-12",
1080                 USB_SC_SCSI, USB_PR_CB, NULL,
1081                 US_FL_SINGLE_LUN ),
1082
1083 /* Reported by Eero Volotinen <[email protected]> */
1084 UNUSUAL_DEV(  0x07ab, 0xfccd, 0x0000, 0x9999,
1085                 "Freecom Technologies",
1086                 "FHD-Classic",
1087                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1088                 US_FL_FIX_CAPACITY),
1089
1090 UNUSUAL_DEV(  0x07af, 0x0004, 0x0100, 0x0133,
1091                 "Microtech",
1092                 "USB-SCSI-DB25",
1093                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1094                 US_FL_SCM_MULT_TARG ), 
1095
1096 UNUSUAL_DEV(  0x07af, 0x0005, 0x0100, 0x0100,
1097                 "Microtech",
1098                 "USB-SCSI-HD50",
1099                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1100                 US_FL_SCM_MULT_TARG ),
1101
1102 #ifdef NO_SDDR09
1103 UNUSUAL_DEV(  0x07af, 0x0006, 0x0100, 0x0100,
1104                 "Microtech",
1105                 "CameraMate",
1106                 USB_SC_SCSI, USB_PR_CB, NULL,
1107                 US_FL_SINGLE_LUN ),
1108 #endif
1109
1110 /*
1111  * Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
1112  * Only revision 1.13 tested (same for all of the above devices,
1113  * based on the Datafab DF-UG-07 chip).  Needed for US_FL_FIX_INQUIRY.
1114  * Submitted by Marek Michalkiewicz <[email protected]>.
1115  * See also http://martin.wilck.bei.t-online.de/#kecf .
1116  */
1117 UNUSUAL_DEV(  0x07c4, 0xa400, 0x0000, 0xffff,
1118                 "Datafab",
1119                 "KECF-USB",
1120                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1121                 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
1122
1123 /*
1124  * Reported by Rauch Wolke <[email protected]>
1125  * and augmented by binbin <[email protected]> (Bugzilla #12882)
1126  */
1127 UNUSUAL_DEV(  0x07c4, 0xa4a5, 0x0000, 0xffff,
1128                 "Simple Tech/Datafab",
1129                 "CF+SM Reader",
1130                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1131                 US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
1132
1133 /*
1134  * Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
1135  * to the USB storage specification in two ways:
1136  * - They tell us they are using transport protocol CBI. In reality they
1137  *   are using transport protocol CB.
1138  * - They don't like the INQUIRY command. So we must handle this command
1139  *   of the SCSI layer ourselves.
1140  * - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
1141  *   bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
1142  *   So don't remove the USB_PR_CB override!
1143  * - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
1144  */
1145 UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
1146                 "Casio",
1147                 "QV DigitalCamera",
1148                 USB_SC_8070, USB_PR_CB, NULL,
1149                 US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
1150
1151 /* Submitted by Oleksandr Chumachenko <[email protected]> */
1152 UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
1153                 "Casio",
1154                 "EX-N1 DigitalCamera",
1155                 USB_SC_8070, USB_PR_DEVICE, NULL, 0),
1156
1157 /* Submitted by Hartmut Wahl <[email protected]>*/
1158 UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
1159                 "Samsung",
1160                 "Digimax 410",
1161                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1162                 US_FL_FIX_INQUIRY),
1163
1164 /* Reported by Luciano Rocha <[email protected]> */
1165 UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
1166                 "Argosy",
1167                 "Storage",
1168                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1169                 US_FL_FIX_CAPACITY),
1170
1171 /* Reported and patched by Nguyen Anh Quynh <[email protected]> */
1172 UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
1173                 "Argosy",
1174                 "Storage",
1175                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1176                 US_FL_FIX_CAPACITY),
1177
1178 /* Reported by Martijn Hijdra <[email protected]> */
1179 UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
1180                 "Argosy",
1181                 "Storage",
1182                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1183                 US_FL_FIX_CAPACITY),
1184
1185 /* Supplied with some Castlewood ORB removable drives */
1186 UNUSUAL_DEV(  0x084b, 0xa001, 0x0000, 0x9999,
1187                 "Castlewood Systems",
1188                 "USB to SCSI cable",
1189                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1190                 US_FL_SCM_MULT_TARG ),
1191
1192 /*
1193  * Entry and supporting patch by Theodore Kilgore <[email protected]>.
1194  * Flag will support Bulk devices which use a standards-violating 32-byte
1195  * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
1196  * Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
1197  */
1198
1199 UNUSUAL_DEV(  0x084d, 0x0011, 0x0110, 0x0110,
1200                 "Grandtech",
1201                 "DC2MEGA",
1202                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1203                 US_FL_BULK32),
1204
1205 /*
1206  * Reported by <[email protected]>
1207  * The device reports a vendor-specific device class, requiring an
1208  * explicit vendor/product match.
1209  */
1210 UNUSUAL_DEV(  0x0851, 0x1542, 0x0002, 0x0002,
1211                 "MagicPixel",
1212                 "FW_Omega2",
1213                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
1214
1215 /*
1216  * Andrew Lunn <[email protected]>
1217  * PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
1218  * on LUN 4.
1219  * Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
1220  */
1221 UNUSUAL_DEV(  0x0851, 0x1543, 0x0200, 0x0200,
1222                 "PanDigital",
1223                 "Photo Frame",
1224                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1225                 US_FL_NOT_LOCKABLE),
1226
1227 UNUSUAL_DEV(  0x085a, 0x0026, 0x0100, 0x0133,
1228                 "Xircom",
1229                 "PortGear USB-SCSI (Mac USB Dock)",
1230                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1231                 US_FL_SCM_MULT_TARG ),
1232
1233 UNUSUAL_DEV(  0x085a, 0x0028, 0x0100, 0x0133,
1234                 "Xircom",
1235                 "PortGear USB to SCSI Converter",
1236                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1237                 US_FL_SCM_MULT_TARG ),
1238
1239 /* Submitted by Jan De Luyck <[email protected]> */
1240 UNUSUAL_DEV(  0x08bd, 0x1100, 0x0000, 0x0000,
1241                 "CITIZEN",
1242                 "X1DE-USB",
1243                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1244                 US_FL_SINGLE_LUN),
1245
1246 /*
1247  * Submitted by Dylan Taft <[email protected]>
1248  * US_FL_IGNORE_RESIDUE Needed
1249  */
1250 UNUSUAL_DEV(  0x08ca, 0x3103, 0x0100, 0x0100,
1251                 "AIPTEK",
1252                 "Aiptek USB Keychain MP3 Player",
1253                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1254                 US_FL_IGNORE_RESIDUE),
1255
1256 /*
1257  * Entry needed for flags. Moreover, all devices with this ID use
1258  * bulk-only transport, but _some_ falsely report Control/Bulk instead.
1259  * One example is "Trumpion Digital Research MYMP3".
1260  * Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
1261  */
1262 UNUSUAL_DEV(  0x090a, 0x1001, 0x0100, 0x0100,
1263                 "Trumpion",
1264                 "t33520 USB Flash Card Controller",
1265                 USB_SC_DEVICE, USB_PR_BULK, NULL,
1266                 US_FL_NEED_OVERRIDE ),
1267
1268 /*
1269  * Reported by Filippo Bardelli <[email protected]>
1270  * The device reports a subclass of RBC, which is wrong.
1271  */
1272 UNUSUAL_DEV(  0x090a, 0x1050, 0x0100, 0x0100,
1273                 "Trumpion Microelectronics, Inc.",
1274                 "33520 USB Digital Voice Recorder",
1275                 USB_SC_UFI, USB_PR_DEVICE, NULL,
1276                 0),
1277
1278 /* Trumpion Microelectronics MP3 player ([email protected]) */
1279 UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
1280                 "Trumpion",
1281                 "MP3 player",
1282                 USB_SC_RBC, USB_PR_BULK, NULL,
1283                 0 ),
1284
1285 /* aeb */
1286 UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
1287                 "Feiya",
1288                 "5-in-1 Card Reader",
1289                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1290                 US_FL_FIX_CAPACITY ),
1291
1292 /*
1293  * Reported by Icenowy Zheng <[email protected]>
1294  * The SMI SM3350 USB-UFS bridge controller will enter a wrong state
1295  * that do not process read/write command if a long sense is requested,
1296  * so force to use 18-byte sense.
1297  */
1298 UNUSUAL_DEV(  0x090c, 0x3350, 0x0000, 0xffff,
1299                 "SMI",
1300                 "SM3350 UFS-to-USB-Mass-Storage bridge",
1301                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1302                 US_FL_BAD_SENSE ),
1303
1304 /*
1305  * Reported by Paul Hartman <[email protected]>
1306  * This card reader returns "Illegal Request, Logical Block Address
1307  * Out of Range" for the first READ(10) after a new card is inserted.
1308  */
1309 UNUSUAL_DEV(  0x090c, 0x6000, 0x0100, 0x0100,
1310                 "Feiya",
1311                 "SD/SDHC Card Reader",
1312                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1313                 US_FL_INITIAL_READ10 ),
1314
1315 /*
1316  * Patch by Tasos Sahanidis <[email protected]>
1317  * This flash drive always shows up with write protect enabled
1318  * during the first mode sense.
1319  */
1320 UNUSUAL_DEV(0x0951, 0x1697, 0x0100, 0x0100,
1321                 "Kingston",
1322                 "DT Ultimate G3",
1323                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1324                 US_FL_NO_WP_DETECT),
1325
1326 /*
1327  * This Pentax still camera is not conformant
1328  * to the USB storage specification: -
1329  * - It does not like the INQUIRY command. So we must handle this command
1330  *   of the SCSI layer ourselves.
1331  * Tested on Rev. 10.00 (0x1000)
1332  * Submitted by James Courtier-Dutton <[email protected]>
1333  */
1334 UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
1335                 "Pentax",
1336                 "Optio 2/3/400",
1337                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1338                 US_FL_FIX_INQUIRY ),
1339
1340 /*
1341  * These are virtual windows driver CDs, which the zd1211rw driver
1342  * automatically converts into WLAN devices.
1343  */
1344 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
1345                 "ZyXEL",
1346                 "G-220F USB-WLAN Install",
1347                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1348                 US_FL_IGNORE_DEVICE ),
1349
1350 UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
1351                 "SiteCom",
1352                 "WL-117 USB-WLAN Install",
1353                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1354                 US_FL_IGNORE_DEVICE ),
1355
1356 /*
1357  * Reported by Dan Williams <[email protected]>
1358  * Option N.V. mobile broadband modems
1359  * Ignore driver CD mode and force into modem mode by default.
1360  */
1361
1362 /* iCON 225 */
1363 UNUSUAL_DEV(  0x0af0, 0x6971, 0x0000, 0x9999,
1364                 "Option N.V.",
1365                 "Mass Storage",
1366                 USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
1367                 0),
1368
1369 /*
1370  * Reported by F. Aben <[email protected]>
1371  * This device (wrongly) has a vendor-specific device descriptor.
1372  * The entry is needed so usb-storage can bind to it's mass-storage
1373  * interface as an interface driver
1374  */
1375 UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
1376                 "Option",
1377                 "GI 0401 SD-Card",
1378                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1379                 0 ),
1380
1381 /*
1382  * Reported by Jan Dumon <[email protected]>
1383  * These devices (wrongly) have a vendor-specific device descriptor.
1384  * These entries are needed so usb-storage can bind to their mass-storage
1385  * interface as an interface driver
1386  */
1387 UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
1388                 "Option",
1389                 "GI 0431 SD-Card",
1390                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1391                 0 ),
1392
1393 UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
1394                 "Option",
1395                 "GI 0451 SD-Card",
1396                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1397                 0 ),
1398
1399 UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
1400                 "Option",
1401                 "GI 0451 SD-Card",
1402                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1403                 0 ),
1404
1405 UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
1406                 "Option",
1407                 "GI 0452 SD-Card",
1408                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1409                 0 ),
1410
1411 UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
1412                 "Option",
1413                 "GI 0461 SD-Card",
1414                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1415                 0 ),
1416
1417 UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
1418                 "Option",
1419                 "GI 0461 SD-Card",
1420                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1421                 0 ),
1422
1423 UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
1424                 "Option",
1425                 "GI 033x SD-Card",
1426                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1427                 0 ),
1428
1429 UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
1430                 "Option",
1431                 "GI 033x SD-Card",
1432                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1433                 0 ),
1434
1435 UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
1436                 "Option",
1437                 "GI 033x SD-Card",
1438                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1439                 0 ),
1440
1441 UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
1442                 "Option",
1443                 "GI 070x SD-Card",
1444                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1445                 0 ),
1446
1447 UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
1448                 "Option",
1449                 "GI 1505 SD-Card",
1450                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1451                 0 ),
1452
1453 UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
1454                 "Option",
1455                 "GI 1509 SD-Card",
1456                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1457                 0 ),
1458
1459 UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
1460                 "Option",
1461                 "GI 1515 SD-Card",
1462                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1463                 0 ),
1464
1465 UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
1466                 "Option",
1467                 "GI 1215 SD-Card",
1468                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1469                 0 ),
1470
1471 UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
1472                 "Option",
1473                 "GI 1505 SD-Card",
1474                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1475                 0 ),
1476
1477 /* Reported by Namjae Jeon <[email protected]> */
1478 UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
1479                 "Seagate",
1480                 "Portable HDD",
1481                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1482
1483 /* Reported by Ben Efros <[email protected]> */
1484 UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
1485                 "Seagate",
1486                 "FreeAgent Pro",
1487                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1488                 US_FL_SANE_SENSE ),
1489
1490 /* Reported by Kris Lindgren <[email protected]> */
1491 UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
1492                 "Seagate",
1493                 "External",
1494                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1495                 US_FL_NO_WP_DETECT ),
1496
1497 UNUSUAL_DEV(  0x0d49, 0x7310, 0x0000, 0x9999,
1498                 "Maxtor",
1499                 "USB to SATA",
1500                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1501                 US_FL_SANE_SENSE),
1502
1503 /*
1504  * Pete Zaitcev <[email protected]>, bz#164688.
1505  * The device blatantly ignores LUN and returns 1 in GetMaxLUN.
1506  */
1507 UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
1508                 "Unknown",
1509                 "Unknown",
1510                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1511                 US_FL_SINGLE_LUN ),
1512
1513 /* Submitted by Joris Struyve <[email protected]> */
1514 UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
1515                 "Medion",
1516                 "MD 7425",
1517                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1518                 US_FL_FIX_INQUIRY),
1519
1520 /*
1521  * Entry for Jenoptik JD 5200z3
1522  *
1523  * email: [email protected]
1524  */
1525 UNUSUAL_DEV(  0x0d96, 0x5200, 0x0001, 0x0200,
1526                 "Jenoptik",
1527                 "JD 5200 z3",
1528                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
1529
1530 /* Reported by  Jason Johnston <[email protected]> */
1531 UNUSUAL_DEV(  0x0dc4, 0x0073, 0x0000, 0x0000,
1532                 "Macpower Technology Co.LTD.",
1533                 "USB 2.0 3.5\" DEVICE",
1534                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1535                 US_FL_FIX_CAPACITY),
1536
1537 /*
1538  * Reported by Lubomir Blaha <[email protected]>
1539  * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
1540  * works for me. Can anybody correct these values? (I able to test corrected
1541  * version.)
1542  */
1543 UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
1544                 "Netac",
1545                 "USB-CF-Card",
1546                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1547                 US_FL_FIX_INQUIRY ),
1548
1549 /*
1550  * Reported by Edward Chapman (taken from linux-usb mailing list)
1551  * Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive
1552  */
1553 UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
1554                 "Netac",
1555                 "USB Flash Disk",
1556                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1557                 US_FL_IGNORE_RESIDUE ),
1558
1559
1560 /*
1561  * Patch by Stephan Walter <[email protected]>
1562  * I don't know why, but it works...
1563  */
1564 UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
1565                 "WINWARD",
1566                 "Music Disk",
1567                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1568                 US_FL_IGNORE_RESIDUE ),
1569
1570 /* Reported by Ian McConnell <ian at emit.demon.co.uk> */
1571 UNUSUAL_DEV(  0x0dda, 0x0301, 0x0012, 0x0012,
1572                 "PNP_MP3",
1573                 "PNP_MP3 PLAYER",
1574                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1575                 US_FL_IGNORE_RESIDUE ),
1576
1577 /* Reported by Jim McCloskey <[email protected]> */
1578 UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
1579                 "Cowon Systems",
1580                 "iAUDIO M5",
1581                 USB_SC_DEVICE, USB_PR_BULK, NULL,
1582                 US_FL_NEED_OVERRIDE ),
1583
1584 /* Submitted by Antoine Mairesse <[email protected]> */
1585 UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
1586                 "USB",
1587                 "Solid state disk",
1588                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1589                 US_FL_FIX_INQUIRY ),
1590
1591 /*
1592  * Submitted by Daniel Drake <[email protected]>
1593  * Reported by dayul on the Gentoo Forums
1594  */
1595 UNUSUAL_DEV(  0x0ea0, 0x2168, 0x0110, 0x0110,
1596                 "Ours Technology",
1597                 "Flash Disk",
1598                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1599                 US_FL_IGNORE_RESIDUE ),
1600
1601 /* Reported by Rastislav Stanik <[email protected]> */
1602 UNUSUAL_DEV(  0x0ea0, 0x6828, 0x0110, 0x0110,
1603                 "USB",
1604                 "Flash Disk",
1605                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1606                 US_FL_IGNORE_RESIDUE ),
1607
1608 /*
1609  * Reported by Benjamin Schiller <[email protected]>
1610  * It is also sold by Easylite as DJ 20
1611  */
1612 UNUSUAL_DEV(  0x0ed1, 0x7636, 0x0103, 0x0103,
1613                 "Typhoon",
1614                 "My DJ 1820",
1615                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1616                 US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
1617
1618 /*
1619  * Patch by Leonid Petrov mail at lpetrov.net
1620  * Reported by Robert Spitzenpfeil <[email protected]>
1621  * http://www.qbik.ch/usb/devices/showdev.php?id=1705
1622  * Updated to 103 device by MJ Ray mjr at phonecoop.coop
1623  */
1624 UNUSUAL_DEV(  0x0f19, 0x0103, 0x0100, 0x0100,
1625                 "Oracom Co., Ltd",
1626                 "ORC-200M",
1627                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1628                 US_FL_IGNORE_RESIDUE ),
1629
1630 /*
1631  * David Kuehling <[email protected]>:
1632  * for MP3-Player AVOX WSX-300ER (bought in Japan).  Reports lots of SCSI
1633  * errors when trying to write.
1634  */
1635 UNUSUAL_DEV(  0x0f19, 0x0105, 0x0100, 0x0100,
1636                 "C-MEX",
1637                 "A-VOX",
1638                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1639                 US_FL_IGNORE_RESIDUE ),
1640
1641 /* Submitted by Nick Holloway */
1642 UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
1643                 "VTech",
1644                 "Kidizoom",
1645                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1646                 US_FL_FIX_CAPACITY ),
1647
1648 /* Reported by Moritz Moeller-Herrmann <[email protected]> */
1649 UNUSUAL_DEV(  0x0fca, 0x8004, 0x0201, 0x0201,
1650                 "Research In Motion",
1651                 "BlackBerry Bold 9000",
1652                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1653                 US_FL_MAX_SECTORS_64 ),
1654
1655 /* Reported by Michael Stattmann <[email protected]> */
1656 UNUSUAL_DEV(  0x0fce, 0xd008, 0x0000, 0x0000,
1657                 "Sony Ericsson",
1658                 "V800-Vodafone 802",
1659                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1660                 US_FL_NO_WP_DETECT ),
1661
1662 /* Reported by The Solutor <[email protected]> */
1663 UNUSUAL_DEV(  0x0fce, 0xd0e1, 0x0000, 0x0000,
1664                 "Sony Ericsson",
1665                 "MD400",
1666                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1667                 US_FL_IGNORE_DEVICE),
1668
1669 /*
1670  * Reported by Jan Mate <[email protected]>
1671  * and by Soeren Sonnenburg <[email protected]>
1672  */
1673 UNUSUAL_DEV(  0x0fce, 0xe030, 0x0000, 0x0000,
1674                 "Sony Ericsson",
1675                 "P990i",
1676                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1677                 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
1678
1679 /* Reported by Emmanuel Vasilakis <[email protected]> */
1680 UNUSUAL_DEV(  0x0fce, 0xe031, 0x0000, 0x0000,
1681                 "Sony Ericsson",
1682                 "M600i",
1683                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1684                 US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
1685
1686 /* Reported by Ricardo Barberis <[email protected]> */
1687 UNUSUAL_DEV(  0x0fce, 0xe092, 0x0000, 0x0000,
1688                 "Sony Ericsson",
1689                 "P1i",
1690                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1691                 US_FL_IGNORE_RESIDUE ),
1692
1693 /*
1694  * Reported by Kevin Cernekee <[email protected]>
1695  * Tested on hardware version 1.10.
1696  * Entry is needed only for the initializer function override.
1697  * Devices with bcd > 110 seem to not need it while those
1698  * with bcd < 110 appear to need it.
1699  */
1700 UNUSUAL_DEV(  0x1019, 0x0c55, 0x0000, 0x0110,
1701                 "Desknote",
1702                 "UCR-61S2B",
1703                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
1704                 0 ),
1705
1706 UNUSUAL_DEV(  0x1058, 0x0704, 0x0000, 0x9999,
1707                 "Western Digital",
1708                 "External HDD",
1709                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1710                 US_FL_SANE_SENSE),
1711
1712 /* Reported by Namjae Jeon <[email protected]> */
1713 UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
1714                 "Western Digital",
1715                 "My Passport HDD",
1716                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
1717
1718 /*
1719  * Reported by Fabio Venturi <[email protected]>
1720  * The device reports a vendor-specific bDeviceClass.
1721  */
1722 UNUSUAL_DEV(  0x10d6, 0x2200, 0x0100, 0x0100,
1723                 "Actions Semiconductor",
1724                 "Mtp device",
1725                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1726                 0),
1727
1728 /*
1729  * Reported by Pascal Terjan <[email protected]>
1730  * Ignore driver CD mode and force into modem mode by default.
1731  */
1732 UNUSUAL_DEV(  0x1186, 0x3e04, 0x0000, 0x0000,
1733            "D-Link",
1734            "USB Mass Storage",
1735            USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
1736
1737 /*
1738  * Reported by Kevin Lloyd <[email protected]>
1739  * Entry is needed for the initializer function override,
1740  * which instructs the device to load as a modem
1741  * device.
1742  */
1743 UNUSUAL_DEV(  0x1199, 0x0fff, 0x0000, 0x9999,
1744                 "Sierra Wireless",
1745                 "USB MMC Storage",
1746                 USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
1747                 0),
1748
1749 /*
1750  * Reported by Jaco Kroon <[email protected]>
1751  * The usb-storage module found on the Digitech GNX4 (and supposedly other
1752  * devices) misbehaves and causes a bunch of invalid I/O errors.
1753  */
1754 UNUSUAL_DEV(  0x1210, 0x0003, 0x0100, 0x0100,
1755                 "Digitech HMG",
1756                 "DigiTech Mass Storage",
1757                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
1758                 US_FL_IGNORE_RESIDUE ),
1759
1760 /*
1761  * Reported by fangxiaozhi <[email protected]>
1762  * This brings the HUAWEI data card devices into multi-port mode
1763  */
1764 UNUSUAL_DEV(  0x12d1, 0x1001, 0x0000, 0x0000,
1765                 "HUAWEI MOBILE",
1766                 "Mass Storage",
1767                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1768                 0),
1769 UNUSUAL_DEV(  0x12d1, 0x1003, 0x0000, 0x0000,
1770                 "HUAWEI MOBILE",
1771                 "Mass Storage",
1772                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1773                 0),
1774 UNUSUAL_DEV(  0x12d1, 0x1004, 0x0000, 0x0000,
1775                 "HUAWEI MOBILE",
1776                 "Mass Storage",
1777                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1778                 0),
1779 UNUSUAL_DEV(  0x12d1, 0x1401, 0x0000, 0x0000,
1780                 "HUAWEI MOBILE",
1781                 "Mass Storage",
1782                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1783                 0),
1784 UNUSUAL_DEV(  0x12d1, 0x1402, 0x0000, 0x0000,
1785                 "HUAWEI MOBILE",
1786                 "Mass Storage",
1787                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1788                 0),
1789 UNUSUAL_DEV(  0x12d1, 0x1403, 0x0000, 0x0000,
1790                 "HUAWEI MOBILE",
1791                 "Mass Storage",
1792                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1793                 0),
1794 UNUSUAL_DEV(  0x12d1, 0x1404, 0x0000, 0x0000,
1795                 "HUAWEI MOBILE",
1796                 "Mass Storage",
1797                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1798                 0),
1799 UNUSUAL_DEV(  0x12d1, 0x1405, 0x0000, 0x0000,
1800                 "HUAWEI MOBILE",
1801                 "Mass Storage",
1802                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1803                 0),
1804 UNUSUAL_DEV(  0x12d1, 0x1406, 0x0000, 0x0000,
1805                 "HUAWEI MOBILE",
1806                 "Mass Storage",
1807                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1808                 0),
1809 UNUSUAL_DEV(  0x12d1, 0x1407, 0x0000, 0x0000,
1810                 "HUAWEI MOBILE",
1811                 "Mass Storage",
1812                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1813                 0),
1814 UNUSUAL_DEV(  0x12d1, 0x1408, 0x0000, 0x0000,
1815                 "HUAWEI MOBILE",
1816                 "Mass Storage",
1817                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1818                 0),
1819 UNUSUAL_DEV(  0x12d1, 0x1409, 0x0000, 0x0000,
1820                 "HUAWEI MOBILE",
1821                 "Mass Storage",
1822                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1823                 0),
1824 UNUSUAL_DEV(  0x12d1, 0x140A, 0x0000, 0x0000,
1825                 "HUAWEI MOBILE",
1826                 "Mass Storage",
1827                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1828                 0),
1829 UNUSUAL_DEV(  0x12d1, 0x140B, 0x0000, 0x0000,
1830                 "HUAWEI MOBILE",
1831                 "Mass Storage",
1832                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1833                 0),
1834 UNUSUAL_DEV(  0x12d1, 0x140C, 0x0000, 0x0000,
1835                 "HUAWEI MOBILE",
1836                 "Mass Storage",
1837                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1838                 0),
1839 UNUSUAL_DEV(  0x12d1, 0x140D, 0x0000, 0x0000,
1840                 "HUAWEI MOBILE",
1841                 "Mass Storage",
1842                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1843                 0),
1844 UNUSUAL_DEV(  0x12d1, 0x140E, 0x0000, 0x0000,
1845                 "HUAWEI MOBILE",
1846                 "Mass Storage",
1847                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1848                 0),
1849 UNUSUAL_DEV(  0x12d1, 0x140F, 0x0000, 0x0000,
1850                 "HUAWEI MOBILE",
1851                 "Mass Storage",
1852                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1853                 0),
1854 UNUSUAL_DEV(  0x12d1, 0x1410, 0x0000, 0x0000,
1855                 "HUAWEI MOBILE",
1856                 "Mass Storage",
1857                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1858                 0),
1859 UNUSUAL_DEV(  0x12d1, 0x1411, 0x0000, 0x0000,
1860                 "HUAWEI MOBILE",
1861                 "Mass Storage",
1862                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1863                 0),
1864 UNUSUAL_DEV(  0x12d1, 0x1412, 0x0000, 0x0000,
1865                 "HUAWEI MOBILE",
1866                 "Mass Storage",
1867                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1868                 0),
1869 UNUSUAL_DEV(  0x12d1, 0x1413, 0x0000, 0x0000,
1870                 "HUAWEI MOBILE",
1871                 "Mass Storage",
1872                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1873                 0),
1874 UNUSUAL_DEV(  0x12d1, 0x1414, 0x0000, 0x0000,
1875                 "HUAWEI MOBILE",
1876                 "Mass Storage",
1877                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1878                 0),
1879 UNUSUAL_DEV(  0x12d1, 0x1415, 0x0000, 0x0000,
1880                 "HUAWEI MOBILE",
1881                 "Mass Storage",
1882                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1883                 0),
1884 UNUSUAL_DEV(  0x12d1, 0x1416, 0x0000, 0x0000,
1885                 "HUAWEI MOBILE",
1886                 "Mass Storage",
1887                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1888                 0),
1889 UNUSUAL_DEV(  0x12d1, 0x1417, 0x0000, 0x0000,
1890                 "HUAWEI MOBILE",
1891                 "Mass Storage",
1892                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1893                 0),
1894 UNUSUAL_DEV(  0x12d1, 0x1418, 0x0000, 0x0000,
1895                 "HUAWEI MOBILE",
1896                 "Mass Storage",
1897                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1898                 0),
1899 UNUSUAL_DEV(  0x12d1, 0x1419, 0x0000, 0x0000,
1900                 "HUAWEI MOBILE",
1901                 "Mass Storage",
1902                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1903                 0),
1904 UNUSUAL_DEV(  0x12d1, 0x141A, 0x0000, 0x0000,
1905                 "HUAWEI MOBILE",
1906                 "Mass Storage",
1907                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1908                 0),
1909 UNUSUAL_DEV(  0x12d1, 0x141B, 0x0000, 0x0000,
1910                 "HUAWEI MOBILE",
1911                 "Mass Storage",
1912                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1913                 0),
1914 UNUSUAL_DEV(  0x12d1, 0x141C, 0x0000, 0x0000,
1915                 "HUAWEI MOBILE",
1916                 "Mass Storage",
1917                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1918                 0),
1919 UNUSUAL_DEV(  0x12d1, 0x141D, 0x0000, 0x0000,
1920                 "HUAWEI MOBILE",
1921                 "Mass Storage",
1922                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1923                 0),
1924 UNUSUAL_DEV(  0x12d1, 0x141E, 0x0000, 0x0000,
1925                 "HUAWEI MOBILE",
1926                 "Mass Storage",
1927                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1928                 0),
1929 UNUSUAL_DEV(  0x12d1, 0x141F, 0x0000, 0x0000,
1930                 "HUAWEI MOBILE",
1931                 "Mass Storage",
1932                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1933                 0),
1934 UNUSUAL_DEV(  0x12d1, 0x1420, 0x0000, 0x0000,
1935                 "HUAWEI MOBILE",
1936                 "Mass Storage",
1937                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1938                 0),
1939 UNUSUAL_DEV(  0x12d1, 0x1421, 0x0000, 0x0000,
1940                 "HUAWEI MOBILE",
1941                 "Mass Storage",
1942                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1943                 0),
1944 UNUSUAL_DEV(  0x12d1, 0x1422, 0x0000, 0x0000,
1945                 "HUAWEI MOBILE",
1946                 "Mass Storage",
1947                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1948                 0),
1949 UNUSUAL_DEV(  0x12d1, 0x1423, 0x0000, 0x0000,
1950                 "HUAWEI MOBILE",
1951                 "Mass Storage",
1952                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1953                 0),
1954 UNUSUAL_DEV(  0x12d1, 0x1424, 0x0000, 0x0000,
1955                 "HUAWEI MOBILE",
1956                 "Mass Storage",
1957                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1958                 0),
1959 UNUSUAL_DEV(  0x12d1, 0x1425, 0x0000, 0x0000,
1960                 "HUAWEI MOBILE",
1961                 "Mass Storage",
1962                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1963                 0),
1964 UNUSUAL_DEV(  0x12d1, 0x1426, 0x0000, 0x0000,
1965                 "HUAWEI MOBILE",
1966                 "Mass Storage",
1967                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1968                 0),
1969 UNUSUAL_DEV(  0x12d1, 0x1427, 0x0000, 0x0000,
1970                 "HUAWEI MOBILE",
1971                 "Mass Storage",
1972                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1973                 0),
1974 UNUSUAL_DEV(  0x12d1, 0x1428, 0x0000, 0x0000,
1975                 "HUAWEI MOBILE",
1976                 "Mass Storage",
1977                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1978                 0),
1979 UNUSUAL_DEV(  0x12d1, 0x1429, 0x0000, 0x0000,
1980                 "HUAWEI MOBILE",
1981                 "Mass Storage",
1982                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1983                 0),
1984 UNUSUAL_DEV(  0x12d1, 0x142A, 0x0000, 0x0000,
1985                 "HUAWEI MOBILE",
1986                 "Mass Storage",
1987                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1988                 0),
1989 UNUSUAL_DEV(  0x12d1, 0x142B, 0x0000, 0x0000,
1990                 "HUAWEI MOBILE",
1991                 "Mass Storage",
1992                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1993                 0),
1994 UNUSUAL_DEV(  0x12d1, 0x142C, 0x0000, 0x0000,
1995                 "HUAWEI MOBILE",
1996                 "Mass Storage",
1997                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
1998                 0),
1999 UNUSUAL_DEV(  0x12d1, 0x142D, 0x0000, 0x0000,
2000                 "HUAWEI MOBILE",
2001                 "Mass Storage",
2002                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2003                 0),
2004 UNUSUAL_DEV(  0x12d1, 0x142E, 0x0000, 0x0000,
2005                 "HUAWEI MOBILE",
2006                 "Mass Storage",
2007                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2008                 0),
2009 UNUSUAL_DEV(  0x12d1, 0x142F, 0x0000, 0x0000,
2010                 "HUAWEI MOBILE",
2011                 "Mass Storage",
2012                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2013                 0),
2014 UNUSUAL_DEV(  0x12d1, 0x1430, 0x0000, 0x0000,
2015                 "HUAWEI MOBILE",
2016                 "Mass Storage",
2017                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2018                 0),
2019 UNUSUAL_DEV(  0x12d1, 0x1431, 0x0000, 0x0000,
2020                 "HUAWEI MOBILE",
2021                 "Mass Storage",
2022                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2023                 0),
2024 UNUSUAL_DEV(  0x12d1, 0x1432, 0x0000, 0x0000,
2025                 "HUAWEI MOBILE",
2026                 "Mass Storage",
2027                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2028                 0),
2029 UNUSUAL_DEV(  0x12d1, 0x1433, 0x0000, 0x0000,
2030                 "HUAWEI MOBILE",
2031                 "Mass Storage",
2032                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2033                 0),
2034 UNUSUAL_DEV(  0x12d1, 0x1434, 0x0000, 0x0000,
2035                 "HUAWEI MOBILE",
2036                 "Mass Storage",
2037                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2038                 0),
2039 UNUSUAL_DEV(  0x12d1, 0x1435, 0x0000, 0x0000,
2040                 "HUAWEI MOBILE",
2041                 "Mass Storage",
2042                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2043                 0),
2044 UNUSUAL_DEV(  0x12d1, 0x1436, 0x0000, 0x0000,
2045                 "HUAWEI MOBILE",
2046                 "Mass Storage",
2047                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2048                 0),
2049 UNUSUAL_DEV(  0x12d1, 0x1437, 0x0000, 0x0000,
2050                 "HUAWEI MOBILE",
2051                 "Mass Storage",
2052                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2053                 0),
2054 UNUSUAL_DEV(  0x12d1, 0x1438, 0x0000, 0x0000,
2055                 "HUAWEI MOBILE",
2056                 "Mass Storage",
2057                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2058                 0),
2059 UNUSUAL_DEV(  0x12d1, 0x1439, 0x0000, 0x0000,
2060                 "HUAWEI MOBILE",
2061                 "Mass Storage",
2062                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2063                 0),
2064 UNUSUAL_DEV(  0x12d1, 0x143A, 0x0000, 0x0000,
2065                 "HUAWEI MOBILE",
2066                 "Mass Storage",
2067                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2068                 0),
2069 UNUSUAL_DEV(  0x12d1, 0x143B, 0x0000, 0x0000,
2070                 "HUAWEI MOBILE",
2071                 "Mass Storage",
2072                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2073                 0),
2074 UNUSUAL_DEV(  0x12d1, 0x143C, 0x0000, 0x0000,
2075                 "HUAWEI MOBILE",
2076                 "Mass Storage",
2077                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2078                 0),
2079 UNUSUAL_DEV(  0x12d1, 0x143D, 0x0000, 0x0000,
2080                 "HUAWEI MOBILE",
2081                 "Mass Storage",
2082                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2083                 0),
2084 UNUSUAL_DEV(  0x12d1, 0x143E, 0x0000, 0x0000,
2085                 "HUAWEI MOBILE",
2086                 "Mass Storage",
2087                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2088                 0),
2089 UNUSUAL_DEV(  0x12d1, 0x143F, 0x0000, 0x0000,
2090                 "HUAWEI MOBILE",
2091                 "Mass Storage",
2092                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
2093                 0),
2094
2095 /* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
2096 UNUSUAL_DEV(  0x132b, 0x000b, 0x0001, 0x0001,
2097                 "Minolta",
2098                 "Dimage Z10",
2099                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2100                 0 ),
2101
2102 /* Reported by Kotrla Vitezslav <[email protected]> */
2103 UNUSUAL_DEV(  0x1370, 0x6828, 0x0110, 0x0110,
2104                 "SWISSBIT",
2105                 "Black Silver",
2106                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2107                 US_FL_IGNORE_RESIDUE ),
2108
2109 /*
2110  * Reported by Tobias Jakobi <[email protected]>
2111  * The INIC-3619 bridge is used in the StarTech SLSODDU33B
2112  * SATA-USB enclosure for slimline optical drives.
2113  *
2114  * The quirk enables MakeMKV to properly exchange keys with
2115  * an installed BD drive.
2116  */
2117 UNUSUAL_DEV(  0x13fd, 0x3609, 0x0209, 0x0209,
2118                 "Initio Corporation",
2119                 "INIC-3619",
2120                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2121                 US_FL_IGNORE_RESIDUE ),
2122
2123 /* Reported by Qinglin Ye <[email protected]> */
2124 UNUSUAL_DEV(  0x13fe, 0x3600, 0x0100, 0x0100,
2125                 "Kingston",
2126                 "DT 101 G2",
2127                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2128                 US_FL_BULK_IGNORE_TAG ),
2129
2130 /* Reported by Francesco Foresti <[email protected]> */
2131 UNUSUAL_DEV(  0x14cd, 0x6600, 0x0201, 0x0201,
2132                 "Super Top",
2133                 "IDE DEVICE",
2134                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2135                 US_FL_IGNORE_RESIDUE ),
2136
2137 /* Reported by Michael Büsch <[email protected]> */
2138 UNUSUAL_DEV(  0x152d, 0x0567, 0x0114, 0x0117,
2139                 "JMicron",
2140                 "USB to ATA/ATAPI Bridge",
2141                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2142                 US_FL_BROKEN_FUA ),
2143
2144 /* Reported by David Kozub <[email protected]> */
2145 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
2146                 "JMicron",
2147                 "JMS567",
2148                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2149                 US_FL_BROKEN_FUA),
2150
2151 /*
2152  * Reported by Alexandre Oliva <[email protected]>
2153  * JMicron responds to USN and several other SCSI ioctls with a
2154  * residue that causes subsequent I/O requests to fail.  */
2155 UNUSUAL_DEV(  0x152d, 0x2329, 0x0100, 0x0100,
2156                 "JMicron",
2157                 "USB to ATA/ATAPI Bridge",
2158                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2159                 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2160
2161 /* Reported by Dmitry Nezhevenko <[email protected]> */
2162 UNUSUAL_DEV(  0x152d, 0x2566, 0x0114, 0x0114,
2163                 "JMicron",
2164                 "USB to ATA/ATAPI Bridge",
2165                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2166                 US_FL_BROKEN_FUA ),
2167
2168 /* Reported by Teijo Kinnunen <[email protected]> */
2169 UNUSUAL_DEV(  0x152d, 0x2567, 0x0117, 0x0117,
2170                 "JMicron",
2171                 "USB to ATA/ATAPI Bridge",
2172                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2173                 US_FL_BROKEN_FUA ),
2174
2175 /* Reported-by George Cherian <[email protected]> */
2176 UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
2177                 "JMicron",
2178                 "JMS56x",
2179                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2180                 US_FL_NO_REPORT_OPCODES),
2181
2182 /*
2183  * Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
2184  * and Mac USB Dock USB-SCSI */
2185 UNUSUAL_DEV(  0x1645, 0x0007, 0x0100, 0x0133,
2186                 "Entrega Technologies",
2187                 "USB to SCSI Converter",
2188                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2189                 US_FL_SCM_MULT_TARG ),
2190
2191 /*
2192  * Reported by Robert Schedel <[email protected]>
2193  * Note: this is a 'super top' device like the above 14cd/6600 device
2194  */
2195 UNUSUAL_DEV(  0x1652, 0x6600, 0x0201, 0x0201,
2196                 "Teac",
2197                 "HD-35PUK-B",
2198                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2199                 US_FL_IGNORE_RESIDUE ),
2200
2201 /* Reported by Oliver Neukum <[email protected]> */
2202 UNUSUAL_DEV(  0x174c, 0x55aa, 0x0100, 0x0100,
2203                 "ASMedia",
2204                 "AS2105",
2205                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2206                 US_FL_NEEDS_CAP16),
2207
2208 /* Reported by Jesse Feddema <[email protected]> */
2209 UNUSUAL_DEV(  0x177f, 0x0400, 0x0000, 0x0000,
2210                 "Yarvik",
2211                 "PMP400",
2212                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2213                 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2214
2215 UNUSUAL_DEV(  0x1822, 0x0001, 0x0000, 0x9999,
2216                 "Ariston Technologies",
2217                 "iConnect USB to SCSI adapter",
2218                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2219                 US_FL_SCM_MULT_TARG ),
2220
2221 /*
2222  * Reported by Hans de Goede <[email protected]>
2223  * These Appotech controllers are found in Picture Frames, they provide a
2224  * (buggy) emulation of a cdrom drive which contains the windows software
2225  * Uploading of pictures happens over the corresponding /dev/sg device.
2226  */
2227 UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
2228                 "BUILDWIN",
2229                 "Photo Frame",
2230                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2231                 US_FL_BAD_SENSE ),
2232 UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
2233                 "BUILDWIN",
2234                 "Photo Frame",
2235                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2236                 US_FL_BAD_SENSE ),
2237 UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
2238                 "BUILDWIN",
2239                 "Photo Frame",
2240                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2241                 US_FL_NO_READ_DISC_INFO ),
2242
2243 /*
2244  * Reported by Matthias Schwarzott <[email protected]>
2245  * The Amazon Kindle treats SYNCHRONIZE CACHE as an indication that
2246  * the host may be finished with it, and automatically ejects its
2247  * emulated media unless it receives another command within one second.
2248  */
2249 UNUSUAL_DEV( 0x1949, 0x0004, 0x0000, 0x9999,
2250                 "Amazon",
2251                 "Kindle",
2252                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2253                 US_FL_SENSE_AFTER_SYNC ),
2254
2255 /*
2256  * Reported by Oliver Neukum <[email protected]>
2257  * This device morphes spontaneously into another device if the access
2258  * pattern of Windows isn't followed. Thus writable media would be dirty
2259  * if the initial instance is used. So the device is limited to its
2260  * virtual CD.
2261  * And yes, the concept that BCD goes up to 9 is not heeded
2262  */
2263 UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
2264                 "ZTE,Incorporated",
2265                 "ZTE WCDMA Technologies MSM",
2266                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2267                 US_FL_SINGLE_LUN ),
2268
2269 /*
2270  * Reported by Sven Geggus <[email protected]>
2271  * This encrypted pen drive returns bogus data for the initial READ(10).
2272  */
2273 UNUSUAL_DEV(  0x1b1c, 0x1ab5, 0x0200, 0x0200,
2274                 "Corsair",
2275                 "Padlock v2",
2276                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2277                 US_FL_INITIAL_READ10 ),
2278
2279 /*
2280  * Reported by Hans de Goede <[email protected]>
2281  * These are mini projectors using USB for both power and video data transport
2282  * The usb-storage interface is a virtual windows driver CD, which the gm12u320
2283  * driver automatically converts into framebuffer & kms dri device nodes.
2284  */
2285 UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
2286                 "Grain-media Technology Corp.",
2287                 "USB3.0 Device GM12U320",
2288                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2289                 US_FL_IGNORE_DEVICE ),
2290
2291 /*
2292  * Patch by Richard Schütz <[email protected]>
2293  * This external hard drive enclosure uses a JMicron chip which
2294  * needs the US_FL_IGNORE_RESIDUE flag to work properly.
2295  */
2296 UNUSUAL_DEV(  0x1e68, 0x001b, 0x0000, 0x0000,
2297                 "TrekStor GmbH & Co. KG",
2298                 "DataStation maxi g.u",
2299                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2300                 US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
2301
2302 /* Reported by Jasper Mackenzie <[email protected]> */
2303 UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
2304                 "Coby Electronics",
2305                 "MP3 Player",
2306                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2307                 US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
2308
2309 /* Reported by Witold Lipieta <[email protected]> */
2310 UNUSUAL_DEV( 0x1fc9, 0x0117, 0x0100, 0x0100,
2311                 "NXP Semiconductors",
2312                 "PN7462AU",
2313                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2314                 US_FL_IGNORE_RESIDUE ),
2315
2316 /* Supplied with some Castlewood ORB removable drives */
2317 UNUSUAL_DEV(  0x2027, 0xa001, 0x0000, 0x9999,
2318                 "Double-H Technology",
2319                 "USB to SCSI Intelligent Cable",
2320                 USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2321                 US_FL_SCM_MULT_TARG ),
2322
2323 /*
2324  * Reported by DocMAX <[email protected]>
2325  * and Thomas Weißschuh <[email protected]>
2326  */
2327 UNUSUAL_DEV( 0x2109, 0x0715, 0x9999, 0x9999,
2328                 "VIA Labs, Inc.",
2329                 "VL817 SATA Bridge",
2330                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2331                 US_FL_IGNORE_UAS),
2332
2333 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
2334                 "ST",
2335                 "2A",
2336                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2337                 US_FL_FIX_CAPACITY),
2338
2339 /*
2340  * patch submitted by Davide Perini <[email protected]>
2341  * and Renato Perini <[email protected]>
2342  */
2343 UNUSUAL_DEV(  0x22b8, 0x3010, 0x0001, 0x0001,
2344                 "Motorola",
2345                 "RAZR V3x",
2346                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2347                 US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
2348
2349 /*
2350  * Patch by Constantin Baranov <[email protected]>
2351  * Report by Andreas Koenecke.
2352  * Motorola ROKR Z6.
2353  */
2354 UNUSUAL_DEV(  0x22b8, 0x6426, 0x0101, 0x0101,
2355                 "Motorola",
2356                 "MSnc.",
2357                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2358                 US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
2359
2360 /* Reported by Radovan Garabik <[email protected]> */
2361 UNUSUAL_DEV(  0x2735, 0x100b, 0x0000, 0x9999,
2362                 "MPIO",
2363                 "HS200",
2364                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2365                 US_FL_GO_SLOW ),
2366
2367 /* Reported-by: Tim Anderson <[email protected]> */
2368 UNUSUAL_DEV(  0x2ca3, 0x0031, 0x0000, 0x9999,
2369                 "DJI",
2370                 "CineSSD",
2371                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2372                 US_FL_NO_ATA_1X),
2373
2374 /*
2375  * Reported by Frederic Marchal <[email protected]>
2376  * Mio Moov 330
2377  */
2378 UNUSUAL_DEV(  0x3340, 0xffff, 0x0000, 0x0000,
2379                 "Mitac",
2380                 "Mio DigiWalker USB Sync",
2381                 USB_SC_DEVICE,USB_PR_DEVICE,NULL,
2382                 US_FL_MAX_SECTORS_64 ),
2383
2384 /* Reported by Cyril Roelandt <[email protected]> */
2385 UNUSUAL_DEV(  0x357d, 0x7788, 0x0114, 0x0114,
2386                 "JMicron",
2387                 "USB to ATA/ATAPI Bridge",
2388                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2389                 US_FL_BROKEN_FUA | US_FL_IGNORE_UAS ),
2390
2391 /* Reported by Andrey Rahmatullin <[email protected]> */
2392 UNUSUAL_DEV(  0x4102, 0x1020, 0x0100,  0x0100,
2393                 "iRiver",
2394                 "MP3 T10",
2395                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2396                 US_FL_IGNORE_RESIDUE ),
2397
2398 /* Reported by Sergey Pinaev <[email protected]> */
2399 UNUSUAL_DEV(  0x4102, 0x1059, 0x0000,  0x0000,
2400                "iRiver",
2401                "P7K",
2402                USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2403                US_FL_MAX_SECTORS_64 ),
2404
2405 /*
2406  * David Härdeman <[email protected]>
2407  * The key makes the SCSI stack print confusing (but harmless) messages
2408  */
2409 UNUSUAL_DEV(  0x4146, 0xba01, 0x0100, 0x0100,
2410                 "Iomega",
2411                 "Micro Mini 1GB",
2412                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2413
2414 /* "G-DRIVE" external HDD hangs on write without these.
2415  * Patch submitted by Alexander Kappner <[email protected]>
2416  */
2417 UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
2418                 "SimpleTech",
2419                 "External HDD",
2420                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2421                 US_FL_ALWAYS_SYNC),
2422
2423 /*
2424  * Nick Bowler <[email protected]>
2425  * SCSI stack spams (otherwise harmless) error messages.
2426  */
2427 UNUSUAL_DEV(  0xc251, 0x4003, 0x0100, 0x0100,
2428                 "Keil Software, Inc.",
2429                 "V2M MotherBoard",
2430                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2431                 US_FL_NOT_LOCKABLE),
2432
2433 /*
2434  * Reported by Icenowy Zheng <[email protected]>
2435  * This is an interface for vendor-specific cryptic commands instead
2436  * of real USB storage device.
2437  */
2438 UNUSUAL_DEV(  0xe5b7, 0x0811, 0x0100, 0x0100,
2439                 "ZhuHai JieLi Technology",
2440                 "JieLi BR21",
2441                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2442                 US_FL_IGNORE_DEVICE),
2443
2444 /* Reported by Andrew Simmons <[email protected]> */
2445 UNUSUAL_DEV(  0xed06, 0x4500, 0x0001, 0x0001,
2446                 "DataStor",
2447                 "USB4500 FW1.04",
2448                 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
2449                 US_FL_CAPACITY_HEURISTICS),
2450
2451 /* Reported by Alessio Treglia <[email protected]> */
2452 UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
2453                 "TGE",
2454                 "Digital MP3 Audio Player",
2455                 USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
2456
2457 /* Unusual uas devices */
2458 #if IS_ENABLED(CONFIG_USB_UAS)
2459 #include "unusual_uas.h"
2460 #endif
2461
2462 /* Control/Bulk transport for all SubClass values */
2463 USUAL_DEV(USB_SC_RBC, USB_PR_CB),
2464 USUAL_DEV(USB_SC_8020, USB_PR_CB),
2465 USUAL_DEV(USB_SC_QIC, USB_PR_CB),
2466 USUAL_DEV(USB_SC_UFI, USB_PR_CB),
2467 USUAL_DEV(USB_SC_8070, USB_PR_CB),
2468 USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
2469
2470 /* Control/Bulk/Interrupt transport for all SubClass values */
2471 USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
2472 USUAL_DEV(USB_SC_8020, USB_PR_CBI),
2473 USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
2474 USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
2475 USUAL_DEV(USB_SC_8070, USB_PR_CBI),
2476 USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
2477
2478 /* Bulk-only transport for all SubClass values */
2479 USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
2480 USUAL_DEV(USB_SC_8020, USB_PR_BULK),
2481 USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
2482 USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
2483 USUAL_DEV(USB_SC_8070, USB_PR_BULK),
2484 USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),
This page took 0.175086 seconds and 4 git commands to generate.