Re: USB Device Detection

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks for the response, it clarified in a general way what I was after. It
sounds like I need to check the USB spec to find out what conditions
indicate connection or disconnection to the hardware.

The reason I am asking is that I have a proprietary X86 platform with USB
that occasionally signals the NOTIFICATION_EVENT_DEVICE_CHANGE event when I
turn on and off a USB connected light. It seems unlikely that this should
happen by design. I suspect noise, power droop or some other hardware issue
may be at fault. Unfortunately our hardware engineers are quite comfortable
suggesting it is a CE problem unless I can explain precisely how the
detection process works.

Thanks

"anonymous" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2B267466-5C89-4A03-8254-720ABEAD8986@xxxxxxxxxxxxxxxx
I'm not sure I understand the question.

When a USB device is inserted, it is connected to a USB host controller
which has a driver running for it (OHCI or UHCI drivers, generally). These
devices get an interrupt when the data lines do specific things at
insertion
based on the USB spec. From there, the USB host controller reads the
standard
descriptors and uses those to find a matching usb device driver in the
registry or prompts for one. Very similar to PCMCIA/PCCARD drivers.

"Bill T" wrote:

I am curious about how USB devices are detected by CE 5.0 when they are
connected and disconnected. I know that the
NOTIFICATION_EVENT_DEVICE_CHANGE
event is signaled but I don't know the precise mechanism. I would
appreciate
it if some one could comment on this or point me to documentation
describing
it.

Thanks


.



Relevant Pages

  • Re: USB Active sync problem
    ... Yes it does load the driver. ... > The driver on the device that handles the USB port is known as a USB ... Active sync doesn't even attempt to make a connection ... Manually starting Active Sync and trying to connect also fails to set ...
    (microsoft.public.windowsce.platbuilder)
  • Re: OT: Oh woe is me:-(
    ... Broadband modem USB drivers are notoriously unreliable. ... I've just checked the version number on the CD which came from Virgin and it says "Version 4.1" but I see on Virgin's website that they say the latest driver for XP is 3.01 and for Vista it is 4.1. ... I've just read this on Wikipedia: "the Speedtouch USB to work. ... The last time I was told this, loath to lose my connection with Umra for a few weeks, I hunted around on the net and found there was an update for the driver, which I downloaded and installed. ...
    (uk.media.radio.archers)
  • Re: explorer.exe freezes
    ... My experience is based a wired broadband internet connection. ... early versions of USB were much slower than USB 2. ...
    (microsoft.public.windowsxp.general)
  • Re: ActiveSync 4.1 Still does not work...
    ... AS4.1 installs some USB ... ActiveSync, then allowing Windows to find it again. ... in the system tray for the new 'network adapter' with the 'acquiring network ... If everything seems to be set correctly, but no connection is established, ...
    (microsoft.public.pocketpc.activesync)
  • Re: explorer.exe freezes
    ... I think the thing to do here is replace my card for starters. ... early versions of USB were much slower than USB 2. ... I've had this card for about 3 years, before the USB connection ... slowest way to connect to the internet. ...
    (microsoft.public.windowsxp.general)