Hmm. That's strange. I've just reinstalled ubuntu, added these lines:
if [ -f "/etc/default/acpi-support" ] ; then
. /etc/default/acpi-support
if [ x$ENABLE_LAPTOP_MODE = xtrue ] ; then
echo "Laptop mode enabled, laptop-tools has nothing to do"
exit 0
fi
fi
and it worked for me (cat /proc/sys/vm/laptop_mode shows 2).
Are you sure you have ENABLE_LAPTOP_MODE=true in /etc/default/acpi-
support?
Also don't forget to replace original laptop_mode_enable and
laptop_mode_disable in /etc/acpi/power.sh with this:
function laptop_mode_enable {
$LAPTOP_MODE auto
}
function laptop_mode_disable {
$LAPTOP_MODE auto
}
The original is disabling laptop-mode in 5 seconds after you plug in to
AC. :-/
--
pm-utils has laptop-tools script which conflicts with laptop-mode-tools
https://bugs.launchpad.net/bugs/239419
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs