Thanks David.
Many times I couldn't think out the reason why,but simply find some ways to
avoid it:-(

In this case,I found if compile g_ether.o as module. So when this message
appear, simply ifconfig usb0 down, then rmmod/insmod is ok.So my driver had
to detect usb plug in and unplug action, use hotplug mechanism to load
g_ether.o.

So this error is much like the part of code that deal with
usb_connection_irq, simply stop_activity as not enough, but it took me long
time to add cleanup code without success.So take this tempory ways.





                                                                                       
                                      
                      David Brownell                                                   
                                      
                      <[EMAIL PROTECTED]>                   收件人:  [EMAIL 
PROTECTED]                
                                                              抄送:    [EMAIL 
PROTECTED]                              
                                                              主题:    Re: 
[linux-usb-devel] pxa27x+rndis                   
                      发件人:                                                         
                                      
                      [EMAIL PROTECTED]                                                
                       
                      ceforge.net                                                      
                                      
                                                                                       
                                      
                                                                                       
                                      
                      2004-08-02 22:40                                                 
                                      
                                                                                       
                                      






On Sunday 01 August 2004 20:52, [EMAIL PROTECTED] wrote:
> if you plug off usb cable then plug it on, after about 3 times or more,
> following message appear,then if you want usb work, you had to reboot
> lubbock, Anyone had any idea? Thanks
>
> rndis_msg_parser: unknown RNDIS Message Type 0x02000112

This is one of the mysterious messages sent by some versions
of Windows ... XP and 2000, for example.  It's not part of the RNDIS
protocol as documented by Microsoft.  And it's not clear when such
messages get sent ... power management seems to be a factor,
and in your case plug/unplug does.

Basically, what someone needs to do is get in contact with
Microsoft to get a corrected RNDIS specification, which includes
this message (and maybe a couple others).  There's some contact
information on their RNDIS web pages, dedicated email address.

Given the anti-trust judgment against Microsoft, it might also
be a good thing to CC the relevant office at the US Department
of Justice ... they're supposed to be making interop specifications
work properly nowadays, and in this case they clearly aren't.
Even assuming it's "just a bug" on Microsoft's part, it can't hurt
to get this onto any "official" lists of things to fix.

- Dave


> usb0: rndis_command_complete: rndis parse error -524
> udc: USB reset
> rndis_msg_parser: unknown RNDIS Message Type 0x02000112
> usb0: rndis_command_complete: rndis parse error -524
>


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Reply via email to