[Nut-upsuser] forcing the driver to issue a different command on shutdown

hyouko at gmail.com hyouko at gmail.com
Sat Nov 23 21:21:55 UTC 2013


In general if you want to use the Sn command you have to set 'ondelay'
to 0 (supported starting from 2.7.1, previously an ondelay = 0 was
wrongly associated to the same command that causes a
shutdown.stayoff).
However.. It seems to me that the driver is using the 'krauler' usb
subdriver, if that is the case the only commands sent by the subdriver
are these ones:
- Q1 -> used for the status
- F -> used for ratings
- I -> used for ratings
- T -> test.battery.start.quick
- TL  -> test.battery.start.deep
- Q -> beeper.toggle
- C -> shutdown.stop/load.on
- CT -> test.battery.stop
All other commands are simply echoed back by the subdriver itself,
they don't even get sent to the UPS.

If the UPS has a serial interface, using it may provide more chances of success.



More information about the Nut-upsuser mailing list