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