2009/8/9 Mutlu T. <cmt...@gmail.com> > 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 <aquette....@gmail.com> > wrote: > > Hi Mutlu, >> >> 2009/8/7 Mutlu T. <cmt...@gmail.com> >> >> Redirecting to debian.org domain due to being rejected as spam by >>> free.fr >>> >>> >>> ------- Forwarded message ------- >>> From: "Mutlu T." <cmt...@gmail.com> >>> To: arnaud.que...@free.fr >>> 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 -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/
blazer_ser driver version: [r...@saboteur ups]# blazer_ser -V Network UPS Tools - Megatec/Q1 protocol serial driver 1.51 (2.4.1) NUT rpm package version: [r...@saboteur ups]# rpm -q nut nut-2.4.1-6.fc11.i586 Supported commands as returned by driver: [r...@saboteur ups]# upscmd -u admin -p l1zard -l inf...@saboteur Instant commands supported on UPS [inform]: [x]beeper.toggle - Toggle the UPS beeper [?]load.off - Turn off the load immediately [?]load.on - Turn on the load immediately [?]shutdown.return - Turn off the load and return when power is back [?]shutdown.stayoff - Turn off the load and remain off [?]shutdown.stop - Stop a shutdown in progress [x]test.battery.start - Start a battery test [x]test.battery.start.deep - Start a deep battery test [x]test.battery.start.quick - Start a quick battery test [x]test.battery.stop - Stop the battery test [x] = Not working / Not implement in this UPS [?] = Not tested UPS status poll: [r...@saboteur ups]# 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: 228.0 input.voltage.fault: 140.0 input.voltage.nominal: 230 output.voltage: 228.0 ^ups.delay.shutdown: 30 ^ups.delay.start: 180 ups.firmware: IN01064B ups.load: 32 ups.mfg: ups.model: ups.status: OL ups.temperature: 25.0 ups.type: offline / line interactive ^ = Marked values are reported different (wrong?) with Megatec driver. * Temperature still not polled, possibly due to non existing temperature sensor in UPS. Lights out test: OK [Master] Broadcast message from nut (Sun Aug 9 22:16:41 2009): UPS inf...@saboteur on battery Broadcast message from nut (Sun Aug 9 22:17:11 2009): UPS inf...@saboteur on line power [Slave] Broadcast Message from n...@xenix (somewhere) at 22:16 ... UPS inf...@192.168.1.11 on battery Broadcast Message from n...@xenix (somewhere) at 22:17 ... UPS inf...@192.168.1.11 on line power <EOF>
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser