<div dir="ltr">Hi,<br><br>Unfortunately this approach isn't going to work.<div><br><div>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.</div><div><br></div><div><a href="https://mail-index.netbsd.org/tech-misc/2006/03/17/0000.html">https://mail-index.netbsd.org/tech-misc/2006/03/17/0000.html</a></div><div><br></div><div>The person above worked around this by having the device opened in non blocking mode using the <span style="color:rgb(0,0,0);line-height:normal">O_NONBLOCK flag but this required changing libusb</span>.</div><div><br></div><div>Am I out of luck?</div><div><br></div><div>Regards,</div><div>Richard</div><div><br></div><br><div class="gmail_quote">On Mon, Apr 6, 2015 at 1:42 AM Charles Lepple <<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">On Apr 5, 2015, at 12:26 AM, Richard Flint <<a href="mailto:richard.flint@gmail.com" target="_blank">richard.flint@gmail.com</a>> wrote:<br></div><div style="word-wrap:break-word"><div><br><blockquote type="cite"><div dir="ltr"><div>Any idea how i can get NUT to build against this libopenusb which has been installed by Solaris?</div></div></blockquote></div></div><div style="word-wrap:break-word"><div>...</div></div><div style="word-wrap:break-word"><div><br><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">It might be possible to do the following:</div><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">• <strike>install openusb into an alternate directory (e.g. $HOME/local)</strike></div><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">• set PKG_CONFIG_PATH to anything that doesn't contain the system libusb.pc</div><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">• put $HOME/local/bin (or wherever openusb-config gets installed) at the front of the $PATH, and symlink openusb-config to libusb-config</div><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">• reconfigure NUT</div><br></div></blockquote></div></blockquote></div></div><div style="word-wrap:break-word"><div></div><div><br></div><div>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).</div><div><br></div><div>If that works, we can add openusb-config into the search.</div></div><div style="word-wrap:break-word"><br><div>
<span style="border-collapse:separate;border-spacing:0px"><div>-- </div><div>Charles Lepple</div><div>clepple@gmail</div><div><br></div></span><br>

</div>
<br></div></blockquote></div></div></div>