Hi, Unfortunately this approach isn't going to work.
I've done some further research and it would appear that it is the underlying ugen device and not libusb that is failing to honor the timeout. https://mail-index.netbsd.org/tech-misc/2006/03/17/0000.html The person above worked around this by having the device opened in non blocking mode using the O_NONBLOCK flag but this required changing libusb. Am I out of luck? Regards, Richard On Mon, Apr 6, 2015 at 1:42 AM Charles Lepple <[email protected]> wrote: > On Apr 5, 2015, at 12:26 AM, Richard Flint <[email protected]> > wrote: > > Any idea how i can get NUT to build against this libopenusb which has been > installed by Solaris? > > ... > > It might be possible to do the following: >> >> • install openusb into an alternate directory (e.g. $HOME/local) >> • set PKG_CONFIG_PATH to anything that doesn't contain the system >> libusb.pc >> • put $HOME/local/bin (or wherever openusb-config gets installed) at the >> front of the $PATH, and symlink openusb-config to libusb-config >> • reconfigure NUT >> >> > Same sort of thing, just symlink or copy the openusb-config file such that > NUT's configure script picks that up first (it's looking for libusb.pc > first, then libusb-config). > > If that works, we can add openusb-config into the search. > > -- > Charles Lepple > clepple@gmail > > > >
_______________________________________________ Nut-upsuser mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

