[Nut-upsuser] [Nut-upsdev] CyberPower 550SL reports LB and OB when on line power
Charles Lepple
clepple at gmail.com
Wed Jul 30 12:53:02 UTC 2008
[please keep the list CC'd. There are other people there who know way
more about this driver than I do. It's also more of a question for
nut-upsuser since genericups can be reconfigured at runtime.]
I would try setting the OL and LB parameters in ups.conf to match
what you are observing. See 'man 8 genericups' for more details (from
the NUT source directory, 'man man/genericups.8'
For instance, if CTS goes low when the battery is low, it would be
'LB=-CTS'
The 'statserial' program is also helpful for monitoring the serial
port signals in real-time.
On Jul 30, 2008, at 7:31 AM, orangevixen wrote:
> I hacked a program to test the serial port, it's attached, however
> NUT's genericups driver dosen't seem to be detecting things correctly.
>
> It says LB OB (low batter, on battery) even though the battery is
> fully charged and it's on A/C.
>
> -Tara
>
>
> On 2008.07.29 20:13 Charles Lepple wrote:
>> On Fri, Jul 25, 2008 at 12:11 AM, orangevixen <postmaster at ccinet.com>
>> wrote:
>> > I am using nut 2.2.2 and I have a CyberPower CP550SL.
>> >
>> > According to the drivers list, I should be using genericups with
>> > upstype set to 7, but when I try that and when I run upsc I get:
>> >
>> > driver.name: genericups
>> > driver.parameter.LB: 04
>> > driver.parameter.pollinterval: 2
>> > driver.parameter.port: /dev/ups
>> > driver.parameter.upstype: 7
>> > driver.version: 2.2.2
>> > driver.version.internal: 1.34
>> > ups.mfr: CyberPower
>> > ups.model: Power99
>> > ups.status: LB OB
>> >
>> > Even through I'm on line (A/C) power and my battery is charged.
>> >
>> > I have also tried the cyberpower, cpsups, and powerpanel drivers,
>> they
>> > don't work (and yes I am sure I have it connected to the right
>> serial
>> > port and I am using the UPS's serial cable).
>> >
>> > Looking at the raw bits in dumb mode, the RTS is on when the
>> battery
>> is
>> > charged and off when the battery is low.
>> RTS is sent by the PC. (The naming convention used by genericups is
>> the name of the pin on the PC serial port.)
>> What software are you using to monitor the state of the serial port?
>> --
>> - Charles Lepple<ups.c>
--
Charles Lepple
clepple at gmail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080730/7d46a284/attachment.htm
More information about the Nut-upsuser
mailing list