Re: How did the USB host calculate the polling time for a plug in device?

Tech-Archive recommends: Fix windows errors by optimizing your registry



"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.
.



Relevant Pages

  • How did the USB host calculate the polling time for a plug in device?
    ... I was devoloping driver for a USB HID keyboard device, ... transfering data with a interrupt endpoint. ... But the USB host send the ping packet every 4 ms, ...
    (microsoft.public.development.device.drivers)
  • Re: usb keyboard and mouse config ?
    ... How to support "USB HID Keyboard and Mouse" in PB that we can add it into ... Someone told me that let's add it to my Platform, but i can't find out "USB ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Tricky USB device.
    ... > Maksim> how about getting usb hid descriptor, ... > Maksim> well comment out 'device uhid' from your kernel config and ...
    (freebsd-hackers)
  • usb mouse
    ... I'm having no luck in getting a USB Mouse to work... ... On boot up into a Knoppix 2.4.20-xfs kernel I always ... usb.c: registered new driver usbdevfs ... USB HID v1.10 Mouse [Microsoft Microsoft ...
    (Debian-User)
  • [SLE] Keypad not working.
    ... PhoneSkype USB Phone SK-04. ... USB HID v1.00 Joystick on ... Hamradio License G3VBV, Keen licensed Private Pilot ...
    (SuSE)