On Wed, May 03, 2006 at 11:30:41AM +0200, Johannes Berg wrote:
> Package: hal
> Version: 0.5.8-1
> Severity: normal
> 
> Hi,
> 
> On power/ibook systems that have hibernate installed, hibernate to ram
> will not work properly because it tries to use something like 
> 
>   echo -n mem > /sys/power/state
> 
> which is broken. I've submitted a kernel patch to stop mem and standby
> from showing up in /sys/power/state and am running that patch, which
> means that I was just lucky that it didn't kill my system a few minutes
> ago!
> 
> Now, the scripts in other places work around this by
> disallowing /sys/power/state for pmu based systems because those allow
> crashing the system through that file.
> 
> In any case, the point here is that this check should also be applied to
> the new patch in order to not break pmu based systems that happen to
> have hibernate installed.

Actually i already patched hal to have 
power_management.can_suspend_to_disk = false on pmu systems. But your right,
programs can still call that hal interface (although i hoped no actually do). 

I'll try to make the patch more watertight for the next package :)

  Sjoerd
-- 
If it wasn't for Newton, we wouldn't have to eat bruised apples.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to