[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Laptop Mode

Am Dienstag, 14. September 2004 18:05 schrieb Bryan Forbes:
> I've installed laptop-mode-tools and started it up, but when I switch to
> battery, it doesn't switch laptop mode on (cat /proc/sys/vm/laptop_mode
> returns 0, and it should return 2 if it's on laptop mode).  Do I need to
> install a hook to turn on laptop-mode when pmud detects I go to battery
> and vice-versa for ac?  Thanks in advance!

The laptop-mode-tools don't run out-of-the-box on powerpc machines yet. You 
need to make the connection from laptop-mode-tools to your power management 
daemon by hand. In your case you have to add some lines in pwctrl-local:

	laptop_mode start
	laptop_mode stop

This might work.

  Best Regards

Reply to: