<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Arno,<div><br></div><div>what version of Solaris or libusb required the interrupt pipe hack?</div><div><br></div><div>- Charles</div><div><br><div><div>On Dec 19, 2014, at 7:00 AM, Arnaud Quette <<a href="mailto:arnaud.quette@gmail.com">arnaud.quette@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div>Hi Matej,<br><br></div><div>I've cc'ed the developers mailing list for now...<br><br></div>thanks for your report. Could you please send in some driver debug traces (starting it manually, using "usbhid-ups -DDDDD ...")?<br></div>That would help in troubleshooting the issue.<br><br>thx and cheers,<br>Arno<br><div class="gmail_extra"><br><div class="gmail_quote">2014-12-19 8:48 GMT+01:00 Matej Sekoranja <span dir="ltr"><<a href="mailto:matej.sekoranja@gmail.com" target="_blank">matej.sekoranja@gmail.com</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Update: driver is not stable. I am switching to apcupsd-ups driver.<span class="HOEnZb"><font color="#888888"><div><br></div><div>Matej</div></font></span><div><div class="h5"><br><div><blockquote type="cite"><div>On 19 Dec 2014, at 01:21, Matej Sekoranja <<a href="mailto:matej.sekoranja@gmail.com" target="_blank">matej.sekoranja@gmail.com</a>> wrote:</div><br><div><div style="word-wrap:break-word">Hi,<div><br></div><div>I’ve recently installed OmniOS (running virtualized in VmWare ESXi with USB pass-through) and I got myself used APC SUA750I with USB port.</div><div>I’ve successfully installed NUT tools. All seemed to work fine…. however I got no change updates, e.g. if I disconnected AC there was no report about it via NUT.</div><div>Status was locked on OL, battery charge on 100% and so on… sometimes a value got updated, but this was very rare occasion (status was always OL).</div><div>System reboot helped to get recent values.</div><div><br></div><div>I’ve tried apcupsd and it worked flawlessly.</div><div>Then I wnt back to nut and I’ve noticed that interrupt processing is was disabled in NUT:</div><div><br></div><div><div style="margin:0px;font-size:13px;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">#if 1 //ndef SUN_LIBUSB</div><div style="margin:0px;font-size:13px;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">bool_t use_interrupt_pipe = TRUE;</div><div style="margin:0px;font-size:13px;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">#else</div><div style="margin:0px;font-size:13px;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">bool_t use_interrupt_pipe = FALSE;</div><div style="margin:0px;font-size:13px;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">#endif</div></div><div><br></div><div>A hack to a hack to enable it… fixed it. Now it works as it should.</div><div><br></div><div>It seems that SUN (well, Oracle) has fixed/updated their implementation… and requires IRQ to be processed.</div><div><br></div><div>Cheers,</div><div>Matej</div></div></div></blockquote></div><br></div></div></div></blockquote></div><br><div class="gmail_signature"><div dir="ltr"><br></div></div>
</div></div>
_______________________________________________<br>Nut-upsdev mailing list<br><a href="mailto:Nut-upsdev@lists.alioth.debian.org">Nut-upsdev@lists.alioth.debian.org</a><br>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev</blockquote></div><br>
<br></div></body></html>