I have changed the package from pm-utils to gnome-power-manager as you suggested and collected the standard informations.
** Description changed: Binary package hint: acpi-support On Ubuntu Karmic 9.10 the current acpi-support script /etc/acpi/power.sh some of its commands 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. Example: + time when I plug/unplug AC. + Example: ------------------------- #!/bin/sh # #test -f /usr/share/acpi-support/key-constants || exit 0 # #. /usr/share/acpi-support/policy-funcs # #if [ -z "$*" ] && [ `CheckPolicy` = 0 ]; then # exit; #fi # pm-powersave $* ------------------------- - But all visual notification of going to/from ac aren't show anymore. + 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). - I currently run a IBM/Lenovo Thinkpad X60s with almost exclusively Intel - hardware. - - ProblemType: Bug - Architecture: i386 - Date: Mon Dec 28 13:03:08 2009 - DistroRelease: Ubuntu 9.10 - Package: acpi-support 0.129 - ProcEnviron: - LANG=it_IT.UTF-8 - SHELL=/bin/bash - ProcVersionSignature: Ubuntu 2.6.31-17.54-generic - SourcePackage: acpi-support - Uname: Linux 2.6.31-17-generic i686 + 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. ** Description changed: Binary package hint: acpi-support - On Ubuntu Karmic 9.10 the current acpi-support script /etc/acpi/power.sh - some of its commands prevent the execution of its last command (pm- + 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. Example: - ------------------------- + ----------------------------------- #!/bin/sh # #test -f /usr/share/acpi-support/key-constants || exit 0 # #. /usr/share/acpi-support/policy-funcs # #if [ -z "$*" ] && [ `CheckPolicy` = 0 ]; then # exit; #fi # 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. -- Certain commands in /etc/acpi/power.sh prevent pm-powersave to switch on https://bugs.launchpad.net/bugs/500997 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs