Re: Newbie question: how the kernel determine usb device has been connected - handling some interrupt or pooling loop?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Mar 21, 2013 at 03:43:16PM +0400, Dmitry Bolshakov wrote:
> Where could I read about it?
> and where is the code?
> I've found something looks like a pooling loop -
> drivers/usb/core/hub.c in the "hub_events" function is this it?

the entry point is always an interrupt handler in one of the host
controller drivers. grep for irqreturn_t under drivers/usb/host and you
will find what you want.

Hint: the interrupt handlers wakes up HUB kthread.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux