Page 1 of 1

FIXED laptop-mode not working on 11.10 oneiric

Posted: 10 Nov 2011, 02:03
by johntrevor
Laptop-mode-tools don't work with latest 3.0 kernels. This bug is described here

It will be fixed with next release of laptop-mode-tools.

To fix it manually and just now, simply edit the file /usr/sbin/laptop_mode :
(For example)
sudo leafpad /usr/sbin/laptop_mode
At about line 506 (activate Options=> Line numbers) you find:
case "$KLEVEL" in
"2.4" ) ;;
"2.6" ) ;;
*)


add a line under "2.6" ) ;; so that it looks like :
case "$KLEVEL" in
"2.4" ) ;;
"2.6" ) ;;
"3.0" ) ;;
*)
Then restart laptop-mode:
sudo /etc/init.d/laptop-mode restart