[Nut-upsdev] Problem with bestfcom and old Ferrups

Chris Adams cmadams at hiwaay.net
Tue Feb 12 18:10:43 UTC 2008

Once upon a time, Charles Lepple <clepple at gmail.com> said:
> On Feb 12, 2008 9:46 AM, Chris Adams <cmadams at hiwaay.net> 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
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

More information about the Nut-upsdev mailing list