[Ilugc] Function flow at the time of USB device connection (Enumeration)

  • From: shakthimaan@xxxxxxxxx (Shakthi Kannan)
  • Date: Mon Nov 12 17:12:35 2007

Hi,

Replying to my own post.

----- On 11/12/07, Shakthi Kannan <shakthimaan@xxxxxxxxx> wrote:
| hcd.c - usb_submit_urb ()
http://lxr.linux.no/source/drivers/usb/core/urb.c#L220
\--

Sorry, this should have been:
http://lxr.linux.no/source/drivers/usb/core/hcd.c#L921

When you connect the device, root hub port status changes, and
generates hub interrupt request, so usb_submit_urb() should have been
invoked from hub_irq():

hub.c - hub_irq()
http://lxr.linux.no/source/drivers/usb/core/hub.c#L338

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

Other related posts: