[Nut-upsuser] No run cmd /usbhid-ups -k !
icingaj at gmail.com
icingaj at gmail.com
Mon Jul 2 14:57:59 BST 2018
> -----Original Message-----
> From: Charles Lepple <clepple at gmail.com>
> Sent: Monday, July 2, 2018 3:16 PM
> To: icingaj at gmail.com
> Cc: nut-upsuser at alioth-lists.debian.net
> Subject: Re: [Nut-upsuser] No run cmd /usbhid-ups -k !
>
> On Jul 2, 2018, at 9:02 AM, icingaj at gmail.com wrote:
> >
> > ioctl(12, USBDEVFS_CLAIMINTERFACE, 0xbecf910c) = -1 EBUSY (Resource
> > busy) ioctl(12, USBDEVFS_GETDRIVER, 0xbecf9024) = 0 writev(2, [{"Can't
> > claim USB device [0463:fff"..., 62}, {NULL, 0}], 2Can't claim USB
> > device [0463:ffff]: No such file or directory
> > ) = 62
> > exit_group(1) = ?
> > +++ exited with 1 +++
> >
> > Why?
>
> did you see this reply?
>
>
https://alioth-lists.debian.net/pipermail/nut-upsuser/2018-July/011147.html
>
> if that does not change the strace output, how is your OS launching the
NUT
> driver? Are the startup scripts in a repository somewhere?
>
> (if you aren't getting replies, you can check if you are subscribed here:
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser )
I kill the previous usbhid-ups and run usbhid-ups -k -DD.
The log is:
5.401723 Initiating UPS shutdown
5.401852 upsdrv_shutdown ...
5.401974 instcmd (shutdown.return, [NULL])
5.402133 find_nut_info: unknown info type: shutdown.return
5.402290 setvar (ups.start.auto, yes)
5.431000 instcmd (load.on.delay, 30)
5.467001 instcmd (load.off.delay, 20)
5.503049 upsdrv_cleanup ...
"usbhid-ups -k" does not have a network connection to UPS nothing happened.
More information about the Nut-upsuser
mailing list