search for: openusb

Displaying 11 results from an estimated 11 matches for "openusb".

Did you mean: openups
2015 Apr 05
2
nutdrv_qx hangs after send: QS
...15 at 3:10 AM Charles Lepple <clepple at gmail.com> wrote: > >> On Apr 4, 2015, at 9:48 PM, Richard Flint <richard.flint at gmail.com> >> wrote: >> >> Again, apologies for my ignorance - are you suggesting that if the NUT >> application was built against openusb this would probably be fixed? >> >> >> Yes, that is my current theory. It's a little complicated in practice - >> openusb has a different API than libusb-0.1.x, but it supposedly includes a >> compatibility layer. >> >> If openusb works, I would not exp...
2015 Apr 05
2
nutdrv_qx hangs after send: QS
On Apr 4, 2015, at 9:48 PM, Richard Flint <richard.flint at gmail.com> wrote: > Again, apologies for my ignorance - are you suggesting that if the NUT application was built against openusb this would probably be fixed? Yes, that is my current theory. It's a little complicated in practice - openusb has a different API than libusb-0.1.x, but it supposedly includes a compatibility layer. If openusb works, I would not expect it to wait for more than 1 or 5 seconds when reading the...
2015 Apr 05
2
nutdrv_qx hangs after send: QS
Hi, I couldn't get openusb to make successfully but the good news is that Solaris seems to include openusb in the package repository and I have now installed it: ./usr/lib/libopenusb.so.0.0.1 Any idea how i can get NUT to build against this libopenusb which has been installed by Solaris? Regards, Richard On Sun, Apr 5, 2...
2015 Apr 05
0
nutdrv_qx hangs after send: QS
...5 PM, Richard Flint <richard.flint at gmail.com> wrote: > Hi, > > Apologies for the many replies. I have found this documentation: > http://www.lehman.cuny.edu/cgi-bin/man-cgi?ugen+7 > > (I am using the ugen driver). Right, AFAIK ugen is the kernel driver that libusb and openusb talk to (/dev/usb/*). Updated diagram: upsc --- upsd --- nutdrv_qx --- libusb -+- ugen driver --- Solaris kernel --- UPS > Richard > > On Sun, Apr 5, 2015 at 3:34 AM Richard Flint <richard.flint at gmail.com> wrote: > Hi, > > I have to admit this sounds like it could scr...
2015 Apr 05
0
nutdrv_qx hangs after send: QS
..., Richard On Sun, Apr 5, 2015 at 3:10 AM Charles Lepple <clepple at gmail.com> wrote: > On Apr 4, 2015, at 9:48 PM, Richard Flint <richard.flint at gmail.com> wrote: > > Again, apologies for my ignorance - are you suggesting that if the NUT > application was built against openusb this would probably be fixed? > > > Yes, that is my current theory. It's a little complicated in practice - > openusb has a different API than libusb-0.1.x, but it supposedly includes a > compatibility layer. > > If openusb works, I would not expect it to wait for more than...
2015 Apr 05
2
nutdrv_qx hangs after send: QS
...39;t find any relevant source code when searching for Solaris libusb 0.1.7 with Google. Do you have any other information about the libusb that is installed there? There is also this fork of libusb that claims to support Solaris, and the code seems to have timeouts: http://sourceforge.net/projects/openusb/ -- Charles Lepple clepple at gmail -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150404/d7536c99/attachment.html>
2015 Apr 06
2
nutdrv_qx hangs after send: QS
...red changing libusb. Am I out of luck? Regards, Richard On Mon, Apr 6, 2015 at 1:42 AM Charles Lepple <clepple at gmail.com> wrote: > On Apr 5, 2015, at 12:26 AM, Richard Flint <richard.flint at gmail.com> > 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 >> ?...
2015 Apr 06
0
nutdrv_qx hangs after send: QS
On Apr 5, 2015, at 12:26 AM, Richard Flint <richard.flint at gmail.com> 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-co...
2015 Apr 05
0
nutdrv_qx hangs after send: QS
Again, apologies for my ignorance - are you suggesting that if the NUT application was built against openusb this would probably be fixed? If so I'm happy to give this a try - any idea how can I tell NUT to build against openusb instead of libusb? Regards, Richard On Sun, Apr 5, 2015 at 2:28 AM Charles Lepple <clepple at gmail.com> wrote: > On Apr 4, 2015, at 8:53 PM, Richard Flint <ri...
2015 Apr 06
0
nutdrv_qx hangs after send: QS
...ately, the ugen drivers in Solaris, NetBSD, FreeBSD, etc. are similarly named, but not necessarily the same code. At least with the *BSDs, you can inspect the code to see what has changed (and the BSD USB support has improved significantly across the board since 2006 when that message was posted). OpenUSB seems to work around the blocking issue by creating a separate timeout thread, so I still think there is some hope there. On the other hand, if that doesn't work, I would consider setting up another system dedicated to monitoring the UPS, and setup NUT on Solaris to be a client to the other sy...
2015 Apr 05
2
nutdrv_qx hangs after send: QS
Thank you for the rapid response. I will try and investigate getting answers to some of your points but I'm a little new to Solaris so I'll need some time. Glancing at the configure output, it looks like it built against v0.1.7 of libusb (yes i think that is derived from the one you mention), checking for libusb version via pkg-config... 0.1.7 found checking for libusb cflags... checking