[Nut-upsdev] Re: Serial Ports (Was Re: Common Power Management : NUT and HAL (stage 1))

Arnaud Quette aquette.dev at gmail.com
Thu Sep 14 23:38:13 PDT 2006


2006/9/14, Arjen de Korte <nut+devel at de-korte.org>:
> >> Also: we certainly can't run serial PNP probing automatically, only in
> >> response to a user choice of deciding to probe for serial ports. I say
> >> this because maybe it will crash some old devices or some that don't
> >> support Serial PNP. This is correct, yes?
> > Yes..
>
> Maybe not. I think most (if not all) serial devices won't be harmed by
> changing the control lines (this problem is also pointed out in the serial
> PnP specification in Annex B). On the other hand, we need to be absolutely
> sure about this (or make it configurable), so at the moment I tend to
> agree not to do this automatically until we are.

fine for me too.

> > An APC BackUPS (or SmartUPS with a grey dumb cable) will power it's load
> > off if RTS is held high for a second (I think).
>
> I've had the fortune of experimenting with this configuration a few months
> ago and it poses no problems with the serial_probe program Arnaud directed
> me to a while ago (can't remember where he found it).

this is something I've completed for mandrake a while ago (the rh
source wasn't complying with the standard, and so... buggy):
http://cvs.mandriva.com/cgi-bin/viewvc.cgi/gi/tools/serial_probe/

Arnaud
-- 
Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
OpenSource Developer - http://arnaud.quette.free.fr/


More information about the hal mailing list