Hi, I'm trying to get the RNDIS variant of the g_ether gadget driver running on my PXA2xx board. I use 2.6.6-rc3.
I know that the hardware is running, as g_file_storage works.
Right, after the merge I didn't have a chance to re-test with te PXA hardware.
Hacking and reading the source code, the problem _seems_ to be that the RNDIS part wants a IN interuppt ep autoconfigured, which is commented out in epautoconfigure.c: ep_matches(...) { .... /* for now, avoid PXA "interrupt-in"; * it's documented as never using DATA1. * */ if (gadget_is_pxa (gadget)) return 0; .... }
It _should_ then continue and return a bulk endpoint, such as ep6in-bulk ...
I googled around and found some comments which state that this eb is somehow not strictly needed, and Robert Schwebel used ep5in-int anyways, and that worked. Another comment was that this could be fixed by using ep6in-bulk instead.
The PXA "interrupt" endpoints are documented as wierd, but I'm not sure how trustworthy those docs are. A more normal (but still unusual) mode would involve not retransmitting correctly when the host reports a data transfer error, so it never resends a DATA0 (or DATA1) packet.
Well, I tried all of the above, but my Winblows 2k perfectional gives me all but a very descriptive "error -10". Gha.
Se the recent post from David Meggy about [SOLVED] RNDIS gadget driver (4/28) ... he has a workaround for a problem he saw (but I didn't!), I suspect yours is the same problem. (If you could come up with the real fix, that'd be great -- I'm not going to have time to track that down.)
I'm almost sure that the PXA UDC is able to do RNDIS, because I believe Robert Schwebel developed the driver on a PXA255.
So, is there any help? Has anyone an idea how I might get the RNDIS part of g_ether running?
Try the workaround from David Meggy; yes, it should work just fine after that problem gets sorted.
- Dave
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel