[Nut-upsuser] Unsupported UPS using megatec_usb

Jamie Thompson lists.nut-upsuser at jamie-thompson.co.uk
Sun May 4 20:39:43 UTC 2008


Alexander I. Gordeev wrote:

<snip>

> megatec_usb is definitely the right driver for your UPS.
> I don't know if anything could be done to stop failures.
> Can you plug the UPS to another computer and run megatec_usb again?

Hi, I've just run the same binaries on my new test machine, and I get the following output:
> Network UPS Tools 2.2.1- - Megatec protocol driver 1.5.9 [megatec_usb]
> Carlos Rodrigues (c) 2003-2007
> 
> Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]
> Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c) 2007
> 
> debug level is '4'
> Checking device (0000/0000) (002/001)
> - VendorID: 0000
> - ProductID: 0000
> - Manufacturer: unknown
> - Product: unknown
> - Serial Number: unknown
> - Bus: 002
> Trying to match device
> Device does not match - skipping
> Checking device (0001/0000) (001/005)
> - VendorID: 0001
> - ProductID: 0000
> - Manufacturer: unknown
> - Product: unknown
> - Serial Number: unknown
> - Bus: 001
> Trying to match device
> Device matches
> get_data_krauler: no command set
> Starting UPS detection process...
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(229.0 165.0 229.0 000 50.0 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(231.0 165.0 231.0 000 50.0 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(229.0 165.0 229.0 000 50.0 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(229.0 165.0 229.0 000 49.8 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(231.0 165.0 231.0 000 50.0 13.0 00.0 00001010]
> 0 out of 5 detection attempts failed (minimum failures: 2).
> Asking for UPS information [I]...
> get_data_krauler: index [0c], prefix [#]
> I => OK [#                UPS500V    VER3.10C  ]
> Megatec protocol UPS detected [ UPS500V VER3.10C].
> Asking for UPS power ratings [F]...
> get_data_krauler: index [0d], prefix [#]
> F => OK [#230.0 003 11.50 50.0]
> Unsupported battery voltage (11.5V).
> This UPS has an unsupported combination of battery voltage/number of batteries.
> Cannot calculate charge percentage for this UPS.
> Done setting up the UPS.
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(234.0 165.0 234.0 000 50.0 13.0 00.0 00001010]
> dstate_init: sock /var/run/nut/megatec_usb-plexus open on fd 5
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(229.0 165.0 229.0 000 50.2 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(229.0 165.0 229.0 000 50.2 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(229.0 165.0 229.0 000 50.2 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> get_data_krauler: retry [UPS No Ack]
> get_data_krauler: retry [UPS No Ack]
> Q1 => OK [(231.0 165.0 231.0 000 50.2 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(229.0 165.0 229.0 000 50.0 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(229.0 165.0 229.0 000 50.2 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(234.0 165.0 234.0 000 50.0 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(234.0 165.0 234.0 000 50.0 13.0 00.0 00001010]
> Asking for UPS status [Q1]...
> get_data_krauler: index [03], prefix [(]
> Q1 => OK [(229.0 165.0 229.0 000 50.2 13.0 00.0 00001010]

Helpfully, less failures there.

> Also please try version 2.2.2-pre3 released today:
> http://www.networkupstools.org/source.html

My next port of call.

> As Carlos wrote recently there is no way to calculate charge percentage
> if I and F commands fail.
> http://lists.alioth.debian.org/pipermail/nut-upsuser/2008-April/003970.html

Ok, they don't fail on my test machine, so I'll ignore that problem for now...one thing at a time ;)

- Jamie

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080504/dbcac588/attachment.pgp 


More information about the Nut-upsuser mailing list