Re: Sleep on TiBook, getting Gnome sounds working
On Tue, Jul 10, 2001 at 09:49:01AM +0200, Michel Dänzer wrote:
>Brendan O'Dea wrote:
>> The current version of pmud defaults to -s on architectures where sleep
>> is not supported. If snooze does ever end up working properly on the
>> tibook this may need to be changed.
>What influence would that have? If the battery level is critical, you want it
>to shut down, not sleep, or it will die the same way as running.
To make the behaviour consistent? The default for PMU_VERSION_KEYLARGO
is SIGPWR, for everything else is snooze.
The justification for this as given by the comments in the code is
incidentally somewhat different to the behaviour it produces.
/* HACK: shut the machine down when lid is closed */
It doesn't, closing the lid will still attempt to cause the machine to
snooze (unless pre-empted by a shutdown as the default pwrctl script
attempts to do).
Brendan O'Dea firstname.lastname@example.org
Compusol Pty. Limited (NSW, Australia) +61 2 9810 3633