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:
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:
------- ------- ------- ---- acpi-support/ key-constants || exit 0 acpi-support/ policy- funcs ------- ------- ----
#!/bin/sh
#
#test -f /usr/share/
#
#. /usr/share/
#
#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 ature: Ubuntu 2.6.31- 17.54-generic
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
ProcVersionSign
SourcePackage: acpi-support
Uname: Linux 2.6.31-17-generic i686