All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
To: Alan Stern <stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org>
Cc: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>,
	Vivek Gautam
	<gautamvivek1987-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "ABRAHAM,
	KISHON VIJAY" <kishon-l0cyMroinI0@public.gmane.org>,
	linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: MUSB regression in linux next at least for pandboard
Date: Thu, 7 Feb 2013 11:16:07 +0200	[thread overview]
Message-ID: <511370D7.9070509@ti.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1302061038310.1893-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>

On 02/06/2013 05:43 PM, Alan Stern wrote:
> On Wed, 6 Feb 2013, Felipe Balbi wrote:
> 
>>> I can't reproduce the problem on Panda, but I can on Beagle with a slightly
>>> different behaviour.
>>>
>>> 1) connecting/disconnecting device directly to the beagleboard's USB port works fine.
>>>
>>> 2) If I connect a USB Hub to the port and connect a device to it after the hub has
>>> autosuspended, the device is never detected.
>>> doing lsusb after that triggers the detection and produces a lot of transaction errors.
>>> Beagle log is below, before and after 'lsusb'
>>>
>>> I suppose this doesn't affect Panda because it has a hub connected immediately below the
>>> root hub that never suspends (as ethernet is hardwired to it).
>>
>> Roger, try changing hub's autosuspend delay to something greater than
>> 30ms and see if it helps. There was a discussion lately about that.
> 
> There also were some patches to address this problem recently merged by
> Greg KH (they are in Linus's current git, added after 3.8-rc6 was 
> released):
> 
> da0aa7169b97d90f4af39a9dc84d58bbe19d7e78 USB: add usb_hcd_{start,end}_port_resume
> f292e7f9fb0e4bec68bbd83443407d6bb7922d36 USB: EHCI: notify usbcore about port resumes
> ee74290b7853db9d5fd64db70e5c175241c59fba USB: EHCI: fix timer bug affecting port resume
> 

Alan, thanks for the hints.

It seems the beagleboard problem is related to OMAP silicon errata [1].
Apparently, remote wakeup as well as host issued wakeup break omap-ehci and have
nothing to do with the hub or it's driver.

I'll work on this issue after I'm done with device tree migration.

cheers,
-roger

[1] - Advisory 3.1.1.157 EHCI Controller- Issue in Suspend Resume Protocol
http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=sprz278f&fileType=pdf
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2013-02-07  9:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20121004173107.GD3874@atomide.com>
     [not found] ` <20121004175742.GB9702@arwen.pp.htv.fi>
2012-10-05  1:39   ` MUSB regression in linux next at least for pandboard Tony Lindgren
2012-10-05  5:16     ` kishon
     [not found]     ` <20121005013910.GI3874-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2012-10-05 16:27       ` Tony Lindgren
2013-02-06 11:57         ` Vivek Gautam
     [not found]           ` <CAFp+6iEQ85EEt2m7f8WSo8y7te62O_R4iia3_xiSMjzLXrAy5g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-02-06 13:51             ` Felipe Balbi
     [not found]               ` <20130206135126.GA6773-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-02-06 15:03                 ` Roger Quadros
2013-02-06 15:29                   ` Felipe Balbi
2013-02-06 15:43                     ` Alan Stern
     [not found]                       ` <Pine.LNX.4.44L0.1302061038310.1893-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2013-02-07  9:16                         ` Roger Quadros [this message]
2013-02-07 14:10                           ` Grazvydas Ignotas
     [not found]                             ` <CANOLnOODiu+rEqCQH5BAzTXhWi4cUZO-OXO=-1xxyhMFW77UZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-04 11:36                               ` Roger Quadros
     [not found]                                 ` <515D65D3.40006-l0cyMroinI0@public.gmane.org>
2013-04-04 11:50                                   ` USB ehci suspend/resume on beagleboard Roger Quadros
2013-04-05 11:11                                     ` Grazvydas Ignotas
2013-04-05 11:55                                       ` Roger Quadros
2013-02-06 16:06               ` MUSB regression in linux next at least for pandboard Alan Stern
2013-02-07 14:56                 ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=511370D7.9070509@ti.com \
    --to=rogerq-l0cymroini0@public.gmane.org \
    --cc=balbi-l0cyMroinI0@public.gmane.org \
    --cc=gautamvivek1987-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=kishon-l0cyMroinI0@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.