Re: [Nut-upsuser] APC Smart UPS C1000
On 05/09/2012, at 23:58, cmb...@comcast.net wrote: > 1. Does it show up in dmesg, or when you run usbconfig? (pfsense is based on > FreeBSD right?) > > 2. What version of NUT do you have installed? > > Running 'upsc -h' should show the version, eg.. > [midget 10:55] ~ >upsc -h > Network UPS Tools upsc 2.6.4-Unversioned directory > > usage: upsc -l | -L [[:port]] > > > > My Response Was: > 1. The only thing that shows up is when I enable it, it sends a broadcasted > message saying that it can't find the UPS. > 2. On pfSense, the versions of the packages are listed. This is the version > on mine. Version 2.2.2_5 pkg 1.4. > [2.0.1-RELEASE][ad...@host.domain.org]/root(2): upsc -h > Network UPS Tools upsc 2.2.2 > > Where do you see the other two questions? And which one of these did I not > answer right? I asked if pfSense was FreeBSD based, you said OpenBSD but it's really based on FreeBSD (and it makes a difference especially for USB related matters). Can you paste the output of dmesg and usbconfig with the UPS connected please? -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] bcmxcp_usb can not communicate with Eaton Powerware 5110
On Wed, Sep 5, 2012 at 5:58 PM, Arnaud Quette wrote: >> >> The only thing plugged into this UPS is the power supply for the >> RaspberryPi - nut reports the load as 0.0% :) I'm going to also plug in the >> 5-port switch and ADSL modem/router, I expect to be online for some time >> when there is a local power failure :D > > > RPi is maybe too green (Ie not consuming enough power) to be visible. > I'm interesting in the result with more load... > RPi normally is consuming about 2W (if it doesn't have to power anything via USB), so way under 0.5% of an average UPS. Couple of weeks ago when I was running my tests nut@RPi was reliably reporting the about 33% of load I have on my UPS (for the time being I have also a cheap kill-a-watt meter on the UPS input): > ups.firmware: Cont:00.50 Inve:01.50 > ups.load: 33.3 > ups.mfr: Eaton > ups.model: POWERWARE UPS700i > ups.power.nominal: 700 Cheers, Massimo ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] bcmxcp_usb can not communicate with Eaton Powerware 5110
2012/9/2 Greg Vickers > Hi Arnaud, > Hi Greg, > > On 13/08/12 18:09, Arnaud Quette wrote: > > Hey Massimo and Greg, > > 2012/8/12 Massimo Gais > >> On Sun, Aug 12, 2012 at 5:11 AM, Greg Vickers wrote: >> >>> I have not yet gotten rid of it, so thank you very much! It's a case of >>> download, extract, apply patch, and compile on my RPi, correct? >>> >> >> Hello Greg, >> yes you can compile it directly on the RPI. See anyway that if you have >> the old deb package installed and you want to replace only the recompiled >> driver, you may have some mismatch with the pidpath/statepath directories >> (/var/state/ups vs /var/run/nut). I tried to make a debian package on the >> RPi, but it was requiring to install all the documentation tools, and I did >> not have enough SD disk space for that. >> > I have finally gotten around to compiling nut with the patch! It was on > my list of things to do :) > > use the following configuration line to get back inline with deb > directives: > > ./configure --prefix= --includedir=/usr/include --mandir=/usr/share/man > --sysconfdir=/etc/nut --localstatedir=/var --without-ssl --with-cgi > --with-dev --enable-static --with-statepath=/var/run/nut > --with-altpidpath=/var/run/nut --with-drvpath=/lib/nut > --with-cgipath=/usr/lib/cgi-bin/nut --with-htmlpath=/usr/share/nut/www > --with-pidpath=/var/run/nut --datadir=/usr/share/nut > --with-pkgconfig-dir=/usr/lib/pkgconfig --with-user=nut --with-group=nut > --with-udev-dir=/lib/udev --without-doc > > I saw that 'compile usb drivers = no' was set, and added --with-usb to get > bcmxcp_usb to compile. > > you may also want to disable a few more things, like CGI, by using > "--without-cgi" for example... > this will lower the dependencies barrier. > > The only packages I had to add were 'libgd2-xmp-dev' and 'libusb-dev'. > > I've just tested it and it work great! Thanks very much :) > glad to hear it :) > The only thing plugged into this UPS is the power supply for the > RaspberryPi - nut reports the load as 0.0% :) I'm going to also plug in > the 5-port switch and ADSL modem/router, I expect to be online for some > time when there is a local power failure :D > RPi is maybe too green (Ie not consuming enough power) to be visible. I'm interesting in the result with more load... cheers, Arnaud -- Linux / Unix / Opensource Engineering Expert - Eaton - http://opensource.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.fr ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] nut setup on ubuntu 10.04
2012/8/27 > Thanks for the reply > > basically make sure it's configured properly. > > when i unplug the ups I can see entries on the daemon log file. > > I thought I would get some type of notification within a terminal window. > the 'WALL' flag is in charge of this, so just check that it's present for every event you want to see broadcasted. for more information, refer to NOTIFYFLAG in http://www.networkupstools.org/docs/man/upsmon.conf.html cheers, Arnaud -- Linux / Unix / Opensource Engineering Expert - Eaton - http://opensource.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.fr ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] Plexus 800VA UPS on ReadyNAS Duo
Hi 2012/8/19 Rojo Alvarez, Álex > Hi, > these are the new tests keeping "langid_fix = 0x4095" and changing > subdrivers as you told me. > sorry, wrong copy/paste on my side. the base comment was good ("first thing, 0x409 seems to be the one to select"), but not the provided config. can you please test it again with "langid_fix = 0x409"? cheers, Arnaud -- Linux / Unix / Opensource Engineering Expert - Eaton - http://opensource.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.fr ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] APC Smart UPS C1000
Daniel, This is what you asked: 1. Does it show up in dmesg, or when you run usbconfig? (pfsense is based on FreeBSD right?) 2. What version of NUT do you have installed? Running 'upsc -h' should show the version, eg.. [midget 10:55] ~ >upsc -h Network UPS Tools upsc 2.6.4-Unversioned directory usage: upsc -l | -L [[:port]] My Response Was: 1. The only thing that shows up is when I enable it, it sends a broadcasted message saying that it can't find the UPS. 2. On pfSense, the versions of the packages are listed. This is the version on mine. Version 2.2.2_5 pkg 1.4. [2.0.1-RELEASE][ad...@host.domain.org]/root(2): upsc -h Network UPS Tools upsc 2.2.2 Where do you see the other two questions? And which one of these did I not answer right? - Original Message - From: "Daniel O'Connor" To: "Christopher Bruder" Cc: "Charles Lepple" , "nut-upsuser" Sent: Sunday, September 2, 2012 12:54:09 AM Subject: Re: [Nut-upsuser] APC Smart UPS C1000 On 02/09/2012, at 13:49, Christopher Bruder wrote: > I get the error messages in the console as a broadcasted message. Yeah > pfSense is OpenBSD. Version 2.2.2_5 pkg 1.4. If you want help you need to read the emails people are sending you. I asked 4 questions, you answered 2 and I am pretty sure you got the answer to 1 wrong :-/ -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] Blazer_usb Permissions problem: Input/output error
Hi Paul 2012/8/19 Paul Barber > Hi all, > > I have an eaton ENV800HA connected for a freebsd 9.0 box with nut 2.6.5 > installed (on the supported list). > > The UPS is connected using the Blazer_USB driver (not sure how to check > its version). > > When I kick off upsd it detects the UPS no problems and I get all my > information: > > battery.charge: 100 > battery.voltage: 13.60 > battery.voltage.high: 13.00 > battery.voltage.low: 10.40 > battery.voltage.nominal: 12.0 > device.type: ups > driver.name: blazer_usb > driver.parameter.pollinterval: 2 > driver.parameter.port: /dev/ugen1.5 > driver.version: 2.6.5-Unversioned directory > driver.version.internal: 0.09 > input.current.nominal: 3.0 > input.frequency: 50.2 > input.frequency.nominal: 50 > input.voltage: 245.0 > input.voltage.fault: 244.5 > input.voltage.nominal: 240 > output.voltage: 245.0 > ups.beeper.status: enabled > ups.delay.shutdown: 30 > ups.delay.start: 180 > ups.load: 4 > ups.productid: 5161 > ups.status: OL > ups.temperature: 25.0 > ups.type: offline / line interactive > ups.vendorid: 0665 > > However after a random amount of time I get the following error: > blazer_usb[4466]: Permissions problem: Input/output error > > Followed by: > upsd[4468]: Can't connect to UPS [EatonUPS] (blazer_usb-EatonUPS): No such > file or directory > upsmon[4566]: Poll UPS [EatonUPS@localhost] failed - Driver not connected > upsmon[4566]: Communications with UPS EatonUPS@localhost lost > upssched-cmd: Communications with the UPS EatonUPS@localhost are lost > upsmon[4566]: Poll UPS [EatonUPS@localhost] failed - Driver not connected > > Ive tried the basics and chmod 777'd the ugen1.5 port (not a problem it if > works for a while) but worth a shot. > > After doing some reading on here I ran /usr/local/libexec/nut/./blazer_usb > -u root -DDD -a EatonUPS which on its first run worked for 72 seconds, but > 330 seconds on the second run before ending with: > > 327.930857 send: Q1 > 328.193486 read: (247.0 247.0 247.0 004 50.0 13.6 25.0 1001 > 329.940841 send: Q1 > 330.177471 read: (247.0 247.0 247.0 004 50.0 13.6 25.0 1001 > 331.950574 send: Q1 > 332.193457 read: (247.0 247.0 247.0 004 50.0 13.6 25.0 1001 > 338.860148 send: Unknown error > 338.860204 Permissions problem: Input/output error > > Ive also found the following message in the log when I start upsd: > root: Unknown USB device: vendor 0x0665 product 0x5161 bus uhub2 > is this msg different from the one when you initially plug your UPS USB cord? > Any ideas where to go from here? > good question! blazer_usb will reconnect upon certain error, like your IO one. but the thing is that device permissions must allow that. Ie, on Linux, udev is in charge of setting the permissions for NUT on all known devices. thus, upon any kind of disconnection/reconnection, NUT will be able to establish again the communication. you should dig around this... cheers, Arnaud -- Linux / Unix / Opensource Engineering Expert - Eaton - http://opensource.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.fr ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
Re: [Nut-upsuser] Force Shutdown without shuting down the UPS
2012/8/30 Ilia Shapira > I have NUT server connected to the UPS, several other servers connects to > this server, after 5 minutes without power I want all the servers to > shutdown without waiting to the UPS batt status. > > Everything works ok, but I have one issue, the NUT server shutdown the UPS > unit too, this is ok in most case but in our case I don’t want the UPS to > be shutdown. All the servers yes and the NUT server too but I want to leave > the UPS on. > > ** ** > > Any ideas how can I do it ? > if you're using a standard integration (Ie, using official packages from distro), that uses 'upsdrvctl shutdown' to instruct the final UPS poweroff, you can just put "sdorder = -1" in the ups.conf section of your device: http://www.networkupstools.org/docs/man/ups.conf.html cheers, Arnaud -- Linux / Unix / Opensource Engineering Expert - Eaton - http://opensource.eaton.com Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.fr ___ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser