1 |
commit: 48b873686e977cd880a698bec378d7ab2c6ca967 |
2 |
Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 9 14:07:04 2017 +0000 |
4 |
Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 9 14:07:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=48b87368 |
7 |
|
8 |
Add UAS disable quirk. See bug #640082. |
9 |
|
10 |
0000_README | 4 +++ |
11 |
...age-Disable-UAS-on-JMicron-SATA-enclosure.patch | 40 ++++++++++++++++++++++ |
12 |
2 files changed, 44 insertions(+) |
13 |
|
14 |
diff --git a/0000_README b/0000_README |
15 |
index 3b5d05b..6749ad6 100644 |
16 |
--- a/0000_README |
17 |
+++ b/0000_README |
18 |
@@ -75,6 +75,10 @@ Patch: 2300_enable-poweroff-on-Mac-Pro-11.patch |
19 |
From: http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/patch/drivers/pci/quirks.c?id=5080ff61a438f3dd80b88b423e1a20791d8a774c |
20 |
Desc: Workaround to enable poweroff on Mac Pro 11. See bug #601964. |
21 |
|
22 |
+Patch: 2500_usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch |
23 |
+From: https://bugzilla.redhat.com/show_bug.cgi?id=1260207#c5 |
24 |
+Desc: Add UAS disable quirk. See bug #640082. |
25 |
+ |
26 |
Patch: 2600_enable-key-swapping-for-apple-mac.patch |
27 |
From: https://github.com/free5lot/hid-apple-patched |
28 |
Desc: This hid-apple patch enables swapping of the FN and left Control keys and some additional on some apple keyboards. See bug #622902 |
29 |
|
30 |
diff --git a/2500_usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch b/2500_usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch |
31 |
new file mode 100644 |
32 |
index 0000000..0dd93ef |
33 |
--- /dev/null |
34 |
+++ b/2500_usb-storage-Disable-UAS-on-JMicron-SATA-enclosure.patch |
35 |
@@ -0,0 +1,40 @@ |
36 |
+From d02a55182307c01136b599fd048b4679f259a84e Mon Sep 17 00:00:00 2001 |
37 |
+From: Laura Abbott <labbott@×××××××××××××.org> |
38 |
+Date: Tue, 8 Sep 2015 09:53:38 -0700 |
39 |
+Subject: [PATCH] usb-storage: Disable UAS on JMicron SATA enclosure |
40 |
+ |
41 |
+Steve Ellis reported incorrect block sizes and alignement |
42 |
+offsets with a SATA enclosure. Adding a quirk to disable |
43 |
+UAS fixes the problems. |
44 |
+ |
45 |
+Reported-by: Steven Ellis <sellis@××××××.com> |
46 |
+Signed-off-by: Laura Abbott <labbott@×××××××××××××.org> |
47 |
+--- |
48 |
+ drivers/usb/storage/unusual_uas.h | 7 +++++-- |
49 |
+ 1 file changed, 5 insertions(+), 2 deletions(-) |
50 |
+ |
51 |
+diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h |
52 |
+index c85ea53..216d93d 100644 |
53 |
+--- a/drivers/usb/storage/unusual_uas.h |
54 |
++++ b/drivers/usb/storage/unusual_uas.h |
55 |
+@@ -141,12 +141,15 @@ UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999, |
56 |
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL, |
57 |
+ US_FL_NO_ATA_1X), |
58 |
+ |
59 |
+-/* Reported-by: Takeo Nakayama <javhera@×××.com> */ |
60 |
++/* |
61 |
++ * Initially Reported-by: Takeo Nakayama <javhera@×××.com> |
62 |
++ * UAS Ignore Reported by Steven Ellis <sellis@××××××.com> |
63 |
++ */ |
64 |
+ UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999, |
65 |
+ "JMicron", |
66 |
+ "JMS566", |
67 |
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL, |
68 |
+- US_FL_NO_REPORT_OPCODES), |
69 |
++ US_FL_NO_REPORT_OPCODES | US_FL_IGNORE_UAS), |
70 |
+ |
71 |
+ /* Reported-by: Hans de Goede <hdegoede@××××××.com> */ |
72 |
+ UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999, |
73 |
+-- |
74 |
+2.4.3 |
75 |
+ |