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

2018-03-23 Thread Ken Olum
Thanks, Charles. I pulled your change and it fixed my segmentation fault. I discovered the following code at line 571 in usbhid-ups.c. This is part of the "checking for alternatives" code: if (!strcasecmp(cmdname, "shutdown.return")) { int ret;

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

2018-03-20 Thread Ken Olum
Hi, Charles. Are you by any chance planning to address my problems where NUT does not know how to schedule a shutdown of this Tripp-Lite UPS? If not, could you point me in the right direction? My best understanding of the situation of the moment is that the right control is

Re: [Nut-upsuser] testing shutdown: pc not restarting; and "ups unavailable" messages

2018-02-01 Thread Ken Olum
After you shut down your PC, it should be in a state where it knows that it was shut down manually and should stay shut down. When the line power goes off, it forgets this state, so when you restore the line power it should boot. That is what the BIOS setting is supposed to provide. This is how

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

2018-01-23 Thread Ken Olum
From: Charles Lepple <clep...@gmail.com> Date: Tue, 23 Jan 2018 09:02:14 -0500 On Jan 22, 2018, at 3:00 PM, Ken Olum <k...@cosmos.phy.tufts.edu> wrote: > > I tested the effect of setting UPS.OutletSystem.Outlet.DelayBeforeShutdown > using Tripp Lite's so

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

2018-01-22 Thread Ken Olum
I tested the effect of setting UPS.OutletSystem.Outlet.DelayBeforeShutdown using Tripp Lite's software, which appears to be as follows: 1. If you set it when the line power is on, it turns off the UPS after the delay, and does not turn it back on again, even if you cycle the line power. 2. If

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

2018-01-12 Thread Ken Olum
From: Charles Lepple Date: Thu, 11 Jan 2018 22:31:54 -0500 The trick will be adding support for this without breaking other models. For whatever it's worth, Tripp lite's software does not display the model number anywhere, so it may be treating all models the

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

2018-01-11 Thread Ken Olum
Thanks again for your help, Charles. I was able to install the Tripp Lite software on my Ubuntu machine, and it sort of works. It does something which continually changes the USB device ID of the UPS, and prints voluminous error messages in the log. However, one of the things that it can do is

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

2018-01-09 Thread Ken Olum
Any more thoughts about how I might get this UPS working? I guess I could try using the software from Tripp-Lite, but it is intended for ancient versions of Fedora and OpenSUSE, whereas I'm running Ubuntu 16.04. It would be much nicer to use Nut, but I don't know how to proceed. Thanks.

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

2017-12-20 Thread Ken Olum
Thanks for your help. From: Charles Lepple Date: Mon, 18 Dec 2017 19:26:56 -0500 This may sound like an apples-to-oranges comparison, but we did uncover an issue with CyberPower UPSes where the delay values needed to be greater than or equal to 60 (seconds), since

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

2017-12-18 Thread Ken Olum
I have a Tripp-Lite BCPERS450, connected to a system running Ubuntu 16.04.3 LTS and NUT 2.7.2-4ubuntu1.2. I had to make my own /lib/systemd/system-shutdown/nutshutdown, but now everything is working except for powering on and off the UPS. Regardless of the settings of offdelay and ondelay in