Arnaud Quette
2009-Sep-14 07:31 UTC
[Nut-upsuser] Eaton NV 1000H in nut's hardware compatibility list
Le samedi 12 septembre 2009 ? 01:59 -0300, Vitor Choi Feitosa a ?crit :> Hi Arnaud,Hi Vitor,> I found your email on the contact page and since you seem to work for > Eaton and is involved in the NUT community I think you're the right > person to contact. > > I've got an Eaton NV 1000H and just installed it here. Before NUT > configuration I've checked the HCL for my UPS and didn't find it > there. After trying a few drivers I found that the megatec_usb just > works for this model. > > So.. I thought you could arrange to get this model on the HCL. Will > you do it?sure. can you just post me the output of: - upsc, - upscmd, - upsrw. Have you tested a standard shutdown (ie OB until LB, or calling "upsmon -c fsd")? thanks for your report. 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/ -------------------------------------------------------------------------- Eaton Power Quality SA ~ Si?ge social: 110 rue Blaise Pascal, 38 334 Saint Ismier, France ~ Lieu d'enregistrement au registre du commerce: Grenoble ~ Num?ro d'enregistrement: 302 636 303 ~ Capital social souscrit et liber?: 703'802.75 EUR
Vitor Choi Feitosa
2009-Sep-15 03:07 UTC
[Nut-upsuser] Eaton NV 1000H in nut's hardware compatibility list
Here's what you asked for: $ upsc eaton battery.charge: 90.0 battery.voltage: 13.30 battery.voltage.nominal: 12.0 driver.name: megatec_usb driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.version: 2.2.1- driver.version.internal: 1.5.13 input.frequency: 59.9 input.voltage: 216.6 input.voltage.fault: 216.6 input.voltage.maximum: 222.7 input.voltage.minimum: 206.0 output.voltage: 216.6 output.voltage.nominal: 230.0 ups.beeper.status: enabled ups.delay.shutdown: 0 ups.delay.start: 2 ups.load: 21.0 ups.mfr: unknown ups.model: unknown ups.serial: unknown ups.status: OL ups.temperature: 25.0 $ upscmd -l eaton Instant commands supported on UPS [eaton]: test.battery.start.deep - Start a deep battery test test.battery.start - Start a battery test test.battery.stop - Stop the battery test 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 load.on - Turn on the load immediately load.off - Turn off the load immediately reset.input.minmax - Reset minimum and maximum input voltage status reset.watchdog - Reset watchdog timer beeper.toggle - Toggle the UPS beeper upsmon wall message Broadcast Message from nut at cctv (somewhere) at 12:15 ... UPS eaton at localhost on battery and finally, a syslog snippet of the system shutting down: Sep 14 12:33:20 cctv upsd[6192]: Connection from 127.0.0.1 Sep 14 12:33:20 cctv upsd[6192]: Client on 127.0.0.1 logged out Sep 14 12:33:21 cctv upsmon[6200]: UPS eaton at localhost battery is low Sep 14 12:33:21 cctv upsd[6192]: Client local_mon at 127.0.0.1 set FSD on UPS [eaton] Sep 14 12:33:21 cctv upsmon[6200]: Executing automatic power-fail shutdown Sep 14 12:33:21 cctv upsmon[6200]: Auto logout and shutdown proceeding Sep 14 12:33:22 cctv upsd[6192]: Connection from 127.0.0.1 Sep 14 12:33:22 cctv upsd[6192]: Client on 127.0.0.1 logged out Sep 14 12:33:24 cctv upsd[6192]: Connection from 127.0.0.1 Sep 14 12:33:24 cctv upsd[6192]: Client on 127.0.0.1 logged out Sep 14 12:33:26 cctv upsd[6192]: Host 127.0.0.1 disconnected (read failure) Sep 14 12:33:26 cctv init: tty4 main process (4901) killed by TERM signal Sep 14 12:33:26 cctv init: tty5 main process (4902) killed by TERM signal Sep 14 12:33:26 cctv init: tty2 main process (4904) killed by TERM signal Sep 14 12:33:26 cctv init: tty3 main process (4906) killed by TERM signal Sep 14 12:33:26 cctv init: tty1 main process (6445) killed by TERM signal Sep 14 12:33:26 cctv init: tty6 main process (4908) killed by TERM signal Sep 14 12:33:28 cctv avahi-daemon[5388]: Got SIGTERM, quitting. Tell me if you need anything else. Vitor. 2009/9/14 Arnaud Quette <ArnaudQuette at eaton.com>> Le samedi 12 septembre 2009 ? 01:59 -0300, Vitor Choi Feitosa a ?crit : > > Hi Arnaud, > > Hi Vitor, > > > I found your email on the contact page and since you seem to work for > > Eaton and is involved in the NUT community I think you're the right > > person to contact. > > > > I've got an Eaton NV 1000H and just installed it here. Before NUT > > configuration I've checked the HCL for my UPS and didn't find it > > there. After trying a few drivers I found that the megatec_usb just > > works for this model. > > > > So.. I thought you could arrange to get this model on the HCL. Will > > you do it? > > sure. > > can you just post me the output of: > - upsc, > - upscmd, > - upsrw. > > Have you tested a standard shutdown (ie OB until LB, or calling "upsmon > -c fsd")? > > thanks for your report. > 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/ > > -------------------------------------------------------------------------- > Eaton Power Quality SA ~ Si?ge social: > 110 rue Blaise Pascal, > 38 334 Saint Ismier, France ~ Lieu d'enregistrement au registre du > commerce: Grenoble ~ Num?ro d'enregistrement: > 302 636 303 ~ Capital social souscrit et liber?: > 703'802.75 EUR >-- -- Vitor Choi Feitosa <vchoi at vchoi.org> +55 61 7814-9719 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090915/c4ee93c1/attachment.htm>
Arnaud Quette
2009-Sep-16 12:22 UTC
[Nut-upsuser] Eaton NV 1000H in nut's hardware compatibility list
Hi Vitor, please, keep the list cc'ed since other might interested in (either the solution, or their 2 cents to the discussion). Moreover, knowing that I'm not an author of the megatec / blazer drivers, things might be obvious to these guys and not to me... Le mardi 15 septembre 2009 ? 20:29 -0300, Vitor Choi Feitosa a ?crit :> > > - a driver debug output to check some more things, ie: > $ /path/to/megatec_usb -DDDDD -a eatonI realise that I completely forgot to tell you to test blazer_usb, which will soon replace the megatec ones. the best would be to give it a quick shot through the development tree, without installing anything (inplace testing).> # /lib/nut/megatec_usb -DDDDD -a eaton > Network UPS Tools 2.2.1- - Megatec protocol driver 1.5.13 > [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 > (...) > Calculated battery charge: 90.0% > Signal 2: exiting > > > > > - the device USB VendorID and ProductID (as shown by lsusb) > # lsusb -v -s 1:6 > (...)I've never played with this protocol, but it seems that you will have to use the various parameters to finalise its setup: mfr, model and battvolts in ups.conf first try blazer since iirc, it's more smart.> - when fully charged (ie online for some time), does > battery.charge > reaches 100 % ? otherwise, we'll have to use the battvolts > parameter. > This is hard to tell. I've been using this UPS for less than a week an > I constantly see its status on OL BOOST (i don't know if it uses > battery power to boost the voltage or just sucks in more current from > the wall). Besides that I've never seen it going beyond 90% of battery > charge but I believe it's by design because tha manual states that it > takes around 8 hours to charge from full discharge to 90% (maybe for > safety reasons?). > > Anyway, I'll set up a script to collect data on the ups and in a few > days we should have an answer.you should really take a look at blazer's manpage: http://manpages.ubuntu.com/manpages/karmic/man8/blazer.8.html 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/ -------------------------------------------------------------------------- Eaton Power Quality SA ~ Si?ge social: 110 rue Blaise Pascal, 38 334 Saint Ismier, France ~ Lieu d'enregistrement au registre du commerce: Grenoble ~ Num?ro d'enregistrement: 302 636 303 ~ Capital social souscrit et liber?: 703'802.75 EUR
Vitor Choi Feitosa
2009-Sep-16 22:11 UTC
[Nut-upsuser] Eaton NV 1000H in nut's hardware compatibility list
> > Citeren Arnaud Quette <ArnaudQuette at Eaton.com>: > This is hardly surprising. Your UPS seems was designed for 230V nominal > mains voltage >Arjen, it's always good talking to someone who really understands what they're talking about. You're right. Brazil's voltage standard is 110v in some cities, 220v in most and always 60hz. About the ups, it has a big red label stating "use only on 220-240V". I really liked your input, so don't get me wrong here: as this product was bought (in fact, given to me) in Brazil I'll just assume Eaton is selling an ups that's appropriate for use here.> > Besides that I've never seen it going beyond 90% of battery >>> charge but I believe it's by design because tha manual states that it >>> takes around 8 hours to charge from full discharge to 90% (maybe for >>> safety reasons?). >>> >> > See 'man 8 megatec'. You probably need to set a couple of parameters to > correct this. Note that the blazer driver also supports a different method > of battery charge and runtime calculation that doesn't rely on the battery > voltage. This may result in more accurate readings. Make sure you thoroughly > read 'man 8 blazer' before using this. >I've read the megatec man page and I'll configure the driver properly. My distro (ubuntu 8.04) doens't come with a blazer driver. But anyway, *in my case* I just don't think it's worth configuring the battery charge level. The only thing that's really important is to get the pc to shutdown before the battery goes dead.> > Anyway, I'll set up a script to collect data on the ups and in a few >>> days we should have an answer. >>> >> > We provide a tool for that already. Checkout 'man 8 upslog', which can help > you log data for your UPS. > >Sweet, I just wanted to have read this earlier. :-/ Below is the log my script generated: timestamp,battery.charge,battery.voltage,battery.voltage.nominal,driver.name ,driver.parameter.pollinterval,driver.parameter.port,driver.version,driver.version.internal,input.frequency,input.voltage,input.voltage.fault,input.voltage.maximum,input.voltage.minimum,output.voltage,output.voltage.nominal,ups.beeper.status,ups.delay.shutdown,ups.delay.start,ups.load,ups.mfr,ups.model,ups.serial,ups.status,ups.temperature 2009-09-15 21:09:16,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,210.0,210.0,215.2,209.5,210.0,230.0,enabled,0,2,20.0,unknown,unknown,unknown,OL,25.0 2009-09-15 21:10:16,52.5,11.80,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,60.1,5.2,5.2,215.2,209.5,238.2,230.0,enabled,0,2,21.0,unknown,unknown,unknown,OB,25.0 2009-09-15 21:11:16,52.5,11.80,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,60.1,5.2,5.2,215.2,209.5,237.8,230.0,enabled,0,2,20.0,unknown,unknown,unknown,OB,25.0 2009-09-15 21:12:16,52.5,11.80,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,60.1,5.2,5.2,215.2,209.5,238.2,230.0,enabled,0,2,20.0,unknown,unknown,unknown,OB,25.0 2009-09-15 21:13:16,52.5,11.80,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,60.1,5.2,5.2,215.2,209.5,237.8,230.0,enabled,0,2,20.0,unknown,unknown,unknown,OB,25.0 2009-09-15 21:14:16,75.0,12.70,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,209.5,210.0,215.2,209.5,247.7,230.0,enabled,0,2,20.0,unknown,unknown,unknown,OL BOOST,25.0 --- snip --- 2009-09-16 00:32:22,87.5,13.20,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,215.2,215.2,220.1,206.0,215.2,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 00:33:22,87.5,13.20,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,215.2,215.7,220.1,206.0,215.7,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 --- snip --- 2009-09-16 01:13:24,87.5,13.20,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,213.5,213.0,220.1,206.0,213.5,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:14:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,213.5,213.5,220.1,206.0,213.5,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:15:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,213.0,213.5,220.1,206.0,213.5,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:16:24,87.5,13.20,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,213.5,213.5,220.1,206.0,213.5,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:17:24,87.5,13.20,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,214.8,214.8,220.1,206.0,214.4,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:18:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,214.8,214.8,220.1,206.0,214.8,230.0,enabled,0,2,19.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:19:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,214.8,214.8,220.1,206.0,214.8,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:20:24,87.5,13.20,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,213.9,213.9,220.1,206.0,213.9,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:21:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,214.8,215.2,220.1,206.0,214.8,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:22:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,214.8,214.8,220.1,206.0,214.8,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:23:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,214.8,214.8,220.1,206.0,214.8,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:24:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,214.4,214.4,220.1,206.0,213.9,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:25:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,213.5,214.4,220.1,206.0,214.8,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:26:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,213.5,213.5,220.1,206.0,213.5,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:27:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,213.9,213.5,220.1,206.0,213.5,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 2009-09-16 01:28:24,90.0,13.30,12.0,megatec_usb,2,auto,2.2.1-,1.5.13,59.9,213.5,213.5,220.1,206.0,213.5,230.0,enabled,0,2,17.0,unknown,unknown,unknown,OL,25.0 Now I'm pretty sure it never goes beyond 90%, but I can live with that. Thank you all for the help! -- Vitor Choi Feitosa <vchoi at vchoi.org> +55 61 7814-9719 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20090916/14ed5131/attachment.htm>