]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/usb/storage/unusual_uas.h
usb-storage: Add compatibility quirk flags for G-Technologies G-Drive
[mirror_ubuntu-bionic-kernel.git] / drivers / usb / storage / unusual_uas.h
CommitLineData
5fd54ace 1// SPDX-License-Identifier: GPL-2.0+
f0183a33
FB
2/*
3 * Driver for USB Attached SCSI devices - Unusual Devices File
79b4c061
HG
4 *
5 * (c) 2013 Hans de Goede <hdegoede@redhat.com>
6 *
7 * Based on the same file for the usb-storage driver, which is:
8 * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
9 * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
79b4c061
HG
10 */
11
12/*
13 * IMPORTANT NOTE: This file must be included in another file which defines
14 * a UNUSUAL_DEV macro before this file is included.
15 */
16
17/*
18 * If you edit this file, please try to keep it sorted first by VendorID,
19 * then by ProductID.
20 *
21 * If you want to add an entry for this file, be sure to include the
22 * following information:
23 * - a patch that adds the entry for your device, including your
24 * email address right above the entry (plus maybe a brief
25 * explanation of the reason for the entry),
26 * - lsusb -v output for the device
27 * Send your submission to Hans de Goede <hdegoede@redhat.com>
28 * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>
29 */
30
36d1ffdb
DW
31/*
32 * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
33 * commands in UAS mode. Observed with the 1.28 firmware; are there others?
34 */
35UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
36 "Apricorn",
37 "",
38 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
39 US_FL_IGNORE_UAS),
40
59307852
HG
41/* https://bugzilla.kernel.org/show_bug.cgi?id=79511 */
42UNUSUAL_DEV(0x0bc2, 0x2312, 0x0000, 0x9999,
43 "Seagate",
44 "Expansion Desk",
45 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
46 US_FL_NO_ATA_1X),
47
48/* https://bbs.archlinux.org/viewtopic.php?id=183190 */
49UNUSUAL_DEV(0x0bc2, 0x3312, 0x0000, 0x9999,
50 "Seagate",
51 "Expansion Desk",
52 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
53 US_FL_NO_ATA_1X),
d1d95482 54
13630746
HG
55/* Reported-by: David Webb <djw@noc.ac.uk> */
56UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
57 "Seagate",
58 "Expansion Desk",
59 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
60 US_FL_NO_REPORT_LUNS),
61
d1d95482
HG
62/* Reported-by: Hans de Goede <hdegoede@redhat.com> */
63UNUSUAL_DEV(0x0bc2, 0x3320, 0x0000, 0x9999,
64 "Seagate",
65 "Expansion Desk",
66 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
67 US_FL_NO_ATA_1X),
68
69/* Reported-by: Bogdan Mihalcea <bogdan.mihalcea@infim.ro> */
70UNUSUAL_DEV(0x0bc2, 0xa003, 0x0000, 0x9999,
71 "Seagate",
72 "Backup Plus",
73 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
74 US_FL_NO_ATA_1X),
734016b0 75
e5797a3d
HG
76/* Reported-by: Marcin ZajÄ…czkowski <mszpak@wp.pl> */
77UNUSUAL_DEV(0x0bc2, 0xa013, 0x0000, 0x9999,
78 "Seagate",
79 "Backup Plus",
80 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
81 US_FL_NO_ATA_1X),
82
3ca8c717
HG
83/* Reported-by: Hans de Goede <hdegoede@redhat.com> */
84UNUSUAL_DEV(0x0bc2, 0xa0a4, 0x0000, 0x9999,
85 "Seagate",
86 "Backup Plus Desk",
87 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
88 US_FL_NO_ATA_1X),
89
f9554a6b
HG
90/* https://bbs.archlinux.org/viewtopic.php?id=183190 */
91UNUSUAL_DEV(0x0bc2, 0xab20, 0x0000, 0x9999,
92 "Seagate",
93 "Backup+ BK",
94 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
95 US_FL_NO_ATA_1X),
96
aee0ce3a
HG
97/* https://bbs.archlinux.org/viewtopic.php?id=183190 */
98UNUSUAL_DEV(0x0bc2, 0xab21, 0x0000, 0x9999,
99 "Seagate",
100 "Backup+ BK",
101 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
102 US_FL_NO_ATA_1X),
103
3ca8c717
HG
104/* Reported-by: G. Richard Bellamy <rbellamy@pteradigm.com> */
105UNUSUAL_DEV(0x0bc2, 0xab2a, 0x0000, 0x9999,
106 "Seagate",
107 "BUP Fast HDD",
108 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
109 US_FL_NO_ATA_1X),
110
bda13e35
HG
111/* Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> */
112UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999,
113 "Initio Corporation",
89f23d51 114 "INIC-3069",
bda13e35 115 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
89f23d51 116 US_FL_NO_ATA_1X | US_FL_IGNORE_RESIDUE),
bda13e35 117
59e980ef
HG
118/* Reported-by: Tom Arild Naess <tanaess@gmail.com> */
119UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
120 "JMicron",
121 "JMS539",
122 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
123 US_FL_NO_REPORT_OPCODES),
124
734016b0
HG
125/* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
126UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
127 "JMicron",
128 "JMS567",
129 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
9fa62b1a 130 US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
710f1bf1 131
62354454
DK
132/* Reported-by: David Kozub <zub@linux.fjfi.cvut.cz> */
133UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
134 "JMicron",
135 "JMS567",
136 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
137 US_FL_BROKEN_FUA),
138
673029fe
HG
139/* Reported-by: Hans de Goede <hdegoede@redhat.com> */
140UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
141 "VIA",
142 "VL711",
143 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
144 US_FL_NO_ATA_1X),
8daee135 145
928afc85
IZ
146/* Reported-by: Icenowy Zheng <icenowy@aosc.io> */
147UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999,
148 "Norelsys",
149 "NS1068X",
150 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
151 US_FL_IGNORE_UAS),
152
c6fa3945
HG
153/* Reported-by: Takeo Nakayama <javhera@gmx.com> */
154UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
155 "JMicron",
156 "JMS566",
157 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
158 US_FL_NO_REPORT_OPCODES),
159
8daee135
HG
160/* Reported-by: Hans de Goede <hdegoede@redhat.com> */
161UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
162 "Hitachi",
163 "External HDD",
164 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
165 US_FL_IGNORE_UAS),
8a870880
HG
166
167/* Reported-by: Richard Henderson <rth@redhat.com> */
168UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999,
169 "SimpleTech",
170 "External HDD",
171 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
172 US_FL_NO_REPORT_OPCODES),
54203a3e
AK
173
174/* "G-DRIVE" external HDD hangs on write without these.
175 * Patch submitted by Alexander Kappner <agk@godking.net>
176 */
177UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
178 "SimpleTech",
179 "External HDD",
180 USB_SC_DEVICE, USB_PR_DEVICE, NULL,
181 US_FL_ALWAYS_SYNC),