Annotation of /trunk/pm-utils/patches/pm-utils-1.4.1-disable-sata-alpm.patch
Parent Directory | Revision Log
Revision 1410 -
(hide annotations)
(download)
Wed Jul 13 09:24:09 2011 UTC (13 years, 2 months ago) by niro
File size: 778 byte(s)
Wed Jul 13 09:24:09 2011 UTC (13 years, 2 months ago) by niro
File size: 778 byte(s)
-added patches for pm-utils
1 | niro | 1410 | Description: Disable SATA link power management by default, as it still causes disk errors and corruptions on many hardware. |
2 | Author: Martin Pitt <martin.pitt@ubuntu.com> | ||
3 | Bug-Ubuntu: https://launchpad.net/bugs/539467 | ||
4 | |||
5 | Index: pm-utils/pm/power.d/sata_alpm | ||
6 | =================================================================== | ||
7 | --- pm-utils.orig/pm/power.d/sata_alpm 2011-02-01 15:53:09.164867778 +0100 | ||
8 | +++ pm-utils/pm/power.d/sata_alpm 2011-02-01 15:53:28.954867786 +0100 | ||
9 | @@ -2,7 +2,7 @@ | ||
10 | |||
11 | . "${PM_FUNCTIONS}" | ||
12 | |||
13 | -SATA_ALPM_ENABLE=${SATA_ALPM_ENABLE:-true} | ||
14 | +SATA_ALPM_ENABLE=${SATA_ALPM_ENABLE:-false} | ||
15 | |||
16 | help() { | ||
17 | cat <<EOF | ||
18 | @@ -16,7 +16,7 @@ | ||
19 | |||
20 | This hook has 1 parameter: | ||
21 | SATA_ALPM_ENABLE = whether to use SATA ALPM on battery. | ||
22 | -Defaults to "true". | ||
23 | +Defaults to "false". | ||
24 | |||
25 | EOF | ||
26 | } |