2020-04-19 21:16:57 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2016-04-18 18:09:11 +08:00
|
|
|
/*
|
|
|
|
* Driver for USB Attached SCSI devices - Unusual Devices File
|
2013-10-26 00:04:33 +08:00
|
|
|
*
|
|
|
|
* (c) 2013 Hans de Goede <hdegoede@redhat.com>
|
|
|
|
*
|
|
|
|
* Based on the same file for the usb-storage driver, which is:
|
|
|
|
* (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
|
|
|
|
* (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* IMPORTANT NOTE: This file must be included in another file which defines
|
|
|
|
* a UNUSUAL_DEV macro before this file is included.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* If you edit this file, please try to keep it sorted first by VendorID,
|
|
|
|
* 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),
|
|
|
|
* - lsusb -v output for the device
|
|
|
|
* Send your submission to Hans de Goede <hdegoede@redhat.com>
|
|
|
|
* and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>
|
|
|
|
*/
|
|
|
|
|
2020-08-26 22:32:29 +08:00
|
|
|
/* Reported-by: Till Dörges <doerges@pre-sense.de> */
|
|
|
|
UNUSUAL_DEV(0x054c, 0x087d, 0x0000, 0x9999,
|
|
|
|
"Sony",
|
|
|
|
"PSZ-HA*",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_REPORT_OPCODES),
|
|
|
|
|
2020-12-09 23:26:39 +08:00
|
|
|
/*
|
|
|
|
* Initially Reported-by: Julian Groß <julian.g@posteo.de>
|
|
|
|
* Further reports David C. Partridge <david.partridge@perdrix.co.uk>
|
|
|
|
*/
|
2020-04-29 23:52:18 +08:00
|
|
|
UNUSUAL_DEV(0x059f, 0x105f, 0x0000, 0x9999,
|
|
|
|
"LaCie",
|
|
|
|
"2Big Quadra USB3",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2020-12-09 23:26:39 +08:00
|
|
|
US_FL_NO_REPORT_OPCODES | US_FL_NO_SAME),
|
2020-04-29 23:52:18 +08:00
|
|
|
|
2021-07-21 01:19:10 +08:00
|
|
|
/* Reported-by: Julian Sikorski <belegdol@gmail.com> */
|
|
|
|
UNUSUAL_DEV(0x059f, 0x1061, 0x0000, 0x9999,
|
|
|
|
"LaCie",
|
|
|
|
"Rugged USB3-FW",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2021-09-14 02:14:55 +08:00
|
|
|
US_FL_NO_REPORT_OPCODES | US_FL_NO_SAME),
|
2021-07-21 01:19:10 +08:00
|
|
|
|
2022-09-23 10:46:13 +08:00
|
|
|
/* Reported-by: Hongling Zeng <zenghongling@kylinos.cn> */
|
|
|
|
UNUSUAL_DEV(0x090c, 0x2000, 0x0000, 0x9999,
|
|
|
|
"Hiksemi",
|
|
|
|
"External HDD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_IGNORE_UAS),
|
|
|
|
|
2014-12-12 03:01:11 +08:00
|
|
|
/*
|
|
|
|
* Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
|
|
|
|
* commands in UAS mode. Observed with the 1.28 firmware; are there others?
|
|
|
|
*/
|
|
|
|
UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
|
|
|
|
"Apricorn",
|
|
|
|
"",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_IGNORE_UAS),
|
|
|
|
|
2022-09-01 12:57:37 +08:00
|
|
|
/* Reported-by: Tom Hu <huxiaoying@kylinos.cn> */
|
|
|
|
UNUSUAL_DEV(0x0b05, 0x1932, 0x0000, 0x9999,
|
|
|
|
"ASUS",
|
|
|
|
"External HDD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_IGNORE_UAS),
|
|
|
|
|
2016-04-12 18:27:09 +08:00
|
|
|
/* Reported-by: David Webb <djw@noc.ac.uk> */
|
|
|
|
UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
|
|
|
|
"Seagate",
|
|
|
|
"Expansion Desk",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_REPORT_LUNS),
|
|
|
|
|
2015-03-16 22:18:13 +08:00
|
|
|
/* Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> */
|
|
|
|
UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999,
|
|
|
|
"Initio Corporation",
|
2017-07-26 19:03:33 +08:00
|
|
|
"INIC-3069",
|
2015-03-16 22:18:13 +08:00
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2017-07-26 19:03:33 +08:00
|
|
|
US_FL_NO_ATA_1X | US_FL_IGNORE_RESIDUE),
|
2015-03-16 22:18:13 +08:00
|
|
|
|
2015-02-23 20:41:14 +08:00
|
|
|
/* Reported-by: Tom Arild Naess <tanaess@gmail.com> */
|
|
|
|
UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
|
|
|
|
"JMicron",
|
|
|
|
"JMS539",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_REPORT_OPCODES),
|
|
|
|
|
2014-09-17 00:36:52 +08:00
|
|
|
/* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
|
|
|
|
UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
|
|
|
|
"JMicron",
|
|
|
|
"JMS567",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2015-11-20 08:30:44 +08:00
|
|
|
US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
|
2014-09-23 21:48:50 +08:00
|
|
|
|
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),
|
|
|
|
|
2023-03-12 17:07:45 +08:00
|
|
|
/* Reported by: Yaroslav Furman <yaro330@gmail.com> */
|
|
|
|
UNUSUAL_DEV(0x152d, 0x0583, 0x0000, 0x9999,
|
|
|
|
"JMicron",
|
|
|
|
"JMS583Gen 2",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_REPORT_OPCODES),
|
|
|
|
|
2021-01-05 12:07:15 +08:00
|
|
|
/* Reported-by: Thinh Nguyen <thinhn@synopsys.com> */
|
|
|
|
UNUSUAL_DEV(0x154b, 0xf00b, 0x0000, 0x9999,
|
|
|
|
"PNY",
|
|
|
|
"Pro Elite SSD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_ATA_1X),
|
|
|
|
|
2020-08-19 10:27:47 +08:00
|
|
|
/* Reported-by: Thinh Nguyen <thinhn@synopsys.com> */
|
|
|
|
UNUSUAL_DEV(0x154b, 0xf00d, 0x0000, 0x9999,
|
|
|
|
"PNY",
|
|
|
|
"Pro Elite SSD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_ATA_1X),
|
|
|
|
|
2022-09-23 10:46:35 +08:00
|
|
|
/* Reported-by: Hongling Zeng <zenghongling@kylinos.cn> */
|
|
|
|
UNUSUAL_DEV(0x17ef, 0x3899, 0x0000, 0x9999,
|
|
|
|
"Thinkplus",
|
|
|
|
"External HDD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_IGNORE_UAS),
|
|
|
|
|
2014-10-09 23:27:56 +08:00
|
|
|
/* Reported-by: Hans de Goede <hdegoede@redhat.com> */
|
|
|
|
UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
|
|
|
|
"VIA",
|
|
|
|
"VL711",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_ATA_1X),
|
2014-11-21 20:28:03 +08:00
|
|
|
|
2018-01-06 00:56:44 +08:00
|
|
|
/* Reported-by: Icenowy Zheng <icenowy@aosc.io> */
|
|
|
|
UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999,
|
|
|
|
"Norelsys",
|
|
|
|
"NS1068X",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_IGNORE_UAS),
|
|
|
|
|
2015-09-09 00:53:38 +08:00
|
|
|
/*
|
|
|
|
* Initially Reported-by: Takeo Nakayama <javhera@gmx.com>
|
|
|
|
* UAS Ignore Reported by Steven Ellis <sellis@redhat.com>
|
|
|
|
*/
|
2014-12-08 16:50:47 +08:00
|
|
|
UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
|
|
|
|
"JMicron",
|
|
|
|
"JMS566",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
2015-09-09 00:53:38 +08:00
|
|
|
US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS),
|
2014-12-08 16:50:47 +08:00
|
|
|
|
2014-11-21 20:28:03 +08:00
|
|
|
/* Reported-by: Hans de Goede <hdegoede@redhat.com> */
|
|
|
|
UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
|
|
|
|
"Hitachi",
|
|
|
|
"External HDD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_IGNORE_UAS),
|
2015-01-12 20:34:33 +08:00
|
|
|
|
|
|
|
/* Reported-by: Richard Henderson <rth@redhat.com> */
|
|
|
|
UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999,
|
|
|
|
"SimpleTech",
|
|
|
|
"External HDD",
|
|
|
|
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
|
|
|
|
US_FL_NO_REPORT_OPCODES),
|
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),
|