On Sunday, June 24, 2012, Rich Wrenn wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">I am seeing some problems when using the Powerware 5115 UPS when connected to the Patsburg USB controller and would like to know if anyone has a solution.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The symptom is that PING messages sent to the bcmxcp_usb driver take as long as 25 seconds to complete.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The configuration is a Romley patform (a.k.a., Sandy Bridge + Patsburg) running Debian 6 with 2.6.39 kernel with NUT 2.6.4 in which the Powerware is connected via USB 2.0 to the Patsburg.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Of note is that the following messages are logged in syslog frequently.<u></u><u></u></p><p class="MsoNormal">2012-06-21T09:03:10.754413+00:00 (none) kernel: [ 8659.067243] usb 2-1.4: usbfs: USBDEVFS_CONTROL failed cmd bcmxcp_usb rqt 66 rq 13 len 4 ret -110<u></u><u></u></p>
<p class="MsoNormal">I believe that these indicate that the USB driver is timing out USB messages to the UPS.<br><br><u></u><u></u></p></div></div></blockquote><div>That sounds about right. Unfortunately, the root cause could conceivably be anything from bad silicon to dropped interrupts to a flaky cable or jack. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">The identical setup running on a Westmere + Tylersburg + ICH10R works fine but on that platform the USB connection is USB 1.1.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p></div></div></blockquote><div>When you say that it is USB 1.1 here, is the other system connecting at a higher speed? Even with USB 2.0 controllers, most HID products (keyboard, mouse, UPS) will generally only connect at 1.5 Mbit/sec, since the device-side circuitry for that is much simpler. The kernel messages from when the UPS is plugged in should mention the speed. </div>
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"></div></blockquote><div>I know it sounds like snake oil, but try swapping the USB cable for a known good one. If not, it might be a kernel driver issue. Sorry it's a vague answer, but a more detailed analysis would probably need to be done by the engineers who built the UPS. <span></span></div>
<br><br>-- <br>- Charles Lepple<br>