[Nut-upsuser] No run cmd /usbhid-ups -k !
icingaj at gmail.com
icingaj at gmail.com
Mon Jul 2 14:02:07 BST 2018
I used strace and the result is bus is busy:
clock_gettime(CLOCK_MONOTONIC, {8158, 708518222}) = 0
timerfd_settime(11, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={8159,
708518000}}, NULL) = 0
ioctl(12, USBDEVFS_SUBMITURB, 0x40810) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN}, {fd=11, events=POLLIN},
{fd=12, events=POLLOUT}], 4, 60000) = 1 ([{fd=12, revents=POLLOUT}])
ioctl(12, USBDEVFS_REAPURBNDELAY, 0xbecf8f24) = 0
timerfd_settime(11, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(12, USBDEVFS_REAPURBNDELAY, 0xbecf8f24) = -1 EAGAIN (Resource
temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {8158, 735783474}) = 0
timerfd_settime(11, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={8159,
735783000}}, NULL) = 0
ioctl(12, USBDEVFS_SUBMITURB, 0x40810) = 0
poll([{fd=7, events=POLLIN}, {fd=9, events=POLLIN}, {fd=11, events=POLLIN},
{fd=12, events=POLLOUT}], 4, 60000) = 1 ([{fd=12, revents=POLLOUT}])
ioctl(12, USBDEVFS_REAPURBNDELAY, 0xbecf8f24) = 0
timerfd_settime(11, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(12, USBDEVFS_REAPURBNDELAY, 0xbecf8f24) = -1 EAGAIN (Resource
temporarily unavailable)
ioctl(12, USBDEVFS_CLAIMINTERFACE, 0xbecf910c) = -1 EBUSY (Resource busy)
ioctl(12, USBDEVFS_GETDRIVER, 0xbecf9024) = 0
ioctl(12, USBDEVFS_CLAIMINTERFACE, 0xbecf910c) = -1 EBUSY (Resource busy)
ioctl(12, USBDEVFS_GETDRIVER, 0xbecf9024) = 0
ioctl(12, USBDEVFS_CLAIMINTERFACE, 0xbecf910c) = -1 EBUSY (Resource busy)
ioctl(12, USBDEVFS_GETDRIVER, 0xbecf9024) = 0
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?
My ups is:
[qnapups]
driver = usbhid-ups
port = auto
desc = Eaton 5SC 500i
vendorid = 0463*
serial = G131F50027
synchronous = no
pollonly
pollfreq = 10
nolock
-----Original Message-----
From: icingaj at gmail.com <icingaj at gmail.com>
Sent: Monday, July 2, 2018 8:40 AM
To: 'nut-upsuser at alioth-lists.debian.net'
<nut-upsuser at alioth-lists.debian.net>
Cc: 'icingaj at gmail.com' <icingaj at gmail.com>
Subject: No run cmd /usbhid-ups -k !
Sorry i forgot send info from:
# /lib/nut/usbhid-ups -DD -x explore -a qnapups &> usbhid-ups.debug.log
Thx Jan.
More information about the Nut-upsuser
mailing list