From: Michael Trimarchi <michael@panicking.kicks-ass.org>
To: "Gadiyar, Anand" <gadiyar@ti.com>
Cc: Andreas Hartmetz <ahartmetz@gmail.com>,
Robert Nelson <robertcnelson@gmail.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: USB lockup on OMAP3530
Date: Thu, 11 Feb 2010 19:57:21 +0100 [thread overview]
Message-ID: <4B745311.4000708@panicking.kicks-ass.org> (raw)
In-Reply-To: <5A47E75E594F054BAF48C5E4FC4B92AB031E80D1A1@dbde02.ent.ti.com>
Hi
Gadiyar, Anand wrote:
> <snip>
>
>>>> So far I have tried many versions of the linux-omap and linux-omap-pm
>>>> kernel, from about 2.6.30 to the latest git version. They all exhibit
>>>> the USB OTG death bug.
>>>> I've used kernels with openembedded patches and without, currently
>>>> without. Yesterday I discovered the musb_hdrc.fifo_mode parameter and
>>>> played around with it. I also modified the given configurations. Result:
>>>> - FIFO configurations including .mode = BUF_DOUBLE don't work at all - no
>>>> devices work.
>>>> - the USB death bug is not fixed by:
>>>> - using only one endpoint
>>>> - using no TXRX entries but only separate RX and TX
>>>> (every endpoint gets a TX and an RX entry though)
>>>> - using a large number of endpoints with same maxpacket value
>>>> ... still no solution.
>>>>
>>>> Enabling debug output of the musb_hdrc driver (yes I've also compiled in
>>>> debug messages) is not very practical due to the high volume of
>>>> messages; also, when the bug occurs nothing special is printed. The
>>>> first error usually comes from the memory manager / filesystem
>>>> complaining that it can't do "IO to offline device", i.e. the
>>>> disappeared external harddisk (which contains the swapfile).
>>>>
>>>> I would *really* appreciate somebody looking into this because this
>>>> currently makes the hardware as useful as a brick for me. I can supply
>>>> debug output and test patches.
>
> Would you care to try these two patches please?
>
> http://marc.info/?l=linux-usb&m=125957336716915&w=2
>
> And
>
> The dependency patch:
> http://marc.info/?l=linux-usb&m=125879861004131&w=2
>
>
> Let me know if these fix the bug for you.
>
Use an hub with external power and connect the hub to the OTG and the device to the HUB.
Is it the same?
> - Anand
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2010-02-11 18:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-26 22:30 USB lockup on OMAP3530 Andreas Hartmetz
2010-01-26 23:13 ` Robert Nelson
2010-01-27 19:46 ` Andreas Hartmetz
2010-02-10 12:40 ` Gadiyar, Anand
2010-02-11 18:57 ` Michael Trimarchi [this message]
2010-02-13 20:49 ` Andreas Hartmetz
2010-02-14 11:44 ` Michael Trimarchi
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=4B745311.4000708@panicking.kicks-ass.org \
--to=michael@panicking.kicks-ass.org \
--cc=ahartmetz@gmail.com \
--cc=gadiyar@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=robertcnelson@gmail.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