"doing" things to HAL devices
David Eriksson
twogood at users.sourceforge.net
Tue Mar 15 04:21:02 PST 2005
On Tue, 2005-03-15 at 12:08 +0000, Richard Hughes wrote:
> I'm at a stage with GNOME Power Manager where I want to "do" events, for instance
>
> Computer:Shutdown
> Computer:Hibernate
>
> There's no facility in HAL to do this for power devices, and wanted to know
> suggestions or comments about how this should be done.
>
> For instance, for acpi:
> To sleep: echo "sleep" > /sys/power
> To shutdown: shutdown -h now
>
> I've no idea for APM or PMU. Sjoerd?
Shutdown is the same with APM. To sleep:
apm --suspend
or
apmsleep
--
Regards,
-\- David Eriksson -/-
SynCE - http://synce.sourceforge.net
ScummVM - http://scummvm.sourceforge.net
Desquirr - http://desquirr.sourceforge.net
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list