Dear Arnaud and crew on list,

Please find the verbose output of `/sbin/blazer_ser -DDDDD -a inform` command in the attached file. It spans on battery and online boost stages of UPS operation. Information about test environment is also attached. Sorry for the late feedback.

Best wishes,
Mutlu Tunç
--
att_1: blazer_ser.txt
att_2: env_nfo.txt




On Wed, 12 Aug 2009 16:47:16 +0300, Arnaud Quette <[email protected]> wrote:

2009/8/9 Mutlu T. <[email protected]>

Hi Arnaud,


Hi Mutlu,

first, please keep the list cc'ed. other people might be interested
(including Arjen when he will get back from vacation)...


I checked out development branch (2.5) from SVN [/] [trunk/] [drivers/]
[blazer_ser.c] - Rev 1804 and driver version turned out as below;

#define DRIVER_NAME     "Megatec/Q1 protocol serial driver"
#define DRIVER_VERSION  "1.51"

Since same version of the driver was already installed, I quickly switched
driver to blazer_ser and performed same tests as before and voila, works
like a charm. You can find the results in the attached txt file, I will
perform further tests and give development version a go as soon as a
maintanence downtime is scheduled for this server and let you know all about
it.

I hope this helps, unfortunately there was no USB port on UPS, so I only
returned data on blazer_ser.

Best wishes,
Mutlu

--
Attachment 1: nut_blz_ser.txt[2711B]



On Sun, 09 Aug 2009 21:34:56 +0300, Arnaud Quette <[email protected]>
wrote:

 Hi Mutlu,

2009/8/7 Mutlu T. <[email protected]>

 Redirecting to debian.org domain due to being rejected as spam by
free.fr


------- Forwarded message -------
From: "Mutlu T." <[email protected]>
To: [email protected]
Cc:
Subject: New NUT HCL entry / (brand)Inform (series)Informer Compact
Date: Fri, 07 Aug 2009 15:31:04 +0300

Dear Arnaud,

First of all thank you for all the efforts you have put into NUT and OS software development. I am using NUT with megatec driver to take control
of my compact UPS, namely Inform :: Informer Compact :: 1000VA on a
Fedora
[9,11] server and it gets the job perfectly done. Not all reported
instant
commands (listed below) work but basic functionality is there;


[r...@saboteur ~]# upscmd -u admin -p [verysecretpasswd] -l
inf...@saboteur
Instant commands supported on UPS [inform]:

beeper.toggle - Toggle the UPS beeper           >> not working
load.off - Turn off the load immediately        >> not tested
load.on - Turn on the load immediately    >> not tested
reset.input.minmax - Reset minimum and maximum input voltage status
>>
not
working
reset.watchdog - Reset watchdog timer           >> not working
shutdown.return - Turn off the load and return when power is back
>>
not
tested
shutdown.stayoff - Turn off the load and remain off             >> not
tested
shutdown.stop - Stop a shutdown in progress             >> not tested
test.battery.start - Start a battery test       >> not working
test.battery.start.deep - Start a deep battery test     >> not working
test.battery.stop - Stop the battery test       >> not working


UPS succesfully returns OnBoost/OnBuck/OnBattery/OnLine information to
megatec driver, as well as LowBattery/BatteryCritical alerts. This is a
line interactive unit with sinus wave AC output at all times. More
information regarding this cheap unit can be retrieved via
http://www.informups.com/informer_compact.html (EN, user guide,
pictures).
Data returned by upsc command is as below;


[r...@saboteur ~]# upsc inf...@saboteur
battery.charge: 95.0
battery.voltage: 27.00
battery.voltage.nominal: 24.0
driver.name: megatec
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS1
driver.version: 2.4.1
driver.version.internal: 1.6
input.frequency: 50.0
input.frequency.nominal: 50.0
input.voltage: 214.0
input.voltage.fault: 140.0
input.voltage.maximum: 238.5
input.voltage.minimum: 206.5
input.voltage.nominal: 230.0
output.voltage: 248.0
ups.beeper.status: disabled
ups.delay.shutdown: 0
ups.delay.start: 2
ups.load: 30.0
ups.mfr:
ups.model:  IN01064B
ups.serial: unknown
ups.status: OL BOOST
ups.temperature: 25.0   >> not polled, always @ 25.0
ups.type: standby


Hope this helps, I would be glad to return any further information you
might need.

Best regards,
Mutlu Tunç
Sys Admin, Turkey.

--

PS. I'm not affiliated with any UPS manufacturer but Tunçmatik and Inform are two well known UPS manufacturers in Turkey and they export goods to
EC
and ME. I would gladly help with communication and other needs concerning these parties on behalf of NUT project, if that's the least I can do for
support.


thanks a lot for this verbose feedback. it's much appreciated.
I've added an entry to the compatibility list.

Arjen is currently on holidays, but he would ask for testing the blazer
support.
this blazer drivers will soon replace the megatec ones.
so please, if you can, do some testing of the development version.
if you also have a USB port, try the *_usb equivalent too.

thanks for your contrib,
Arnaud


ok, thanks for these info.
I've updated the driver.list entry to mention blazer_ser too

note that, according to your attached file, Arjen will probably be
interested in a debug output.
ie
/path/to/blazer_ser -DDDDD -a inform

this will help in fixing the empty ups.{mfr,model} and some more.

cheers,
Arnaud
[r...@saboteur ~]# uname -a
Linux saboteur 2.6.29.6-217.2.3.fc11.i686.PAE #1 SMP Wed Jul 29 16:05:22 EDT 
2009 i686 i686 i386 GNU/Linux


[r...@saboteur ~]# rpm -q nut
nut-2.4.1-6.fc11.i586


[r...@saboteur ~]# blazer_ser -v
Network UPS Tools - Megatec/Q1 protocol serial driver 1.51 (2.4.1)


[r...@saboteur ~]# upsc inf...@saboteur
battery.voltage: 27.00
battery.voltage.nominal: 24.0
beeper.status: disabled
driver.name: blazer_ser
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyS1
driver.version: 2.4.1
driver.version.internal: 1.51
input.current.nominal: 0.0
input.frequency: 50.0
input.frequency.nominal: 50
input.voltage: 210.0
input.voltage.fault: 140.0
input.voltage.nominal: 230
output.voltage: 244.0
ups.delay.shutdown: 30
ups.delay.start: 180
ups.firmware: IN01064B
ups.load: 29
ups.mfg: 
ups.model: 
ups.status: OL BOOST
ups.temperature: 25.0
ups.type: offline / line interactive


************************************

UPS brand/manufacturer: Inform (http://www.informups.com/)
UPS model: INFORMER COMPACT 1000VA 
(http://www.informups.com/informer_compact.html)
[r...@saboteur ~]# /sbin/blazer_ser -DDDDD -a inform
send_to_all: SETINFO driver.parameter.port "/dev/ttyS1"
debug level is '5'
Trying megatec protocol...
send: Q1
read: (210.5 140.0 244.5 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.5"
send_to_all: SETINFO input.voltage.fault "140.0"
send_to_all: SETINFO output.voltage "244.5"
send_to_all: SETINFO ups.load "28"
send_to_all: SETINFO input.frequency "50.0"
send_to_all: SETINFO battery.voltage "27.00"
send_to_all: SETINFO ups.temperature "25.0"
send_to_all: SETINFO beeper.status "disabled"
send_to_all: SETINFO ups.type "offline / line interactive"
send_to_all: SETINFO ups.status "OL BOOST"
Status read in 1 tries
Supported UPS detected with megatec protocol
send: F
read: #230.0 0.0 024.0 50.0
send_to_all: SETINFO input.voltage.nominal "230"
send_to_all: SETINFO input.current.nominal "0.0"
send_to_all: SETINFO battery.voltage.nominal "24.0"
send_to_all: SETINFO input.frequency.nominal "50"
Ratings read in 1 tries
send: I
read: #                           IN01064B  
send_to_all: SETINFO ups.mfg ""
send_to_all: SETINFO ups.model ""
send_to_all: SETINFO ups.firmware "IN01064B"
Vendor information read in 1 tries
Battery runtime will not be calculated (runtimecal not set)
send_to_all: SETINFO ups.delay.start "180"
send_to_all: SETINFO ups.delay.shutdown "30"
send_to_all: ADDCMD beeper.toggle
send_to_all: ADDCMD load.off
send_to_all: ADDCMD load.on
send_to_all: ADDCMD shutdown.return
send_to_all: ADDCMD shutdown.stayoff
send_to_all: ADDCMD shutdown.stop
send_to_all: ADDCMD test.battery.start
send_to_all: ADDCMD test.battery.start.deep
send_to_all: ADDCMD test.battery.start.quick
send_to_all: ADDCMD test.battery.stop
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.0"
send_to_all: SETINFO output.voltage "244.0"
send_to_all: DATAOK
dstate_init: sock /var/run/nut/blazer_ser-inform open on fd 5
send_to_all: SETINFO driver.version "2.4.1"
send_to_all: SETINFO driver.version.internal "1.51"
send_to_all: SETINFO driver.name "blazer_ser"
send_to_all: SETINFO driver.parameter.pollinterval "2"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "28"
send: Q1
read: (210.5 140.0 244.5 029 50.0 27.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.5"
send_to_all: SETINFO output.voltage "244.5"
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.0"
send_to_all: SETINFO output.voltage "244.0"
send_to_all: SETINFO ups.load "28"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "28"
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.5 140.0 244.5 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.5"
send_to_all: SETINFO output.voltage "244.5"
send_to_all: SETINFO ups.load "28"
send: Q1
read: (210.5 140.0 244.5 029 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.0"
send_to_all: SETINFO output.voltage "244.0"
send_to_all: SETINFO ups.load "28"
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "28"
send: Q1
read: (000.0 140.0 208.5 036 47.0 25.0 25.0 10001000
send_to_all: SETINFO input.voltage "0.0"
send_to_all: SETINFO output.voltage "208.5"
send_to_all: SETINFO ups.load "36"
send_to_all: SETINFO input.frequency "47.0"
send_to_all: SETINFO battery.voltage "25.00"
send_to_all: SETINFO ups.status "OB"
send: Q1
read: (000.0 140.0 220.0 036 47.0 24.0 25.0 10001000
send_to_all: SETINFO output.voltage "220.0"
send_to_all: SETINFO battery.voltage "24.00"
send: Q1
read: (000.0 140.0 230.0 040 47.0 23.0 25.0 10001000
send_to_all: SETINFO output.voltage "230.0"
send_to_all: SETINFO ups.load "40"
send_to_all: SETINFO battery.voltage "23.00"
send: Q1
read: (000.0 140.0 230.0 040 47.0 23.0 25.0 10001000
send: Q1
read: (000.0 140.0 230.0 040 47.0 23.0 25.0 10001000
send: Q1
read: (000.0 140.0 230.0 039 47.0 23.0 25.0 10001000
send_to_all: SETINFO ups.load "39"
send: Q1
read: (000.0 140.0 230.0 040 47.0 24.0 25.0 10001000
send_to_all: SETINFO ups.load "40"
send_to_all: SETINFO battery.voltage "24.00"
send: Q1
read: (000.0 140.0 230.0 040 47.0 24.0 25.0 10001000
send: Q1
read: (000.0 140.0 230.0 040 47.0 24.0 25.0 10001000
send: Q1
read: (000.0 140.0 230.0 040 47.0 24.0 25.0 10001000
send: Q1
read: (000.0 140.0 230.0 040 47.0 24.0 25.0 10001000
send: Q1
read: (000.0 140.0 230.0 040 47.0 24.0 25.0 10001000
send: Q1
read: (000.0 140.0 230.0 040 47.0 24.0 25.0 10001000
send: Q1
read: (000.0 140.0 230.0 040 47.0 23.0 25.0 10001000
send_to_all: SETINFO battery.voltage "23.00"
send: Q1
read: (210.5 140.0 244.5 029 50.0 25.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.5"
send_to_all: SETINFO output.voltage "244.5"
send_to_all: SETINFO ups.load "29"
send_to_all: SETINFO input.frequency "50.0"
send_to_all: SETINFO battery.voltage "25.00"
send_to_all: SETINFO ups.status "OL BOOST"
send: Q1
read: (210.5 140.0 244.5 028 50.0 25.0 25.0 00101000
send_to_all: SETINFO ups.load "28"
send: Q1
read: (210.5 140.0 244.5 029 50.0 25.0 25.0 00101000
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.5 140.0 244.5 029 50.0 26.0 25.0 00101000
send_to_all: SETINFO battery.voltage "26.00"
send: Q1
read: (210.5 140.0 244.5 029 50.0 26.0 25.0 00101000
send: Q1
read: (210.5 140.0 244.5 029 50.0 26.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 029 50.0 26.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.0"
send_to_all: SETINFO output.voltage "244.0"
send: Q1
read: (210.0 140.0 244.0 029 50.0 26.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 029 50.0 26.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 029 50.0 26.0 25.0 00101000
send: Q1
read: (210.5 140.0 244.5 029 50.0 26.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.5"
send_to_all: SETINFO output.voltage "244.5"
send: Q1
read: (210.0 140.0 244.0 029 50.0 26.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.0"
send_to_all: SETINFO output.voltage "244.0"
send: Q1
read: (210.0 140.0 244.0 029 50.0 26.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 028 50.0 26.0 25.0 00101000
send_to_all: SETINFO ups.load "28"
send: Q1
read: (210.0 140.0 244.0 029 50.0 26.0 25.0 00101000
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "28"
send_to_all: SETINFO battery.voltage "27.00"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "28"
send: Q1
read: (210.5 140.0 244.5 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.5"
send_to_all: SETINFO output.voltage "244.5"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.0"
send_to_all: SETINFO output.voltage "244.0"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send: Q1
read: (210.0 140.0 244.0 029 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.0 140.0 244.0 027 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "27"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO ups.load "28"
send: Q1
read: (210.5 140.0 244.5 029 50.0 27.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.5"
send_to_all: SETINFO output.voltage "244.5"
send_to_all: SETINFO ups.load "29"
send: Q1
read: (210.0 140.0 244.0 028 50.0 27.0 25.0 00101000
send_to_all: SETINFO input.voltage "210.0"
send_to_all: SETINFO output.voltage "244.0"
send_to_all: SETINFO ups.load "28"
^CSignal 2: exiting

_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to