[Nut-upsuser] bcmxcp_usb offers no runtime or serial # with a Powerware 5110/700va

Kjell Claesson kjell.claesson at epost.tidanet.se
Mon Oct 16 15:52:56 UTC 2006


Hi Rohan,
mån 2006-10-16 klockan 09:52 +0930 skrev Rohan M.:
> Hi everyone,
> 
> First of all a big thank you for the NUT package, I've been using it for
> years and couldn't get by without it!
> 

Thanks.
 
> I have two Powerware UPS's here, a 9120/1500va and a 5110/700va. The 9120
> has used a hacked bcmxcp driver (serial) from the 2.0.2 nut version for
> about a year now (which I'll explain more about in a seperate email to the
> dev list), and the 5110 which I just purchased is using the new bcmxcp_usb
> from 2.0.4 ... which brings me to the point of the post...
> 

I wait for the mail on dev..

> The upsc output shows a blank serial number, and no battery.runtime at
> all, see below:
> 
> [rohbags at dvr drivers]# upsc pw5110 at localhost
> battery.voltage:  13.5
> driver.name: bcmxcp_usb
> driver.parameter.shutdown_delay: 90
> driver.version: 2.0.4
> driver.version.internal: 0.10
> input.frequency:  50.1
> input.voltage: 230
> output.current:   0.3
> output.frequency:  50.1
> output.voltage: 230
> ups.firmware: 00.50
> ups.load:  16.7
> ups.model: POWERWARE UPS    700VA
> ups.power.nominal: 700
> ups.serial:
> ups.status: OL
> ups.voltage.nominal: 240
> 
> Is this to be expected with the new expiremental bcmxcp_usb driver?
> Is there anything I can do to debug/hack/patch this issue?
> Any other users out there using bcmxcp_usb with this prob?
> 

Both yes and no. This depends on the ups in use. The 3105 5110 is
not supporting this values. But if you hock it up to a 5115 you should 
get it.

The code is the same for the serial and the usb driver. The things that 
differs is the communication part. If you check the code you find the
bcmxcp.c file that handle the parsing of values and commands.

The bcmxcp_usb.c is the comm part for usb and bcmxcp_ser.c is for serial
comm.

So it should be the same if you hock it up on a serial line.

What we do is to check (parse) the block that list what the ups can 
offer in form of values. If the value is presented it is shown.

> I dont really care about the serial number, but I *really* do need to have
> a battery runtime estimate.
> 

To do this you need to know the battery charge, and the 5110 is not 
showing this. So it would be hard to do a calculation on the runtime.

Regards
Kjell





More information about the Nut-upsuser mailing list