[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] Re: RaQ3 UPS solutions



The UPS should shut down POWER to the RaQ 3 about 30 seconds after doing a
safe shutdown to the RaQ 3.  It sounds like this last piece isn't happening
for you.  I consider that a bug.

I took a look at the code, as I remember that the section that I created to
tell the UPS is a bit of a hack (It's an embedded system call that calls the
following command "echo -n @001 >/dev/ttyS1", as the smartupstools at the
time did not support this functionality)

The "@001" is the "Shutdown with Grace period" command to the SmartUPS.

This code worked on the SmartUPS 700 that I developed this with.  If you're
up to checking it out, I would disconnect the RaQ from the UPS power and
just try echoing this command to the UPS serial and seeing if the UPS shuts
down power.

It's possible that you have an older model UPS that does not support this
command, but I doubt it.

I think there is a window where if power is restored after this command is
issued and before the UPS shutdown occurs, then your system may never power
cycle.  However, it should only be a one minute window, and if power has
been out long enough that the battery is down to 20%, I'm guessing a low
probability of hitting that window.

- Lyle


Lyle,

   A couple of questions.

It seems as if the product is targeted to the APC SmartUPS line. Is that correct ? If so, then the documentation should state that. As it is now, the documentation only states that Cobalt recommends APC. The rest is left as an exercise the to the reader.

When I looked at the source code, it appears that you had also modified the "drivers" for the other APC models (backup and backupspro). I know that I can't access these models from the front panel, but do you think that the model type could be changed by editting the /etc/sysconfig/ups file to change the ups MODEL ? Are there other dependences that I didn't pick up.

It would seem that I could install the latest version of smartupstools (now NUT - Net UPS Tools). I would lose the LCD power status messages that you added, but would still retain the ability to configure the package through the front panel (/etc/lcd.d/10main.m/15CONFIGURE_UPS.s/10configure_ups may need to be modified to support any different options for the current pacakge). Does this sound correct to you ?

thanks, mike dierker


Michael Dierker
PineTree Consulting
Email: mdierker@xxxxxxxxxxx