[Pkg-acpi-devel] Bug#524986: acpi-support: /etc/acpi/sleep.sh should not call prepare.sh unconditionally
Bjørn Mork
bjorn at mork.no
Tue Apr 21 10:26:11 UTC 2009
Package: acpi-support
Version: 0.114-1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
One of the changes between 0.109-11 and 0.114-1 is that sleep.sh calls
prepare.sh, which does
for SCRIPT in /etc/acpi/suspend.d/*.sh; do
if [ -x $SCRIPT ] ; then
. $SCRIPT
fi
done
This should not happen unless we're using the legacy suspend support.
Other methods have their own list of suspend quirks, which are more likely
to be up-to-date than the scripts in /etc/acpi/suspend.d/*.sh
The same goes for the hdparm DMA fiddling: acpi-support should leave this
up to the actual suspend method unless legacy suspend is used.
On my Lenovo Thinkpad X301, running the default scripts in
/etc/acpi/suspend.d/*.sh results in
- - non-functional wireless network (module iwlagn unloaded)
- - non-functional display (needs VT switch)
+ possibly other minor errors
Calling "/usr/share/acpi-support/suspendorhibernate suspend" directly
still works as expected (using pm-utils as suspend method).
Bjørn
- -- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (700, 'stable'), (600, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages acpi-support depends on:
ii acpi-support-base 0.109-11 scripts for handling base ACPI eve
ii acpid 1.0.8-8 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 8.9-3 tune hard disk parameters for high
ii laptop-detect 0.13.6 attempt to detect a laptop
ii libc6 2.7-18 GNU C Library: Shared libraries
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii powermgmt-base 1.30+nmu1 Common utils and configs for power
ii vbetool 1.0-3 run real-mode video BIOS code to a
ii x11-xserver-utils 7.3+5 X server utilities
Versions of packages acpi-support recommends:
ii dbus 1.2.1-5 simple interprocess messaging syst
ii hal 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
ii nvclock 0.8b3-1 Allows you to overclock your nVidi
ii pm-utils 1.1.2.4-1 utilities and scripts for power ma
ii radeontool 1.5-5 utility to control ATI Radeon back
Versions of packages acpi-support suggests:
pn laptop-mode-tools <none> (no description available)
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkntn0AACgkQ10rqkowbIsnkAwCfQXOT+3bNwjhrTE0wp34J8eju
wDUAnjATcN0ByiafKckhsSOgv0laQUMD
=4e67
-----END PGP SIGNATURE-----
More information about the Pkg-acpi-devel
mailing list