<br><br><div class="gmail_quote">On Thu, Sep 6, 2012 at 7:07 AM, bill <span dir="ltr"><<a href="mailto:william@techservsys.com" target="_blank">william@techservsys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#006600"><div><div class="h5">
<div>On 9/5/2012 12:32 PM, Tommy Trussell
wrote:<br>
</div>
<blockquote type="cite">On Sat, Sep 1, 2012 at 9:12 AM, william drescher <span dir="ltr"><<a href="mailto:william@techservsys.com" target="_blank">william@techservsys.com</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a APC 750 with the usb port connected to a 12.04 Unbutu
system.<br>
<br>
After about a day of operation I start getting the following
error:<br>
<br>
Aug 31 23:13:57 ubuntu3 kernel: [128564.632031] hub 2-0:1.0:
unable to enumerate USB device on port 3<br>
<br>
Checking the syslog I find the following repeated over and
over, with the device number going up by one each time:<br>
<br>
Aug 31 23:13:25 ubuntu3 kernel: [128532.951308] hub 2-0:1.0:
port 3 disabled by hub (EMI?), re-enabling...<br>
Aug 31 23:13:25 ubuntu3 kernel: [128532.952063] usb 2-3: USB
disconnect, device number 110<br>
Aug 31 23:13:25 ubuntu3 kernel: [128532.952267] usb 2-3: ctrl
urb status -62 received<br>
Aug 31 23:13:25 ubuntu3 kernel: [128533.260039] usb 2-3: new
low-speed USB device number 111 using ohci_hcd<br>
...<br>
Aug 31 23:13:27 ubuntu3 kernel: [128534.796543] generic-usb
0003:051D:0002.006F: hiddev0,hidraw2: USB HID v1.10 Device
[American Power Conversion Smart-UPS 750 FW:651.13.D USB
FW:7.3] on usb-0000:00:02.0-3/input0<br>
Aug 31 23:13:33 ubuntu3 apcupsd[4213]: Communications with UPS
restored.<br>
...<br>
Aug 31 23:13:56 ubuntu3 kernel: [128563.596881] hub 2-0:1.0:
port 3 disabled by hub (EMI?), re-enabling...<br>
Aug 31 23:13:56 ubuntu3 kernel: [128563.597605] usb 2-3: USB
disconnect, device number 111<br>
Aug 31 23:13:56 ubuntu3 kernel: [128563.597838] usb 2-3: ctrl
urb status -62 received<br>
Aug 31 23:13:56 ubuntu3 kernel: [128563.900049] usb 2-3: new
low-speed USB device number 112 using ohci_hcd<br>
Aug 31 23:13:56 ubuntu3 kernel: [128564.137852] usb 2-3: can't
set config #1, error -62<br>
Aug 31 23:13:56 ubuntu3 kernel: [128564.138747] hub 2-0:1.0:
port 3 disabled by hub (EMI?), re-enabling...<br>
Aug 31 23:13:56 ubuntu3 kernel: [128564.139398] usb 2-3: USB
disconnect, device number 112<br>
<br>
until it reverts to this error message<br>
<br>
<br>
Aug 31 23:13:56 ubuntu3 kernel: [128564.384041] hub 2-0:1.0:
unable to enumerate USB device on port 3<br>
Aug 31 23:13:57 ubuntu3 kernel: [128564.632031] hub 2-0:1.0:
unable to enumerate USB device on port 3<br>
Aug 31 2<br>
<br>
with the last message repeated 3 times a second after that.<br>
<br>
Does this suggest a problem with the APC unit ? (it is
directly connected to the computer port) or a ubuntu issue ?<br>
<br>
bill<br>
<span><font color="#888888"><br>
</font></span></blockquote>
<div><br>
</div>
<div><br>
</div>
<div>I was curious about your question so I did a couple of
Google searches and found a lot of reports of similar issues.
I also have an APC UPS but I don't have anything connected to
its USB port.</div>
<div><br>
</div>
<div>1) Was your Ubuntu 12.04 system upgraded from a previous
version or a new install? A few of the reports indicated a
problem with an old unsupported driver that could be disabled
to eliminate the error. <br>
</div>
</div>
</blockquote></div></div>
it was an upgrade.<div class="im"><br>
<blockquote type="cite">
<div class="gmail_quote">
<div><br>
</div>
<div>2) For diagnostic purposes, you might try connecting the
UPS via a USB hub to see if the error messages go away. You
might also try connecting a USB keyboard or mouse to the
system (if you aren't using them already) to see if you get a
similar message. Some hardware apparently has trouble
supporting old slow USB devices.</div>
</div>
</blockquote></div>
good idea<div class="im"><br>
<blockquote type="cite">
<div class="gmail_quote">
</div>
<br>
<div>3) Since you have the UPS connected to the USB port, do you
also have some special software that is monitoring it, or does
the UPS port send a generic "power down" message after a period
of time? If you are running some special software you might
check to make sure it is compatible with Ubuntu 12.04. Have you
recently tested the UPS shutdown by pulling the plug?</div>
</blockquote></div>
I use APCUPSD. It works fine on the other 2 servers that I just
upgraded.<br>
If the UPS is not communicating, I can not test the shutdown.<br>
<br>
The thing that bothers me the most is the "port 3 disabled by hub
(EMI?)" which makes me suspect the UPS<div class="im"><br>
<blockquote type="cite">
<div><br>
</div>
<div>I don't have answers that might fix your issues, but I hope
those questions (plus some searches of your own) get you closer
to the answer.</div>
<div><br>
</div>
</blockquote></div>
thanks<span class="HOEnZb"><font color="#888888"><br>
<br>
</font></span></div><div bgcolor="#FFFFFF" text="#006600"><span class="HOEnZb"><font color="#888888"><br></font></span></div></blockquote><div><br></div><div>Based on your responses I would look at disabling ehci_hcd -- here are a couple of examples from my Google search:</div>
<div><br></div><div><a href="http://www.geekdevs.com/2010/04/solved-unable-to-enumerate-usb-device-disabling-ehci_hcd/">http://www.geekdevs.com/2010/04/solved-unable-to-enumerate-usb-device-disabling-ehci_hcd/</a></div><div>
<br></div><div><a href="http://uucode.com/blog/2011/01/18/solved-unable-to-enumerate-usb-device-on-port-1/">http://uucode.com/blog/2011/01/18/solved-unable-to-enumerate-usb-device-on-port-1/</a></div><div><br></div><div>I have never tried APCUPSD on my hardware... but you might also scan through the known issues:</div>
<div><br></div><div><a href="http://www.apcupsd.org/manual/manual.html#known-linux-usb-issues">http://www.apcupsd.org/manual/manual.html#known-linux-usb-issues</a></div></div>