public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Weird USB over-current messages in recent kernels...
@ 2011-07-05 22:08 Valdis.Kletnieks
  2011-07-06 14:52 ` Alan Stern
  0 siblings, 1 reply; 3+ messages in thread
From: Valdis.Kletnieks @ 2011-07-05 22:08 UTC (permalink / raw)
  To: linux-kernel, linux-usb, Alan Stern

[-- Attachment #1: Type: text/plain, Size: 1924 bytes --]

Seen during boot the last few days on my laptop:

running 3.0.0-rc4-mmotm0622:
Jul  2 13:08:37 turing-police kernel: [    2.788108] hub 2-0:1.0: over-current condition on port 1
Jul  2 13:08:37 turing-police kernel: [    2.990088] hub 2-0:1.0: over-current condition on port 2
Jul  2 13:08:37 turing-police kernel: [    3.193073] hub 6-0:1.0: over-current condition on port 1
Jul  2 13:08:37 turing-police kernel: [    3.395088] hub 6-0:1.0: over-current condition on port 2

running 3.0.0-rc5-mmotm0630:
Jul  5 09:43:36 turing-police kernel: [  203.686082] hub 6-0:1.0: over-current condition on port 1
Jul  5 09:43:36 turing-police kernel: [  203.969179] hub 6-0:1.0: over-current condition on port 2
Jul  5 09:43:36 turing-police kernel: [  204.217077] hub 6-0:1.0: over-current condition on port 1

The problem?  I don't see any devices that would *cause* the condition:

#  lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 413c:2513 Dell Computer Corp. 
Bus 001 Device 003: ID 413c:2513 Dell Computer Corp. 
Bus 005 Device 002: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
Bus 001 Device 005: ID 045e:0023 Microsoft Corp. Trackball Optical
Bus 001 Device 006: ID 0e8f:0020 GreenAsia Inc. USB to PS/2 Adapter

The device 5 and 6 on bus 1 are attached to the docking station, the Jul 2 boot
was undocked and those two devices weren't present. Nobody home on bus 2 or 6
at any time, as far as I can tell.

Any ideas?

[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Weird USB over-current messages in recent kernels...
  2011-07-05 22:08 Weird USB over-current messages in recent kernels Valdis.Kletnieks
@ 2011-07-06 14:52 ` Alan Stern
  2011-07-06 15:38   ` Sergei Shtylyov
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Stern @ 2011-07-06 14:52 UTC (permalink / raw)
  To: Valdis.Kletnieks; +Cc: linux-kernel, linux-usb

On Tue, 5 Jul 2011 Valdis.Kletnieks@vt.edu wrote:

> Seen during boot the last few days on my laptop:
> 
> running 3.0.0-rc4-mmotm0622:
> Jul  2 13:08:37 turing-police kernel: [    2.788108] hub 2-0:1.0: over-current condition on port 1
> Jul  2 13:08:37 turing-police kernel: [    2.990088] hub 2-0:1.0: over-current condition on port 2
> Jul  2 13:08:37 turing-police kernel: [    3.193073] hub 6-0:1.0: over-current condition on port 1
> Jul  2 13:08:37 turing-police kernel: [    3.395088] hub 6-0:1.0: over-current condition on port 2
> 
> running 3.0.0-rc5-mmotm0630:
> Jul  5 09:43:36 turing-police kernel: [  203.686082] hub 6-0:1.0: over-current condition on port 1
> Jul  5 09:43:36 turing-police kernel: [  203.969179] hub 6-0:1.0: over-current condition on port 2
> Jul  5 09:43:36 turing-police kernel: [  204.217077] hub 6-0:1.0: over-current condition on port 1
> 
> The problem?  I don't see any devices that would *cause* the condition:

> The device 5 and 6 on bus 1 are attached to the docking station, the Jul 2 boot
> was undocked and those two devices weren't present. Nobody home on bus 2 or 6
> at any time, as far as I can tell.
> 
> Any ideas?

That message was added recently, which may explain why you haven't seen 
it before.

For more debugging, please collect a usbmon log for bus 2 or bus 6 (see 
Documentation/usb/usbmon.txt).  In fact, you might try doing this for 
an earlier kernel as well.

It may be that your host controllers claim that an over-current
condition exists when it really doesn't, or it may be that those ports
are wired incorrectly and really do have an over-current condition.

Alan Stern


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Weird USB over-current messages in recent kernels...
  2011-07-06 14:52 ` Alan Stern
@ 2011-07-06 15:38   ` Sergei Shtylyov
  0 siblings, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2011-07-06 15:38 UTC (permalink / raw)
  To: Alan Stern; +Cc: Valdis.Kletnieks, linux-kernel, linux-usb

Hello.

Alan Stern wrote:

>> Seen during boot the last few days on my laptop:

>> running 3.0.0-rc4-mmotm0622:
>> Jul  2 13:08:37 turing-police kernel: [    2.788108] hub 2-0:1.0: over-current condition on port 1
>> Jul  2 13:08:37 turing-police kernel: [    2.990088] hub 2-0:1.0: over-current condition on port 2
>> Jul  2 13:08:37 turing-police kernel: [    3.193073] hub 6-0:1.0: over-current condition on port 1
>> Jul  2 13:08:37 turing-police kernel: [    3.395088] hub 6-0:1.0: over-current condition on port 2

>> running 3.0.0-rc5-mmotm0630:
>> Jul  5 09:43:36 turing-police kernel: [  203.686082] hub 6-0:1.0: over-current condition on port 1
>> Jul  5 09:43:36 turing-police kernel: [  203.969179] hub 6-0:1.0: over-current condition on port 2
>> Jul  5 09:43:36 turing-police kernel: [  204.217077] hub 6-0:1.0: over-current condition on port 1

>> The problem?  I don't see any devices that would *cause* the condition:

>> The device 5 and 6 on bus 1 are attached to the docking station, the Jul 2 boot
>> was undocked and those two devices weren't present. Nobody home on bus 2 or 6
>> at any time, as far as I can tell.

>> Any ideas?

> That message was added recently, which may explain why you haven't seen 
> it before.

    Wasn't there a similar dev_err() message before that patch that added this 
message (the previous message was printed on any over-current signal change)?

> For more debugging, please collect a usbmon log for bus 2 or bus 6 (see 
> Documentation/usb/usbmon.txt).  In fact, you might try doing this for 
> an earlier kernel as well.

> It may be that your host controllers claim that an over-current
> condition exists when it really doesn't, or it may be that those ports
> are wired incorrectly and really do have an over-current condition.

    If it's EHCI driver, there's module option to suppress over-current 
checking, called 'ignore_oc'. It should help with bogus over-current signalling...

> Alan Stern

WBR, Sergei

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-06 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-05 22:08 Weird USB over-current messages in recent kernels Valdis.Kletnieks
2011-07-06 14:52 ` Alan Stern
2011-07-06 15:38   ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox