xref: /linux/drivers/usb/storage/unusual_uas.h (revision 6fdcba32711044c35c0e1b094cbd8f3f0b4472c9)
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Driver for USB Attached SCSI devices - Unusual Devices File
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.
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 
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  */
35 UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
36 		"Apricorn",
37 		"",
38 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
39 		US_FL_IGNORE_UAS),
40 
41 /* Reported-by: David Webb <djw@noc.ac.uk> */
42 UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
43 		"Seagate",
44 		"Expansion Desk",
45 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
46 		US_FL_NO_REPORT_LUNS),
47 
48 /* Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> */
49 UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999,
50 		"Initio Corporation",
51 		"INIC-3069",
52 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
53 		US_FL_NO_ATA_1X | US_FL_IGNORE_RESIDUE),
54 
55 /* Reported-by: Tom Arild Naess <tanaess@gmail.com> */
56 UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
57 		"JMicron",
58 		"JMS539",
59 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
60 		US_FL_NO_REPORT_OPCODES),
61 
62 /* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
63 UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
64 		"JMicron",
65 		"JMS567",
66 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
67 		US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
68 
69 /* Reported-by: David Kozub <zub@linux.fjfi.cvut.cz> */
70 UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
71 		"JMicron",
72 		"JMS567",
73 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
74 		US_FL_BROKEN_FUA),
75 
76 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
77 UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
78 		"VIA",
79 		"VL711",
80 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
81 		US_FL_NO_ATA_1X),
82 
83 /* Reported-by: Icenowy Zheng <icenowy@aosc.io> */
84 UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999,
85 		"Norelsys",
86 		"NS1068X",
87 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
88 		US_FL_IGNORE_UAS),
89 
90 /*
91  * Initially Reported-by: Takeo Nakayama <javhera@gmx.com>
92  * UAS Ignore Reported by Steven Ellis <sellis@redhat.com>
93  */
94 UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
95 		"JMicron",
96 		"JMS566",
97 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
98 		US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS),
99 
100 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
101 UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
102 		"Hitachi",
103 		"External HDD",
104 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
105 		US_FL_IGNORE_UAS),
106 
107 /* Reported-by: Richard Henderson <rth@redhat.com> */
108 UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999,
109 		"SimpleTech",
110 		"External HDD",
111 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
112 		US_FL_NO_REPORT_OPCODES),
113 
114 /* "G-DRIVE" external HDD hangs on write without these.
115  * Patch submitted by Alexander Kappner <agk@godking.net>
116  */
117 UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
118 		"SimpleTech",
119 		"External HDD",
120 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
121 		US_FL_ALWAYS_SYNC),
122