summaryrefslogtreecommitdiffstats
path: root/extra/pm-utils/pm-utils-14-disable-sata-alpm.patch
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-05-23 09:04:23 +0200
committersibel <lesibel@free.fr>2011-05-23 09:04:23 +0200
commitbcd0153645655db6b258477e25ac1d183dafc55c (patch)
tree6874df3e2cfeae3fa8e1c4ed3097c0a1b4324ca4 /extra/pm-utils/pm-utils-14-disable-sata-alpm.patch
parent120d1e11c2e6817e78ed139fec6dda0b948ad47b (diff)
downloadnutyx-pakxe-bcd0153645655db6b258477e25ac1d183dafc55c.tar.gz
nutyx-pakxe-bcd0153645655db6b258477e25ac1d183dafc55c.tar.bz2
nutyx-pakxe-bcd0153645655db6b258477e25ac1d183dafc55c.tar.xz
nutyx-pakxe-bcd0153645655db6b258477e25ac1d183dafc55c.zip
pm-utils 1.4.1-1 ajout port
Diffstat (limited to 'extra/pm-utils/pm-utils-14-disable-sata-alpm.patch')
-rw-r--r--extra/pm-utils/pm-utils-14-disable-sata-alpm.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/pm-utils/pm-utils-14-disable-sata-alpm.patch b/extra/pm-utils/pm-utils-14-disable-sata-alpm.patch
new file mode 100644
index 000000000..020484809
--- /dev/null
+++ b/extra/pm-utils/pm-utils-14-disable-sata-alpm.patch
@@ -0,0 +1,27 @@
+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
+ }
+