orangevixen
2008-Jul-25 04:11 UTC
[Nut-upsdev] CyberPower 550SL reports LB and OB when on line power
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. Any suggestions? -Tara
Charles Lepple
2008-Jul-30 03:13 UTC
[Nut-upsdev] CyberPower 550SL reports LB and OB when on line power
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
Charles Lepple
2008-Jul-30 12:53 UTC
[Nut-upsuser] [Nut-upsdev] CyberPower 550SL reports LB and OB when on line power
[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
Yay, I got the serial cable that they sent me in the mail today and it DOES work!! This new serial cable is a straight-through DB9 serial cable, the one that I had from my old UPS was NOT a straight-through DB9 (even though it says it is on the connector heads). The settings in the genericupsups.8 manual page does work for the Cyberpower CP550SL. The OL status switches to OB when I pull the plug. The only down side? the new serial cable that they gave me is so short it does not reach from the computer to the floor. So now I have to go get a longer straight-through serial cable. :/ -Tara