From: David Brownell <david-b@pacbell.net>
To: me@felipebalbi.com
Cc: felipe.balbi@nokia.com, ext Ashwin Bihari <abihari@gmail.com>,
linux-omap@vger.kernel.org
Subject: Re: Enabling MUSB support
Date: Fri, 29 Aug 2008 13:50:16 -0700 [thread overview]
Message-ID: <200808291350.17181.david-b@pacbell.net> (raw)
In-Reply-To: <20080829202114.GA14130@frodo>
On Friday 29 August 2008, Felipe Balbi wrote:
> > You're talking about some other problem. I'm talking about
> > the one where it *OOPSES* while binding to the gadget driver.
>
> Hmm, that I've never seend. Using musb with omap3 and n810.
Right, that's why I thought I'd chase the easier host-side issue
first. Must have "apt-get install ..." working after all!!
> > > Beagle should be sourcing up to 200mA. See if this patch helps:
> >
> > Just 200 mA? That could explain a lot. Though looking
> > at the Beagle TRM, it says "100mA" (as with TUSB) ...
> > some version of this patch seems necessary. (I have some
> > others to usb-musb.c, will send them all.)
>
> Yeah, the TRM says 100mA but I could use 200mA storage devices with
> heavy transfers without any problems.
Were those self-powered devices, or bus-powered? Descriptors
are not entirely trustworthy about current usage. Sometimes
they represent worst-case; sometimes it's best-case.
> Do you have the BLACKLIST_HUB set? (just to be sure).
No, that's not set.
> > > I think I recall seeing this with my sniffer, but as it seemed not be
> > > generating much problems, I let it be since I had other stuff to check.
> > > Looks like I was wrong... :-s
> >
> > The ep3in/status stuff is no problem. The problem is the VBUS_ERR irq.
>
> That irq is buggy, we had to put a retry since musb was rasing that
> interrupt durring enumeration for a few usb devices (bad capacitors?).
IMO it's the silicon that's buggy. The specific window I kept seeing
was between VBUS_ON and the 100msec later where it's expected to be
stable. During that window, VBUS is allowed to not be stable ... which
is good, because that's when current spikes happen while charging the
various capacitances involved. (Cable, caps at either end, etc.)
I saw TUSB6010 reporting VBUS_ERR during that 100msec window ... and
same thing with DaVinci. Both needed retry logic to cope with the
inappropriate VBUS fault reports. The thing in common is the silicon
IP, not the hardware.
- Dave
next prev parent reply other threads:[~2008-08-29 20:50 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-27 13:26 Enabling MUSB support Ashwin Bihari
2008-08-27 13:38 ` Felipe Balbi
2008-08-27 13:51 ` Ashwin Bihari
2008-08-27 13:55 ` Felipe Balbi
2008-08-27 14:10 ` Gadiyar, Anand
2008-08-28 6:54 ` David Brownell
2008-08-28 7:58 ` Koen Kooi
2008-08-28 8:02 ` Gadiyar, Anand
2008-09-02 22:37 ` Tony Lindgren
2008-08-28 9:07 ` Felipe Balbi
2008-08-28 10:19 ` Gadiyar, Anand
2008-08-28 10:28 ` Felipe Balbi
2008-08-28 11:20 ` Felipe Balbi
2008-08-29 4:41 ` Gupta, Ajay Kumar
2008-08-29 4:50 ` Gadiyar, Anand
2008-08-29 7:49 ` Felipe Balbi
2008-08-29 8:36 ` Gadiyar, Anand
2008-08-29 9:18 ` Felipe Balbi
2008-08-29 9:23 ` Gadiyar, Anand
2008-08-29 9:25 ` Felipe Balbi
2008-08-29 9:32 ` Gadiyar, Anand
2008-08-29 18:12 ` David Brownell
2008-08-29 19:00 ` Felipe Balbi
2008-08-29 20:05 ` David Brownell
2008-08-29 20:21 ` Felipe Balbi
2008-08-29 20:33 ` Felipe Balbi
2008-08-29 20:50 ` David Brownell [this message]
2008-08-29 20:59 ` Felipe Balbi
2008-09-07 20:22 ` David Brownell
2008-09-02 22:36 ` Tony Lindgren
2008-08-27 13:40 ` Gadiyar, Anand
2008-08-27 13:53 ` Ashwin Bihari
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=200808291350.17181.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=abihari@gmail.com \
--cc=felipe.balbi@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=me@felipebalbi.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox