[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-12-02 Thread Alan Stern
On Thu, 2 Dec 2004, Xu Levis-Q16136 wrote: > Got it! Thanks~ > Another problem: Do i need free all of the urbs which i have built before in > my diconnect function? Now i just free one urb in my func. > For example: > > struct urb *myurb; > my_prob() > {... > for(i=0; i<5; i++) >

[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-12-02 Thread Xu Levis-Q16136
Got it! Thanks~ Another problem: Do i need free all of the urbs which i have built before in my diconnect function? Now i just free one urb in my func. For example: struct urb *myurb; my_prob() {... for(i=0; i<5; i++) { myurb = usb_alloc_urb(0);

RE: [linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-12-01 Thread Xu Levis-Q16136
gards, Levis -Original Message- From: David Brownell [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 12:04 AM To: Xu Levis-Q16136 Subject: Re: [linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice? On Tuesday 30 November 2004

[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-12-01 Thread Alan Stern
On Wed, 1 Dec 2004, Xu Levis-Q16136 wrote: > Alan/Anybodies, > Now I build 10 URB(IN) and sent them in my prob function, then sent the > remaining URBs from the completion callback. The transfer speed is about > 650K bytes/second, good speed. Another issue, do you think this way is > suit for BULK

[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-11-30 Thread Xu Levis-Q16136
Alan/Anybodies, Now I build 10 URB(IN) and sent them in my prob function, then sent the remaining URBs from the completion callback. The transfer speed is about 650K bytes/second, good speed. Another issue, do you think this way is suit for BULK_OUT transfer? The test result is same as before wh

[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-11-30 Thread Xu Levis-Q16136
Alan, Great news! I build 3 urbs(IN) and sent them in my prob function, and sent the remaining URBs from the completion callback. The transfer speed improve 3 times. Thanks for your great help! Next step, i will try build 5 URB(IN) and 3 URB(OUT) to improve the transfer speed. Regards, Levis -

[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-11-29 Thread Alan Stern
On Mon, 29 Nov 2004, Xu Levis-Q16136 wrote: > Alan, > Sorry for my later reply mail. I'm busying for another usb client > driver issue. Now i will be focus on this usb host transfer issue. And > just like you mentioned i should send 3 urbs in prob function, do i need > to build 3 urbs by using FIL

[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-11-29 Thread Xu Levis-Q16136
Alan, Sorry for my later reply mail. I'm busying for another usb client driver issue. Now i will be focus on this usb host transfer issue. And just like you mentioned i should send 3 urbs in prob function, do i need to build 3 urbs by using FILL_BULK_URB function? If yes, 3 complete_callback_fun

[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-11-12 Thread Xu Levis-Q16136
>>No. Send the first 3 URBs from the probe function. Don't wait for them >>to complete, just send them all immediately. Then send the remaining URBs >>from the completion callback. OK, i will try it. >>I didn't realize you were using 2.4.x. You may have to set the >>URB_QUEUE_BULK flag in or

[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-11-12 Thread Alan Stern
On Fri, 12 Nov 2004, Xu Levis-Q16136 wrote: > Alan, > Thanks for your great help! > I used Linux_2.4.20, usb OHC(Intel XScale PX27x), USB1.1 full speed. The > device is my cell phone(Intel XScale PX255). > > For Bulk_IN transfer model, we can send the first IN_URB from prob func. > just like my c

[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-11-11 Thread Xu Levis-Q16136
Alan, Thanks for your great help! I used Linux_2.4.20, usb OHC(Intel XScale PX27x), USB1.1 full speed. The device is my cell phone(Intel XScale PX255). For Bulk_IN transfer model, we can send the first IN_URB from prob func. just like my codes. And then we can send the next IN_URB in the complet

[linux-usb-devel] Re: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-11-11 Thread Alan Stern
On Thu, 11 Nov 2004, Xu Levis-Q16136 wrote: > Dear all, > I have written a simple bulkusb driver to test the usb transfer speed. Just > transfer 256bytes*1000 between host and client. The test result is following: > transfer data transfer speed > host--->client 256by