summaryrefslogtreecommitdiffstats
path: root/abs/core/pm-utils/14-disable-sata-alpm.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-05 01:21:53 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-05 01:21:53 (GMT)
commit54b13f938af2f5dc0b7b31f2c1711fcb863e7614 (patch)
tree9738b02366acce499fc66ae289a9f4bd8a268fcb /abs/core/pm-utils/14-disable-sata-alpm.patch
parent020c1b453a49bf922d32d416916393ae297d3cf0 (diff)
downloadlinhes_pkgbuild-54b13f938af2f5dc0b7b31f2c1711fcb863e7614.zip
linhes_pkgbuild-54b13f938af2f5dc0b7b31f2c1711fcb863e7614.tar.gz
linhes_pkgbuild-54b13f938af2f5dc0b7b31f2c1711fcb863e7614.tar.bz2
pm-utils: Bump to latest. ref #647
Diffstat (limited to 'abs/core/pm-utils/14-disable-sata-alpm.patch')
-rw-r--r--abs/core/pm-utils/14-disable-sata-alpm.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core/pm-utils/14-disable-sata-alpm.patch b/abs/core/pm-utils/14-disable-sata-alpm.patch
new file mode 100644
index 0000000..7b54949
--- /dev/null
+++ b/abs/core/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
+ }