xref: /linux/drivers/usb/storage/unusual_uas.h (revision 74ce1896c6c65b2f8cccbf59162d542988835835)
1 /*
2  * Driver for USB Attached SCSI devices - Unusual Devices File
3  *
4  *   (c) 2013 Hans de Goede <hdegoede@redhat.com>
5  *
6  * Based on the same file for the usb-storage driver, which is:
7  *   (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
8  *   (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc.
9  *
10  * This program is free software; you can redistribute it and/or modify it
11  * under the terms of the GNU General Public License as published by the
12  * Free Software Foundation; either version 2, or (at your option) any
13  * later version.
14  *
15  * This program is distributed in the hope that it will be useful, but
16  * WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License along
21  * with this program; if not, write to the Free Software Foundation, Inc.,
22  * 675 Mass Ave, Cambridge, MA 02139, USA.
23  */
24 
25 /*
26  * IMPORTANT NOTE: This file must be included in another file which defines
27  * a UNUSUAL_DEV macro before this file is included.
28  */
29 
30 /*
31  * If you edit this file, please try to keep it sorted first by VendorID,
32  * then by ProductID.
33  *
34  * If you want to add an entry for this file, be sure to include the
35  * following information:
36  *	- a patch that adds the entry for your device, including your
37  *	  email address right above the entry (plus maybe a brief
38  *	  explanation of the reason for the entry),
39  *	- lsusb -v output for the device
40  * Send your submission to Hans de Goede <hdegoede@redhat.com>
41  * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>
42  */
43 
44 /*
45  * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
46  * commands in UAS mode.  Observed with the 1.28 firmware; are there others?
47  */
48 UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
49 		"Apricorn",
50 		"",
51 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
52 		US_FL_IGNORE_UAS),
53 
54 /* https://bugzilla.kernel.org/show_bug.cgi?id=79511 */
55 UNUSUAL_DEV(0x0bc2, 0x2312, 0x0000, 0x9999,
56 		"Seagate",
57 		"Expansion Desk",
58 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
59 		US_FL_NO_ATA_1X),
60 
61 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
62 UNUSUAL_DEV(0x0bc2, 0x3312, 0x0000, 0x9999,
63 		"Seagate",
64 		"Expansion Desk",
65 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
66 		US_FL_NO_ATA_1X),
67 
68 /* Reported-by: David Webb <djw@noc.ac.uk> */
69 UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
70 		"Seagate",
71 		"Expansion Desk",
72 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
73 		US_FL_NO_REPORT_LUNS),
74 
75 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
76 UNUSUAL_DEV(0x0bc2, 0x3320, 0x0000, 0x9999,
77 		"Seagate",
78 		"Expansion Desk",
79 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
80 		US_FL_NO_ATA_1X),
81 
82 /* Reported-by: Bogdan Mihalcea <bogdan.mihalcea@infim.ro> */
83 UNUSUAL_DEV(0x0bc2, 0xa003, 0x0000, 0x9999,
84 		"Seagate",
85 		"Backup Plus",
86 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
87 		US_FL_NO_ATA_1X),
88 
89 /* Reported-by: Marcin Zajączkowski <mszpak@wp.pl> */
90 UNUSUAL_DEV(0x0bc2, 0xa013, 0x0000, 0x9999,
91 		"Seagate",
92 		"Backup Plus",
93 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
94 		US_FL_NO_ATA_1X),
95 
96 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
97 UNUSUAL_DEV(0x0bc2, 0xa0a4, 0x0000, 0x9999,
98 		"Seagate",
99 		"Backup Plus Desk",
100 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
101 		US_FL_NO_ATA_1X),
102 
103 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
104 UNUSUAL_DEV(0x0bc2, 0xab20, 0x0000, 0x9999,
105 		"Seagate",
106 		"Backup+ BK",
107 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
108 		US_FL_NO_ATA_1X),
109 
110 /* https://bbs.archlinux.org/viewtopic.php?id=183190 */
111 UNUSUAL_DEV(0x0bc2, 0xab21, 0x0000, 0x9999,
112 		"Seagate",
113 		"Backup+ BK",
114 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
115 		US_FL_NO_ATA_1X),
116 
117 /* Reported-by: G. Richard Bellamy <rbellamy@pteradigm.com> */
118 UNUSUAL_DEV(0x0bc2, 0xab2a, 0x0000, 0x9999,
119 		"Seagate",
120 		"BUP Fast HDD",
121 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
122 		US_FL_NO_ATA_1X),
123 
124 /* Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> */
125 UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999,
126 		"Initio Corporation",
127 		"INIC-3069",
128 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
129 		US_FL_NO_ATA_1X | US_FL_IGNORE_RESIDUE),
130 
131 /* Reported-by: Tom Arild Naess <tanaess@gmail.com> */
132 UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
133 		"JMicron",
134 		"JMS539",
135 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
136 		US_FL_NO_REPORT_OPCODES),
137 
138 /* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
139 UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
140 		"JMicron",
141 		"JMS567",
142 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
143 		US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
144 
145 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
146 UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
147 		"VIA",
148 		"VL711",
149 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
150 		US_FL_NO_ATA_1X),
151 
152 /* Reported-by: Takeo Nakayama <javhera@gmx.com> */
153 UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
154 		"JMicron",
155 		"JMS566",
156 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
157 		US_FL_NO_REPORT_OPCODES),
158 
159 /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
160 UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
161 		"Hitachi",
162 		"External HDD",
163 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
164 		US_FL_IGNORE_UAS),
165 
166 /* Reported-by: Richard Henderson <rth@redhat.com> */
167 UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999,
168 		"SimpleTech",
169 		"External HDD",
170 		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
171 		US_FL_NO_REPORT_OPCODES),
172