Hello!
Now i can connect to winxp host using g_ether which support RNDIS for TI
P2 board(but to win2000 failed:(.
but when i unplug the device, connecting is failed if i don't reboot
device.

the contents of my inf file:


[Version] 
Signature           = "$Windows NT$" 
Class               = Net 
ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318} 
Provider            = %My% 
DriverVer           = 08/01/2005,1.0.0.0 
CatalogFile         = My.cat 

[Manufacturer] 
%My%          = MyDevices 

[MyDevices] 
%MyDevice%    = RNDIS, USB\VID_0525&PID_a4a2 

; [MyDevices.NT.5.1] 
; %MyDevice%    = RNDIS.NT.5.1, USB\VID_0525&PID_a4a2 

[ControlFlags] 
ExcludeFromSelect=* 


; Windows XP specific sections ----------------------------------- 

[RNDIS.NT.5.1] 
Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI 
BusType         = 15 
include         = netrndis.inf 
needs           = Usb_Rndis.ndi 
AddReg          = Rndis_AddReg_XP 

; no copyfiles - the files are already in place 

[RNDIS.NT.5.1.Services] 
include     = netrndis.inf 
needs       = Usb_Rndis.ndi.Services 


; An optional Windows XP Property to demonstrate adding advanced
properties on Windows XP 
[RNDIS_AddReg_XP] 
HKR, NDI\params\XPProperty, ParamDesc,  0, %XP_Property% 
HKR, NDI\params\XPProperty, type,       0, "edit" 
HKR, NDI\params\XPProperty, LimitText,  0, "12" 
HKR, NDI\params\XPProperty, UpperCase,  0, "1" 
HKR, NDI\params\XPProperty, default,    0, " " 
HKR, NDI\params\XPProperty, optional,   0, "1" 

[SourceDisksNames] 
1=%SourceDisk%,,1 

[SourceDisksFiles] 
usb8023k.sys=1 
rndismpk.sys=1 

[DestinationDirs] 
RNDIS_CopyFiles_NT    = 12 

[Strings] 
ServiceDisplayName    = "USB Remote NDIS Network Device Driver" 
NetworkAddress        = "Network Address" 
XP_Property           = "Optonal XP Property" 
Mytel                   = "My Corporation" 
MyDevice                = "My USB Remote NDIS Network Device" 
SourceDisk            = "My USB Network Driver Install Disk" 




在 2005-08-01一的 06:56 [EMAIL PROTECTED] 
> Oddly enough, if you looked at the list archives you'd find a post
> teaching "usbnet" how to talk RNDIS.  Just last week, in fact.
> Please learn to search list archives.
> 
>
http://marc.theaimsgroup.com/?l=linux-usb-devel&m=112261051719992&w=2
> 
> However, the appropriate way to test that code uses a Windows host,
> not a Linux host.
> 
> - Dave
> 
> 
> > From [EMAIL PROTECTED]  Sun Jul 31
23:50:42 2005
> > From: jinzhcheng <[EMAIL PROTECTED]>
> > To: linux-usb-devel@lists.sourceforge.net
> > Subject: [linux-usb-devel] about rndis and g_ether
> > Date: Mon, 01 Aug 2005 14:44:49 +0800
> >
> > Hello,
> >
> > I want to use usbnet for testing my linux device's g_ether driver
which
> > supporting RNDIS.
> > but when i view linux-2.6.12/drivers/usb/net/usbnet.c, and i find
> > CONFIG_USB_RNDIS. I make meuconfig under kernel tree, and don't find
> > this macro. so, how to support rndis in the usbnet driver? can you
help
> > me?
> >
> > THANKS!
> >
> > Best regards,
> > jinzhcheng
> >
> >
> >
> 





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to