unusual_uas.h 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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. * IMPORTANT NOTE: This file must be included in another file which defines
  13. * a UNUSUAL_DEV macro before this file is included.
  14. */
  15. /*
  16. * If you edit this file, please try to keep it sorted first by VendorID,
  17. * then by ProductID.
  18. *
  19. * If you want to add an entry for this file, be sure to include the
  20. * following information:
  21. * - a patch that adds the entry for your device, including your
  22. * email address right above the entry (plus maybe a brief
  23. * explanation of the reason for the entry),
  24. * - lsusb -v output for the device
  25. * Send your submission to Hans de Goede <hdegoede@redhat.com>
  26. * and don't forget to CC: the USB development list <linux-usb@vger.kernel.org>
  27. */
  28. /* Reported-by: Till Dörges <doerges@pre-sense.de> */
  29. UNUSUAL_DEV(0x054c, 0x087d, 0x0000, 0x9999,
  30. "Sony",
  31. "PSZ-HA*",
  32. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  33. US_FL_NO_REPORT_OPCODES),
  34. /*
  35. * Initially Reported-by: Julian Groß <julian.g@posteo.de>
  36. * Further reports David C. Partridge <david.partridge@perdrix.co.uk>
  37. */
  38. UNUSUAL_DEV(0x059f, 0x105f, 0x0000, 0x9999,
  39. "LaCie",
  40. "2Big Quadra USB3",
  41. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  42. US_FL_NO_REPORT_OPCODES | US_FL_NO_SAME),
  43. /* Reported-by: Julian Sikorski <belegdol@gmail.com> */
  44. UNUSUAL_DEV(0x059f, 0x1061, 0x0000, 0x9999,
  45. "LaCie",
  46. "Rugged USB3-FW",
  47. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  48. US_FL_NO_REPORT_OPCODES | US_FL_NO_SAME),
  49. /* Reported-by: Zhihong Zhou <zhouzhihong@greatwall.com.cn> */
  50. UNUSUAL_DEV(0x0781, 0x55e8, 0x0000, 0x9999,
  51. "SanDisk",
  52. "",
  53. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  54. US_FL_IGNORE_UAS),
  55. /* Reported-by: Hongling Zeng <zenghongling@kylinos.cn> */
  56. UNUSUAL_DEV(0x090c, 0x2000, 0x0000, 0x9999,
  57. "Hiksemi",
  58. "External HDD",
  59. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  60. US_FL_IGNORE_UAS),
  61. /*
  62. * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
  63. * commands in UAS mode. Observed with the 1.28 firmware; are there others?
  64. */
  65. UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
  66. "Apricorn",
  67. "",
  68. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  69. US_FL_IGNORE_UAS),
  70. /* Reported-by: Tom Hu <huxiaoying@kylinos.cn> */
  71. UNUSUAL_DEV(0x0b05, 0x1932, 0x0000, 0x9999,
  72. "ASUS",
  73. "External HDD",
  74. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  75. US_FL_IGNORE_UAS),
  76. /* Reported-by: David Webb <djw@noc.ac.uk> */
  77. UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
  78. "Seagate",
  79. "Expansion Desk",
  80. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  81. US_FL_NO_REPORT_LUNS),
  82. /* Reported-by: Oliver Neukum <oneukum@suse.com> */
  83. UNUSUAL_DEV(0x125f, 0xa94a, 0x0160, 0x0160,
  84. "ADATA",
  85. "Portable HDD CH94",
  86. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  87. US_FL_NO_ATA_1X),
  88. /* Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> */
  89. UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x0309,
  90. "Initio Corporation",
  91. "INIC-3069",
  92. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  93. US_FL_NO_ATA_1X | US_FL_IGNORE_RESIDUE),
  94. /* Reported-by: Tom Arild Naess <tanaess@gmail.com> */
  95. UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
  96. "JMicron",
  97. "JMS539",
  98. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  99. US_FL_NO_REPORT_OPCODES),
  100. /* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
  101. UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
  102. "JMicron",
  103. "JMS567",
  104. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  105. US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
  106. /* Reported-by: David Kozub <zub@linux.fjfi.cvut.cz> */
  107. UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
  108. "JMicron",
  109. "JMS567",
  110. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  111. US_FL_BROKEN_FUA),
  112. /* Reported by: Yaroslav Furman <yaro330@gmail.com> */
  113. UNUSUAL_DEV(0x152d, 0x0583, 0x0000, 0x9999,
  114. "JMicron",
  115. "JMS583Gen 2",
  116. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  117. US_FL_NO_REPORT_OPCODES),
  118. /* Reported-by: Thinh Nguyen <thinhn@synopsys.com> */
  119. UNUSUAL_DEV(0x154b, 0xf00b, 0x0000, 0x9999,
  120. "PNY",
  121. "Pro Elite SSD",
  122. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  123. US_FL_NO_ATA_1X),
  124. /* Reported-by: Thinh Nguyen <thinhn@synopsys.com> */
  125. UNUSUAL_DEV(0x154b, 0xf00d, 0x0000, 0x9999,
  126. "PNY",
  127. "Pro Elite SSD",
  128. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  129. US_FL_NO_ATA_1X),
  130. /* Reported-by: Hongling Zeng <zenghongling@kylinos.cn> */
  131. UNUSUAL_DEV(0x17ef, 0x3899, 0x0000, 0x9999,
  132. "Thinkplus",
  133. "External HDD",
  134. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  135. US_FL_IGNORE_UAS),
  136. /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
  137. UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
  138. "VIA",
  139. "VL711",
  140. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  141. US_FL_NO_ATA_1X),
  142. /* Reported-by: Icenowy Zheng <icenowy@aosc.io> */
  143. UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999,
  144. "Norelsys",
  145. "NS1068X",
  146. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  147. US_FL_IGNORE_UAS),
  148. /*
  149. * Initially Reported-by: Takeo Nakayama <javhera@gmx.com>
  150. * UAS Ignore Reported by Steven Ellis <sellis@redhat.com>
  151. */
  152. UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
  153. "JMicron",
  154. "JMS566",
  155. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  156. US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS),
  157. /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
  158. UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
  159. "Hitachi",
  160. "External HDD",
  161. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  162. US_FL_IGNORE_UAS),
  163. /* Reported-by: Richard Henderson <rth@redhat.com> */
  164. UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999,
  165. "SimpleTech",
  166. "External HDD",
  167. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  168. US_FL_NO_REPORT_OPCODES),
  169. /* "G-DRIVE" external HDD hangs on write without these.
  170. * Patch submitted by Alexander Kappner <agk@godking.net>
  171. */
  172. UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
  173. "SimpleTech",
  174. "External HDD",
  175. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  176. US_FL_ALWAYS_SYNC),