Linux Audio

Check our new training course

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