[Bug 62460] Re: Can not stop hal from reporting that my laptop can hibernate

2007-01-10 Thread hunger
Damn... I need a clean method to tell *all* power managers that suspend to disk is not supported. Having to run and reconfigure whatever power manager is en vogue today (kpowersave, guidance-power-manager, klaptopd, gnome-power-manager, whatnot) is pretty annoying, especially if you have users com

[Bug 62460] Re: Can not stop hal from reporting that my laptop can hibernate

2007-01-10 Thread Matthew Garrett
It won't persist over reboots, and it's still not the right answer. hal reports that the kernel supports hibernation, which is accurate and what it's designed to do. The bug is not in hal's reporting - it's the fact that hibernation doesn't work on a specific machine. -- Can not stop hal from rep

[Bug 62460] Re: Can not stop hal from reporting that my laptop can hibernate

2007-01-10 Thread hunger
The issue can be solved by running: hal-set-property --udi /org/freedesktop/Hal/devices/computer --key power_management.can_hibernate --bool false and hal-set-property --udi /org/freedesktop/Hal/devices/computer --key power_management.can_suspend_to_disk --bool false as root. Afterwards hal re

[Bug 62460] Re: Can not stop hal from reporting that my laptop can hibernate

2007-01-10 Thread Matthew Garrett
Hal is behaving correctly. kpowersave should have similar functionality for setting mandatory policy. -- Can not stop hal from reporting that my laptop can hibernate https://launchpad.net/bugs/62460 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listin

[Bug 62460] Re: Can not stop hal from reporting that my laptop can hibernate

2007-01-10 Thread hunger
I just asked on #kubuntu-devel, they seem to agree that the cleanest solution would be to be able to change the setting in hal: All power managers would pick that up. Seems cleaner than changing all power managers out there to have some extra setting (and messing with all of them if you ever need t

[Bug 62460] Re: Can not stop hal from reporting that my laptop can hibernate

2007-01-10 Thread hunger
That is not a good solution: For one thing I am using Kubuntu which does not use g-p-m as far as I know. This particular piece of hardware is not able to suspend to disk. There should be a way for an administrator to configure this globally independent of environment the user happens to be running

[Bug 62460] Re: Can not stop hal from reporting that my laptop can hibernate

2007-01-10 Thread Martin Pitt
I discussed this often with Matthew Garrett. He meant that hal should display what the machine is technically capable of, and that g-p-m should respect user policy and read configuration files. ** Changed in: hal (Ubuntu) Sourcepackagename: hal => gnome-power-manager -- Can not stop hal from rep