On Mon, 12 Feb 2001, Noel J. Bergman wrote:
> >> Yes, I see that. But I would expect that just a SLEEP would resume
> where
> >> the system left off, while a SHUTDOWN -H would resume with a reboot.
> >Ok, just for all which don't know the shutdown options:
> >shutdown -h halts the machine
> >shutdown -r reboots the box
>
> Yeah, I did say that ... LOL ... and yes, I do know better. :-)
>
> What about adding a shutdown -s to programmatically enter a sleep/suspend
> state?
>
Well,we can make powerbutton as a device,just like char device,you
can do most of ioctl for it.
Setup time to enter a sleep/suspend or disable to enter sleep mode.
That's what i am doing.
Chester
Received on Mon Feb 12 22:42:49 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:53 EDT