Jarne Cook wrote:
Package: laptop-mode-tools
Version: 1.10-1
Severity: minor

When the laptop is in LM mode and I close the lid thescript
`/usr/sbin/laptop_mode auto` (from /etc/acpi/actions/lm_lid.sh)
spins up up the disks.


I dont know why it's happening I just know when I call that script
(when in LM mode) the HD spins up.

So Im just gonna hash out the line that calls it from the acpi
actions file for now.

Hmmmm. It's possible that the script, or one of the things it calls, is not in cache. It's also possible that the actions of laptop_mode cause the disk to spin up -- e.g. the remounts. I removed an optimization recently which used to suppress actions when laptop mode was being enabled while it was already enabled. The optimization needed to be removed because there are different settings for laptop-mode-on-ac and laptop-mode-on-battery, which need to be enacted. I think I should record the battery/ac state when laptop mode is enabled/disabled, and reinstate the optimization using that information. Thanks.

--Bart


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to