I found out about this bug from Digg this morning. After investigating, I found that the load cycle on my harddrive was increasing rapidly, both on AC and on battery. This sounds like a fairly serious bug, and should be dealt with quickly. I've made the following changes, which seems to have fixed it (load cycle doesn't increase on AC, and doesn't seem to increase much on DC).
In /etc/laptop-mode-laptop-mode.conf:
CONTROL_HD_IDLE_TIMEOUT=1
LM_AC_HD_IDLE_TIMEOUT_SECONDS=300
LM_BATT_HD_IDLE_TIMEOUT_SECONDS=300
NOLM_HD_IDLE_TIMEOUT_SECONDS=7200
CONTROL_HD_POWERMGMT=1
BATT_HD_POWERMGMT=254
LM_AC_HD_POWERMGMT=255
NOLM_AC_HD_POWERMGMT=255
In /etc/default/acpi-support:
ENABLE_LAPTOP_MODE=true
SPINDOWN_TIME=60
In /etc/acpi/power.sh:
Changed "$HDPARM -B 1 /dev/$drive 2>/dev/null" to "$HDPARM -B 254 /dev/$drive 2>/dev/null"
I found out about this bug from Digg this morning. After investigating, I found that the load cycle on my harddrive was increasing rapidly, both on AC and on battery. This sounds like a fairly serious bug, and should be dealt with quickly. I've made the following changes, which seems to have fixed it (load cycle doesn't increase on AC, and doesn't seem to increase much on DC).
In /etc/laptop- mode-laptop- mode.conf: HD_IDLE_ TIMEOUT= 1 IDLE_TIMEOUT_ SECONDS= 300 HD_IDLE_ TIMEOUT_ SECONDS= 300 IDLE_TIMEOUT_ SECONDS= 7200 HD_POWERMGMT= 1 POWERMGMT= 254 POWERMGMT= 255 HD_POWERMGMT= 255
CONTROL_
LM_AC_HD_
LM_BATT_
NOLM_HD_
CONTROL_
BATT_HD_
LM_AC_HD_
NOLM_AC_
In /etc/default/ acpi-support: LAPTOP_ MODE=true
ENABLE_
SPINDOWN_TIME=60
In /etc/acpi/power.sh:
Changed "$HDPARM -B 1 /dev/$drive 2>/dev/null" to "$HDPARM -B 254 /dev/$drive 2>/dev/null"
To Blue:
$ sudo on_ac_power; echo $?
0
$ sudo ps axu | grep apm | grep -v grep
$