Thank you
yes, it ought to be ok(but windows 2000 side shows it not working,althought install process goes very smoothly then indicate to reboot,lubbock boot message related to rndis is ok ,windows driver download from http://www.microsoft.com/whdc/hwdev/resources/hwservices/rndis.mspx ).After connecting, I use usbview to find this(msg1):
and cat /proc/rndis/000 show (msg2)
I really very confused about what is problem lie in,Windows side or lubbock side code?
How to debug such kind of problem?


--------msg1- usbview ----------
Device Descriptor: bcdUSB: 0x0200
bDeviceClass: 0xFF
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x10 (16)
idVendor: 0x0525 (Netchip Technology Inc.)
idProduct: 0xA4A2
bcdDevice: 0x0203
iManufacturer: 0x01
iProduct: 0x02
iSerialNumber: 0x00
bNumConfigurations: 0x02


ConnectionStatus: DeviceConnected
Current Config Value: 0x00
Device Bus Speed:     Full
Device Address:       0x00
Open Pipes:              0

----msg2-----
Config Nr. 0
used      : y
state     : RNDIS_UNINITIALIZED
medium    : 0x00000000
speed     : 0
cable     : disconnected
vendor ID : 0x00000000
vendor    : Linux 2.6.5/pxa2xx_udc

From: David Brownell <[EMAIL PROTECTED]>
To: tong changda <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [linux-usb-devel] Did anyone had successful run rndis based
on lubbock(pxa26x)?
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

Reply via email to