commit: 48b873686e977cd880a698bec378d7ab2c6ca967 Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org> AuthorDate: Sat Dec 9 14:07:04 2017 +0000 Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org> CommitDate: Sat Dec 9 14:07:04 2017 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=48b87368
Add UAS disable quirk. See bug #640082. 0000_README | 4 +++ ...age-Disable-UAS-on-JMicron-SATA-enclosure.patch | 40 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/0000_README b/0000_README index 3b5d05b..6749ad6 100644 --- a/0000_README +++ b/0000_README @@ -75,6 +75,10 @@ Patch: 2300_enable-poweroff-on-Mac-Pro-11.patch From: http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/patch/drivers/pci/quirks.c?id=5080ff61a438f3dd80b88b423e1a20791d8a774c Desc: Workaround to enable poweroff on Mac Pro 11. See bug #601964. +Patch: 2500_usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch +From: https://bugzilla.redhat.com/show_bug.cgi?id=1260207#c5 +Desc: Add UAS disable quirk. See bug #640082. + Patch: 2600_enable-key-swapping-for-apple-mac.patch From: https://github.com/free5lot/hid-apple-patched Desc: This hid-apple patch enables swapping of the FN and left Control keys and some additional on some apple keyboards. See bug #622902 diff --git a/2500_usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch b/2500_usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch new file mode 100644 index 0000000..0dd93ef --- /dev/null +++ b/2500_usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch @@ -0,0 +1,40 @@ +From d02a55182307c01136b599fd048b4679f259a84e Mon Sep 17 00:00:00 2001 +From: Laura Abbott <[email protected]> +Date: Tue, 8 Sep 2015 09:53:38 -0700 +Subject: [PATCH] usb-storage: Disable UAS on JMicron SATA enclosure + +Steve Ellis reported incorrect block sizes and alignement +offsets with a SATA enclosure. Adding a quirk to disable +UAS fixes the problems. + +Reported-by: Steven Ellis <[email protected]> +Signed-off-by: Laura Abbott <[email protected]> +--- + drivers/usb/storage/unusual_uas.h | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h +index c85ea53..216d93d 100644 +--- a/drivers/usb/storage/unusual_uas.h ++++ b/drivers/usb/storage/unusual_uas.h +@@ -141,12 +141,15 @@ UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999, + USB_SC_DEVICE, USB_PR_DEVICE, NULL, + US_FL_NO_ATA_1X), + +-/* Reported-by: Takeo Nakayama <[email protected]> */ ++/* ++ * Initially Reported-by: Takeo Nakayama <[email protected]> ++ * UAS Ignore Reported by Steven Ellis <[email protected]> ++ */ + UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999, + "JMicron", + "JMS566", + USB_SC_DEVICE, USB_PR_DEVICE, NULL, +- US_FL_NO_REPORT_OPCODES), ++ US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS), + + /* Reported-by: Hans de Goede <[email protected]> */ + UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999, +-- +2.4.3 +
