[Nut-upsdev] Re: [Nut-upsuser] Ablerex 625L USB version

Jon Gough jon.gough at eclipsesystems.com.au
Thu Feb 1 04:13:44 CET 2007


Peter,
    I have not got the megatec_usb working and talking to upsd. The 
upsc command gives

battery.charge: 95.0
battery.voltage: 27.00
battery.voltage.nominal: 24.0
driver.name: megatec_usb
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.1.0
driver.version.internal: 1.5
input.frequency: 50.0
input.voltage: 248.0
input.voltage.fault: 140.0
input.voltage.maximum: 248.0
input.voltage.minimum: 246.5
output.voltage: 248.0
output.voltage.nominal: 240.0
ups.beeper.status: disabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 11.0
ups.mfr: UIS AblerexAble
ups.model: ex USB Int rface 049e
ups.serial: unknown
ups.status: OL
ups.temperature: 25.0

I know the 'mfr' and 'model' fields are wrong. I may look at that next.
I have implemented the following commands.
Q1      Status Inquiry
Q       Turn on/off beep  (not sure this is working correctly)
C       Cancel shutdown command
T       10 second test
I       UPS Information Command (still needs work)
F       UPS Rating Information

Regards
    Jon

At 13:15 1/02/2007, Peter Selinger wrote:
>Jon Gough wrote:
> >
> > Carlos,
> >     I have implemented that and it works.
> >
> >     What I want to do is run the T<n>  command to have it test for a
> > different length of time than the standard 10 secs. If I can get this
> > to work then I can send other commands to setup the UPS correctly, ie
> > wait 10 mins after loss of power before shutting servers down, but
> > make sure there is 2 mins of power left to allow for shut down to occur.
>
>I don't think that kind of functionality belongs in the driver. The
>driver should limit itself to reading information and sending commands
>to the UPS. Decisions about when and how to shut down should be left
>to upsmon, which does it uniformly for all drivers.
>
>-- Peter




---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 000709-1, 31/01/2007
Tested on: 1/02/2007 2:13:50 PM
avast! is copyright (c) 2000-2007 ALWIL Software.
http://www.avast.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20070201/46f71409/attachment.htm


More information about the Nut-upsdev mailing list