Re: How did the USB host calculate the polling time for a plug in device?
- From: Robert Marquardt <robert_marquardt@xxxxxx>
- Date: Fri, 10 Aug 2007 11:55:43 +0200
Alex.Z wrote:
I was devoloping driver for a USB HID keyboard device, using the USB
hid protocol, transfering data with a interrupt endpoint.
My computer had a USB 2.0 host, and the OS is WinXP. When the USB HID
keyboard was plugged in, the device driver would return 0x0a as
bInterval of the endpoint descriptor.
But the USB host send the ping packet every 4 ms, how did this polling
time come. And when I disable the EHCI, the USB host send the ping
packet every 8 ms, that is not the value what I expected.
How did the USB host calculate the polling time in a winxp system?
Thanks for your reply.
Most OSes use the next power of 2 for the polling interval so 8 msec is
quite normal. 4 msec is unusual.
BTW where is the problem? Even a low-speed microcontroller should be
able to answer without problems.
.
- References:
- Prev by Date: How did the USB host calculate the polling time for a plug in device?
- Next by Date: WINQUAL reported crashes
- Previous by thread: How did the USB host calculate the polling time for a plug in device?
- Next by thread: Re: How did the USB host calculate the polling time for a plug in device?
- Index(es):
Relevant Pages
|