Google
  Web www.spinics.net

Re: A question about interrupt of USB device driver

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


On Wed, Aug 15, 2007 at 10:12:23AM +0800, peter meng wrote:
> Hi,All
> 
> I'm a beginner of USB .
> I have a question about USB device driver on Linux  .
> I know all device driver need use request_irq to
> register interrupt handler .
> For example  I could not find  the driver  which use
> it  under drivers/usb/net/ directory .
> How the usb device driver process the interrupt ?
> Anybody can explain this ?

USB drivers do not get interrupts like PCI devices do, they submit urbs
and get called back when they are completed.

Try reading the chapter on USB drivers in the book, "Linux Device
Drivers, third edition", free online, to learn more about the USB driver
model.  If you have further questions, please ask them on the
linux-usb-devel mailing list.

good luck,

greg k-h

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]