Re: USB On-The-Go

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

From: Michael AMSELLEM (nospam_at_theoris.fr)
Date: 02/02/05


Date: Wed, 2 Feb 2005 12:28:25 +0100

The detection of a new USB device on your host is made by the polling thread
HubStatusChangeThread, in file cdevice.cpp.
The thread linked with the interrupt, in file chw.c, is here to check the
transfers with the USB device.
Hope this helps,

Michael AMSELLEM

"BuilderBob" <BuilderBob@hotmail.com> a écrit dans le message de news:
7s1Md.14121$mo2.1103042@news.xtra.co.nz...
> Hi, I am trying to write a USB On-The-Go driver for WinCE5.0 using an
> Intel
> XScale and a Philips ISP1301 external USB OTG transceiver. Without going
> into too much detail, I am wondering where is the entry point into the HCD
> /OHCI sample drivers, after a "cable attached" event is raised. I have
> read
> that this event is raised by detecting a transition on the USB D- or D+
> lines and/or a transition on the VBus. But cant find the first PDD routine
> that is invoked as a result of this event. Or maybe the interrupt handler
> for is in a higher layer than PDD. Can anyone please help me with this.
> Thanks for reading this.
>
>



Relevant Pages

  • Re: Lenovo 3000 N100 i8042 problems
    ... internally we the kernel still deals with 2 interrupt ... Does it take long to trigger the bug? ... new low speed USB device using uhci_hcd and address 2 ... i8042 KBD port at 0x60,0x64 irq 1 ...
    (Linux-Kernel)
  • USB ISP1161 device driver patch
    ... for the Philips ISP1161 USB device. ... This patch fix a problem that may happen when removing the device. ... If an interrupt occurs after having freed the memory, ...
    (comp.os.linux.embedded)
  • Re: Problems with NIC
    ... According to polling(4), the dc driver supports polling instead of using ... an interrupt line. ... Or you could disable ohci0 in the bios, or plug the offending USB device ... See the acpi manual page and google for 'irq routing freebsd'. ...
    (freebsd-stable)
  • [PATCH] usb: at91_udc: correct hanging while disconnecting usb cable
    ... This bug was tracked on at91sam9260ek boards. ... A usb resume interrupt was firing after the vbus interrupt: the IP was then already stoped and not able to deal with it. ... A simple interrupt disabling is ok as the "end of bus reset" irq is non maskable and ok to resume the USB device IP. ...
    (Linux-Kernel)