LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   laptop-mode-tools kernel 3.0 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/laptop-mode-tools-kernel-3-0-a-934662/)

oakhilltop 03-15-2012 05:49 PM

laptop-mode-tools kernel 3.0
 
I am having troubles with my wireless turning off when running on the laptop's battery. I am running Mint 12.

Any suggestions where to change the configuration for wireless when running on battery.

I have laptop-mode-tools installed, but noticed that they are not running.
> cat /proc/sys/vm/laptop_mode
0

So, I tried starting it, but it won't load. Seems like it can't handle the 3.0 kernel. I did some searching and saw one post that said there would be a fix. That was back in July 2011.

> sudo /etc/init.d/laptop-mode start
* Enabling laptop mode... Unhandled kernel version: 3.0 ('uname -r' = '3.0.0-12-generic')
Couldn't acquire lock. Retrying....

laptop-mode-tools:
Installed: 1.57-1ubuntu1

After some searching I found a suggestion to edit /sbin/laptop_mode and add the 3.0 line below. Still doesn't work.
case "$KLEVEL" in
"2.4" ) ;;
"2.6" ) ;;
"3.0" ) ;;
*)

I would just like to be able to use wireless when running on the battery. Doesn't matter if I use laptop-mode or get it working another way.


All times are GMT -5. The time now is 08:30 AM.