2017-11-03 18:28:30 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Driver for USB Mass Storage compliant devices
|
2005-05-04 09:07:24 +08:00
|
|
|
* Unusual Devices File
|
2005-04-17 06:20:36 +08:00
|
|
|
*
|
|
|
|
* Current development and maintenance by:
|
|
|
|
* (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
|
|
|
|
*
|
|
|
|
* Initial work by:
|
|
|
|
* (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
|
|
|
|
*/
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* IMPORTANT NOTE: This file must be included in another file which does
|
2005-04-17 06:20:36 +08:00
|
|
|
* the following thing for it to work:
|
USB: storage: add last-sector hacks
This patch (as1189b) adds some hacks to usb-storage for dealing with
the growing problems involving bad capacity values and last-sector
accesses:
A new flag, US_FL_CAPACITY_OK, is created to indicate that
the device is known to report its capacity correctly. An
unusual_devs entry for Linux's own File-backed Storage Gadget
is added with this flag set, since g_file_storage always
reports the correct capacity and since the capacity need
not be even (it is determined by the size of the backing
file).
An entry in unusual_devs.h which has only the CAPACITY_OK
flag set shouldn't prejudice libusual, since the device will
work perfectly well with either usb-storage or ub. So a
new macro, COMPLIANT_DEV, is added to let libusual know
about these entries.
When a last-sector access succeeds and the total number of
sectors is odd (the unexpected case, in which guessing that
the number is even might cause trouble), a WARN is triggered.
The kerneloops.org project will collect these warnings,
allowing us to add CAPACITY_OK flags for the devices in
question before implementing the default-to-even heuristic.
If users want to prevent the stack dump produced by the WARN,
they can disable the hack by adding an unusual_devs entry
for their device with the CAPACITY_OK flag.
When a last-sector access fails three times in a row and
neither the FIX_CAPACITY nor the CAPACITY_OK flag is set,
we assume the last-sector bug is present. We replace the
existing status and sense data with values that will cause
the SCSI core to fail the access immediately rather than
retry indefinitely. This should fix the difficulties
people have been having with Nokia phones.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-12-16 01:43:41 +08:00
|
|
|
* The UNUSUAL_DEV, COMPLIANT_DEV, and USUAL_DEV macros must be defined
|
|
|
|
* before this file is included.
|
2005-04-17 06:20:36 +08:00
|
|
|
*/
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* If you edit this file, please try to keep it sorted first by VendorID,
|
2005-04-17 06:20:36 +08:00
|
|
|
* then by ProductID.
|
|
|
|
*
|
|
|
|
* If you want to add an entry for this file, be sure to include the
|
|
|
|
* following information:
|
|
|
|
* - a patch that adds the entry for your device, including your
|
|
|
|
* email address right above the entry (plus maybe a brief
|
|
|
|
* explanation of the reason for the entry),
|
2017-04-17 08:51:07 +08:00
|
|
|
* - a copy of /sys/kernel/debug/usb/devices with your device plugged in
|
2005-04-17 06:20:36 +08:00
|
|
|
* running with this patch.
|
2018-01-22 22:41:54 +08:00
|
|
|
* Send your submission to the USB development list <linux-usb@vger.kernel.org>
|
2005-04-17 06:20:36 +08:00
|
|
|
*/
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Note: If you add an entry only in order to set the CAPACITY_OK flag,
|
USB: storage: add last-sector hacks
This patch (as1189b) adds some hacks to usb-storage for dealing with
the growing problems involving bad capacity values and last-sector
accesses:
A new flag, US_FL_CAPACITY_OK, is created to indicate that
the device is known to report its capacity correctly. An
unusual_devs entry for Linux's own File-backed Storage Gadget
is added with this flag set, since g_file_storage always
reports the correct capacity and since the capacity need
not be even (it is determined by the size of the backing
file).
An entry in unusual_devs.h which has only the CAPACITY_OK
flag set shouldn't prejudice libusual, since the device will
work perfectly well with either usb-storage or ub. So a
new macro, COMPLIANT_DEV, is added to let libusual know
about these entries.
When a last-sector access succeeds and the total number of
sectors is odd (the unexpected case, in which guessing that
the number is even might cause trouble), a WARN is triggered.
The kerneloops.org project will collect these warnings,
allowing us to add CAPACITY_OK flags for the devices in
question before implementing the default-to-even heuristic.
If users want to prevent the stack dump produced by the WARN,
they can disable the hack by adding an unusual_devs entry
for their device with the CAPACITY_OK flag.
When a last-sector access fails three times in a row and
neither the FIX_CAPACITY nor the CAPACITY_OK flag is set,
we assume the last-sector bug is present. We replace the
existing status and sense data with values that will cause
the SCSI core to fail the access immediately rather than
retry indefinitely. This should fix the difficulties
people have been having with Nokia phones.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-12-16 01:43:41 +08:00
|
|
|
* use the COMPLIANT_DEV macro instead of UNUSUAL_DEV. This is
|
|
|
|
* because such entries mark devices which actually work correctly,
|
|
|
|
* as opposed to devices that do something strangely or wrongly.
|
|
|
|
*/
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* In-kernel mode switching is deprecated. Do not add new devices to
|
2013-03-05 16:58:42 +08:00
|
|
|
* this list for the sole purpose of switching them to a different
|
|
|
|
* mode. Existing userspace solutions are superior.
|
|
|
|
*
|
|
|
|
* New mode switching devices should instead be added to the database
|
|
|
|
* maintained at http://www.draisberghof.de/usb_modeswitch/
|
|
|
|
*/
|
|
|
|
|
2009-02-13 03:47:49 +08:00
|
|
|
#if !defined(CONFIG_USB_STORAGE_SDDR09) && \
|
|
|
|
!defined(CONFIG_USB_STORAGE_SDDR09_MODULE)
|
|
|
|
#define NO_SDDR09
|
|
|
|
#endif
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/* patch submitted by Vivian Bregier <Vivian.Bregier@imag.fr> */
|
2005-05-03 08:16:34 +08:00
|
|
|
UNUSUAL_DEV( 0x03eb, 0x2002, 0x0100, 0x0100,
|
2007-07-05 04:52:47 +08:00
|
|
|
"ATMEL",
|
|
|
|
"SND1 Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_IGNORE_RESIDUE),
|
2005-05-03 08:16:34 +08:00
|
|
|
|
2006-03-06 23:45:42 +08:00
|
|
|
/* Reported by Rodolfo Quesada <rquesada@roqz.net> */
|
|
|
|
UNUSUAL_DEV( 0x03ee, 0x6906, 0x0003, 0x0003,
|
|
|
|
"VIA Technologies Inc.",
|
|
|
|
"Mitsumi multi cardreader",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-03-06 23:45:42 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x03f0, 0x0107, 0x0200, 0x0200,
|
2005-04-17 06:20:36 +08:00
|
|
|
"HP",
|
|
|
|
"CD-Writer+",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8070, USB_PR_CB, NULL, 0),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-11-24 12:06:38 +08:00
|
|
|
/* Reported by Ben Efros <ben@pc-doctor.com> */
|
|
|
|
UNUSUAL_DEV( 0x03f0, 0x070c, 0x0000, 0x0000,
|
|
|
|
"HP",
|
|
|
|
"Personal Media Drive",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-24 12:06:38 +08:00
|
|
|
US_FL_SANE_SENSE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Grant Grundler <grundler@parisc-linux.org>
|
2008-01-24 13:31:03 +08:00
|
|
|
* HP r707 camera in "Disk" mode with 2.00.23 or 2.00.24 firmware.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
|
|
|
|
"HP",
|
|
|
|
"PhotoSmart R707",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
|
2008-01-24 13:31:03 +08:00
|
|
|
|
2014-09-16 23:22:50 +08:00
|
|
|
UNUSUAL_DEV( 0x03f3, 0x0001, 0x0000, 0x9999,
|
|
|
|
"Adaptec",
|
|
|
|
"USBConnect 2000",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Sebastian Kapfer <sebastian_kapfer@gmx.net>
|
2005-08-30 13:38:28 +08:00
|
|
|
* and Olaf Hering <olh@suse.de> (different bcd's, same vendor/product)
|
|
|
|
* for USB floppies that need the SINGLE_LUN enforcement.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0409, 0x0040, 0x0000, 0x9999,
|
|
|
|
"NEC",
|
|
|
|
"NEC USB UF000x",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-08-30 13:38:28 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
2005-12-19 13:30:02 +08:00
|
|
|
/* Patch submitted by Mihnea-Costin Grigore <mihnea@zulu.ro> */
|
|
|
|
UNUSUAL_DEV( 0x040d, 0x6205, 0x0003, 0x0003,
|
|
|
|
"VIA Technologies Inc.",
|
|
|
|
"USB 2.0 Card Reader",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-12-19 13:30:02 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Deduced by Jonathan Woithe <jwoithe@just42.net>
|
2005-04-17 06:20:36 +08:00
|
|
|
* Entry needed for flags: US_FL_FIX_INQUIRY because initial inquiry message
|
|
|
|
* always fails and confuses drive.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0411, 0x001c, 0x0113, 0x0113,
|
|
|
|
"Buffalo",
|
|
|
|
"DUB-P40G HDD",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
|
|
|
|
2006-06-27 04:02:43 +08:00
|
|
|
/* Submitted by Ernestas Vaiciukevicius <ernisv@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x0419, 0x0100, 0x0100, 0x0100,
|
2007-07-05 04:52:47 +08:00
|
|
|
"Samsung Info. Systems America, Inc.",
|
|
|
|
"MP3 Player",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
2006-06-27 04:02:43 +08:00
|
|
|
|
2006-07-05 03:46:43 +08:00
|
|
|
/* Reported by Orgad Shaneh <orgads@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x0419, 0xaace, 0x0100, 0x0100,
|
|
|
|
"Samsung", "MP3 Player",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-07-05 03:46:43 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2006-02-13 23:15:22 +08:00
|
|
|
/* Reported by Christian Leber <christian@leber.de> */
|
|
|
|
UNUSUAL_DEV( 0x0419, 0xaaf5, 0x0100, 0x0100,
|
|
|
|
"TrekStor",
|
|
|
|
"i.Beat 115 2.0",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-02-13 23:15:22 +08:00
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_NOT_LOCKABLE ),
|
|
|
|
|
2005-09-30 15:20:15 +08:00
|
|
|
/* Reported by Stefan Werner <dustbln@gmx.de> */
|
|
|
|
UNUSUAL_DEV( 0x0419, 0xaaf6, 0x0100, 0x0100,
|
|
|
|
"TrekStor",
|
|
|
|
"i.Beat Joy 2.0",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-09-30 15:20:15 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2006-03-06 13:45:44 +08:00
|
|
|
/* Reported by Pete Zaitcev <zaitcev@redhat.com>, bz#176584 */
|
|
|
|
UNUSUAL_DEV( 0x0420, 0x0001, 0x0100, 0x0100,
|
|
|
|
"GENERIC", "MP3 PLAYER", /* MyMusix PD-205 on the outside. */
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-03-06 13:45:44 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Andrew Nayenko <relan@bk.ru>
|
2017-04-21 03:53:48 +08:00
|
|
|
* Updated for new firmware by Phillip Potter <phil@philpotter.co.uk>
|
2016-04-18 18:09:11 +08:00
|
|
|
*/
|
2009-04-26 18:47:51 +08:00
|
|
|
UNUSUAL_DEV( 0x0421, 0x0019, 0x0592, 0x0610,
|
2007-02-25 16:40:20 +08:00
|
|
|
"Nokia",
|
|
|
|
"Nokia 6288",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-02-25 16:40:20 +08:00
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2006-07-31 22:10:28 +08:00
|
|
|
/* Reported by Mario Rettig <mariorettig@web.de> */
|
|
|
|
UNUSUAL_DEV( 0x0421, 0x042e, 0x0100, 0x0100,
|
|
|
|
"Nokia",
|
|
|
|
"Nokia 3250",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-07-31 22:10:28 +08:00
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
|
|
|
|
|
2006-12-05 07:22:40 +08:00
|
|
|
/* Reported by <honkkis@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x0421, 0x0433, 0x0100, 0x0100,
|
|
|
|
"Nokia",
|
|
|
|
"E70",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-12-05 07:22:40 +08:00
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
|
|
|
|
|
2006-09-29 00:11:56 +08:00
|
|
|
/* Reported by Jon Hart <Jon.Hart@web.de> */
|
|
|
|
UNUSUAL_DEV( 0x0421, 0x0434, 0x0100, 0x0100,
|
|
|
|
"Nokia",
|
|
|
|
"E60",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-09-29 00:11:56 +08:00
|
|
|
US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Sumedha Swamy <sumedhaswamy@gmail.com> and
|
|
|
|
* Einar Th. Einarsson <einarthered@gmail.com>
|
|
|
|
*/
|
2006-07-08 01:45:13 +08:00
|
|
|
UNUSUAL_DEV( 0x0421, 0x0444, 0x0100, 0x0100,
|
|
|
|
"Nokia",
|
|
|
|
"N91",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-07-08 01:45:13 +08:00
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Jiri Slaby <jirislaby@gmail.com> and
|
|
|
|
* Rene C. Castberg <Rene@Castberg.org>
|
|
|
|
*/
|
2006-06-13 21:59:32 +08:00
|
|
|
UNUSUAL_DEV( 0x0421, 0x0446, 0x0100, 0x0100,
|
|
|
|
"Nokia",
|
|
|
|
"N80",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-06-13 21:59:32 +08:00
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
|
|
|
|
|
2006-07-10 23:51:12 +08:00
|
|
|
/* Reported by Matthew Bloch <matthew@bytemark.co.uk> */
|
|
|
|
UNUSUAL_DEV( 0x0421, 0x044e, 0x0100, 0x0100,
|
|
|
|
"Nokia",
|
|
|
|
"E61",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-07-10 23:51:12 +08:00
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
|
|
|
|
|
2006-10-05 04:31:15 +08:00
|
|
|
/* Reported by Bardur Arantsson <bardur@scientician.net> */
|
2007-09-18 22:09:32 +08:00
|
|
|
UNUSUAL_DEV( 0x0421, 0x047c, 0x0370, 0x0610,
|
2006-10-05 04:31:15 +08:00
|
|
|
"Nokia",
|
|
|
|
"6131",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-10-05 04:31:15 +08:00
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2007-01-19 04:28:45 +08:00
|
|
|
/* Reported by Manuel Osdoba <manuel.osdoba@tu-ilmenau.de> */
|
2009-03-14 07:43:21 +08:00
|
|
|
UNUSUAL_DEV( 0x0421, 0x0492, 0x0452, 0x9999,
|
2007-01-19 04:28:45 +08:00
|
|
|
"Nokia",
|
|
|
|
"Nokia 6233",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-01-19 04:28:45 +08:00
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2006-10-13 21:59:17 +08:00
|
|
|
/* Reported by Alex Corcoles <alex@corcoles.net> */
|
|
|
|
UNUSUAL_DEV( 0x0421, 0x0495, 0x0370, 0x0370,
|
|
|
|
"Nokia",
|
|
|
|
"6234",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-10-13 21:59:17 +08:00
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2014-04-28 23:09:11 +08:00
|
|
|
/* Reported by Daniele Forsi <dforsi@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x0421, 0x04b9, 0x0350, 0x0350,
|
|
|
|
"Nokia",
|
|
|
|
"5300",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2014-04-27 10:20:14 +08:00
|
|
|
/* Patch submitted by Victor A. Santos <victoraur.santos@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x0421, 0x05af, 0x0742, 0x0742,
|
|
|
|
"Nokia",
|
|
|
|
"305",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_MAX_SECTORS_64),
|
|
|
|
|
2013-12-28 07:56:35 +08:00
|
|
|
/* Patch submitted by Mikhail Zolotaryov <lebon@lebon.org.ua> */
|
|
|
|
UNUSUAL_DEV( 0x0421, 0x06aa, 0x1110, 0x1110,
|
|
|
|
"Nokia",
|
|
|
|
"502",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2009-02-13 03:47:49 +08:00
|
|
|
#ifdef NO_SDDR09
|
2008-12-01 23:36:15 +08:00
|
|
|
UNUSUAL_DEV( 0x0436, 0x0005, 0x0100, 0x0100,
|
|
|
|
"Microtech",
|
|
|
|
"CameraMate",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_CB, NULL,
|
2008-12-01 23:36:15 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Patch submitted by Daniel Drake <dsd@gentoo.org>
|
|
|
|
* Device reports nonsense bInterfaceProtocol 6 when connected over USB2
|
|
|
|
*/
|
2006-02-14 07:59:42 +08:00
|
|
|
UNUSUAL_DEV( 0x0451, 0x5416, 0x0100, 0x0100,
|
|
|
|
"Neuros Audio",
|
|
|
|
"USB 2.0 HD 2.5",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_BULK, NULL,
|
2006-02-14 07:59:42 +08:00
|
|
|
US_FL_NEED_OVERRIDE ),
|
|
|
|
|
2005-08-23 22:46:13 +08:00
|
|
|
/*
|
|
|
|
* Pete Zaitcev <zaitcev@yahoo.com>, from Patrick C. F. Ernzer, bz#162559.
|
|
|
|
* The key does not actually break, but it returns zero sense which
|
|
|
|
* makes our SCSI stack to print confusing messages.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0457, 0x0150, 0x0100, 0x0100,
|
|
|
|
"USBest Technology", /* sold by Transcend */
|
|
|
|
"USB Mass Storage Device",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
|
2005-08-23 22:46:13 +08:00
|
|
|
|
2006-02-14 07:59:42 +08:00
|
|
|
/*
|
2016-04-18 18:09:11 +08:00
|
|
|
* Bohdan Linda <bohdan.linda@gmail.com>
|
|
|
|
* 1GB USB sticks MyFlash High Speed. I have restricted
|
|
|
|
* the revision to my model only
|
|
|
|
*/
|
2006-02-14 07:59:42 +08:00
|
|
|
UNUSUAL_DEV( 0x0457, 0x0151, 0x0100, 0x0100,
|
2007-07-05 04:52:47 +08:00
|
|
|
"USB 2.0",
|
|
|
|
"Flash Disk",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_NOT_LOCKABLE ),
|
2005-08-31 23:38:41 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Tamas Kerecsen <kerecsen@bigfoot.com>
|
2008-11-22 05:15:12 +08:00
|
|
|
* Obviously the PROM has not been customized by the VAR;
|
|
|
|
* the Vendor and Product string descriptors are:
|
|
|
|
* Generic Mass Storage (PROTOTYPE--Remember to change idVendor)
|
|
|
|
* Generic Manufacturer (PROTOTYPE--Remember to change idVendor)
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x045e, 0xffff, 0x0000, 0x0000,
|
|
|
|
"Mitac",
|
|
|
|
"GPS",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-22 05:15:12 +08:00
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2007-01-14 07:17:46 +08:00
|
|
|
/*
|
|
|
|
* This virtual floppy is found in Sun equipment (x4600, x4200m2, etc.)
|
|
|
|
* Reported by Pete Zaitcev <zaitcev@redhat.com>
|
|
|
|
* This device chokes on both version of MODE SENSE which we have, so
|
|
|
|
* use_10_for_ms is not effective, and we use US_FL_NO_WP_DETECT.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x046b, 0xff40, 0x0100, 0x0100,
|
|
|
|
"AMI",
|
|
|
|
"Virtual Floppy",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-01-14 07:17:46 +08:00
|
|
|
US_FL_NO_WP_DETECT),
|
|
|
|
|
2016-09-12 21:19:41 +08:00
|
|
|
/* Reported by Egbert Eich <eich@suse.com> */
|
|
|
|
UNUSUAL_DEV( 0x0480, 0xd010, 0x0100, 0x9999,
|
|
|
|
"Toshiba",
|
|
|
|
"External USB 3.0",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_ALWAYS_SYNC),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Patch submitted by Philipp Friedrich <philipp@void.at> */
|
|
|
|
UNUSUAL_DEV( 0x0482, 0x0100, 0x0100, 0x0100,
|
|
|
|
"Kyocera",
|
|
|
|
"Finecam S3x",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* Patch submitted by Philipp Friedrich <philipp@void.at> */
|
|
|
|
UNUSUAL_DEV( 0x0482, 0x0101, 0x0100, 0x0100,
|
|
|
|
"Kyocera",
|
|
|
|
"Finecam S4",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8070, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* Patch submitted by Stephane Galles <stephane.galles@free.fr> */
|
|
|
|
UNUSUAL_DEV( 0x0482, 0x0103, 0x0100, 0x0100,
|
|
|
|
"Kyocera",
|
|
|
|
"Finecam S5",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-10-27 01:16:09 +08:00
|
|
|
/* Patch submitted by Jens Taprogge <jens.taprogge@taprogge.org> */
|
|
|
|
UNUSUAL_DEV( 0x0482, 0x0107, 0x0100, 0x0100,
|
|
|
|
"Kyocera",
|
|
|
|
"CONTAX SL300R T*",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-10-27 01:16:09 +08:00
|
|
|
US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Paul Stewart <stewart@wetlogic.net>
|
|
|
|
* This entry is needed because the device reports Sub=ff
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x04a4, 0x0004, 0x0001, 0x0001,
|
|
|
|
"Hitachi",
|
|
|
|
"DVD-CAM DZ-MV100A Camcorder",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_CB, NULL, US_FL_SINGLE_LUN),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* BENQ DC5330
|
2008-11-19 03:08:07 +08:00
|
|
|
* Reported by Manuel Fombuena <mfombuena@ya.com> and
|
2016-04-18 18:09:11 +08:00
|
|
|
* Frank Copeland <fjc@thingy.apana.org.au>
|
|
|
|
*/
|
2008-11-19 03:08:07 +08:00
|
|
|
UNUSUAL_DEV( 0x04a5, 0x3010, 0x0100, 0x0100,
|
|
|
|
"Tekom Technologies, Inc",
|
|
|
|
"300_CAMERA",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-19 03:08:07 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Patch for Nikon coolpix 2000
|
|
|
|
* Submitted by Fabien Cosse <fabien.cosse@wanadoo.fr>
|
|
|
|
*/
|
2006-06-07 03:19:17 +08:00
|
|
|
UNUSUAL_DEV( 0x04b0, 0x0301, 0x0010, 0x0010,
|
|
|
|
"NIKON",
|
|
|
|
"NIKON DSC E2000",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE,NULL,
|
2006-06-07 03:19:17 +08:00
|
|
|
US_FL_NOT_LOCKABLE ),
|
|
|
|
|
2007-12-06 13:36:45 +08:00
|
|
|
/* Reported by Doug Maxey (dwm@austin.ibm.com) */
|
|
|
|
UNUSUAL_DEV( 0x04b3, 0x4001, 0x0110, 0x0110,
|
|
|
|
"IBM",
|
|
|
|
"IBM RSA2",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_CB, NULL,
|
2007-12-06 13:36:45 +08:00
|
|
|
US_FL_MAX_SECTORS_MIN),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Simon Levitt <simon@whattf.com>
|
|
|
|
* This entry needs Sub and Proto fields
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x04b8, 0x0601, 0x0100, 0x0100,
|
|
|
|
"Epson",
|
|
|
|
"875DC Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_CB, NULL, US_FL_FIX_INQUIRY),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Khalid Aziz <khalid@gonehiking.org>
|
|
|
|
* This entry is needed because the device reports Sub=ff
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x04b8, 0x0602, 0x0110, 0x0110,
|
|
|
|
"Epson",
|
|
|
|
"785EPX Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_BULK, NULL, US_FL_SINGLE_LUN),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Not sure who reported this originally but
|
2005-04-17 06:20:36 +08:00
|
|
|
* Pavel Machek <pavel@ucw.cz> reported that the extra US_FL_SINGLE_LUN
|
|
|
|
* flag be added */
|
|
|
|
UNUSUAL_DEV( 0x04cb, 0x0100, 0x0000, 0x2210,
|
|
|
|
"Fujifilm",
|
|
|
|
"FinePix 1400Zoom",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_UFI, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY | US_FL_SINGLE_LUN),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Ondrej Zary <linux@rainbow-software.org>
|
2010-02-28 05:56:28 +08:00
|
|
|
* The device reports one sector more and breaks when that sector is accessed
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x04ce, 0x0002, 0x026c, 0x026c,
|
|
|
|
"ScanLogic",
|
|
|
|
"SL11R-IDE",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-02-28 05:56:28 +08:00
|
|
|
US_FL_FIX_CAPACITY),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Kriston Fincher <kriston@airmail.net>
|
2005-04-17 06:20:36 +08:00
|
|
|
* Patch submitted by Sean Millichamp <sean@bruenor.org>
|
|
|
|
* This is to support the Panasonic PalmCam PV-SD4090
|
|
|
|
* This entry is needed because the device reports Sub=ff
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x04da, 0x0901, 0x0100, 0x0200,
|
|
|
|
"Panasonic",
|
|
|
|
"LS-120 Camera",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_UFI, USB_PR_DEVICE, NULL, 0),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* From Yukihiro Nakai, via zaitcev@yahoo.com.
|
|
|
|
* This is needed for CB instead of CBI
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x04da, 0x0d05, 0x0000, 0x0000,
|
|
|
|
"Sharp CE-CW05",
|
|
|
|
"CD-R/RW Drive",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8070, USB_PR_CB, NULL, 0),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* Reported by Adriaan Penning <a.penning@luon.net> */
|
|
|
|
UNUSUAL_DEV( 0x04da, 0x2372, 0x0000, 0x9999,
|
|
|
|
"Panasonic",
|
|
|
|
"DMC-LCx Camera",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
|
2005-10-19 23:32:14 +08:00
|
|
|
|
|
|
|
/* Reported by Simeon Simeonov <simeonov_2000@yahoo.com> */
|
|
|
|
UNUSUAL_DEV( 0x04da, 0x2373, 0x0000, 0x9999,
|
|
|
|
"LEICA",
|
|
|
|
"D-LUX Camera",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-10-19 23:32:14 +08:00
|
|
|
US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Most of the following entries were developed with the help of
|
2005-04-17 06:20:36 +08:00
|
|
|
* Shuttle/SCM directly.
|
|
|
|
*/
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x0001, 0x0200, 0x0200,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Matshita",
|
|
|
|
"LS-120",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8020, USB_PR_CB, NULL, 0),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x0002, 0x0100, 0x0100,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Shuttle",
|
|
|
|
"eUSCSI Bridge",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_SCM_MULT_TARG ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2009-02-13 03:47:49 +08:00
|
|
|
#ifdef NO_SDDR09
|
2008-12-01 23:36:15 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x0005, 0x0100, 0x0208,
|
|
|
|
"SCM Microsystems",
|
|
|
|
"eUSB CompactFlash Adapter",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_CB, NULL,
|
2008-12-01 23:36:15 +08:00
|
|
|
US_FL_SINGLE_LUN),
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Reported by Markus Demleitner <msdemlei@cl.uni-heidelberg.de> */
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x0006, 0x0100, 0x0100,
|
2005-04-17 06:20:36 +08:00
|
|
|
"SCM Microsystems Inc.",
|
|
|
|
"eUSB MMC Adapter",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_CB, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_SINGLE_LUN),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* Reported by Daniel Nouri <dpunktnpunkt@web.de> */
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x0006, 0x0205, 0x0205,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Shuttle",
|
|
|
|
"eUSB MMC Adapter",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_DEVICE, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_SINGLE_LUN),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x0007, 0x0100, 0x0200,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Sony",
|
|
|
|
"Hifd",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_CB, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_SINGLE_LUN),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x0009, 0x0200, 0x0200,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Shuttle",
|
|
|
|
"eUSB ATA/ATAPI Adapter",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8020, USB_PR_CB, NULL, 0),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x000a, 0x0200, 0x0200,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Shuttle",
|
|
|
|
"eUSB CompactFlash Adapter",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8020, USB_PR_CB, NULL, 0),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2014-09-23 19:43:02 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x000b, 0x0100, 0x0100,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Shuttle",
|
|
|
|
"eUSCSI Bridge",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2014-09-23 19:43:02 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x000c, 0x0100, 0x0100,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Shuttle",
|
|
|
|
"eUSCSI Bridge",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_SCM_MULT_TARG ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2014-09-23 19:43:02 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x000f, 0x0000, 0x9999,
|
|
|
|
"SCM Microsystems",
|
|
|
|
"eUSB SCSI Adapter (Bus Powered)",
|
2015-01-20 01:42:10 +08:00
|
|
|
USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
|
2014-09-23 19:43:02 +08:00
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x04e6, 0x0101, 0x0200, 0x0200,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Shuttle",
|
|
|
|
"CD-RW Device",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8020, USB_PR_CB, NULL, 0),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-04-28 22:26:13 +08:00
|
|
|
/* Reported by Dmitry Khlystov <adminimus@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x04e8, 0x507c, 0x0220, 0x0220,
|
|
|
|
"Samsung",
|
|
|
|
"YP-U3",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-04-28 22:26:13 +08:00
|
|
|
US_FL_MAX_SECTORS_64),
|
|
|
|
|
2010-12-14 23:16:49 +08:00
|
|
|
/* Reported by Vitaly Kuznetsov <vitty@altlinux.ru> */
|
|
|
|
UNUSUAL_DEV( 0x04e8, 0x5122, 0x0000, 0x9999,
|
|
|
|
"Samsung",
|
|
|
|
"YP-CP3",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_MAX_SECTORS_64 | US_FL_BULK_IGNORE_TAG),
|
|
|
|
|
2013-03-10 00:30:58 +08:00
|
|
|
/* Added by Dmitry Artamonow <mad_soft@inbox.ru> */
|
|
|
|
UNUSUAL_DEV( 0x04e8, 0x5136, 0x0000, 0x9999,
|
|
|
|
"Samsung",
|
|
|
|
"YP-Z3",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_MAX_SECTORS_64),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
|
2008-05-04 09:04:30 +08:00
|
|
|
* Device uses standards-violating 32-byte Bulk Command Block Wrappers and
|
|
|
|
* reports itself as "Proprietary SCSI Bulk." Cf. device entry 0x084d:0x0011.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x04fc, 0x80c2, 0x0100, 0x0100,
|
|
|
|
"Kobian Mercury",
|
|
|
|
"Binocam DCB-132",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-05-04 09:04:30 +08:00
|
|
|
US_FL_BULK32),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Reported by Bob Sass <rls@vectordb.com> -- only rev 1.33 tested */
|
|
|
|
UNUSUAL_DEV( 0x050d, 0x0115, 0x0133, 0x0133,
|
|
|
|
"Belkin",
|
|
|
|
"USB SCSI Adaptor",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_BULK, usb_stor_euscsi_init,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Iomega Clik! Drive
|
2005-04-17 06:20:36 +08:00
|
|
|
* Reported by David Chatenay <dchatenay@hotmail.com>
|
|
|
|
* The reason this is needed is not fully known.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0525, 0xa140, 0x0100, 0x0100,
|
|
|
|
"Iomega",
|
|
|
|
"USB Clik! 40",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8070, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
|
|
|
|
USB: storage: add last-sector hacks
This patch (as1189b) adds some hacks to usb-storage for dealing with
the growing problems involving bad capacity values and last-sector
accesses:
A new flag, US_FL_CAPACITY_OK, is created to indicate that
the device is known to report its capacity correctly. An
unusual_devs entry for Linux's own File-backed Storage Gadget
is added with this flag set, since g_file_storage always
reports the correct capacity and since the capacity need
not be even (it is determined by the size of the backing
file).
An entry in unusual_devs.h which has only the CAPACITY_OK
flag set shouldn't prejudice libusual, since the device will
work perfectly well with either usb-storage or ub. So a
new macro, COMPLIANT_DEV, is added to let libusual know
about these entries.
When a last-sector access succeeds and the total number of
sectors is odd (the unexpected case, in which guessing that
the number is even might cause trouble), a WARN is triggered.
The kerneloops.org project will collect these warnings,
allowing us to add CAPACITY_OK flags for the devices in
question before implementing the default-to-even heuristic.
If users want to prevent the stack dump produced by the WARN,
they can disable the hack by adding an unusual_devs entry
for their device with the CAPACITY_OK flag.
When a last-sector access fails three times in a row and
neither the FIX_CAPACITY nor the CAPACITY_OK flag is set,
we assume the last-sector bug is present. We replace the
existing status and sense data with values that will cause
the SCSI core to fail the access immediately rather than
retry indefinitely. This should fix the difficulties
people have been having with Nokia phones.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-12-16 01:43:41 +08:00
|
|
|
/* Added by Alan Stern <stern@rowland.harvard.edu> */
|
|
|
|
COMPLIANT_DEV(0x0525, 0xa4a5, 0x0000, 0x9999,
|
|
|
|
"Linux",
|
|
|
|
"File-backed Storage Gadget",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
USB: storage: add last-sector hacks
This patch (as1189b) adds some hacks to usb-storage for dealing with
the growing problems involving bad capacity values and last-sector
accesses:
A new flag, US_FL_CAPACITY_OK, is created to indicate that
the device is known to report its capacity correctly. An
unusual_devs entry for Linux's own File-backed Storage Gadget
is added with this flag set, since g_file_storage always
reports the correct capacity and since the capacity need
not be even (it is determined by the size of the backing
file).
An entry in unusual_devs.h which has only the CAPACITY_OK
flag set shouldn't prejudice libusual, since the device will
work perfectly well with either usb-storage or ub. So a
new macro, COMPLIANT_DEV, is added to let libusual know
about these entries.
When a last-sector access succeeds and the total number of
sectors is odd (the unexpected case, in which guessing that
the number is even might cause trouble), a WARN is triggered.
The kerneloops.org project will collect these warnings,
allowing us to add CAPACITY_OK flags for the devices in
question before implementing the default-to-even heuristic.
If users want to prevent the stack dump produced by the WARN,
they can disable the hack by adding an unusual_devs entry
for their device with the CAPACITY_OK flag.
When a last-sector access fails three times in a row and
neither the FIX_CAPACITY nor the CAPACITY_OK flag is set,
we assume the last-sector bug is present. We replace the
existing status and sense data with values that will cause
the SCSI core to fail the access immediately rather than
retry indefinitely. This should fix the difficulties
people have been having with Nokia phones.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-12-16 01:43:41 +08:00
|
|
|
US_FL_CAPACITY_OK ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Yakumo Mega Image 37
|
2005-04-17 06:20:36 +08:00
|
|
|
* Submitted by Stephan Fuhrmann <atomenergie@t-online.de> */
|
|
|
|
UNUSUAL_DEV( 0x052b, 0x1801, 0x0100, 0x0100,
|
|
|
|
"Tekom Technologies, Inc",
|
|
|
|
"300_CAMERA",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Another Yakumo camera.
|
|
|
|
* Reported by Michele Alzetta <michele.alzetta@aliceposta.it>
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x052b, 0x1804, 0x0100, 0x0100,
|
|
|
|
"Tekom Technologies, Inc",
|
|
|
|
"300_CAMERA",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
|
|
|
/* Reported by Iacopo Spalletti <avvisi@spalletti.it> */
|
|
|
|
UNUSUAL_DEV( 0x052b, 0x1807, 0x0100, 0x0100,
|
|
|
|
"Tekom Technologies, Inc",
|
|
|
|
"300_CAMERA",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Yakumo Mega Image 47
|
|
|
|
* Reported by Bjoern Paetzel <kolrabi@kolrabi.de>
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x052b, 0x1905, 0x0100, 0x0100,
|
|
|
|
"Tekom Technologies, Inc",
|
|
|
|
"400_CAMERA",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Paul Ortyl <ortylp@3miasto.net>
|
|
|
|
* Note that it's similar to the device above, only different prodID
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x052b, 0x1911, 0x0100, 0x0100,
|
|
|
|
"Tekom Technologies, Inc",
|
|
|
|
"400_CAMERA",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x054c, 0x0010, 0x0106, 0x0450,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Sony",
|
2007-07-05 04:52:47 +08:00
|
|
|
"DSC-S30/S70/S75/505V/F505/F707/F717/P8",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Submitted by Lars Jacob <jacob.lars@googlemail.com>
|
|
|
|
* This entry is needed because the device reports Sub=ff
|
|
|
|
*/
|
2006-07-10 23:53:58 +08:00
|
|
|
UNUSUAL_DEV( 0x054c, 0x0010, 0x0500, 0x0610,
|
2005-12-27 15:04:24 +08:00
|
|
|
"Sony",
|
2006-07-10 23:53:58 +08:00
|
|
|
"DSC-T1/T5/H5",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8070, USB_PR_DEVICE, NULL,
|
2005-12-27 15:04:24 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* Reported by wim@geeks.nl */
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Sony",
|
|
|
|
"Memorystick NW-MS7",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
|
|
|
/* Submitted by Olaf Hering, <olh@suse.de> SuSE Bugzilla #49049 */
|
2007-01-25 02:19:37 +08:00
|
|
|
UNUSUAL_DEV( 0x054c, 0x002c, 0x0501, 0x2000,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Sony",
|
|
|
|
"USB Floppy Drive",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x054c, 0x002d, 0x0100, 0x0100,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Sony",
|
|
|
|
"Memorystick MSAC-US1",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
|
|
|
/* Submitted by Klaus Mueller <k.mueller@intershop.de> */
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x054c, 0x002e, 0x0106, 0x0310,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Sony",
|
|
|
|
"Handycam",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
|
|
|
/* Submitted by Rajesh Kumble Nayak <nayak@obs-nice.fr> */
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x054c, 0x002e, 0x0500, 0x0500,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Sony",
|
|
|
|
"Handycam HC-85",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_UFI, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x054c, 0x0032, 0x0000, 0x9999,
|
|
|
|
"Sony",
|
|
|
|
"Memorystick MSC-U01N",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
|
|
|
/* Submitted by Michal Mlotek <mlotek@foobar.pl> */
|
|
|
|
UNUSUAL_DEV( 0x054c, 0x0058, 0x0000, 0x9999,
|
|
|
|
"Sony",
|
|
|
|
"PEG N760c Memorystick",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x054c, 0x0069, 0x0000, 0x9999,
|
|
|
|
"Sony",
|
|
|
|
"Memorystick MSC-U03",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_UFI, USB_PR_CB, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
|
|
|
/* Submitted by Nathan Babb <nathan@lexi.com> */
|
|
|
|
UNUSUAL_DEV( 0x054c, 0x006d, 0x0000, 0x9999,
|
|
|
|
"Sony",
|
|
|
|
"PEG Mass Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
|
|
|
|
2008-11-19 03:08:07 +08:00
|
|
|
/* Submitted by Frank Engel <frankie@cse.unsw.edu.au> */
|
|
|
|
UNUSUAL_DEV( 0x054c, 0x0099, 0x0000, 0x9999,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Sony",
|
|
|
|
"PEG Mass Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
2008-11-19 03:08:07 +08:00
|
|
|
|
|
|
|
/* Submitted by Mike Alborn <malborn@deandra.homeip.net> */
|
|
|
|
UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
|
2007-07-05 04:52:47 +08:00
|
|
|
"Sony",
|
|
|
|
"PEG Mass Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2013-07-02 19:34:30 +08:00
|
|
|
/* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
|
|
|
|
UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
|
|
|
|
"Sony Corp.",
|
|
|
|
"MicroVault Flash Drive",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_READ_CAPACITY_16 ),
|
|
|
|
|
2006-08-29 04:53:53 +08:00
|
|
|
/* floppy reports multiple luns */
|
|
|
|
UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
|
2007-07-05 04:52:47 +08:00
|
|
|
"SAMSUNG",
|
|
|
|
"SFD-321U [FW 0C]",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
2006-08-29 04:53:53 +08:00
|
|
|
|
2009-08-21 10:00:19 +08:00
|
|
|
/* We keep this entry to force the transport; firmware 3.00 and later is ok. */
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x057b, 0x0000, 0x0000, 0x0299,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Y-E Data",
|
|
|
|
"Flashbuster-U",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_CB, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Johann Cardon <johann.cardon@free.fr>
|
2005-04-17 06:20:36 +08:00
|
|
|
* This entry is needed only because the device reports
|
|
|
|
* bInterfaceClass = 0xff (vendor-specific)
|
|
|
|
*/
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x057b, 0x0022, 0x0000, 0x9999,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Y-E Data",
|
|
|
|
"Silicon Media R/W",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2007-11-26 23:23:05 +08:00
|
|
|
/* Reported by RTE <raszilki@yandex.ru> */
|
|
|
|
UNUSUAL_DEV( 0x058f, 0x6387, 0x0141, 0x0141,
|
|
|
|
"JetFlash",
|
|
|
|
"TS1GJF2A/120",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-11-26 23:23:05 +08:00
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Fabrizio Fellini <fello@libero.it> */
|
|
|
|
UNUSUAL_DEV( 0x0595, 0x4343, 0x0000, 0x2210,
|
|
|
|
"Fujifilm",
|
|
|
|
"Digital Camera EX-20 DSC",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8070, USB_PR_DEVICE, NULL, 0 ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Andre Welter <a.r.welter@gmx.de>
|
2008-02-13 23:45:28 +08:00
|
|
|
* This antique device predates the release of the Bulk-only Transport
|
|
|
|
* spec, and if it gets a Get-Max-LUN then it requires the host to do a
|
|
|
|
* Clear-Halt on the bulk endpoints. The SINGLE_LUN flag will prevent
|
|
|
|
* us from sending the request.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x059b, 0x0001, 0x0100, 0x0100,
|
|
|
|
"Iomega",
|
|
|
|
"ZIP 100",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-02-13 23:45:28 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
2014-09-11 20:15:45 +08:00
|
|
|
UNUSUAL_DEV( 0x059b, 0x0040, 0x0100, 0x0100,
|
|
|
|
"Iomega",
|
|
|
|
"Jaz USB Adapter",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
2006-09-15 03:18:54 +08:00
|
|
|
/* Reported by <Hendryk.Pfeiffer@gmx.de> */
|
|
|
|
UNUSUAL_DEV( 0x059f, 0x0643, 0x0000, 0x0000,
|
|
|
|
"LaCie",
|
|
|
|
"DVD+-RW",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-09-15 03:18:54 +08:00
|
|
|
US_FL_GO_SLOW ),
|
|
|
|
|
2015-04-30 17:09:44 +08:00
|
|
|
/* Reported by Christian Schaller <cschalle@redhat.com> */
|
|
|
|
UNUSUAL_DEV( 0x059f, 0x0651, 0x0000, 0x0000,
|
|
|
|
"LaCie",
|
|
|
|
"External HDD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_WP_DETECT ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Submitted by Joel Bourquard <numlock@freesurf.ch>
|
2005-04-17 06:20:36 +08:00
|
|
|
* Some versions of this device need the SubClass and Protocol overrides
|
|
|
|
* while others don't.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x05ab, 0x0060, 0x1104, 0x1110,
|
|
|
|
"In-System",
|
|
|
|
"PyroGate External CD-ROM Enclosure (FCD-523)",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_BULK, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_NEED_OVERRIDE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Submitted by Sven Anderson <sven-linux@anderson.de>
|
[PATCH] USB: clean up all iPod models in unusual_devs.h
Phil Dibowitz wrote:
> 1. You're adding product IDs 1202, 1203, 1204, and 1205. 1203 was
> already there, but you remove it, OK, but 1205 is already there, so
> you'll need to fix that.
I was not removing 1203, it's just the extension of the bcd range. You are
right about 1205, as I wrote, it was a patch against 2.6.11.7. Attached is
a patch against 2.6.12-rc2.
> 2. I'm OK with the full bcd range if Apple is changing it on firmware
> revs... fine, but it's bcd, not hex... 0x9999 =)
I just copied from other entries. There're a lot 0xffffs in unusual_dev.h,
so I assumed it is correct. I changed it to 0x9999.
> 3. It's rather obnoxious to take the original submitter's credit away.
I didn't remove it, I changed it to "based on...". Because I changed
something (the range) in his entry, I thought it is the best to take the
responsibility but keep the origin. Anyway, in the new patch I did it in a
different way.
> 4. Your /proc/bus/usb/devices shows 1204, but I see no evidence 1202 is
> really an iPod.
I don't have an old iPod mini, but you find a lot of evidence here:
http://www.google.com/search?q=0x1202+ipod
Especially this one:
http://www.qbik.ch/usb/devices/showdescr.php?id=2737
> It also looks like 1205's entry is getting mangled, but I haven't
> attempted to apply the patch, so I'm not sure.
No, the patch was ok, but I agree it looks strange. It's not very
readable, because I cannot tell diff to work blockwise instead of
linewise. Because of the similarity of the entries, diff splits and merges
them. Anyway, the new patch "looks" better. ;-)
Signed-off-by: Sven Anderson <sven-linux@anderson.de>
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-04-23 06:06:58 +08:00
|
|
|
* There are at least four ProductIDs used for iPods, so I added 0x1202 and
|
|
|
|
* 0x1204. They just need the US_FL_FIX_CAPACITY. As the bcdDevice appears
|
|
|
|
* to change with firmware updates, I changed the range to maximum for all
|
|
|
|
* iPod entries.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x05ac, 0x1202, 0x0000, 0x9999,
|
|
|
|
"Apple",
|
|
|
|
"iPod",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
[PATCH] USB: clean up all iPod models in unusual_devs.h
Phil Dibowitz wrote:
> 1. You're adding product IDs 1202, 1203, 1204, and 1205. 1203 was
> already there, but you remove it, OK, but 1205 is already there, so
> you'll need to fix that.
I was not removing 1203, it's just the extension of the bcd range. You are
right about 1205, as I wrote, it was a patch against 2.6.11.7. Attached is
a patch against 2.6.12-rc2.
> 2. I'm OK with the full bcd range if Apple is changing it on firmware
> revs... fine, but it's bcd, not hex... 0x9999 =)
I just copied from other entries. There're a lot 0xffffs in unusual_dev.h,
so I assumed it is correct. I changed it to 0x9999.
> 3. It's rather obnoxious to take the original submitter's credit away.
I didn't remove it, I changed it to "based on...". Because I changed
something (the range) in his entry, I thought it is the best to take the
responsibility but keep the origin. Anyway, in the new patch I did it in a
different way.
> 4. Your /proc/bus/usb/devices shows 1204, but I see no evidence 1202 is
> really an iPod.
I don't have an old iPod mini, but you find a lot of evidence here:
http://www.google.com/search?q=0x1202+ipod
Especially this one:
http://www.qbik.ch/usb/devices/showdescr.php?id=2737
> It also looks like 1205's entry is getting mangled, but I haven't
> attempted to apply the patch, so I'm not sure.
No, the patch was ok, but I agree it looks strange. It's not very
readable, because I cannot tell diff to work blockwise instead of
linewise. Because of the similarity of the entries, diff splits and merges
them. Anyway, the new patch "looks" better. ;-)
Signed-off-by: Sven Anderson <sven-linux@anderson.de>
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-04-23 06:06:58 +08:00
|
|
|
US_FL_FIX_CAPACITY ),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Reported by Avi Kivity <avi@argo.co.il> */
|
[PATCH] USB: clean up all iPod models in unusual_devs.h
Phil Dibowitz wrote:
> 1. You're adding product IDs 1202, 1203, 1204, and 1205. 1203 was
> already there, but you remove it, OK, but 1205 is already there, so
> you'll need to fix that.
I was not removing 1203, it's just the extension of the bcd range. You are
right about 1205, as I wrote, it was a patch against 2.6.11.7. Attached is
a patch against 2.6.12-rc2.
> 2. I'm OK with the full bcd range if Apple is changing it on firmware
> revs... fine, but it's bcd, not hex... 0x9999 =)
I just copied from other entries. There're a lot 0xffffs in unusual_dev.h,
so I assumed it is correct. I changed it to 0x9999.
> 3. It's rather obnoxious to take the original submitter's credit away.
I didn't remove it, I changed it to "based on...". Because I changed
something (the range) in his entry, I thought it is the best to take the
responsibility but keep the origin. Anyway, in the new patch I did it in a
different way.
> 4. Your /proc/bus/usb/devices shows 1204, but I see no evidence 1202 is
> really an iPod.
I don't have an old iPod mini, but you find a lot of evidence here:
http://www.google.com/search?q=0x1202+ipod
Especially this one:
http://www.qbik.ch/usb/devices/showdescr.php?id=2737
> It also looks like 1205's entry is getting mangled, but I haven't
> attempted to apply the patch, so I'm not sure.
No, the patch was ok, but I agree it looks strange. It's not very
readable, because I cannot tell diff to work blockwise instead of
linewise. Because of the similarity of the entries, diff splits and merges
them. Anyway, the new patch "looks" better. ;-)
Signed-off-by: Sven Anderson <sven-linux@anderson.de>
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-04-23 06:06:58 +08:00
|
|
|
UNUSUAL_DEV( 0x05ac, 0x1203, 0x0000, 0x9999,
|
|
|
|
"Apple",
|
|
|
|
"iPod",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
[PATCH] USB: clean up all iPod models in unusual_devs.h
Phil Dibowitz wrote:
> 1. You're adding product IDs 1202, 1203, 1204, and 1205. 1203 was
> already there, but you remove it, OK, but 1205 is already there, so
> you'll need to fix that.
I was not removing 1203, it's just the extension of the bcd range. You are
right about 1205, as I wrote, it was a patch against 2.6.11.7. Attached is
a patch against 2.6.12-rc2.
> 2. I'm OK with the full bcd range if Apple is changing it on firmware
> revs... fine, but it's bcd, not hex... 0x9999 =)
I just copied from other entries. There're a lot 0xffffs in unusual_dev.h,
so I assumed it is correct. I changed it to 0x9999.
> 3. It's rather obnoxious to take the original submitter's credit away.
I didn't remove it, I changed it to "based on...". Because I changed
something (the range) in his entry, I thought it is the best to take the
responsibility but keep the origin. Anyway, in the new patch I did it in a
different way.
> 4. Your /proc/bus/usb/devices shows 1204, but I see no evidence 1202 is
> really an iPod.
I don't have an old iPod mini, but you find a lot of evidence here:
http://www.google.com/search?q=0x1202+ipod
Especially this one:
http://www.qbik.ch/usb/devices/showdescr.php?id=2737
> It also looks like 1205's entry is getting mangled, but I haven't
> attempted to apply the patch, so I'm not sure.
No, the patch was ok, but I agree it looks strange. It's not very
readable, because I cannot tell diff to work blockwise instead of
linewise. Because of the similarity of the entries, diff splits and merges
them. Anyway, the new patch "looks" better. ;-)
Signed-off-by: Sven Anderson <sven-linux@anderson.de>
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-04-23 06:06:58 +08:00
|
|
|
US_FL_FIX_CAPACITY ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x05ac, 0x1204, 0x0000, 0x9999,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Apple",
|
|
|
|
"iPod",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-01-01 05:43:26 +08:00
|
|
|
US_FL_FIX_CAPACITY | US_FL_NOT_LOCKABLE ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
[PATCH] USB: clean up all iPod models in unusual_devs.h
Phil Dibowitz wrote:
> 1. You're adding product IDs 1202, 1203, 1204, and 1205. 1203 was
> already there, but you remove it, OK, but 1205 is already there, so
> you'll need to fix that.
I was not removing 1203, it's just the extension of the bcd range. You are
right about 1205, as I wrote, it was a patch against 2.6.11.7. Attached is
a patch against 2.6.12-rc2.
> 2. I'm OK with the full bcd range if Apple is changing it on firmware
> revs... fine, but it's bcd, not hex... 0x9999 =)
I just copied from other entries. There're a lot 0xffffs in unusual_dev.h,
so I assumed it is correct. I changed it to 0x9999.
> 3. It's rather obnoxious to take the original submitter's credit away.
I didn't remove it, I changed it to "based on...". Because I changed
something (the range) in his entry, I thought it is the best to take the
responsibility but keep the origin. Anyway, in the new patch I did it in a
different way.
> 4. Your /proc/bus/usb/devices shows 1204, but I see no evidence 1202 is
> really an iPod.
I don't have an old iPod mini, but you find a lot of evidence here:
http://www.google.com/search?q=0x1202+ipod
Especially this one:
http://www.qbik.ch/usb/devices/showdescr.php?id=2737
> It also looks like 1205's entry is getting mangled, but I haven't
> attempted to apply the patch, so I'm not sure.
No, the patch was ok, but I agree it looks strange. It's not very
readable, because I cannot tell diff to work blockwise instead of
linewise. Because of the similarity of the entries, diff splits and merges
them. Anyway, the new patch "looks" better. ;-)
Signed-off-by: Sven Anderson <sven-linux@anderson.de>
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-04-23 06:06:58 +08:00
|
|
|
UNUSUAL_DEV( 0x05ac, 0x1205, 0x0000, 0x9999,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Apple",
|
|
|
|
"iPod",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_CAPACITY ),
|
|
|
|
|
2005-09-30 15:27:36 +08:00
|
|
|
/*
|
|
|
|
* Reported by Tyson Vinson <lornoss@gmail.com>
|
|
|
|
* This particular productId is the iPod Nano
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x05ac, 0x120a, 0x0000, 0x9999,
|
|
|
|
"Apple",
|
|
|
|
"iPod",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-09-30 15:27:36 +08:00
|
|
|
US_FL_FIX_CAPACITY ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Dan Williams <dcbw@redhat.com>
|
2008-12-15 01:39:22 +08:00
|
|
|
* Option N.V. mobile broadband modems
|
|
|
|
* Ignore driver CD mode and force into modem mode by default.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Globetrotter HSDPA; mass storage shows up as Qualcomm for vendor */
|
|
|
|
UNUSUAL_DEV( 0x05c6, 0x1000, 0x0000, 0x9999,
|
|
|
|
"Option N.V.",
|
|
|
|
"Mass Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
|
2008-12-15 01:39:22 +08:00
|
|
|
0),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Reported by Blake Matheny <bmatheny@purdue.edu> */
|
|
|
|
UNUSUAL_DEV( 0x05dc, 0xb002, 0x0000, 0x0113,
|
|
|
|
"Lexar",
|
|
|
|
"USB CF Reader",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* The following two entries are for a Genesys USB to IDE
|
2005-04-17 06:20:36 +08:00
|
|
|
* converter chip, but it changes its ProductId depending
|
|
|
|
* on whether or not a disk or an optical device is enclosed
|
|
|
|
* They were originally reported by Alexander Oltu
|
|
|
|
* <alexander@all-2.com> and Peter Marks <peter.marks@turner.com>
|
|
|
|
* respectively.
|
2006-06-25 08:27:10 +08:00
|
|
|
*
|
|
|
|
* US_FL_GO_SLOW and US_FL_MAX_SECTORS_64 added by Phil Dibowitz
|
|
|
|
* <phil@ipom.com> as these flags were made and hard-coded
|
|
|
|
* special-cases were pulled from scsiglue.c.
|
2005-04-17 06:20:36 +08:00
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
|
|
|
|
"Genesys Logic",
|
|
|
|
"USB to IDE Optical",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-02-24 01:02:05 +08:00
|
|
|
US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
|
|
|
|
"Genesys Logic",
|
|
|
|
"USB to IDE Disk",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-02-24 01:02:05 +08:00
|
|
|
US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-11-24 12:06:38 +08:00
|
|
|
/* Reported by Ben Efros <ben@pc-doctor.com> */
|
|
|
|
UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
|
|
|
|
"Genesys Logic",
|
|
|
|
"USB to SATA",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-24 12:06:38 +08:00
|
|
|
US_FL_SANE_SENSE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Hanno Boeck <hanno@gmx.de>
|
|
|
|
* Taken from the Lycoris Kernel
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x0636, 0x0003, 0x0000, 0x9999,
|
|
|
|
"Vivitar",
|
|
|
|
"Vivicam 35Xx",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_BULK, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x0644, 0x0000, 0x0100, 0x0100,
|
2005-04-17 06:20:36 +08:00
|
|
|
"TEAC",
|
|
|
|
"Floppy Drive",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_UFI, USB_PR_CB, NULL, 0 ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* Reported by Darsen Lu <darsen@micro.ee.nthu.edu.tw> */
|
|
|
|
UNUSUAL_DEV( 0x066f, 0x8000, 0x0001, 0x0001,
|
|
|
|
"SigmaTel",
|
|
|
|
"USBMSC Audio Player",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_CAPACITY ),
|
|
|
|
|
2009-12-08 05:39:16 +08:00
|
|
|
/* Reported by Daniel Kukula <daniel.kuku@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x067b, 0x1063, 0x0100, 0x0100,
|
|
|
|
"Prolific Technology, Inc.",
|
|
|
|
"Prolific Storage Gadget",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-12-08 05:39:16 +08:00
|
|
|
US_FL_BAD_SENSE ),
|
|
|
|
|
2009-08-07 06:20:19 +08:00
|
|
|
/* Reported by Rogerio Brito <rbrito@ime.usp.br> */
|
|
|
|
UNUSUAL_DEV( 0x067b, 0x2317, 0x0001, 0x001,
|
|
|
|
"Prolific Technology, Inc.",
|
|
|
|
"Mass Storage Device",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-08-07 06:20:19 +08:00
|
|
|
US_FL_NOT_LOCKABLE ),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Reported by Richard -=[]=- <micro_flyer@hotmail.com> */
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Change to bcdDeviceMin (0x0100 to 0x0001) reported by
|
|
|
|
* Thomas Bartosik <tbartdev@gmx-topmail.de>
|
|
|
|
*/
|
2009-03-16 23:04:38 +08:00
|
|
|
UNUSUAL_DEV( 0x067b, 0x2507, 0x0001, 0x0100,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Prolific Technology Inc.",
|
|
|
|
"Mass Storage Device",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
|
|
|
|
|
|
|
|
/* Reported by Alex Butcher <alex.butcher@assursys.co.uk> */
|
2008-12-12 18:01:45 +08:00
|
|
|
UNUSUAL_DEV( 0x067b, 0x3507, 0x0001, 0x0101,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Prolific Technology Inc.",
|
|
|
|
"ATAPI-6 Bridge Controller",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_CAPACITY | US_FL_GO_SLOW ),
|
|
|
|
|
|
|
|
/* Submitted by Benny Sjostrand <benny@hostmobility.com> */
|
|
|
|
UNUSUAL_DEV( 0x0686, 0x4011, 0x0001, 0x0001,
|
|
|
|
"Minolta",
|
|
|
|
"Dimage F300",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
/* Reported by Miguel A. Fosas <amn3s1a@ono.com> */
|
|
|
|
UNUSUAL_DEV( 0x0686, 0x4017, 0x0001, 0x0001,
|
2007-07-05 04:52:47 +08:00
|
|
|
"Minolta",
|
|
|
|
"DIMAGE E223",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_DEVICE, NULL, 0 ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
|
|
|
|
"Hagiwara",
|
|
|
|
"Flashgate",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_BULK, NULL, 0 ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2006-02-23 23:19:25 +08:00
|
|
|
/* Reported by David Hamilton <niftimusmaximus@lycos.com> */
|
|
|
|
UNUSUAL_DEV( 0x069b, 0x3004, 0x0001, 0x0001,
|
|
|
|
"Thomson Multimedia Inc.",
|
|
|
|
"RCA RD1080 MP3 Player",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-02-23 23:19:25 +08:00
|
|
|
US_FL_FIX_CAPACITY ),
|
|
|
|
|
2014-08-20 04:45:22 +08:00
|
|
|
UNUSUAL_DEV( 0x06ca, 0x2003, 0x0100, 0x0100,
|
|
|
|
"Newer Technology",
|
|
|
|
"uSCSI",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2008-09-04 21:56:35 +08:00
|
|
|
/* Reported by Adrian Pilchowiec <adi1981@epf.pl> */
|
|
|
|
UNUSUAL_DEV( 0x071b, 0x3203, 0x0000, 0x0000,
|
|
|
|
"RockChip",
|
|
|
|
"MP3",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-10-02 05:20:11 +08:00
|
|
|
US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64 |
|
|
|
|
US_FL_NO_READ_CAPACITY_16),
|
2008-09-04 21:56:35 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Jean-Baptiste Onofre <jb@nanthrax.net>
|
2008-12-21 03:11:55 +08:00
|
|
|
* Support the following product :
|
|
|
|
* "Dane-Elec MediaTouch"
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x071b, 0x32bb, 0x0000, 0x0000,
|
|
|
|
"RockChip",
|
|
|
|
"MTP",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-12-21 03:11:55 +08:00
|
|
|
US_FL_NO_WP_DETECT | US_FL_MAX_SECTORS_64),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Massimiliano Ghilardi <massimiliano.ghilardi@gmail.com>
|
2007-09-05 04:53:43 +08:00
|
|
|
* This USB MP3/AVI player device fails and disconnects if more than 128
|
|
|
|
* sectors (64kB) are read/written in a single command, and may be present
|
|
|
|
* at least in the following products:
|
|
|
|
* "Magnex Digital Video Panel DVP 1800"
|
|
|
|
* "MP4 AIGO 4GB SLOT SD"
|
|
|
|
* "Teclast TL-C260 MP3"
|
|
|
|
* "i.Meizu PMP MP3/MP4"
|
|
|
|
* "Speed MV8 MP4 Audio Player"
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x071b, 0x3203, 0x0100, 0x0100,
|
|
|
|
"RockChip",
|
|
|
|
"ROCK MP3",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-09-05 04:53:43 +08:00
|
|
|
US_FL_MAX_SECTORS_64),
|
|
|
|
|
2006-04-17 10:19:25 +08:00
|
|
|
/* Reported by Olivier Blondeau <zeitoun@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x0727, 0x0306, 0x0100, 0x0100,
|
|
|
|
"ATMEL",
|
|
|
|
"SND1 Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-04-17 10:19:25 +08:00
|
|
|
US_FL_IGNORE_RESIDUE),
|
|
|
|
|
2006-03-06 13:36:51 +08:00
|
|
|
/* Submitted by Roman Hodek <roman@hodek.net> */
|
|
|
|
UNUSUAL_DEV( 0x0781, 0x0001, 0x0200, 0x0200,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Sandisk",
|
|
|
|
"ImageMate SDDR-05a",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_CB, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
2006-03-06 13:36:51 +08:00
|
|
|
UNUSUAL_DEV( 0x0781, 0x0002, 0x0009, 0x0009,
|
|
|
|
"SanDisk Corporation",
|
|
|
|
"ImageMate CompactFlash USB",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-03-06 13:36:51 +08:00
|
|
|
US_FL_FIX_CAPACITY ),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x0781, 0x0100, 0x0100, 0x0100,
|
|
|
|
"Sandisk",
|
|
|
|
"ImageMate SDDR-12",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_CB, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
|
|
|
/* Reported by Eero Volotinen <eero@ping-viini.org> */
|
2005-10-24 14:52:39 +08:00
|
|
|
UNUSUAL_DEV( 0x07ab, 0xfccd, 0x0000, 0x9999,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Freecom Technologies",
|
|
|
|
"FHD-Classic",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_CAPACITY),
|
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x07af, 0x0004, 0x0100, 0x0133,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Microtech",
|
|
|
|
"USB-SCSI-DB25",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2007-07-05 04:52:47 +08:00
|
|
|
UNUSUAL_DEV( 0x07af, 0x0005, 0x0100, 0x0100,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Microtech",
|
|
|
|
"USB-SCSI-HD50",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_SCM_MULT_TARG ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2009-02-13 03:47:49 +08:00
|
|
|
#ifdef NO_SDDR09
|
2008-12-01 23:36:15 +08:00
|
|
|
UNUSUAL_DEV( 0x07af, 0x0006, 0x0100, 0x0100,
|
|
|
|
"Microtech",
|
|
|
|
"CameraMate",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_SCSI, USB_PR_CB, NULL,
|
2008-12-01 23:36:15 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
2005-04-17 06:20:36 +08:00
|
|
|
#endif
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Datafab KECF-USB / Sagatek DCS-CF / Simpletech Flashlink UCF-100
|
2005-04-17 06:20:36 +08:00
|
|
|
* Only revision 1.13 tested (same for all of the above devices,
|
|
|
|
* based on the Datafab DF-UG-07 chip). Needed for US_FL_FIX_INQUIRY.
|
|
|
|
* Submitted by Marek Michalkiewicz <marekm@amelek.gda.pl>.
|
|
|
|
* See also http://martin.wilck.bei.t-online.de/#kecf .
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
|
|
|
|
"Datafab",
|
|
|
|
"KECF-USB",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-01-26 00:58:43 +08:00
|
|
|
US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Rauch Wolke <rauchwolke@gmx.net>
|
2009-03-24 22:39:13 +08:00
|
|
|
* and augmented by binbin <binbinsh@gmail.com> (Bugzilla #12882)
|
|
|
|
*/
|
2008-07-21 22:08:28 +08:00
|
|
|
UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,
|
|
|
|
"Simple Tech/Datafab",
|
|
|
|
"CF+SM Reader",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-03-24 22:39:13 +08:00
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_MAX_SECTORS_64 ),
|
2008-07-21 22:08:28 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Casio QV 2x00/3x00/4000/8000 digital still cameras are not conformant
|
2005-04-17 06:20:36 +08:00
|
|
|
* to the USB storage specification in two ways:
|
|
|
|
* - They tell us they are using transport protocol CBI. In reality they
|
|
|
|
* are using transport protocol CB.
|
|
|
|
* - They don't like the INQUIRY command. So we must handle this command
|
|
|
|
* of the SCSI layer ourselves.
|
|
|
|
* - Some cameras with idProduct=0x1001 and bcdDevice=0x1000 have
|
2010-10-07 19:05:21 +08:00
|
|
|
* bInterfaceProtocol=0x00 (USB_PR_CBI) while others have 0x01 (USB_PR_CB).
|
|
|
|
* So don't remove the USB_PR_CB override!
|
|
|
|
* - Cameras with bcdDevice=0x9009 require the USB_SC_8070 override.
|
2005-04-17 06:20:36 +08:00
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x07cf, 0x1001, 0x1000, 0x9999,
|
|
|
|
"Casio",
|
|
|
|
"QV DigitalCamera",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_8070, USB_PR_CB, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_NEED_OVERRIDE | US_FL_FIX_INQUIRY ),
|
|
|
|
|
2012-10-22 17:18:56 +08:00
|
|
|
/* Submitted by Oleksandr Chumachenko <ledest@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x07cf, 0x1167, 0x0100, 0x0100,
|
|
|
|
"Casio",
|
|
|
|
"EX-N1 DigitalCamera",
|
|
|
|
USB_SC_8070, USB_PR_DEVICE, NULL, 0),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Submitted by Hartmut Wahl <hwahl@hwahl.de>*/
|
|
|
|
UNUSUAL_DEV( 0x0839, 0x000a, 0x0001, 0x0001,
|
|
|
|
"Samsung",
|
|
|
|
"Digimax 410",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY),
|
|
|
|
|
2008-11-05 00:33:35 +08:00
|
|
|
/* Reported by Luciano Rocha <luciano@eurotux.com> */
|
|
|
|
UNUSUAL_DEV( 0x0840, 0x0082, 0x0001, 0x0001,
|
|
|
|
"Argosy",
|
|
|
|
"Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-05 00:33:35 +08:00
|
|
|
US_FL_FIX_CAPACITY),
|
|
|
|
|
2008-12-12 07:04:11 +08:00
|
|
|
/* Reported and patched by Nguyen Anh Quynh <aquynh@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0001,
|
|
|
|
"Argosy",
|
|
|
|
"Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-12-12 07:04:11 +08:00
|
|
|
US_FL_FIX_CAPACITY),
|
|
|
|
|
2009-01-21 06:42:52 +08:00
|
|
|
/* Reported by Martijn Hijdra <martijn.hijdra@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
|
|
|
|
"Argosy",
|
|
|
|
"Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-01-21 06:42:52 +08:00
|
|
|
US_FL_FIX_CAPACITY),
|
|
|
|
|
2014-09-23 18:20:17 +08:00
|
|
|
/* Supplied with some Castlewood ORB removable drives */
|
|
|
|
UNUSUAL_DEV( 0x084b, 0xa001, 0x0000, 0x9999,
|
|
|
|
"Castlewood Systems",
|
|
|
|
"USB to SCSI cable",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Entry and supporting patch by Theodore Kilgore <kilgota@auburn.edu>.
|
2005-04-17 06:20:36 +08:00
|
|
|
* Flag will support Bulk devices which use a standards-violating 32-byte
|
|
|
|
* Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
|
|
|
|
* Grandtech GT892x chip, which request "Proprietary SCSI Bulk" support.
|
|
|
|
*/
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x084d, 0x0011, 0x0110, 0x0110,
|
|
|
|
"Grandtech",
|
|
|
|
"DC2MEGA",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_BULK32),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by <ttkspam@free.fr>
|
2011-01-04 05:47:49 +08:00
|
|
|
* The device reports a vendor-specific device class, requiring an
|
|
|
|
* explicit vendor/product match.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0851, 0x1542, 0x0002, 0x0002,
|
|
|
|
"MagicPixel",
|
|
|
|
"FW_Omega2",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL, 0),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Andrew Lunn <andrew@lunn.ch>
|
2008-04-25 01:36:39 +08:00
|
|
|
* PanDigital Digital Picture Frame. Does not like ALLOW_MEDIUM_REMOVAL
|
|
|
|
* on LUN 4.
|
|
|
|
* Note: Vend:Prod clash with "Ltd Maxell WS30 Slim Digital Camera"
|
2016-04-18 18:09:11 +08:00
|
|
|
*/
|
2008-04-25 01:36:39 +08:00
|
|
|
UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
|
|
|
|
"PanDigital",
|
|
|
|
"Photo Frame",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-04-25 01:36:39 +08:00
|
|
|
US_FL_NOT_LOCKABLE),
|
|
|
|
|
USB: storage: Add quirks for Entrega/Xircom USB to SCSI converters
This patch adds quirks for Entrega Technologies (later Xircom PortGear) USB-
SCSI converters. They use Shuttle Technology EUSB-01/EUSB-S1 chips. The
US_FL_SCM_MULT_TARG quirk is needed to allow multiple devices on the SCSI
chain to be accessed. Without it only the (single) device with SCSI ID 0
can be used.
The standalone converter sold by Entrega had model number U1-SC25. Xircom
acquired Entrega and re-branded the product line PortGear. The PortGear USB
to SCSI Converter (model PGSCSI) is internally identical to the Entrega
product, but later models may use a different USB ID. The Entrega-branded
units have USB ID 1645:0007, as does my Xircom PGSCSI, but the Windows and
Macintosh drivers also support 085A:0028.
Entrega also sold the "Mac USB Dock", which provides two USB ports, a Mac
(8-pin mini-DIN) serial port and a SCSI port. It appears to the computer as
a four-port hub, USB-serial, and USB-SCSI converters. The USB-SCSI part may
have initially used the same ID as the standalone U1-SC25 (1645:0007), but
later production used 085A:0026.
My Xircom PortGear PGSCSI has bcdDevice=0x0100. Units with bcdDevice=0x0133
probably also exist.
This patch adds quirks for 1645:0007, 085A:0026 and 085A:0028. The Windows
driver INF file also mentions 085A:0032 "PortStation SCSI Module", but I
couldn't find any mention of that actually existing in the wild; perhaps it
was cancelled before release?
Signed-off-by: Mark Knibbs <markk@clara.co.uk>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-18 02:15:43 +08:00
|
|
|
UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
|
|
|
|
"Xircom",
|
|
|
|
"PortGear USB-SCSI (Mac USB Dock)",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
|
|
|
|
"Xircom",
|
|
|
|
"PortGear USB to SCSI Converter",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2006-01-30 23:19:43 +08:00
|
|
|
/* Submitted by Jan De Luyck <lkml@kcore.org> */
|
|
|
|
UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
|
|
|
|
"CITIZEN",
|
|
|
|
"X1DE-USB",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-01-30 23:19:43 +08:00
|
|
|
US_FL_SINGLE_LUN),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Submitted by Dylan Taft <d13f00l@gmail.com>
|
2007-02-06 08:41:01 +08:00
|
|
|
* US_FL_IGNORE_RESIDUE Needed
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x08ca, 0x3103, 0x0100, 0x0100,
|
2007-07-05 04:52:47 +08:00
|
|
|
"AIPTEK",
|
|
|
|
"Aiptek USB Keychain MP3 Player",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_IGNORE_RESIDUE),
|
2007-02-06 08:41:01 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Entry needed for flags. Moreover, all devices with this ID use
|
2005-04-17 06:20:36 +08:00
|
|
|
* bulk-only transport, but _some_ falsely report Control/Bulk instead.
|
|
|
|
* One example is "Trumpion Digital Research MYMP3".
|
|
|
|
* Submitted by Bjoern Brill <brill(at)fs.math.uni-frankfurt.de>
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x090a, 0x1001, 0x0100, 0x0100,
|
|
|
|
"Trumpion",
|
|
|
|
"t33520 USB Flash Card Controller",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_BULK, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_NEED_OVERRIDE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Filippo Bardelli <filibard@libero.it>
|
2005-05-21 15:45:55 +08:00
|
|
|
* The device reports a subclass of RBC, which is wrong.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x090a, 0x1050, 0x0100, 0x0100,
|
|
|
|
"Trumpion Microelectronics, Inc.",
|
|
|
|
"33520 USB Digital Voice Recorder",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_UFI, USB_PR_DEVICE, NULL,
|
2005-05-21 15:45:55 +08:00
|
|
|
0),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Trumpion Microelectronics MP3 player (felipe_alfaro@linuxmail.org) */
|
|
|
|
UNUSUAL_DEV( 0x090a, 0x1200, 0x0000, 0x9999,
|
|
|
|
"Trumpion",
|
|
|
|
"MP3 player",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_RBC, USB_PR_BULK, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
0 ),
|
|
|
|
|
2020-03-02 22:21:35 +08:00
|
|
|
UNUSUAL_DEV(0x090c, 0x1000, 0x1100, 0x1100,
|
|
|
|
"Samsung",
|
|
|
|
"Flash Drive FIT",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_MAX_SECTORS_64),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* aeb */
|
|
|
|
UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
|
|
|
|
"Feiya",
|
|
|
|
"5-in-1 Card Reader",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_CAPACITY ),
|
|
|
|
|
2019-01-03 11:26:18 +08:00
|
|
|
/*
|
|
|
|
* Reported by Icenowy Zheng <icenowy@aosc.io>
|
|
|
|
* The SMI SM3350 USB-UFS bridge controller will enter a wrong state
|
|
|
|
* that do not process read/write command if a long sense is requested,
|
|
|
|
* so force to use 18-byte sense.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x090c, 0x3350, 0x0000, 0xffff,
|
|
|
|
"SMI",
|
|
|
|
"SM3350 UFS-to-USB-Mass-Storage bridge",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_BAD_SENSE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Paul Hartman <paul.hartman+linux@gmail.com>
|
2011-06-07 23:35:52 +08:00
|
|
|
* This card reader returns "Illegal Request, Logical Block Address
|
|
|
|
* Out of Range" for the first READ(10) after a new card is inserted.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x090c, 0x6000, 0x0100, 0x0100,
|
|
|
|
"Feiya",
|
|
|
|
"SD/SDHC Card Reader",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_INITIAL_READ10 ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* This Pentax still camera is not conformant
|
2005-04-17 06:20:36 +08:00
|
|
|
* to the USB storage specification: -
|
|
|
|
* - It does not like the INQUIRY command. So we must handle this command
|
|
|
|
* of the SCSI layer ourselves.
|
|
|
|
* Tested on Rev. 10.00 (0x1000)
|
|
|
|
* Submitted by James Courtier-Dutton <James@superbug.demon.co.uk>
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0a17, 0x0004, 0x1000, 0x1000,
|
2007-07-05 04:52:47 +08:00
|
|
|
"Pentax",
|
|
|
|
"Optio 2/3/400",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* These are virtual windows driver CDs, which the zd1211rw driver
|
|
|
|
* automatically converts into WLAN devices.
|
|
|
|
*/
|
2006-07-26 20:59:23 +08:00
|
|
|
UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,
|
2007-07-05 04:52:47 +08:00
|
|
|
"ZyXEL",
|
|
|
|
"G-220F USB-WLAN Install",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-07-05 04:52:47 +08:00
|
|
|
US_FL_IGNORE_DEVICE ),
|
2006-07-26 20:59:23 +08:00
|
|
|
|
2007-05-01 08:15:01 +08:00
|
|
|
UNUSUAL_DEV( 0x0ace, 0x20ff, 0x0101, 0x0101,
|
|
|
|
"SiteCom",
|
|
|
|
"WL-117 USB-WLAN Install",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-05-01 08:15:01 +08:00
|
|
|
US_FL_IGNORE_DEVICE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Dan Williams <dcbw@redhat.com>
|
2008-12-15 01:39:22 +08:00
|
|
|
* Option N.V. mobile broadband modems
|
|
|
|
* Ignore driver CD mode and force into modem mode by default.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* iCON 225 */
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0x6971, 0x0000, 0x9999,
|
|
|
|
"Option N.V.",
|
|
|
|
"Mass Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init,
|
2008-12-15 01:39:22 +08:00
|
|
|
0),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by F. Aben <f.aben@option.com>
|
2008-05-09 01:48:12 +08:00
|
|
|
* This device (wrongly) has a vendor-specific device descriptor.
|
|
|
|
* The entry is needed so usb-storage can bind to it's mass-storage
|
2016-04-18 18:09:11 +08:00
|
|
|
* interface as an interface driver
|
|
|
|
*/
|
2008-05-09 01:48:12 +08:00
|
|
|
UNUSUAL_DEV( 0x0af0, 0x7401, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 0401 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-05-09 01:48:12 +08:00
|
|
|
0 ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Jan Dumon <j.dumon@option.com>
|
2010-01-05 22:53:26 +08:00
|
|
|
* These devices (wrongly) have a vendor-specific device descriptor.
|
|
|
|
* These entries are needed so usb-storage can bind to their mass-storage
|
2016-04-18 18:09:11 +08:00
|
|
|
* interface as an interface driver
|
|
|
|
*/
|
2009-03-11 00:29:47 +08:00
|
|
|
UNUSUAL_DEV( 0x0af0, 0x7501, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 0431 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-03-11 00:29:47 +08:00
|
|
|
0 ),
|
|
|
|
|
2010-01-05 22:53:26 +08:00
|
|
|
UNUSUAL_DEV( 0x0af0, 0x7701, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 0451 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0x7706, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 0451 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0x7901, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 0452 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0x7A01, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 0461 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0x7A05, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 0461 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0x8300, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 033x SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0x8302, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 033x SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0x8304, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 033x SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0xc100, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 070x SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0xd057, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 1505 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0xd058, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 1509 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0xd157, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 1515 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0xd257, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 1215 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
|
|
|
UNUSUAL_DEV( 0x0af0, 0xd357, 0x0000, 0x0000,
|
|
|
|
"Option",
|
|
|
|
"GI 1505 SD-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-01-05 22:53:26 +08:00
|
|
|
0 ),
|
|
|
|
|
2012-07-08 11:05:49 +08:00
|
|
|
/* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
|
|
|
|
UNUSUAL_DEV(0x0bc2, 0x2300, 0x0000, 0x9999,
|
|
|
|
"Seagate",
|
|
|
|
"Portable HDD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
|
|
|
|
|
2008-11-24 12:06:38 +08:00
|
|
|
/* Reported by Ben Efros <ben@pc-doctor.com> */
|
|
|
|
UNUSUAL_DEV( 0x0bc2, 0x3010, 0x0000, 0x0000,
|
|
|
|
"Seagate",
|
|
|
|
"FreeAgent Pro",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-24 12:06:38 +08:00
|
|
|
US_FL_SANE_SENSE ),
|
|
|
|
|
2017-09-22 03:59:30 +08:00
|
|
|
/* Reported by Kris Lindgren <kris.lindgren@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x0bc2, 0x3332, 0x0000, 0x9999,
|
|
|
|
"Seagate",
|
|
|
|
"External",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_WP_DETECT ),
|
|
|
|
|
2008-11-24 12:06:38 +08:00
|
|
|
UNUSUAL_DEV( 0x0d49, 0x7310, 0x0000, 0x9999,
|
|
|
|
"Maxtor",
|
|
|
|
"USB to SATA",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-24 12:06:38 +08:00
|
|
|
US_FL_SANE_SENSE),
|
|
|
|
|
2008-11-19 03:08:07 +08:00
|
|
|
/*
|
|
|
|
* Pete Zaitcev <zaitcev@yahoo.com>, bz#164688.
|
|
|
|
* The device blatantly ignores LUN and returns 1 in GetMaxLUN.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0c45, 0x1060, 0x0100, 0x0100,
|
|
|
|
"Unknown",
|
|
|
|
"Unknown",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-19 03:08:07 +08:00
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Submitted by Joris Struyve <joris@struyve.be> */
|
|
|
|
UNUSUAL_DEV( 0x0d96, 0x410a, 0x0001, 0xffff,
|
|
|
|
"Medion",
|
|
|
|
"MD 7425",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY),
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Entry for Jenoptik JD 5200z3
|
|
|
|
*
|
|
|
|
* email: car.busse@gmx.de
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x0200,
|
|
|
|
"Jenoptik",
|
|
|
|
"JD 5200 z3",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2008-12-18 00:28:06 +08:00
|
|
|
/* Reported by Jason Johnston <killean@shaw.ca> */
|
|
|
|
UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
|
|
|
|
"Macpower Technology Co.LTD.",
|
|
|
|
"USB 2.0 3.5\" DEVICE",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-12-18 00:28:06 +08:00
|
|
|
US_FL_FIX_CAPACITY),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Lubomir Blaha <tritol@trilogic.cz>
|
2005-04-17 06:20:36 +08:00
|
|
|
* I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
|
|
|
|
* works for me. Can anybody correct these values? (I able to test corrected
|
|
|
|
* version.)
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0dd8, 0x1060, 0x0000, 0xffff,
|
|
|
|
"Netac",
|
|
|
|
"USB-CF-Card",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Edward Chapman (taken from linux-usb mailing list)
|
|
|
|
* Netac OnlyDisk Mini U2CV2 512MB USB 2.0 Flash Drive
|
|
|
|
*/
|
2007-05-26 18:06:32 +08:00
|
|
|
UNUSUAL_DEV( 0x0dd8, 0xd202, 0x0000, 0x9999,
|
|
|
|
"Netac",
|
|
|
|
"USB Flash Disk",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-05-26 18:06:32 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Patch by Stephan Walter <stephan.walter@epfl.ch>
|
|
|
|
* I don't know why, but it works...
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x0dda, 0x0001, 0x0012, 0x0012,
|
|
|
|
"WINWARD",
|
|
|
|
"Music Disk",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
|
|
|
/* Reported by Ian McConnell <ian at emit.demon.co.uk> */
|
|
|
|
UNUSUAL_DEV( 0x0dda, 0x0301, 0x0012, 0x0012,
|
|
|
|
"PNP_MP3",
|
|
|
|
"PNP_MP3 PLAYER",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2006-02-13 23:16:04 +08:00
|
|
|
/* Reported by Jim McCloskey <mcclosk@ucsc.edu> */
|
|
|
|
UNUSUAL_DEV( 0x0e21, 0x0520, 0x0100, 0x0100,
|
|
|
|
"Cowon Systems",
|
|
|
|
"iAUDIO M5",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_BULK, NULL,
|
2006-10-19 15:11:17 +08:00
|
|
|
US_FL_NEED_OVERRIDE ),
|
2006-02-13 23:16:04 +08:00
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Submitted by Antoine Mairesse <antoine.mairesse@free.fr> */
|
|
|
|
UNUSUAL_DEV( 0x0ed1, 0x6660, 0x0100, 0x0300,
|
|
|
|
"USB",
|
|
|
|
"Solid state disk",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_FIX_INQUIRY ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Submitted by Daniel Drake <dsd@gentoo.org>
|
|
|
|
* Reported by dayul on the Gentoo Forums
|
|
|
|
*/
|
2005-04-17 06:20:36 +08:00
|
|
|
UNUSUAL_DEV( 0x0ea0, 0x2168, 0x0110, 0x0110,
|
|
|
|
"Ours Technology",
|
|
|
|
"Flash Disk",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
|
|
|
/* Reported by Rastislav Stanik <rs_kernel@yahoo.com> */
|
|
|
|
UNUSUAL_DEV( 0x0ea0, 0x6828, 0x0110, 0x0110,
|
|
|
|
"USB",
|
|
|
|
"Flash Disk",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Benjamin Schiller <sbenni@gmx.de>
|
|
|
|
* It is also sold by Easylite as DJ 20
|
|
|
|
*/
|
2006-06-25 08:27:10 +08:00
|
|
|
UNUSUAL_DEV( 0x0ed1, 0x7636, 0x0103, 0x0103,
|
|
|
|
"Typhoon",
|
|
|
|
"My DJ 1820",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-06-25 08:27:10 +08:00
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_GO_SLOW | US_FL_MAX_SECTORS_64),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Patch by Leonid Petrov mail at lpetrov.net
|
2008-02-21 01:11:22 +08:00
|
|
|
* Reported by Robert Spitzenpfeil <robert@spitzenpfeil.org>
|
|
|
|
* http://www.qbik.ch/usb/devices/showdev.php?id=1705
|
|
|
|
* Updated to 103 device by MJ Ray mjr at phonecoop.coop
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0f19, 0x0103, 0x0100, 0x0100,
|
|
|
|
"Oracom Co., Ltd",
|
|
|
|
"ORC-200M",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-02-21 01:11:22 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* David Kuehling <dvdkhlng@gmx.de>:
|
2006-08-07 22:18:48 +08:00
|
|
|
* for MP3-Player AVOX WSX-300ER (bought in Japan). Reports lots of SCSI
|
|
|
|
* errors when trying to write.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x0f19, 0x0105, 0x0100, 0x0100,
|
|
|
|
"C-MEX",
|
|
|
|
"A-VOX",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-08-07 22:18:48 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2011-01-27 05:47:43 +08:00
|
|
|
/* Submitted by Nick Holloway */
|
|
|
|
UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
|
|
|
|
"VTech",
|
|
|
|
"Kidizoom",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_FIX_CAPACITY ),
|
|
|
|
|
2014-01-21 23:38:45 +08:00
|
|
|
/* Reported by Moritz Moeller-Herrmann <moritz-kernel@moeller-herrmann.de> */
|
|
|
|
UNUSUAL_DEV( 0x0fca, 0x8004, 0x0201, 0x0201,
|
|
|
|
"Research In Motion",
|
|
|
|
"BlackBerry Bold 9000",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Reported by Michael Stattmann <michael@stattmann.com> */
|
|
|
|
UNUSUAL_DEV( 0x0fce, 0xd008, 0x0000, 0x0000,
|
|
|
|
"Sony Ericsson",
|
|
|
|
"V800-Vodafone 802",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_NO_WP_DETECT ),
|
|
|
|
|
2009-01-21 06:48:36 +08:00
|
|
|
/* Reported by The Solutor <thesolutor@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x0fce, 0xd0e1, 0x0000, 0x0000,
|
|
|
|
"Sony Ericsson",
|
|
|
|
"MD400",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-01-21 06:48:36 +08:00
|
|
|
US_FL_IGNORE_DEVICE),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Jan Mate <mate@fiit.stuba.sk>
|
|
|
|
* and by Soeren Sonnenburg <kernel@nn7.de>
|
|
|
|
*/
|
2006-09-11 15:27:40 +08:00
|
|
|
UNUSUAL_DEV( 0x0fce, 0xe030, 0x0000, 0x0000,
|
|
|
|
"Sony Ericsson",
|
|
|
|
"P990i",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-01-31 23:57:55 +08:00
|
|
|
US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
|
2006-09-11 15:27:40 +08:00
|
|
|
|
2006-08-28 14:54:37 +08:00
|
|
|
/* Reported by Emmanuel Vasilakis <evas@forthnet.gr> */
|
|
|
|
UNUSUAL_DEV( 0x0fce, 0xe031, 0x0000, 0x0000,
|
|
|
|
"Sony Ericsson",
|
|
|
|
"M600i",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-05-27 03:33:58 +08:00
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_FIX_CAPACITY ),
|
2006-10-11 05:42:47 +08:00
|
|
|
|
2008-11-19 03:08:07 +08:00
|
|
|
/* Reported by Ricardo Barberis <ricardo@dattatec.com> */
|
|
|
|
UNUSUAL_DEV( 0x0fce, 0xe092, 0x0000, 0x0000,
|
|
|
|
"Sony Ericsson",
|
|
|
|
"P1i",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-19 03:08:07 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Kevin Cernekee <kpc-usbdev@gelato.uiuc.edu>
|
2005-04-17 06:20:36 +08:00
|
|
|
* Tested on hardware version 1.10.
|
|
|
|
* Entry is needed only for the initializer function override.
|
2006-11-03 15:14:10 +08:00
|
|
|
* Devices with bcd > 110 seem to not need it while those
|
|
|
|
* with bcd < 110 appear to need it.
|
2005-04-17 06:20:36 +08:00
|
|
|
*/
|
2006-11-03 15:14:10 +08:00
|
|
|
UNUSUAL_DEV( 0x1019, 0x0c55, 0x0000, 0x0110,
|
2005-04-17 06:20:36 +08:00
|
|
|
"Desknote",
|
|
|
|
"UCR-61S2B",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_ucr61s2b_init,
|
2005-04-17 06:20:36 +08:00
|
|
|
0 ),
|
|
|
|
|
2008-11-24 12:06:38 +08:00
|
|
|
UNUSUAL_DEV( 0x1058, 0x0704, 0x0000, 0x9999,
|
|
|
|
"Western Digital",
|
|
|
|
"External HDD",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-24 12:06:38 +08:00
|
|
|
US_FL_SANE_SENSE),
|
|
|
|
|
2012-07-08 11:05:49 +08:00
|
|
|
/* Reported by Namjae Jeon <namjae.jeon@samsung.com> */
|
|
|
|
UNUSUAL_DEV(0x1058, 0x070a, 0x0000, 0x9999,
|
|
|
|
"Western Digital",
|
|
|
|
"My Passport HDD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_WRITE_CACHE),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Fabio Venturi <f.venturi@tdnet.it>
|
2008-02-21 01:10:04 +08:00
|
|
|
* The device reports a vendor-specific bDeviceClass.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x10d6, 0x2200, 0x0100, 0x0100,
|
|
|
|
"Actions Semiconductor",
|
|
|
|
"Mtp device",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-02-21 01:10:04 +08:00
|
|
|
0),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Pascal Terjan <pterjan@mandriva.com>
|
2009-04-07 20:40:42 +08:00
|
|
|
* Ignore driver CD mode and force into modem mode by default.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x1186, 0x3e04, 0x0000, 0x0000,
|
|
|
|
"D-Link",
|
|
|
|
"USB Mass Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, option_ms_init, US_FL_IGNORE_DEVICE),
|
2009-04-07 20:40:42 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Kevin Lloyd <linux@sierrawireless.com>
|
2007-07-17 04:49:27 +08:00
|
|
|
* Entry is needed for the initializer function override,
|
|
|
|
* which instructs the device to load as a modem
|
|
|
|
* device.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x1199, 0x0fff, 0x0000, 0x9999,
|
|
|
|
"Sierra Wireless",
|
|
|
|
"USB MMC Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, sierra_ms_init,
|
2008-07-11 05:14:57 +08:00
|
|
|
0),
|
2007-07-17 04:49:27 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Jaco Kroon <jaco@kroon.co.za>
|
2006-11-15 17:02:08 +08:00
|
|
|
* The usb-storage module found on the Digitech GNX4 (and supposedly other
|
|
|
|
* devices) misbehaves and causes a bunch of invalid I/O errors.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x1210, 0x0003, 0x0100, 0x0100,
|
|
|
|
"Digitech HMG",
|
|
|
|
"DigiTech Mass Storage",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-11-15 17:02:08 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by fangxiaozhi <huananhu@huawei.com>
|
2008-04-10 14:51:06 +08:00
|
|
|
* This brings the HUAWEI data card devices into multi-port mode
|
2007-09-05 19:49:29 +08:00
|
|
|
*/
|
2013-03-04 21:19:21 +08:00
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1001, 0x0000, 0x0000,
|
2008-04-10 14:51:06 +08:00
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
2013-03-04 21:19:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1003, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1004, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1401, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1402, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1403, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1404, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1405, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1406, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1407, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1408, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1409, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x140A, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x140B, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x140C, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x140D, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x140E, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x140F, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1410, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1411, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1412, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1413, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1414, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1415, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1416, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1417, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1418, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1419, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x141A, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x141B, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x141C, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x141D, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x141E, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x141F, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1420, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1421, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1422, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1423, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1424, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1425, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1426, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1427, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1428, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1429, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x142A, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x142B, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x142C, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x142D, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x142E, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x142F, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1430, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1431, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1432, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1433, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1434, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1435, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1436, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1437, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1438, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x1439, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x143A, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x143B, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x143C, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x143D, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x143E, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
|
|
|
0),
|
|
|
|
UNUSUAL_DEV( 0x12d1, 0x143F, 0x0000, 0x0000,
|
|
|
|
"HUAWEI MOBILE",
|
|
|
|
"Mass Storage",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_huawei_e220_init,
|
2008-04-10 14:51:06 +08:00
|
|
|
0),
|
2007-09-05 19:49:29 +08:00
|
|
|
|
2005-05-03 14:54:28 +08:00
|
|
|
/* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
|
|
|
|
UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
|
|
|
|
"Minolta",
|
|
|
|
"Dimage Z10",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-05-03 14:54:28 +08:00
|
|
|
0 ),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Reported by Kotrla Vitezslav <kotrla@ceb.cz> */
|
|
|
|
UNUSUAL_DEV( 0x1370, 0x6828, 0x0110, 0x0110,
|
|
|
|
"SWISSBIT",
|
|
|
|
"Black Silver",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2017-02-28 07:46:58 +08:00
|
|
|
/*
|
|
|
|
* Reported by Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
|
|
|
|
* The INIC-3619 bridge is used in the StarTech SLSODDU33B
|
|
|
|
* SATA-USB enclosure for slimline optical drives.
|
|
|
|
*
|
|
|
|
* The quirk enables MakeMKV to properly exchange keys with
|
|
|
|
* an installed BD drive.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x13fd, 0x3609, 0x0209, 0x0209,
|
|
|
|
"Initio Corporation",
|
|
|
|
"INIC-3619",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2011-11-23 23:39:32 +08:00
|
|
|
/* Reported by Qinglin Ye <yestyle@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x13fe, 0x3600, 0x0100, 0x0100,
|
|
|
|
"Kingston",
|
|
|
|
"DT 101 G2",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_BULK_IGNORE_TAG ),
|
|
|
|
|
2006-12-31 16:19:50 +08:00
|
|
|
/* Reported by Francesco Foresti <frafore@tiscali.it> */
|
|
|
|
UNUSUAL_DEV( 0x14cd, 0x6600, 0x0201, 0x0201,
|
|
|
|
"Super Top",
|
|
|
|
"IDE DEVICE",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-12-31 16:19:50 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2014-06-30 23:04:21 +08:00
|
|
|
/* Reported by Michael Büsch <m@bues.ch> */
|
2019-08-17 04:08:47 +08:00
|
|
|
UNUSUAL_DEV( 0x152d, 0x0567, 0x0114, 0x0117,
|
2014-06-30 23:04:21 +08:00
|
|
|
"JMicron",
|
|
|
|
"USB to ATA/ATAPI Bridge",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_BROKEN_FUA ),
|
|
|
|
|
2017-12-06 05:40:04 +08:00
|
|
|
/* Reported by David Kozub <zub@linux.fjfi.cvut.cz> */
|
|
|
|
UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
|
|
|
|
"JMicron",
|
|
|
|
"JMS567",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_BROKEN_FUA),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
2008-10-19 14:17:54 +08:00
|
|
|
* JMicron responds to USN and several other SCSI ioctls with a
|
|
|
|
* residue that causes subsequent I/O requests to fail. */
|
|
|
|
UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
|
2008-11-24 12:06:38 +08:00
|
|
|
"JMicron",
|
|
|
|
"USB to ATA/ATAPI Bridge",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-11-24 12:06:38 +08:00
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
|
2008-10-19 14:17:54 +08:00
|
|
|
|
2015-01-13 01:13:01 +08:00
|
|
|
/* Reported by Dmitry Nezhevenko <dion@dion.org.ua> */
|
|
|
|
UNUSUAL_DEV( 0x152d, 0x2566, 0x0114, 0x0114,
|
|
|
|
"JMicron",
|
|
|
|
"USB to ATA/ATAPI Bridge",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_BROKEN_FUA ),
|
|
|
|
|
2018-03-02 01:34:29 +08:00
|
|
|
/* Reported by Teijo Kinnunen <teijo.kinnunen@code-q.fi> */
|
|
|
|
UNUSUAL_DEV( 0x152d, 0x2567, 0x0117, 0x0117,
|
|
|
|
"JMicron",
|
|
|
|
"USB to ATA/ATAPI Bridge",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_BROKEN_FUA ),
|
|
|
|
|
2017-01-02 22:26:17 +08:00
|
|
|
/* Reported-by George Cherian <george.cherian@cavium.com> */
|
|
|
|
UNUSUAL_DEV(0x152d, 0x9561, 0x0000, 0x9999,
|
|
|
|
"JMicron",
|
|
|
|
"JMS56x",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_REPORT_OPCODES),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
|
USB: storage: Add quirks for Entrega/Xircom USB to SCSI converters
This patch adds quirks for Entrega Technologies (later Xircom PortGear) USB-
SCSI converters. They use Shuttle Technology EUSB-01/EUSB-S1 chips. The
US_FL_SCM_MULT_TARG quirk is needed to allow multiple devices on the SCSI
chain to be accessed. Without it only the (single) device with SCSI ID 0
can be used.
The standalone converter sold by Entrega had model number U1-SC25. Xircom
acquired Entrega and re-branded the product line PortGear. The PortGear USB
to SCSI Converter (model PGSCSI) is internally identical to the Entrega
product, but later models may use a different USB ID. The Entrega-branded
units have USB ID 1645:0007, as does my Xircom PGSCSI, but the Windows and
Macintosh drivers also support 085A:0028.
Entrega also sold the "Mac USB Dock", which provides two USB ports, a Mac
(8-pin mini-DIN) serial port and a SCSI port. It appears to the computer as
a four-port hub, USB-serial, and USB-SCSI converters. The USB-SCSI part may
have initially used the same ID as the standalone U1-SC25 (1645:0007), but
later production used 085A:0026.
My Xircom PortGear PGSCSI has bcdDevice=0x0100. Units with bcdDevice=0x0133
probably also exist.
This patch adds quirks for 1645:0007, 085A:0026 and 085A:0028. The Windows
driver INF file also mentions 085A:0032 "PortStation SCSI Module", but I
couldn't find any mention of that actually existing in the wild; perhaps it
was cancelled before release?
Signed-off-by: Mark Knibbs <markk@clara.co.uk>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-18 02:15:43 +08:00
|
|
|
* and Mac USB Dock USB-SCSI */
|
|
|
|
UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
|
|
|
|
"Entrega Technologies",
|
|
|
|
"USB to SCSI Converter",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Robert Schedel <r.schedel@yahoo.de>
|
|
|
|
* Note: this is a 'super top' device like the above 14cd/6600 device
|
|
|
|
*/
|
2006-12-31 16:19:50 +08:00
|
|
|
UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
|
|
|
|
"Teac",
|
|
|
|
"HD-35PUK-B",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-12-31 16:19:50 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2013-10-14 21:24:55 +08:00
|
|
|
/* Reported by Oliver Neukum <oneukum@suse.com> */
|
|
|
|
UNUSUAL_DEV( 0x174c, 0x55aa, 0x0100, 0x0100,
|
|
|
|
"ASMedia",
|
|
|
|
"AS2105",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NEEDS_CAP16),
|
|
|
|
|
2012-05-09 03:15:25 +08:00
|
|
|
/* Reported by Jesse Feddema <jdfeddema@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
|
|
|
|
"Yarvik",
|
|
|
|
"PMP400",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2014-09-16 23:51:41 +08:00
|
|
|
UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
|
|
|
|
"Ariston Technologies",
|
|
|
|
"iConnect USB to SCSI adapter",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Hans de Goede <hdegoede@redhat.com>
|
2010-04-29 18:59:04 +08:00
|
|
|
* These Appotech controllers are found in Picture Frames, they provide a
|
|
|
|
* (buggy) emulation of a cdrom drive which contains the windows software
|
2016-04-18 18:09:11 +08:00
|
|
|
* Uploading of pictures happens over the corresponding /dev/sg device.
|
|
|
|
*/
|
2010-04-29 18:59:04 +08:00
|
|
|
UNUSUAL_DEV( 0x1908, 0x1315, 0x0000, 0x0000,
|
|
|
|
"BUILDWIN",
|
|
|
|
"Photo Frame",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-04-29 18:59:04 +08:00
|
|
|
US_FL_BAD_SENSE ),
|
|
|
|
UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
|
|
|
|
"BUILDWIN",
|
|
|
|
"Photo Frame",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2010-04-29 18:59:04 +08:00
|
|
|
US_FL_BAD_SENSE ),
|
2010-10-02 05:20:10 +08:00
|
|
|
UNUSUAL_DEV( 0x1908, 0x3335, 0x0200, 0x0200,
|
|
|
|
"BUILDWIN",
|
|
|
|
"Photo Frame",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_READ_DISC_INFO ),
|
2010-04-29 18:59:04 +08:00
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Oliver Neukum <oneukum@suse.com>
|
2015-07-06 19:12:32 +08:00
|
|
|
* This device morphes spontaneously into another device if the access
|
|
|
|
* pattern of Windows isn't followed. Thus writable media would be dirty
|
|
|
|
* if the initial instance is used. So the device is limited to its
|
|
|
|
* virtual CD.
|
2016-04-18 18:09:11 +08:00
|
|
|
* And yes, the concept that BCD goes up to 9 is not heeded
|
|
|
|
*/
|
2015-07-06 19:12:32 +08:00
|
|
|
UNUSUAL_DEV( 0x19d2, 0x1225, 0x0000, 0xffff,
|
|
|
|
"ZTE,Incorporated",
|
|
|
|
"ZTE WCDMA Technologies MSM",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_SINGLE_LUN ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Sven Geggus <sven-usbst@geggus.net>
|
2011-06-07 23:35:52 +08:00
|
|
|
* This encrypted pen drive returns bogus data for the initial READ(10).
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x1b1c, 0x1ab5, 0x0200, 0x0200,
|
|
|
|
"Corsair",
|
|
|
|
"Padlock v2",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_INITIAL_READ10 ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Hans de Goede <hdegoede@redhat.com>
|
2015-07-08 20:03:41 +08:00
|
|
|
* These are mini projectors using USB for both power and video data transport
|
|
|
|
* The usb-storage interface is a virtual windows driver CD, which the gm12u320
|
|
|
|
* driver automatically converts into framebuffer & kms dri device nodes.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x1de1, 0xc102, 0x0000, 0xffff,
|
|
|
|
"Grain-media Technology Corp.",
|
|
|
|
"USB3.0 Device GM12U320",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_IGNORE_DEVICE ),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Patch by Richard Schütz <r.schtz@t-online.de>
|
2010-12-22 21:28:56 +08:00
|
|
|
* This external hard drive enclosure uses a JMicron chip which
|
2016-04-18 18:09:11 +08:00
|
|
|
* needs the US_FL_IGNORE_RESIDUE flag to work properly.
|
|
|
|
*/
|
2010-12-22 21:28:56 +08:00
|
|
|
UNUSUAL_DEV( 0x1e68, 0x001b, 0x0000, 0x0000,
|
|
|
|
"TrekStor GmbH & Co. KG",
|
|
|
|
"DataStation maxi g.u",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
|
|
|
|
|
2011-01-26 02:07:04 +08:00
|
|
|
/* Reported by Jasper Mackenzie <scarletpimpernal@hotmail.com> */
|
|
|
|
UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
|
|
|
|
"Coby Electronics",
|
|
|
|
"MP3 Player",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2014-09-23 18:20:17 +08:00
|
|
|
/* Supplied with some Castlewood ORB removable drives */
|
|
|
|
UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
|
|
|
|
"Double-H Technology",
|
|
|
|
"USB to SCSI Intelligent Cable",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
|
|
|
|
US_FL_SCM_MULT_TARG ),
|
|
|
|
|
2009-01-14 23:17:19 +08:00
|
|
|
UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
|
|
|
|
"ST",
|
|
|
|
"2A",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-01-14 23:17:19 +08:00
|
|
|
US_FL_FIX_CAPACITY),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* patch submitted by Davide Perini <perini.davide@dpsoftware.org>
|
2006-06-20 05:07:39 +08:00
|
|
|
* and Renato Perini <rperini@email.it>
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x22b8, 0x3010, 0x0001, 0x0001,
|
|
|
|
"Motorola",
|
|
|
|
"RAZR V3x",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2006-06-20 05:07:39 +08:00
|
|
|
US_FL_FIX_CAPACITY | US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2008-03-17 04:04:23 +08:00
|
|
|
/*
|
|
|
|
* Patch by Constantin Baranov <const@tltsu.ru>
|
|
|
|
* Report by Andreas Koenecke.
|
|
|
|
* Motorola ROKR Z6.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x22b8, 0x6426, 0x0101, 0x0101,
|
|
|
|
"Motorola",
|
|
|
|
"MSnc.",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-03-17 04:04:23 +08:00
|
|
|
US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY | US_FL_BULK_IGNORE_TAG),
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
/* Reported by Radovan Garabik <garabik@kassiopeia.juls.savba.sk> */
|
|
|
|
UNUSUAL_DEV( 0x2735, 0x100b, 0x0000, 0x9999,
|
|
|
|
"MPIO",
|
|
|
|
"HS200",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2005-04-17 06:20:36 +08:00
|
|
|
US_FL_GO_SLOW ),
|
|
|
|
|
2018-08-10 05:55:34 +08:00
|
|
|
/* Reported-by: Tim Anderson <tsa@biglakesoftware.com> */
|
|
|
|
UNUSUAL_DEV( 0x2ca3, 0x0031, 0x0000, 0x9999,
|
|
|
|
"DJI",
|
|
|
|
"CineSSD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_ATA_1X),
|
|
|
|
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Reported by Frederic Marchal <frederic.marchal@wowcompany.com>
|
2008-10-13 20:00:11 +08:00
|
|
|
* Mio Moov 330
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x3340, 0xffff, 0x0000, 0x0000,
|
|
|
|
"Mitac",
|
|
|
|
"Mio DigiWalker USB Sync",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE,USB_PR_DEVICE,NULL,
|
2008-10-13 20:00:11 +08:00
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2008-07-21 22:08:28 +08:00
|
|
|
/* Reported by Andrey Rahmatullin <wrar@altlinux.org> */
|
|
|
|
UNUSUAL_DEV( 0x4102, 0x1020, 0x0100, 0x0100,
|
|
|
|
"iRiver",
|
|
|
|
"MP3 T10",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2008-07-21 22:08:28 +08:00
|
|
|
US_FL_IGNORE_RESIDUE ),
|
|
|
|
|
2009-09-17 21:26:50 +08:00
|
|
|
/* Reported by Sergey Pinaev <dfo@antex.ru> */
|
|
|
|
UNUSUAL_DEV( 0x4102, 0x1059, 0x0000, 0x0000,
|
|
|
|
"iRiver",
|
|
|
|
"P7K",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2009-09-17 21:26:50 +08:00
|
|
|
US_FL_MAX_SECTORS_64 ),
|
|
|
|
|
2005-11-24 07:45:49 +08:00
|
|
|
/*
|
2007-10-20 05:21:04 +08:00
|
|
|
* David Härdeman <david@2gen.com>
|
2005-11-24 07:45:49 +08:00
|
|
|
* The key makes the SCSI stack print confusing (but harmless) messages
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0x4146, 0xba01, 0x0100, 0x0100,
|
|
|
|
"Iomega",
|
|
|
|
"Micro Mini 1GB",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
|
2005-11-24 07:45:49 +08:00
|
|
|
|
usb-storage: Add compatibility quirk flags for G-Technologies G-Drive
The "G-Drive" (sold by G-Technology) external USB 3.0 drive
hangs on write access under UAS and usb-storage:
[ 136.079121] sd 15:0:0:0: [sdi] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 136.079144] sd 15:0:0:0: [sdi] tag#0 Sense Key : Illegal Request [current]
[ 136.079152] sd 15:0:0:0: [sdi] tag#0 Add. Sense: Invalid field in cdb
[ 136.079176] sd 15:0:0:0: [sdi] tag#0 CDB: Write(16) 8a 08 00 00 00 00 00 00 00 00 00 00 00 08 00 00
[ 136.079180] print_req_error: critical target error, dev sdi, sector 0
[ 136.079183] Buffer I/O error on dev sdi, logical block 0, lost sync page write
[ 136.173148] EXT4-fs (sdi): mounted filesystem with ordered data mode. Opts: (null)
[ 140.583998] sd 15:0:0:0: [sdi] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 140.584010] sd 15:0:0:0: [sdi] tag#0 Sense Key : Illegal Request [current]
[ 140.584016] sd 15:0:0:0: [sdi] tag#0 Add. Sense: Invalid field in cdb
[ 140.584022] sd 15:0:0:0: [sdi] tag#0 CDB: Write(16) 8a 08 00 00 00 00 e8 c4 00 18 00 00 00 08 00 00
[ 140.584025] print_req_error: critical target error, dev sdi, sector 3905159192
[ 140.584044] print_req_error: critical target error, dev sdi, sector 3905159192
[ 140.584052] Aborting journal on device sdi-8.
The proposed patch adds compatibility quirks. Because the drive requires two
quirks (one to work with UAS, and another to work with usb-storage), adding this
under unusual_devs.h and not just unusual_uas.h so kernels compiled without UAS
receive the quirk. With the patch, the drive works reliably on UAS and usb-
storage.
(tested on NEC Corporation uPD720200 USB 3.0 host controller).
Signed-off-by: Alexander Kappner <agk@godking.net>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-19 12:50:16 +08:00
|
|
|
/* "G-DRIVE" external HDD hangs on write without these.
|
|
|
|
* Patch submitted by Alexander Kappner <agk@godking.net>
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
|
|
|
|
"SimpleTech",
|
|
|
|
"External HDD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_ALWAYS_SYNC),
|
|
|
|
|
2011-07-13 23:40:09 +08:00
|
|
|
/*
|
|
|
|
* Nick Bowler <nbowler@elliptictech.com>
|
|
|
|
* SCSI stack spams (otherwise harmless) error messages.
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV( 0xc251, 0x4003, 0x0100, 0x0100,
|
|
|
|
"Keil Software, Inc.",
|
|
|
|
"V2M MotherBoard",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NOT_LOCKABLE),
|
|
|
|
|
2006-02-02 22:52:45 +08:00
|
|
|
/* Reported by Andrew Simmons <andrew.simmons@gmail.com> */
|
|
|
|
UNUSUAL_DEV( 0xed06, 0x4500, 0x0001, 0x0001,
|
|
|
|
"DataStor",
|
|
|
|
"USB4500 FW1.04",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2007-02-08 16:04:48 +08:00
|
|
|
US_FL_CAPACITY_HEURISTICS),
|
2006-02-02 22:52:45 +08:00
|
|
|
|
2009-04-15 02:50:31 +08:00
|
|
|
/* Reported by Alessio Treglia <quadrispro@ubuntu.com> */
|
|
|
|
UNUSUAL_DEV( 0xed10, 0x7636, 0x0001, 0x0001,
|
|
|
|
"TGE",
|
|
|
|
"Digital MP3 Audio Player",
|
2010-10-07 19:05:21 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NOT_LOCKABLE ),
|
2009-04-15 02:50:31 +08:00
|
|
|
|
2013-10-21 16:40:48 +08:00
|
|
|
/* Unusual uas devices */
|
|
|
|
#if IS_ENABLED(CONFIG_USB_UAS)
|
|
|
|
#include "unusual_uas.h"
|
|
|
|
#endif
|
|
|
|
|
2005-10-23 11:15:09 +08:00
|
|
|
/* Control/Bulk transport for all SubClass values */
|
2012-08-29 04:37:13 +08:00
|
|
|
USUAL_DEV(USB_SC_RBC, USB_PR_CB),
|
|
|
|
USUAL_DEV(USB_SC_8020, USB_PR_CB),
|
|
|
|
USUAL_DEV(USB_SC_QIC, USB_PR_CB),
|
|
|
|
USUAL_DEV(USB_SC_UFI, USB_PR_CB),
|
|
|
|
USUAL_DEV(USB_SC_8070, USB_PR_CB),
|
|
|
|
USUAL_DEV(USB_SC_SCSI, USB_PR_CB),
|
2005-10-23 11:15:09 +08:00
|
|
|
|
|
|
|
/* Control/Bulk/Interrupt transport for all SubClass values */
|
2012-08-29 04:37:13 +08:00
|
|
|
USUAL_DEV(USB_SC_RBC, USB_PR_CBI),
|
|
|
|
USUAL_DEV(USB_SC_8020, USB_PR_CBI),
|
|
|
|
USUAL_DEV(USB_SC_QIC, USB_PR_CBI),
|
|
|
|
USUAL_DEV(USB_SC_UFI, USB_PR_CBI),
|
|
|
|
USUAL_DEV(USB_SC_8070, USB_PR_CBI),
|
|
|
|
USUAL_DEV(USB_SC_SCSI, USB_PR_CBI),
|
2005-10-23 11:15:09 +08:00
|
|
|
|
|
|
|
/* Bulk-only transport for all SubClass values */
|
2012-08-29 04:37:13 +08:00
|
|
|
USUAL_DEV(USB_SC_RBC, USB_PR_BULK),
|
|
|
|
USUAL_DEV(USB_SC_8020, USB_PR_BULK),
|
|
|
|
USUAL_DEV(USB_SC_QIC, USB_PR_BULK),
|
|
|
|
USUAL_DEV(USB_SC_UFI, USB_PR_BULK),
|
|
|
|
USUAL_DEV(USB_SC_8070, USB_PR_BULK),
|
|
|
|
USUAL_DEV(USB_SC_SCSI, USB_PR_BULK),
|