On Tuesday 21 February 2006 3:33 am, Shaun Tancheff wrote:
> 
> I am working with an i.MX21 development board. So far I have been able
> to negotiate as a Device with a Windows XP Host but I can't get past
> the USB_REQ_SET_ADDRESS with a Linux Host.

Your iMX controller driver has bugs then.  Sometimes hardware gets
rather finicky during enumeration, since there are (a) calls made
using address zero, otherwise unused, (b) SET_ADDRESS, which needs
special casing in most drivers, (c) early terminations, e.g. the
STATUS stage comes after one IN packet, possibly before all the
descriptor data has been sent or emptied from the EP0 fifo, (d)
partial descriptor reads, (e) lots of hardware and software special
cases that rarely show up elsewhere.

Just debug that lower level code.  In fact, make sure that from
Linux it passes all the testusb control test cases using the
test script at http://www.linux-usb.org/usbtest _before_ you put
much time into testing other stuff.  Once those all work, you'll
probably find your RNDIS startup problems go away.

- Dave


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to