[Nut-upsdev] CyberPower SX650G no driver.

Roger Price roger at rogerprice.org
Sun Oct 30 14:16:16 UTC 2016


> Below you'll find one or more lines starting with 'exec:' followed by an 
> absolute path to the driver binary and some command line option. This is 
> what the driver starts and you need to copy and paste that line and 
> append the debug flags to that line (less the 'exec:' prefix).

   0.007145     Shutdown UPS: serverups
   0.007618     exec:  /lib/nut/usbhid-ups -a serverups -k

On Sun, 30 Oct 2016, Raymond Day wrote:

> I did just copy and paste on the command line like this:
>
> root at odroid-u2:/etc/nut# Shutdown UPS: serverups
> -bash: Shutdown: command not found

> Don't know why it says "-bash: Shutdown: command not found"

There is no command Shutdown with an upper case "S".

In any case, you only needed to copy the lines preceeded by "exec".

> root at odroid-u2:/etc/nut# /lib/nut/usbhid-ups -a serverups -k
> Network UPS Tools - Generic HID driver 0.37 (2.6.4)
> USB communication driver 0.31
> Using subdriver: CyberPower HID 0.3
> Initiating UPS shutdown
> root at odroid-u2:/etc/nut#
>
> But the next command "/lib/nut/usbhid-ups -a serverups -k" sounds like
> it turn off the UPS for a sec. then back on. So not sure if it did a
> poweroff command before that.

For more detail, try adding the -DD debug flags as suggested previously.

Roger


More information about the Nut-upsdev mailing list