Comment 0 for bug 500997

Axx83 (axx83) wrote :

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:

-------------------------
#!/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.

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