Hi!

>The host controller driver (HCD) (either UHCI or OHCI) gets the 
>hardware interrupt first. Assuming that you are using URBs to 
>request USB transfers, the urb->complete field should point to 
>your callback function that will be called when the I/O transfer 
>completes (or times out). 

 Yes, I know it :).  But I use "complete" function in usb-driver.
And I don't think, that it's correct to use args "urb" in this function
from user-space.
As I know this structure is stored in kernel-space and I can't modify it
from application.

I talk about interface between driver and application or library.
After getting interrupt from device and making some operations for that
I need send some data to application. For that I have to notify an
application 
about it. I think IPC, like semaphores, is one of the way, but may be
there are other
ways for it?


With many thanks.
Paul Tanaskoff.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to