Re: [Nut-upsdev] Bestfortress driver

2009-08-15 Thread Stuart D. Gathman
are still made). -- Stuart D. Gathman stu...@bmsi.com Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 Confutatis maledictis, flammis acribus addictis - background song for a Microsoft sponsored Where do you want to go from here? commercial

Re: [Nut-upsdev] Embedding man pages in driver source code

2009-09-04 Thread Stuart D. Gathman
code, it is not so clear cut. For the special case of nut drivers, however, I think having the man page info as inline comments is helpful. The nut drivers are like OO subclasses, and the driver specific manpage portions included are like the class description. -- Stuart D. Gathman

Re: [Nut-upsdev] new variable

2009-10-05 Thread Stuart D Gathman
Kiss Gabor (Bitman) wrote: On Thu, 1 Oct 2009, Stuart D. Gathman wrote: keep simulation parameters in a separate config file from driver parameters. Meanwhile file docs/developers.txt writes (watch the third sentence): | Note: this does not apply to drivers. Driver authors should use

Re: [Nut-upsdev] MGE NMC and NutShutdownModule (and other stuff)

2009-10-26 Thread Stuart D. Gathman
end UPS and in turn listens on multiple sockets, one for each outlet. Each socket would simulate a simple UPS. There would be a NUT driver for each simulated UPS that connects to a socket on mged. -- Stuart D. Gathman stu...@bmsi.com Business Management Systems Inc. Phone: 703

Re: [Nut-upsdev] Trouble detecting APC Smart-UPS connected via usb

2010-04-19 Thread Stuart D. Gathman
in rc.local. -- Stuart D. Gathman stu...@bmsi.com Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 Confutatis maledictis, flammis acribus addictis - background song for a Microsoft sponsored Where do you want to go from here? commercial

Re: [Nut-upsdev] Client certificates

2011-01-13 Thread Stuart D. Gathman
an authenticated server and secure connection, any security problems with client password authentication also apply to the private key needed for client cert authentication. -- Stuart D. Gathman stu...@bmsi.com Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154

Re: [Nut-upsdev] Changes to upscli_connect

2011-06-28 Thread Stuart D Gathman
On 06/28/2011 02:29 PM, Arjen de Korte wrote: Citeren Frédéric Bohé fredericb...@eaton.com: I am currently working on the nut scanner. For detecting available upsd on the network, I rely on upscli_connect. The problem with this function is that it calls a blocking connect function. The

[Nut-upsdev] Idea: UPS id via powerline broadcast

2011-08-27 Thread Stuart D Gathman
The problem: We maintain small servers in customer offices. Customers often get confused when asked to plug the server into the UPS. Sometimes they have multiple servers from different vendors, and multiple UPSs, and plug our server into the wrong UPS. The end result is that the UPS being

Re: [Nut-upsdev] Idea: UPS id via powerline broadcast

2011-09-01 Thread Stuart D. Gathman
On Thu, 1 Sep 2011, Charles Lepple wrote: On Sat, Aug 27, 2011 at 8:19 PM, Stuart D Gathman stu...@bmsi.com wrote: The problem: We maintain small servers in customer offices. Customers often get confused when asked to plug the server into the UPS. Sometimes they have multiple servers from

Re: [Nut-upsdev] Idea: UPS id via powerline broadcast

2011-09-01 Thread Stuart D. Gathman
to send commands to the UPS, however. -- Stuart D. Gathman stu...@bmsi.com Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 Confutatis maledictis, flammis acribus addictis - background song for a Microsoft sponsored Where do you want to go from here

Re: [Nut-upsdev] [PATCH] Fix logic error in rhino driver

2011-10-14 Thread Stuart D Gathman
On 10/14/2011 06:10 PM, Regid Ichira wrote: The if() statement always evaluated to true. Detected by cppcheck, not tested on real hardware. - if( ( BattVoltage 129 ) || ( BattVoltage 144 ) ) + if( ( BattVoltage 129 ) ( BattVoltage 144 ) ) I think the current, ||, logic is

[Nut-upsdev] Thank you

2011-10-31 Thread Stuart D. Gathman
. -- Stuart D. Gathman stu...@bmsi.com Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 Confutatis maledictis, flammis acribus addictis - background song for a Microsoft sponsored Where do you want to go from here? commercial

Re: [Nut-upsdev] CyberPower CP825AVR-G battery scale

2011-12-21 Thread Stuart D Gathman
Long ago, Nostradamus foresaw that on 12/21/2011 09:08 PM, Charles Lepple would write: On Dec 21, 2011, at 8:40 PM, Cliff Wright wrote: A little over a month ago I acquired a CyberPower CP825AVR-G ups. I found the usb was reporting the same vendor id (0x0501) (side note: 0x0501 is the product

Re: [Nut-upsdev] CyberPower CP825AVR-G battery scale

2011-12-23 Thread Stuart D. Gathman
the battery terminals? (Is that safe with a cheap voltmeter?) -- Stuart D. Gathman stu...@bmsi.com Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 Confutatis maledictis, flammis acribus addictis - background song for a Microsoft sponsored Where do you want

Re: [Nut-upsdev] CyberPower CP825AVR-G battery scale

2011-12-24 Thread Stuart D Gathman
Long ago, Nostradamus foresaw that on 12/24/2011 01:53 PM, Charles Lepple would write: Before you do that... the scaling that we're talking about is usually evident from the voltage readings. Most of the errors are misplaced decimal points, but in this case, some UPSes read high by a factor of

Re: [Nut-upsdev] bestfortress driver establishes/loses/establishes communication and so on...

2012-01-18 Thread Stuart D. Gathman
upsmon.conf to compensate. If I'm not the only fortress user left, I'll have to see if I can tweak the driver. Perhaps it should leave status unchanged after a single corrupt record from the UPS instead of reporting a problem. -- Stuart D. Gathman stu...@bmsi.com Business

Re: [Nut-upsdev] bestfortress driver establishes/loses/establishes communication and so on...

2012-01-20 Thread Stuart D. Gathman
should likely be 1) without reporting stale. I've just committed a patch to trunk (r3400) to get more visibility on the received data, and impact on ignoring checksum. -- Stuart D. Gathman stu...@bmsi.com Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154

Re: [Nut-upsdev] bestfortress driver establishes/loses/establishes communication and so on...

2012-01-22 Thread Stuart D Gathman
Long ago, Nostradamus foresaw that on 01/19/2012 07:35 AM, Michal Hlavinka would write: Yes, on Fedora 16, you have to start nut-server before nut-monitor, and systemd tries to start them at once. Haven't got around to reporting that. I don't think this problem is fortress specific. it

Re: [Nut-upsdev] bestfortress driver establishes/loses/establishes communication and so on...

2012-01-23 Thread Stuart D. Gathman
and messages contains: Jan 21 12:53:30 melissa systemd[1]: Service nut-driver.service is not needed anymore. Stopping. this looks exactly as a symptom of the bug I mentioned in last email I agree, and will report back when the promised systemd update makes it to the repo. -- Stuart D

Re: [Nut-upsdev] bestfortress driver establishes/loses/establishes communication and so on...

2012-01-25 Thread Stuart D Gathman
Long ago, Nostradamus foresaw that on 01/24/2012 03:25 AM, Arnaud Quette would write: Use the following procedure to do so: $ svn co svn://anonscm.debian.org/nut/trunk $ cd trunk $ ./autogen.sh $ ./configure --sysconfdir=/etc/nut --with-statepath=/var/run/nut --with-altpidpath=/var/run/nut

Re: [Nut-upsdev] bestfortress driver establishes/loses/establishes communication and so on...

2012-01-27 Thread Stuart D Gathman
Long ago, Nostradamus foresaw that on 01/27/2012 07:05 PM, Oliver Kluge would write: root@FSC:/home/okluge/devel/trunk# ./autogen.sh Regenerating Augeas ups.conf lens... Regenerating the USB helper files... Calling autoreconf... ./autogen.sh: 35: autoreconf: not found You also need to

Re: [Nut-upsdev] bestfortress driver establishes/loses/establishes communication and so on...

2012-02-02 Thread Stuart D. Gathman
the developers? I have the docs at the office somewhere - I'll dig them up. It is interesting to see the attention given to a model with 2 known users :-) Old things are inherently interesting. -- Stuart D. Gathman stu...@bmsi.com Business Management Systems Inc. Phone: 703 591

Re: [Nut-upsdev] Patch for the bestfortress driver 0.02

2012-05-25 Thread Stuart D Gathman
Applied this to nut-2.6.3 on fedora, and bestfortress seems to still work. The patch seems reasonable as well. As to why it isn't needed for me, I suspect it has to do with serial IO buffering. Driver was depending on upsflushin() to empty the input buffer before triggering another status

Re: [Nut-upsdev] no serial number for Tripp-Lite SMART3000RM2U?

2012-06-07 Thread Stuart D Gathman
On Jun 7, Seth Galitzer transmitted in part: upsrw reports ups.id is a string, which could be useful if I could match against it, but if I read your statement correctly, I cannot. Matching on USB bus number would not be optimal, since this changes even when a device is unplugged and

Re: [Nut-upsdev] systemd bug

2012-07-03 Thread Stuart D Gathman
On Jul 3, Arnaud Quette transmitted in part: I just found a bug in systemd scripts. nut-driver.service.in and nutshutdown.in contains @SBINDIR@/upsdrvctl but it should be @driverexecdir@/upsdrvctl thanks for your report, fixed in commit r3668:

[Nut-upsdev] Systemd sequencing problem in Fedora 16,17

2012-10-15 Thread Stuart D Gathman
I am running nut in Fedora 17 (previously 16). There is a bug in startup that I think I understand well enough to explain. The symptom is that upsd refuses to start at boot time, complaining: Oct 12 22:28:22 melissa upsdrvctl[868]: Network UPS Tools - UPS driver controller 2.6.5 Oct 12

Re: [Nut-upsdev] Is there any fake UPS driver (and Solaris 10+ integration)?

2013-01-09 Thread Stuart D Gathman
On Jan 9, Jim Klimov transmitted in part: On 2013-01-09 18:53, Kiss Gabor (Bitman) wrote: For some time I've been meaning to dig into the problem, and found that I need a tool to emulate poweroffs for a testbed (VM likely). What better tool would it be than a fake UPS driver that reports to

Re: [Nut-upsdev] feature request -- talk to the router, not the UPS

2014-06-02 Thread Stuart D. Gathman
On Mon, 2 Jun 2014, Ted Mittelstaedt wrote: Incidentally, there are many other schemes that can be used to get power state into a PC. Here are some: So maybe the dummy driver can be configured with a script to poll power state (or a callback to get power state events). That would be much

Re: [Nut-upsdev] feature request -- talk to the router, not the UPS

2014-06-02 Thread Stuart D. Gathman
On Mon, 2 Jun 2014, elliot smith wrote: Hello, I want to propose a universal UPS driver that will work with any and all UPSes out there. That driver is called: PING :-) It works like this... the user plugs their router into a power source OTHER than the UPS. Instead of talking to the UPS,

Re: [Nut-upsdev] Tripp-Lite SMART1500LCDT

2016-08-05 Thread Stuart D. Gathman
. Only the old silver version does. What is the point of a model# if you can't count on the functionality? -- Stuart D. Gathman <stu...@gathman.org> "Confutatis maledictis, flamis acribus addictis" - background song for a Microsoft sponsored "Where do you want