[Pkg-acpi-devel] Bug#529604: acpi-support: at startup, checks for laptop mode before laptop mode starts
Vasilis Vasaitis
v.vasaitis at sms.ed.ac.uk
Wed May 20 13:22:48 UTC 2009
Package: acpi-support
Version: 0.122-2
Severity: normal
Hello,
In /etc/acpi/start.d/90-hdparm.sh, there is the following test to check
whether laptop mode is running:
&& [ -e /var/run/laptop-mode-tools/enabled ]
However:
$ ls -1 /etc/rc2.d/
...
S99acpi-support
S99laptop-mode
...
That is, the acpi-support startup script runs before the laptop-mode
startup script, and therefore it never detects laptop mode, and therefore
90-hdparm.sh always sets the hard disk's APM mode, regardless of how laptop
mode is configured. Please fix.
(I do realise that this might actually require changing laptop-mode's
rc?.d/ symlinks rather than acpi-support's, but this seemed the right place
to report this anyway.)
Thanks,
Vasilis
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.28
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages acpi-support depends on:
ii acpi-support-base 0.122-2 scripts for handling base ACPI eve
ii acpid 1.0.10-2 Utilities for using ACPI power man
ii dmidecode 2.9-1 Dump Desktop Management Interface
ii finger 0.17-12 user information lookup program
ii hdparm 9.12-2 tune hard disk parameters for high
ii laptop-detect 0.13.7 attempt to detect a laptop
ii libc6 2.9-12 GNU C Library: Shared libraries
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii pm-utils 1.2.5-2 utilities and scripts for power ma
ii powermgmt-base 1.30+nmu1 Common utils and configs for power
ii x11-xserver-utils 7.4+2 X server utilities
Versions of packages acpi-support recommends:
ii dbus 1.2.14-2 simple interprocess messaging syst
ii hal 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
ii nvclock 0.8b4-1 Allows you to overclock your nVidi
ii radeontool 1.5-5 utility to control ATI Radeon back
ii toshset 1.74-3 Access much of the Toshiba laptop
Versions of packages acpi-support suggests:
ii laptop-mode-tools 1.48-1 Scripts to spin down hard drive an
-- no debconf information
More information about the Pkg-acpi-devel
mailing list