Re: [TuxOnIce-devel] Coming back to TOI after using pm-hiber…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kenneth Crudup
Date:  
CC: tuxonice-devel
Subject: Re: [TuxOnIce-devel] Coming back to TOI after using pm-hibernate for a while

Hey, thanks guys. Yeah, I'm back in the ToI fold- but the most frustrating
part was trying to get everything in the Ubuntu under-the-hood scripts
("gnome-power-manager", "hal") to use "hibernate" instead of "pm-hibernate".

While I could have just used the in-kernel ToI automatic replacement for
swsusp and keep using the "pm-hibernate" script, which is used by all the
Gnome utilities, I need an extra-pages allowance and I didn't want to do
the hackery of writing values to /sys/power/tuxonice/... somewhere in the
boot process[1].

Turns out that after a lot of contemplation, the best way to do is is to
just mv "pm-hibernate" to "pm-hibernate-orig" and make a symlink from
"hibernate". (Doh!) Now all the Gnome utils use the ToI way.

    -Kenny

[1] - Nigel, it'd be nice to be able to maybe have a compile-time option
in .config for something one knows they'd have to use all the time
-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Los Angeles
O: 3630 S. Sepulveda Blvd. #138, L.A., CA 90034-6809      (888) 454-8181