Certain commands in /etc/acpi/power.sh prevent pm-powersave to switch on

Bug #500997 reported by Axx83 on 2009-12-28
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)

Bug Description

Binary package hint: acpi-support

On Ubuntu Karmic 9.10 some of the commands in acpi-support script /etc/acpi/power.sh prevent the execution of its last command (pm-powersave) most of the time.

If I comment out every line before that then pm-powersave is run all the time when I plug/unplug AC.

#test -f /usr/share/acpi-support/key-constants || exit 0
#. /usr/share/acpi-support/policy-funcs
#if [ -z "$*" ] && [ `CheckPolicy` = 0 ]; then
# exit;
pm-powersave $*

at the same time gnome-power-manager does not trigger its brightness reduction command, even tough it acknowledges that the system is gone from ac to battery (the icon changes and the visual notification appears).

If I suspend the notebook and then get it back up, remaining on battery, both gnome-power-manager and pm-utils are run correctly, britghness is dimmed and the script in /usr/lib/pm-utils are executed.

Axx83 (axx83) wrote :
Steve Langasek (vorlon) wrote :

Thank you for taking the time to report this concern and help to improve Ubuntu.

acpi-support is working as designed. If you have a desktop power manager running on your system, you should configure your powersaving policy there, not in acpi-support.

Changed in acpi-support (Ubuntu):
status: New → Invalid
Axx83 (axx83) wrote :

Instead of putting it as invalid isn't it more logical to tell me what package isn't working here ? Maybe pm-utils ? Thank you for the help.

Steve Langasek (vorlon) wrote :

It's not a pm-utils bug either; if there is a bug here at all, it's in whatever desktop power manager you have running, but you haven't given enough information here to see which power manager that is.

Axx83 (axx83) wrote :

Sorry, I believed it was already intended. Anyway I have gnome-power-manager, how can I include the info that are automatically gathered with apport in this bug ?

Architecture: i386
DistroRelease: Ubuntu 9.10
Package: gnome-power-manager 2.28.1-0ubuntu1
PackageArchitecture: i386
ProcVersionSignature: Ubuntu 2.6.31-18.55-generic
Uname: Linux 2.6.31-18-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

affects: acpi-support (Ubuntu) → gnome-power-manager (Ubuntu)
Changed in gnome-power-manager (Ubuntu):
status: Invalid → New
Axx83 (axx83) wrote : DevkitPower.txt
tags: added: apport-collected
Axx83 (axx83) wrote :

I have changed the package from pm-utils to gnome-power-manager as you suggested and collected the standard informations.

description: updated
Axx83 (axx83) on 2010-01-14
description: updated
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. A new version of GNOME Power Manager is available on Maverick and we are wondering if this bug is still an issue for you with that version? Could you please test and comment back? Thanks in advance.

Changed in gnome-power-manager (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for gnome-power-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers