summaryrefslogtreecommitdiff
path: root/pcr/pm-utils/14-disable-sata-alpm.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-05 12:21:01 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-03-05 12:21:01 -0500
commitf32479c4ab20b9aeea3b9e0f691b29a8d5970b0e (patch)
tree8021a519b18f18626862aee5d63308b1496f519f /pcr/pm-utils/14-disable-sata-alpm.patch
parenta18b869b33d10870d9b7fb1eefb14339e05f70cf (diff)
downloadabslibre-f32479c4ab20b9aeea3b9e0f691b29a8d5970b0e.tar.gz
abslibre-f32479c4ab20b9aeea3b9e0f691b29a8d5970b0e.tar.bz2
abslibre-f32479c4ab20b9aeea3b9e0f691b29a8d5970b0e.zip
pm-utils: add new package to [pcr]
Diffstat (limited to 'pcr/pm-utils/14-disable-sata-alpm.patch')
-rw-r--r--pcr/pm-utils/14-disable-sata-alpm.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr/pm-utils/14-disable-sata-alpm.patch b/pcr/pm-utils/14-disable-sata-alpm.patch
new file mode 100644
index 000000000..7b5494932
--- /dev/null
+++ b/pcr/pm-utils/14-disable-sata-alpm.patch
@@ -0,0 +1,26 @@
+Description: Disable SATA link power management by default, as it still causes disk errors and corruptions on many hardware.
+Author: Martin Pitt <martin.pitt@ubuntu.com>
+Bug-Ubuntu: https://launchpad.net/bugs/539467
+
+Index: pm-utils/pm/power.d/sata_alpm
+===================================================================
+--- pm-utils.orig/pm/power.d/sata_alpm 2011-02-01 15:53:09.164867778 +0100
++++ pm-utils/pm/power.d/sata_alpm 2011-02-01 15:53:28.954867786 +0100
+@@ -2,7 +2,7 @@
+
+ . "${PM_FUNCTIONS}"
+
+-SATA_ALPM_ENABLE=${SATA_ALPM_ENABLE:-true}
++SATA_ALPM_ENABLE=${SATA_ALPM_ENABLE:-false}
+
+ help() {
+ cat <<EOF
+@@ -16,7 +16,7 @@
+
+ This hook has 1 parameter:
+ SATA_ALPM_ENABLE = whether to use SATA ALPM on battery.
+-Defaults to "true".
++Defaults to "false".
+
+ EOF
+ }