9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: F.J.Ballesteros <nemo@gsyc.escet.urjc.es>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] alarm handling and suspended machines
Date: Wed, 13 Jun 2001 13:27:14 +0200	[thread overview]
Message-ID: <20010613111657.6FC8F199E3@mail.cse.psu.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 761 bytes --]

In any case, I now think that it would be better to prevent alarm(2)
from resuming a suspended machine; otherwise the user would need to be
careful not to start any periodic-alarm program (listen, etc.).

By the way, I have just compiled a kernel that has /dev/resume and
allows a write to set up a wake up timer. My problem now is that the
bitsy is ignoring the RTC alarm I set. I'm trying to see what I did
wrong...


One thing I think we need is to unify the apm interface.  It would be
nice to have a single set of files in /dev supplying the interface to
suspend/resume/battery status.  Right now my stats has to try twice to
display the battery status, since it has to work both with /mnt/apm and
with /dev/battery.

Any plans on this?


[-- Attachment #2: Type: message/rfc822, Size: 1707 bytes --]

From: presotto@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] alarm handling and suspended machines
Date: Tue, 12 Jun 2001 23:27:34 -0400
Message-ID: <20010613110506.64C19199E3@mail.cse.psu.edu>

we were about to do that on the pc's for a different reason.  The
mechanism should extend to the other architectures.  I've got to
figure out how to restart time when the fast clock stops running.
I can do a quick guess from the rtc and then use ntp to do the
rest but the timesync process will have to know when the
cycle clock becomes meaningless.

             reply	other threads:[~2001-06-13 11:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-13 11:27 F.J.Ballesteros [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-06-13 16:09 F.J.Ballesteros
2001-06-13 15:59 rog
2001-06-13 14:29 F.J.Ballesteros
2001-06-13 13:53 Russ Cox
2001-06-13 13:12 presotto
2001-06-13 20:53 ` Boyd Roberts
2001-06-13  3:27 presotto
2001-06-13 12:02 ` Lucio De Re
2001-06-13 19:28 ` Mike Haertel
2001-06-12 17:40 F.J.Ballesteros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010613111657.6FC8F199E3@mail.cse.psu.edu \
    --to=nemo@gsyc.escet.urjc.es \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).