[Nut-upsuser] [Nut-upsdev] CyberPower 550SL reports LB and OB when on line power
orangevixen
postmaster at ccinet.com
Fri Aug 1 00:10:01 UTC 2008
Hi, thanks for writing back. I was not aware that I could specify the
LB OL settings in the ups.conf.
However I'm still not sure what to set them to, below is what I
experimented with statserial:
On A/C, battery charged:
Signal Pin Pin Direction Status Full
Name (25) (9) (computer) Name
----- --- --- --------- ------ -----
FG 1 - - - Frame Ground
TxD 2 3 out - Transmit Data
RxD 3 2 in - Receive Data
RTS 4 7 out 1 Request To Send
CTS 5 8 in 0 Clear To Send
DSR 6 6 in 0 Data Set Ready
GND 7 5 - - Signal Ground
DCD 8 1 in 1 Data Carrier Detect
DTR 20 4 out 1 Data Terminal Ready
RI 22 9 in 0 Ring Indicator
On battery, battery still charged:
Signal Pin Pin Direction Status Full
Name (25) (9) (computer) Name
----- --- --- --------- ------ -----
FG 1 - - - Frame Ground
TxD 2 3 out - Transmit Data
RxD 3 2 in - Receive Data
RTS 4 7 out 1 Request To Send
CTS 5 8 in 0 Clear To Send
DSR 6 6 in 0 Data Set Ready
GND 7 5 - - Signal Ground
DCD 8 1 in 1 Data Carrier Detect
DTR 20 4 out 0 Data Terminal Ready
RI 22 9 in 0 Ring Indicator
DTR appears to dicrate the OB/OL status, however the driver won't let
me set that:
# /usr/lib/nut/drivers/genericups -a "cyberpower"
Network UPS Tools - Generic UPS driver 1.34 (2.2.2)
UPS type: CyberPower Power99
Can't override input with DTR (not an input)
-Tara
On 2008.07.30 05:53 Charles Lepple wrote:
> [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
>
>
>
More information about the Nut-upsuser
mailing list