[Nut-upsdev] [Nut-upsuser] Getting 'Data stale' error with bcmxcp_usb for a PowerWare 5115 on OSX
clepple at gmail.com
Sun Mar 7 12:57:52 UTC 2010
On Sat, Mar 6, 2010 at 11:40 PM, Charlie Garrison <garrison at zeta.org.au> wrote:
> It just seems to be repeated same thing after that. I can send you the full output if you want it.
I suspect that this is part of the loop in bcmxcp_usb.c around line 154.
> Anything else I can test?
How about putting a few upslogx() calls into the read loop mentioned
above (bcmxcp_usb.c, ~line 150). That would confirm that we are
looking in the right place, and also could yield some information such
as the return value of usb_interrupt_read().
If that is causing problems, I have a mostly untested patch here which
might restore some of the logging, but to a separate file so you don't
spam your syslog files.
I will look into what is necessary to reconnect the driver (which I
suspect is how my UPSes eventually start working on OS X).
- Charles Lepple
More information about the Nut-upsdev