Hi *!

I am in need of some help with debugging the UPS set-up I am running...
I have an APC Back-UPS CS 500 connected to my server (OpenBSD 4.8) with
an USB cable. When I connect the UPS to the server, I get this in dmesg:

ugen0 at uhub4 port 2 "American Power Conversion Back-UPS 500 FW: 6.4.I
USB FW: c1" rev 1.10/1.00 addr 2

To control the UPS, I have installed the apcupsd package. I'm using
UPSCABLE smart
UPSTYPE usb

in apcupsd.conf, everything else is left at default.

When I start apcupsd with "/usr/local/sbin/apcupsctl start" everything
seems to work fine initially - I get a broadcast message about
"Communications with UPS restored." and I can use apcaccess to get the
status of the UPS. However, a short while later, I start getting
"Communications with UPS restored." messages roughly every 10s or so,
flooding the logs. For each of these events, dmesg shows

ugen0 detached
ugen0 at uhub4 port 2 "American Power Conversion Back-UPS 500 FW: 6.4.I
USB FW: c1" rev 1.10/1.00 addr 2

So, it looks as if the UPS "falls off" the USB and reconnects again
imediately and continues to do so indefinitely. I have seen this with
two different motherboards running the same software, so I would tend to
believe it's not the USB port itself. Also, I have had this same UPS
running with an older version of this sever (still under OpenBSD 4.4, if
I remember correctly) at some point, but unfortunately, I do not know
anymore when exactly this problem started.

Any hints as to what I could check are most welcome.

Thanks in advance,

Thomas

P.S.: I've also dabbled with nut, but could not get it to work with the
UPS at all - I probably just fail to understand the docs to get the
correct incantation of "driver" and "port"...
-- 
-----------------------------------------------------------------------------
                 Thomas Ribbrock    http://www.ribbrock.org/ 
   "You have to live on the edge of reality - to make your dreams come true!"

Reply via email to