Re: How did the USB host calculate the polling time for a plug in device?
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Fri, 17 Aug 2007 22:38:48 -0700
"Alex.Z" <zhouxl.zz@xxxxxxxxx> 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?
What speed is the device? Your numbers don't match. An bInterval of 0x0a
should result in 0.5 second for a low/full speed device, and 64ms for a
high speed device.
Do you really mean a "ping" packet? Or do you mean an "IN" packet?
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- Prev by Date: Re: Driver install problem
- Next by Date: Re: USB IO Optimization with WinXP
- Previous by thread: Re: How did the USB host calculate the polling time for a plug in device?
- Next by thread: WINQUAL reported crashes
- Index(es):
Relevant Pages
|