From: Dan Shearer <dan@shearer.org>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: selinger@mathstat.uottawa.ca
Subject: [uml-devel] Which UPS simulator?
Date: Thu, 12 Feb 2004 15:58:23 +1030 [thread overview]
Message-ID: <20040212052823.GA4203@erizo.shearer.org> (raw)
I propose using a standard UPS interface as a way for mconsole to
trigger a full system shutdown. I don't know the UPS market well and am
hoping someone can point me a to a more open protocol that what I've
found so far. This doesn't solve the bigger problem of UML control from
mconsole, but it addresses one immediate need.
The key thing is that this doesn't require the user of the uml to use
any special software or configurations, which in turn means I don't have
to give anyone any more training than a URL for standard Linux UPS
software.
http://quasar.mathstat.uottawa.ca/~selinger/ups/simulator.c is easy to
find. It mostly implements an informally documented protocol
(http://quasar.mathstat.uottawa.ca/~selinger/ups/belkin-universal-ups.html)
and is GPLd. Some slight mods in how the communications happen and this
could be how mconsole talks to a ups daemon listening on one of the
virtual serial ports. Not sure if this includes upsd that comes with
many distros however this UPS is listed as supported at
http://eu1.networkupstools.org.
Anyone know of a simulator for a more open/more appropriate UPS protocol
that is understood by more than one of the open source UPS daemons?
--
Dan Shearer
dan@shearer.org
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2004-02-12 5:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-12 5:28 Dan Shearer [this message]
2004-02-12 15:00 ` [uml-devel] Which UPS simulator? Michael Koehne
2004-02-12 23:08 ` Dan Shearer
2004-02-13 1:01 ` Michael Koehne
2004-02-13 1:24 ` Dan Shearer
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=20040212052823.GA4203@erizo.shearer.org \
--to=dan@shearer.org \
--cc=selinger@mathstat.uottawa.ca \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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