Linux Audio

Check our new training course

Yocto / OpenEmbedded training

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