<div dir="ltr"><div>"I'd thought you'd never ask" (C)</div><div><br></div><div>Can you give this walkthrough a shot? <a href="https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests">https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests</a></div><div><br></div><div>Jim<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 24, 2023 at 8:00 PM gene heskett <<a href="mailto:gheskett@shentel.net">gheskett@shentel.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 4/24/23 13:12, Greg Troxel wrote:<br>
> gene heskett <<a href="mailto:gheskett@shentel.net" target="_blank">gheskett@shentel.net</a>> writes:<br>
> <br>
>> Jim, would an upgrade to the install on my rpi4b running a medium<br>
>> sized 80+ yo lathe give me better control over a:<br>
>> device.mfr: CPS<br>
>> device.model: CP625HGa<br>
>> device.type: ups<br>
>> <a href="http://driver.name" rel="noreferrer" target="_blank">driver.name</a>: usbhid-ups<br>
>> driver.parameter.offdelay: 120<br>
>> where that offdelay seems hard coded. The 625WA rating could run that<br>
>> pi for t least an hour, but it chops it off in 2 minutes.<br>
>> currently running 2.7.4 on raspios buster.<br>
> <br>
> I think nut only works with lathes made after 1969 :-)<br>
> <br>
> But seriously, a lot has been fixed/added since 2.7.4.<br>
<br>
nut-2.7.4 on the pi looks like it must have been from a gzip, so its not <br>
precious.<br>
<br>
So how about the rest of a git clone commandline for the latest? My pi <br>
can build it and keep it up to date then as it has a complete build <br>
system on it, builds its own pre-emt-realtime kernels AND linuxcnc.<br>
> <br>
> As I understand it, offdelay is about the time delta from telling the<br>
> ups to shut down until it kills power, so the OS can sync disks. I have<br>
> a 90s UPS with a 10s delay and nut does not try to shut down until I get<br>
> a lowbattery indication, so I get 30 minutes of runtime with graceful<br>
> stop, vs maybe 40-something without nut to empty/hard-off.<br>
> <br>
> Is your UPS shutting down without nut telling it to?<br>
> .<br>
<br>
Cheers, Gene Heskett.<br>
-- <br>
"There are four boxes to be used in defense of liberty:<br>
soap, ballot, jury, and ammo. Please use in that order."<br>
-Ed Howdershelt (Author, 1940)<br>
If we desire respect for the law, we must first make the law respectable.<br>
- Louis D. Brandeis<br>
Genes Web page <<a href="http://geneslinuxbox.net:6309/" rel="noreferrer" target="_blank">http://geneslinuxbox.net:6309/</a>><br>
<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div>