[Nut-upsuser] CyberPower OR2200

Charles Lepple clepple at gmail.com
Tue Aug 11 03:39:27 UTC 2009


On Aug 10, 2009, at 11:30 PM, James Erickson wrote:

> On Mon, Aug 10, 2009 at 10:26:41PM -0400, Charles Lepple wrote:
>> [please keep this thread on-list - that way other people can  
>> reference
>> it later.]
>>
>> On Aug 10, 2009, at 10:24 PM, James Erickson wrote:
>>
>>>> Please run "/lib/nut/usbhid-ups -a cyberpower -u root -x
>>>> productid=0601", and if we need additional detail, we'll add a few
>>>> more "-D"s to the line. (The debug output can get unmanageable
>>>> quickly.)
>>>
>>> odysseus ~ # /lib/nut/usbhid-ups -a cyberpower -u root -x
>>> productid=0601
>>> Network UPS Tools - Generic HID driver 0.34 (2.4.1)
>>> USB communication driver 0.31
>>> Using subdriver: CyberPower HID 0.2
>>>
>>> just let me know if you need more data.
>>
>> Looks like you can start upsd, and see what it says when you connect
>> with 'upsc'.
>
> i think i got it!
>
> odysseus ~ # /etc/init.d/upsdrv start
> upsdrv            |* Caching service dependencies...
> [ ok ]
> upsdrv            |* Starting UPS drivers...
> upsdrv            |Network UPS Tools - UPS driver controller 2.4.1
> upsdrv            |Network UPS Tools - Generic HID driver 0.34 (2.4.1)
> upsdrv            |USB communication driver 0.31
> upsdrv            |Using subdriver: CyberPower HID 0.2
> [ ok ]
> odysseus ~ # upsd
> Network UPS Tools upsd 2.4.1
> not listening on 127.0.0.1 port 3493
> odysseus ~ # upsc cyberpower at odysseus:3493
> battery.charge: 100
> battery.charge.low: 10
> battery.charge.warning: 20
> battery.mfr.date: CPS
> battery.runtime: 1440
> battery.runtime.low: 300
> battery.type: PbAcid
> battery.voltage: 27.4
> battery.voltage.nominal: 24
> driver.name: usbhid-ups
> driver.parameter.pollfreq: 30
> driver.parameter.pollinterval: 2
> driver.parameter.port: auto
> driver.parameter.productid: 0601
> driver.version: 2.4.1
> driver.version.data: CyberPower HID 0.2
> driver.version.internal: 0.34
> input.transfer.high: 140
> input.transfer.low: 90
> input.voltage: 119.0
> input.voltage.nominal: 120
> output.voltage: 119.0
> ups.beeper.status: enabled
> ups.delay.shutdown: 20
> ups.delay.start: 30
> ups.delay.shutdown: 20
> ups.delay.start: 30
> ups.load: 37
> ups.mfr: CPS
> ups.model: OR2200LCDRM2U
> ups.productid: 0601
> ups.realpower.nominal: 1320
> ups.status: OL
> ups.test.result: Done and warning
> ups.timer.shutdown: -60
> ups.timer.start: -60
> ups.vendorid: 0764
> odysseus ~ #
>
> does this look right? or am i doing it wrong?

That looks right - did you have to change anything in the  
configuration files, or was it just a matter of running the init.d  
script?

I'll make a note to add that ProductID to the driver.

Thanks for the debugging help.



More information about the Nut-upsuser mailing list