lubbock only receive get_descriptor request (including get device,configurator,string,endpoint), And it seems lubbock return the right configurator as followed:
But the Windows never did a set configuration operation,Seem something was wrong? The configurator that lubbock returs as expected:
9 2 43 0 2 2 9 c0 1 9 4 0 0 1 2 2 ff 6 5 24 0 10 1 5 24 1 0 1 4 24 2 0 5 24 6 0 1 7 5 86 3 8 0 20
9 4 1 0 2 a 0 0 4 7 5 81 2 40 0 0 7 5 2 2 40 0 0 Don't know how to investigate it further,any suggestion? Thanks
From: David Brownell <[EMAIL PROTECTED]>on lubbock(pxa26x)?
To: tong changda <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [linux-usb-devel] Did anyone had successful run rndis based
Date: Fri, 28 May 2004 08:20:17 -0700
tong changda wrote:Hello.
I have had kernel 2.6.5 successful running on lubbock. all usb-gadget related had kept sync with the latest one got from http://usb-gadget.bkbits.net:8080/gadget-2.6/, the windows driver had download from microsoft site, and using the linux.inf from the 2.6.6 kernel.
Sounds like it ought to be OK; I don't recall anything in other parts of the stack that would affect that.
I just made one change to pxa2xx_udc.c add #undef CONFIG_USB_PXA2XX_SMALL to avoid the message from appearing:"can't run RNDIS on 'pxa2xx_udc' ", After connecting with the windows host, pc
There's also
http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108506544319679&w=2
shows a non-working ethernet card. On lubbock side there is a usb0 net card.ifconfig show the card never shows RUNNING(after you config it an ip address).
The link needs to be running, but that bit gets set when the MSFT host activates the link. Which it won't do if you've not configured it right. Each different release of MS-Windows seems to have different quirks in configuration, and (I think) in how its RNDIS support works.
I know little about rndis protocol. I don't know where to start.Could anybody give a checklist to make it works?
One thing to do is make sure it talks to a Linux 2.6 host first; that'll help make sure the code is basically running on Lubbock. Then see about the RNDIS/Windows side of things.
The RNDIS code might well have some PXA-specific issues, but it's behaved on other controllers.
- Dave
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
-------------------------------------------------------
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