search for: usbdevfs_discardurb

Displaying 3 results from an estimated 3 matches for "usbdevfs_discardurb".

2016 Oct 22
3
Data Stale at random intervals
- Charles > On Oct 16, 2016, at 3:34 AM, Daniel Shields <grungelizard9 at hotmail.com> wrote: > > I've been testing with debug further and there's a few extra lines when the nut-server stops communicating as opposed to when it's running. > > > Backtrace after stale data, UPS nailbunny at localhost is unavailable: > Sorry to take a while to get back to you
2016 Oct 28
0
Data Stale at random intervals
...================== select(5, NULL, [4], NULL, {0, 1000}) = 0 (Timeout) ioctl(4, USBDEVFS_REAPURBNDELAY, 0x7ffe72cb0678) = -1 EAGAIN (Resource temporarily unavailable) select(5, NULL, [4], NULL, {0, 1000}) = 1 (out [4], left {0, 253}) ioctl(4, USBDEVFS_REAPURBNDELAY, 0x7ffe72cb0678) = 0 ioctl(4, USBDEVFS_DISCARDURB, 0x7ffe72cb06b0) = -1 EINVAL (Invalid argument) ioctl(4, USBDEVFS_REAPURB ====================== I think it's the error from second-to-last ioctl (USBDEVFS_DISCARDURB) which is throwing off libusb-0.1. Earlier in the log, it always gets 0 instead of -1 for the return code, and the USBDEVFS_REA...
2008 Jan 25
3
Bug#462468: nut: megatec_usb ups not detected since 2.2.1 update anymore
...Resource temporarily unavailable) > [pid 23913] select(5, NULL, [4], NULL, {0, 1000}) = 0 (Timeout) > [pid 23913] gettimeofday({1201220631, 712517}, NULL) = 0 > [pid 23913] ioctl(4, USBDEVFS_REAPURBNDELAY, 0xbfac4d18) = -1 EAGAIN (Resource temporarily unavailable) > [pid 23913] ioctl(4, USBDEVFS_DISCARDURB, 0xbfac4cd4) = 0 > [pid 23913] ioctl(4, USBDEVFS_REAPURB, 0xbfac4d18) = 0 > [pid 23913] write(2, "Megatec protocol UPS not detecte"..., 35Megatec protocol UPS not detected. > ) = 35 > > > I'm back to 2.2.0-2.1 for now. > > If you have further questions or somet...