[Nut-upsuser] NUT support for Solaris

2018-01-23 Thread peter.chan
Hi

I would like to know if NUT version 2.7.4 would compatible with Solaris 10  
version (1/13 s10s_u11wos_24a SPARC)


Thanks,
Peter Chan
510-284-3118

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Tripp-Lite BCPERS450 shutdown/restart problems

2018-01-23 Thread Ken Olum
   From: Charles Lepple 
   Date: Tue, 23 Jan 2018 09:02:14 -0500

   On Jan 22, 2018, at 3:00 PM, Ken Olum  wrote:
   > 
   > I tested the effect of setting UPS.OutletSystem.Outlet.DelayBeforeShutdown
   > using Tripp Lite's software, which appears to be as follows:
   > 
   Theoretically, this should be the same as running the command "upscmd 
bcpers@localhost -u  load.off.delay ".

It is.  And now I can see that it sets ups.timer.shutdown (as reported
by upsc) to the number that you give and that then counts down until the
shutdown.

But note that in spite of the words "outlet" and "load" in the
descriptors, what this control actually does is to shut down the UPS,
not just the load.  So is the real problem here that the system has
somehow misidentified the UPS delayed shutdown control as the delayed
load-off control, and that's why it doesn't use it when you say
"usbhid-ups -k"?

   in the mean time, would you be interested in setting things up to
   rebuild the driver?

I was able to build it following your directions.  Some things went in
the same place as the Ubuntu packages had used, but others did not, so I
removed the Ubuntu packages, and installed from source.  Most things
seem to work, though "/lib/nut/usbhid-ups -a bcpers450 -k" now gets a
segfault instead of doing the (wrong) thing it did before.

Ken

___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser


[Nut-upsuser] HPE Power Protector

2018-01-23 Thread Nicolae Alexandru
Hello,

Can NUT-CLIENT communicate with a HPE Power Protector server ? The HP T1500 G3 
INTL it’s connected to Power Protector server running Windows Server 2012. The 
Nut-Client it’s installed on a Power Mac G5 running Ubuntu 16.04 / Linux 4.4.0

Thank you !
Alex
___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Re: [Nut-upsuser] Tripp-Lite BCPERS450 shutdown/restart problems

2018-01-23 Thread Charles Lepple
On Jan 22, 2018, at 3:00 PM, Ken Olum  wrote:
> 
> I tested the effect of setting UPS.OutletSystem.Outlet.DelayBeforeShutdown
> using Tripp Lite's software, which appears to be as follows:
> 
Theoretically, this should be the same as running the command "upscmd 
bcpers@localhost -u  load.off.delay ".

> So if you could fix nut to use UPS.OutletSystem.Outlet.DelayBeforeShutdown
> in my case, or tell me how do it, I would appreciate that.

I still haven't had a good chunk of time to walk through the shutdown code (the 
part that handles "usbhid-ups ... -k"), but in the mean time, would you be 
interested in setting things up to rebuild the driver? (The next week is 
looking pretty ridiculous for me, so I don't anticipate being able to dust off 
my .deb build tree soon.)

My thought is that you can rebuild NUT with the same configuration options as 
the .debs, and the usbhid-ups driver should just drop in. The instructions are 
almost the same for Ubuntu as for Debian:

http://lists.alioth.debian.org/pipermail/nut-upsdev/2017-October/007341.html and

http://lists.alioth.debian.org/pipermail/nut-upsdev/2017-October/007343.html 
(omit the "git checkout" line; although we have a new-and-improved libusb 
branch, I think it's an unnecessary delta for your situation.)



___
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser