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 -----Original Message----- From: Alan Stern [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 12:31 AM To: Xu Levis-Q16136 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: An usb host transfer speed issue, could anybodies help me or give me some advice? 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 FILL_BULK_URB function? Yes. Or rather, that is how you should fill them after they have been created. > If yes, 3 > complete_callback_function will be create or not? No, all of the URBs can use the same completion function. > If no, do you think i > should build 3 urbs by using usb_alloc_urb function? Yes, that is always how you should create URBs. > Could you give me > some simple sample codes for operations? Thanks a lot! I don't have any simple examples, sorry. Alan Stern ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel