[Nut-upsdev] More info about Unitek UPS not working with Megatec driver

Michel Bouissou michel-nut at bouissou.net
Sat May 24 08:07:33 UTC 2008


Hi again,

I tested several times using the Megatec driver from nut 2.2.2 to no avail, as 
it definitely never "sees" the UPS. Always getting :

# drivers/megatec -DDD -a Alpha
Network UPS Tools 2.2.2 - Megatec protocol driver 1.5.14 [megatec]
Carlos Rodrigues (c) 2003-2008

debug level is '3'
Starting UPS detection process...
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
5 out of 5 detection attempts failed (minimum failures: 2).
Megatec protocol UPS not detected.



To help check what my UPS gives, here is the output of several commands and 
UPS answers manually passed using "minicom" set to use /dev/ttyS0 at 2400 
8N1 :

I
#UNITEK          Alpha500iC A0

Q1
(235.9 235.9 235.9 012 50.0 13.8 32.0 00001000

F
#230.0   6  12.0 50.0


Here is the sample output of "upsc" using the old "fentonups" driver which I 
had patched:

root at totor:/etc# upsc alpha at localhost
battery.charge: 100.0
battery.voltage: 13.8
driver.name: fentonups
driver.parameter.lowbattvolt: 11.5
driver.parameter.port: /dev/ttyS0
driver.version: 2.0.5
driver.version.internal: 1.22
input.frequency: 50.0
input.transfer.high: 288
input.transfer.low: 172
input.voltage: 237.5
output.voltage: 237.5
ups.load: 014
ups.mfr: UNITEK
ups.model: Alpha 500 iC
ups.status: OL


Hope this can be of any help...

Best regards.

-- 
Michel Bouissou <michel at bouissou.net> OpenPGP ID 0xEB04D09C



More information about the Nut-upsdev mailing list