on 07/02/2011 15:36 Arjen de Korte wrote:
Citeren Kevin <bakd...@gmail.com>:

Of course. Do as I asked you and it *will* make a difference.


You could have perhaps made a point of the sudden change to a different command. Others also missed this subtlety.


I did this with the old working modified hidups driver:

# ./hidups -DDD -k /dev/hiddev0
Network UPS Tools: HID UPS driver 0.13 (2.0.0)

Use nut-2.6.0 instead. The above version is too old and I have no idea what variables it supports (and I don't want to take the time finding out).

You miss the point entirely. I am giving you code that works, whereas yours does not. Surely a programmers dream.

The name change of the command is critical here. NUT will use whatever mapping it finds first, so that's the reason I asked you to use 'shutdown.return' for this specific HID path instead. Otherwise the command will never be reached if you call the driver with '-k' and when you run 'shutdown.reboot' it will probably find a different HID path first.

Ok, I'll give this a try too.


_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to