[Nut-upsuser] I can't make changes to ups.delay.shutdown to stick

Mick michaelkintzios at gmail.com
Sat Apr 5 11:18:54 UTC 2014


Hi All,

I'm using an iDowell UPS with the usbhid-ups driver:

$ upsc iDowell at localhost
battery.charge: 100
battery.charge.low: 15
battery.runtime: 650
battery.type: Pb acc
device.mfr: iDowell
device.model: iBox
device.serial: 00000001
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.productid: 0300
driver.parameter.vendorid: 075d
driver.version: 2.6.5
driver.version.data: iDowell HID 0.1
driver.version.internal: 0.37
input.transfer.high: 254
input.transfer.low: 105
output.frequency.nominal: 50
output.voltage: 230.0
output.voltage.nominal: 230
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 33
ups.mfr: iDowell
ups.model: iBox
ups.power.nominal: 257
ups.productid: 0300
ups.serial: 00000001
ups.status: OL CHRG
ups.timer.shutdown: 60
ups.timer.start: 0
ups.vendorid: 075d

I thought of increasing the ups.delay.shutdown value from 20 to a higher 
value.

The changes seem to take:

$ upsc iDowell at localhost ups.delay.shutdown
20

$ upsrw -s "ups.delay.shutdown"="30" iDowell at localhost
Username (suzy): admin
Password: 
OK

$ upsc iDowell at localhost ups.delay.shutdown
30


However, following a reboot the ups.delay.shutdown reverts to the default 
value of 20s.  I tried running the upsrw -s command as root, but also got 20s 
after a reboot.  This is what the access rights of the configuration files 
look like:

$ ls -la /etc/nut
total 48
drwxr-xr-x   2 root root  4096 Apr  4 19:09 .
drwxr-xr-x 105 root root 12288 Apr  5 08:15 ..
-rw-r--r--   1 root root  1546 Sep 22  2013 nut.conf
-rw-r--r--   1 root root  3805 Sep 18  2011 ups.conf
-rw-r-----   1 root nut   2744 Oct  9 06:50 upsd.conf
-rw-r-----   1 root nut   2301 Oct  9 06:50 upsd.users
-rw-r-----   1 root nut  11982 Oct  9 06:47 upsmon.conf
-rw-r--r--   1 root root  3891 Sep 22  2013 upssched.conf


How is this supposed to work?

-- 
Regards,
Mick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20140405/c68dd33d/attachment-0001.sig>


More information about the Nut-upsuser mailing list