unusual_uas.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. /*
  29. * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI
  30. * commands in UAS mode. Observed with the 1.28 firmware; are there others?
  31. */
  32. UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128,
  33. "Apricorn",
  34. "",
  35. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  36. US_FL_IGNORE_UAS),
  37. /* Reported-by: David Webb <djw@noc.ac.uk> */
  38. UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999,
  39. "Seagate",
  40. "Expansion Desk",
  41. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  42. US_FL_NO_REPORT_LUNS),
  43. /* Reported-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> */
  44. UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999,
  45. "Initio Corporation",
  46. "INIC-3069",
  47. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  48. US_FL_NO_ATA_1X | US_FL_IGNORE_RESIDUE),
  49. /* Reported-by: Tom Arild Naess <tanaess@gmail.com> */
  50. UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999,
  51. "JMicron",
  52. "JMS539",
  53. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  54. US_FL_NO_REPORT_OPCODES),
  55. /* Reported-by: Claudio Bizzarri <claudio.bizzarri@gmail.com> */
  56. UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999,
  57. "JMicron",
  58. "JMS567",
  59. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  60. US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES),
  61. /* Reported-by: David Kozub <zub@linux.fjfi.cvut.cz> */
  62. UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999,
  63. "JMicron",
  64. "JMS567",
  65. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  66. US_FL_BROKEN_FUA),
  67. /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
  68. UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999,
  69. "VIA",
  70. "VL711",
  71. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  72. US_FL_NO_ATA_1X),
  73. /* Reported-by: Icenowy Zheng <icenowy@aosc.io> */
  74. UNUSUAL_DEV(0x2537, 0x1068, 0x0000, 0x9999,
  75. "Norelsys",
  76. "NS1068X",
  77. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  78. US_FL_IGNORE_UAS),
  79. /*
  80. * Initially Reported-by: Takeo Nakayama <javhera@gmx.com>
  81. * UAS Ignore Reported by Steven Ellis <sellis@redhat.com>
  82. */
  83. UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999,
  84. "JMicron",
  85. "JMS566",
  86. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  87. US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS),
  88. /* Reported-by: Hans de Goede <hdegoede@redhat.com> */
  89. UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999,
  90. "Hitachi",
  91. "External HDD",
  92. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  93. US_FL_IGNORE_UAS),
  94. /* Reported-by: Richard Henderson <rth@redhat.com> */
  95. UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999,
  96. "SimpleTech",
  97. "External HDD",
  98. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  99. US_FL_NO_REPORT_OPCODES),
  100. /* "G-DRIVE" external HDD hangs on write without these.
  101. * Patch submitted by Alexander Kappner <agk@godking.net>
  102. */
  103. UNUSUAL_DEV(0x4971, 0x8024, 0x0000, 0x9999,
  104. "SimpleTech",
  105. "External HDD",
  106. USB_SC_DEVICE, USB_PR_DEVICE, NULL,
  107. US_FL_ALWAYS_SYNC),