Google
  Web www.spinics.net

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

On 11/19/07, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> 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 <e_zhui@xxxxxxxxxxxx>
> To: linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
> 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/
> _______________________________________________
> linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
>


-- 
Best Regards,

Felipe Balbi
felipebalbi@xxxxxxxxxxxxxxxxxxxxx

-------------------------------------------------------------------------
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/
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux