summaryrefslogtreecommitdiffstats
path: root/pm-utils/pm-utils-14-disable-sata-alpm.patch
blob: 0204848095889e61d08bc9621002ec3d3aef882a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
 }