Re: Does Windows treat USB/HID differently between desktops & lapt



Alexander,

Thanks for responding to my posting.

We're using Cypress EZ-USB. This device has been trouble free for a couple of years.Only recently are we seeing problems when people began using it with laptops.

I don't understand your term "retire". Could you clarify your question?

Thanks,
Jim

"Alexander Grigoriev" <alegr@xxxxxxxxxxxxx> wrote in message news:OQrLIjNiJHA.3716@xxxxxxxxxxxxxxxxxxxxxxx
What USB chip you're using? Does it retire data only after it sees IN token with alternate data toggle? Because if the host drops your data because of CRC error, you'll never know that otherwise.

Your different results for different platforms could be because you see different physical layer performance with them.

"Jim Walsh" <JimWalsh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:742DD434-5B29-4615-8B76-5FBC7D0D4D53@xxxxxxxxxxxxxxxx
Leo,

Some other thoughts on HID polling of our device.

The IN reports sent by my device all contain a sequential number. My
receiving program checks that number to be sure that there are no duplicates
and that the reports arrive in order with none missing.

When I first began developing this, I did find that, although the reports
always arrived in the correct order, there were times when a report would be
missing. Especially if there was other USB/HID activity, e.g. active mouse.
However, when I increased the number of InputBuffers being used by Windows to
service my device to 500, that problem disappeared.

As far as I can see, the HID polling of our device is very reliable.

Jim

"Leo Havmoller" wrote:

> 1. I don't really understand your response. Could you elaborate.

In your endpoint descriptor, you specify a desired bInterval, but there is
no guarantee that the host can honor it in all cases.
In general HID I/O is not a reliable communication mechanism. Reports may be
dropped for various reasons.
There are bugs in the Windows HID drivers that cause randomly dropped
reports, especially Windows 2000, better in XP, almost never with Vista.

> 2. What is peculiar is that we only see the problem on laptops, even > when
> they have attached power supplies. I know that the power that we are
> drawing
> from the computer is only 10% of the maximum spec.

This has nothing to do with laptops or their power supply.
It just a coincidense that you havent run into it before.

Leo Havmoller.




.



Relevant Pages

  • Re: Does Windows treat USB/HID differently between desktops & lapt
    ... I don't understand your term "retire". ... The IN reports sent by my device all contain a sequential number. ... As far as I can see, the HID polling of our device is very reliable. ... they have attached power supplies. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Does Windows treat USB/HID differently between desktops & lapt
    ... The IN reports sent by my device all contain a sequential number. ... As far as I can see, the HID polling of our device is very reliable. ... no guarantee that the host can honor it in all cases. ... they have attached power supplies. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Does Windows treat USB/HID differently between desktops & lapt
    ... The IN reports sent by my device all contain a sequential number. ... when I increased the number of InputBuffers being used by Windows to ... As far as I can see, the HID polling of our device is very reliable. ... they have attached power supplies. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Great Blackout of 2003 Caused by MSBlast Computer Worm?
    ... Falls...but the weather reports indicate otherwise...no nasty weather to be ... >> currently believed that a power station in New York City for whatever ... > (programmable logic controllers) and DCS ...
    (comp.security.misc)
  • Re: How to diagnose a dead PS?
    ... All those tests including smell, paper clip, or the motherboard LED ... reports almost nothing. ... LED says AC power cord is connected. ... Just another reason to have that meter. ...
    (alt.comp.periphs.mainboard.asus)