public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [Help 1/2] MUSB: ZiO! CF card reader will trigger a change from MUSB host mode to MUSB peripheral mode
@ 2008-04-07 10:15 Bryan Wu
  2008-04-07 10:19 ` Felipe Balbi
  0 siblings, 1 reply; 12+ messages in thread
From: Bryan Wu @ 2008-04-07 10:15 UTC (permalink / raw)
  To: David Brownell, tony, linux-omap, linux-omap-open-source

Hi folks,

Here is our bug tracker,
https://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_id=141&tracker_item_id=3788

ZiO! CF card reader is here:
http://www.psism.com/zio.htm

- Firstly, MUSB is working as in host mode which can be figured out by
the debug message.
- Enumeration of the ZiO! CF card reader is OK.
- When the upper drivers/usb/storage/shuttle_usbat.c try to send out
the first packet:
--
        /* Enable peripheral control signals */
        rc = usbat_write_user_io(us,
                                 USBAT_UIO_OE1 | USBAT_UIO_OE0,
                                 USBAT_UIO_EPAD | USBAT_UIO_1);
        if (rc != USB_STOR_XFER_GOOD)
                return USB_STOR_TRANSPORT_ERROR;
--

- Finally, we got VBUS_ERROR interrupt in peripheral mode. I don't
know how to recover it.
If I am not wrong, the ZiO! CF card reader must have dropped the VBUS
and this triggered the mode change of MUSB.

Are you guys have any idea about this?

B.T.W, I found the packet sequence of
drivers/usb/storage/shuttle_usbat.c is not the same as Windows Host
does.
So I modified the code to send out the same packet as Windows Host.
The result is the same.

Thanks a lot
-Bryan Wu

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

end of thread, other threads:[~2008-04-11 16:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-07 10:15 [Help 1/2] MUSB: ZiO! CF card reader will trigger a change from MUSB host mode to MUSB peripheral mode Bryan Wu
2008-04-07 10:19 ` Felipe Balbi
2008-04-07 10:35   ` Bryan Wu
2008-04-07 10:46     ` Felipe Balbi
2008-04-07 11:08       ` Bryan Wu
2008-04-07 12:38         ` Felipe Balbi
2008-04-07 16:05           ` David Brownell
2008-04-07 17:48             ` Felipe Balbi
2008-04-08  7:06             ` Bryan Wu
2008-04-10 11:24               ` Bryan Wu
2008-04-11 14:59                 ` Felipe Balbi
2008-04-11 16:13                 ` David Brownell

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