Alan Stern wrote:

On Mon, 28 Feb 2005, Stavros Markou wrote:



Hi,

I 've set the URB_ZERO_PACKET tranfer flag for the bulk out endpoint (kernel version 2.6.8). I've tried to get a capture of the zero packet transfer on the usb analyzer but I didn't see anything. Is this feature working ?



It is in the uhci-hcd driver; you didn't say which host controller driver you are using.




I am using a via usb host controller (rev82) and I am working currently with a 802.11g usb 2.0 wlan device.

However you shoult notice that this flag will add an extra zero-length
packet to a bulk-out transfer if and only if the URB's transfer length is


0 and is divisible by the maxpacket size. If the transfer length is not

divisible by the maxpacket size then no extra zero-length packet will be added.


In order to see that feature I 've issued ping to another network device with sizes divisible to maxpacketsize . Unfortunately, I haven't seen a zero - length packet using my usb analyzer.

Alan Stern


Stavros Markou.


------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to