Once upon a time, Charles Lepple <[EMAIL PROTECTED]> said:
> On Feb 12, 2008 9:46 AM, Chris Adams <[EMAIL PROTECTED]> wrote:
> > While the ser_get_line_alert() call above isn't really doing anything
> > (the alert handler just throws away the input) does have a wait that is
> > longer than the ser_flush_io() call, so I don't know if that will
> > function the same.
> >
> > I have not yet had a chance to try it on my old UPS (since I have to
> > copy updates to my notebook and carry it to the power room).
> 
> OK. When you get a chance, let me know the order that works, and we
> can commit it.

I tried replacing the ser_get_line_alert() call with ser_flush_io(), and
I was not getting all the responses that the execute() function should
see, so I guess I would just leave that alone (use just the patch I sent
before).
-- 
Chris Adams <[EMAIL PROTECTED]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to