Hi Dan, newmge-shut prior to 2.6.4 were buggy. So stick with this one. Note that it will supersed mge-shut in 2.6.5.
Cheers Arno (on vacation) (sent from my S3... please excuse my brevity) Le 27 juil. 2012 11:32, "Daniel O'Connor" <docon...@gsoft.com.au> a écrit : > > On 27/07/2012, at 17:36, Daniel O'Connor wrote: > > On 21/07/2012, at 22:55, Charles Lepple wrote: > >>> Does anyone know if this is possible? A setting like this would > provide some hysteresis for successive power failures which would be handy > to have :) > >> > >> I don't know about that specific hardware, but the variables which > would control this are battery.charge.restart ("Minimum battery level for > UPS restart after power-off") and ups.delay.start ("Interval to wait before > restarting the load (seconds)"). Check the output of "upsrw <ups>" to see > if that variable is supported with your combination of UPS and driver. > >> > >> Which version of NUT are you using? There might be a newmge-shut driver > included as well. > > > > I tried mge-shut in 2.6 with no change, but newmge-shut with 2.6 showed > this parameter, thanks! > > > I retried 2.4 which has the new driver however its behaviour is different > to 2.6. > > It shows.. > [dhcp-72114 8:07] ~ >upsc ups1@localhost| grep battery > battery.capacity: 9.00 > battery.charge: 100 > battery.charge.low: 100 > battery.charge.restart: 100 > battery.runtime: 3960 > battery.type: PbAc > > vs 2.6.. > [dhcp-72114 8:05] ~/nut-2.6.4 >upsc ups1@localhost| grep battery > battery.capacity: 9.00 > battery.charge: 100 > battery.charge.low: 50 > battery.charge.restart: 0 > battery.energysave: no > battery.protection: yes > battery.runtime: 3960 > battery.type: PbAc > ups.start.battery: yes > > So I'll stick with 2.6 I think and do some more tests. > > -- > 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 >
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser