Re: [Linux-usb-users] Issue of g_ether runing on my udc driver... (fwd)

"Felipe Balbi" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Hi,

On 11/19/07, Alan Stern <[email protected]> wrote:
> This message probably belongs on linux-usb-devel...
>
> Alan Stern
>
> ---------- Forwarded message ----------
> Date: Mon, 19 Nov 2007 22:41:00 +0800 (CST)
> From: hui zhuu <[email protected]>
> To: [email protected]
> Subject: [Linux-usb-users] Issue of g_ether runing on my udc driver...
>
> Hi all,
>
> I am just working on an udc driver of our custom
> board,which is EP9302(ARM9) + ISP1581(high speed). I
> need to make the device together with ether.c as a
> RNDIS to windows host, normall XP. Now the driver
> seems to be working, the windows host can recognize
> the "Linux USB Ethernet/RNDIS Gadget #2" and install
> the "linux.inf" driver successfully.
>
> But when I try to "ping" the board from windows host
> with a large dataload,like 8192 bytes:
>
> ping 192.168.0.2 -l 8192 -n 100
>
> some requests are always time-out. If I change
> dataload size to 1500 or below, the requests are 100%
> echoed.
>
> So I wonder if there is anything i can do to correct
> this problem ? Has anybody met it before?
>
> The linux tree I am using is cirrus-realeased, which
> is 2.6.8.1 based(seems old).

probably the best choice here would be using current linux gittree
instead of cirrus' tree.

Maybe you could port cirrus changes to current linux tree and send out
some patches. I have only linux's gittree which started in
linux-2.6.12 and there's a lot of changes in
drivers/usb/gadget/ether.c

Can you give us a link to get the kernel you're using ?

>
>
> thx!
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> [email protected]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
>


-- 
Best Regards,

Felipe Balbi
[email protected]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.