Bug#327028: laptop-mode-tools: changing from laptop mode to laptop mode spins up disks

2005-09-07 Thread Jarne Cook
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.


Thanks


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11-i860
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages laptop-mode-tools depends on:
ii  powermgmt-base1.22   Common utils and configs for power

Versions of packages laptop-mode-tools recommends:
ii  acpid 1.0.4-2Utilities for using ACPI power man
ii  hdparm6.1-2  tune hard disk parameters for high

-- no debconf information


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



Bug#327028: laptop-mode-tools: changing from laptop mode to laptop mode spins up disks

2005-09-07 Thread Bart Samwel

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.


H. 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]