* MUSB OTG Interrupts
@ 2008-09-26 16:00 Ashwin Bihari
2008-09-26 17:54 ` Felipe Balbi
0 siblings, 1 reply; 2+ messages in thread
From: Ashwin Bihari @ 2008-09-26 16:00 UTC (permalink / raw)
To: linux-omap@vger.kernel.org
Greetings,
I've got a very curious problem with my OMAP3 based board. I'm using
the OMAPZOOM kernel v2.6.27-rc3 and have enabled MUSB in OTG mode
(both host and perihperhal). I've got the file-backed-storage gadget.
If I plug the mini-B connector to the board, it gets the appropriate
interrupt and recognizes that it needs to be operate in peripheral
mode and goes about it's business. However, when I plug in the mini-A
connector to the board, there is no interrupt and no activity. I can
then unplug the mini-A connector, and plug in the mini-B connector to
get the interrupts and activity again.
If I boot the board up with the mini-A connector plugged in, it is
properly found/recognized during driver installation and any devices
attached are properly found and can be used. The IRQs at this time
fire properly. I have a thumb drive connected to a high speed hub
connected to the OMAP board, and the drive is found, I can mount it
and do everything. Now, in this particular case, if I unplug the
mini-A connector and plug either the mini-A or mini-B connector,
nothing happens at all.
Why am I only getting interrupts with the mini-B connector and not the
mini-A connector? Additionally, why does everything fail after my
second scenario above?
Regards
~ Ashwin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MUSB OTG Interrupts
2008-09-26 16:00 MUSB OTG Interrupts Ashwin Bihari
@ 2008-09-26 17:54 ` Felipe Balbi
0 siblings, 0 replies; 2+ messages in thread
From: Felipe Balbi @ 2008-09-26 17:54 UTC (permalink / raw)
To: Ashwin Bihari; +Cc: linux-omap@vger.kernel.org
On Fri, Sep 26, 2008 at 12:00:17PM -0400, Ashwin Bihari wrote:
> Greetings,
>
> I've got a very curious problem with my OMAP3 based board. I'm using
> the OMAPZOOM kernel v2.6.27-rc3 and have enabled MUSB in OTG mode
> (both host and perihperhal). I've got the file-backed-storage gadget.
> If I plug the mini-B connector to the board, it gets the appropriate
> interrupt and recognizes that it needs to be operate in peripheral
> mode and goes about it's business. However, when I plug in the mini-A
> connector to the board, there is no interrupt and no activity. I can
> then unplug the mini-A connector, and plug in the mini-B connector to
> get the interrupts and activity again.
>
> If I boot the board up with the mini-A connector plugged in, it is
> properly found/recognized during driver installation and any devices
> attached are properly found and can be used. The IRQs at this time
> fire properly. I have a thumb drive connected to a high speed hub
> connected to the OMAP board, and the drive is found, I can mount it
> and do everything. Now, in this particular case, if I unplug the
> mini-A connector and plug either the mini-A or mini-B connector,
> nothing happens at all.
>
> Why am I only getting interrupts with the mini-B connector and not the
> mini-A connector? Additionally, why does everything fail after my
> second scenario above?
Id pin interrupt handling is not done yet on twl4030-usb, I'm planning
to finish that part when we finish fixing twl children registration.
If you have to do that and send a patch, that's ok. Just be sure to make
it on top of latest twl4030-usb.c which I moved to platform_driver.
--
balbi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-26 17:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-26 16:00 MUSB OTG Interrupts Ashwin Bihari
2008-09-26 17:54 ` Felipe Balbi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox