Re: nokia n810 UDC debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 06, 2009 at 03:08:17PM +0100, ext Mandeep Sandhu wrote:
> Hi All,
> 
> I'm using the nokia n810 tablet as a peripheral for debugging an inter-op issue
> with a proprietary Host's implementation of CDC-ECM.
> 
> The enumeration happens properly, as in I see the set_configuration req coming
> from the host with the correct config index chosen (i.e 1). The
> following EP's are
> setup:
> 
> usb0: using musb_hdrc, OUT ep1out IN ep1in STATUS ep2in
> 
> Since I don't have any USB bus analyzers, I'm enabling the MUSB debugs to
> figure out what happens after the enumeration completes.
> 
> How can I monitor whether the host is sending anything on EP1 or not? Or for
> that matter any other EP (like EP2 which is for interrupt).

you're gonna have to add your own debugging messages to musb_g_rx(),
musb_g_tx(), txstate() and rxstate() in the file
drivers/usb/musb/musb_gadget.c

> The debugs simply show no activity on EP0 (i.e it's in the idle state
> and receiving
> SOF markers from the host).

for ep0 check musb_gadget_ep0.c

> Also, I'm a little confused about MUSB and TUSB! Are both of them the device
> controllers...or is it only TUSB?

musb is the ip core done by mentor graphics.

tusb6010 is an implementation of that core together
with a transceiver logic, done by TI.

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux