Hi,
Some doubts about the probe handler .
When is the probe handler of the usb device actually called. Suppose that before my 
usb driver is loaded in memory, the usb device is already attached. Will the probe 
function be called after i register my device using usb_register in my usb driver. Or 
is it that the probe function is only called when a new device is attached after i 
load my driver.?

Secondly for sending a URB the usb_submit_urb function is used with the data, to be 
sent with request, as a pointer in transfer_buffer. When should memory be allocated 
and freed for this transfer_buffer. Can it be freed just after usb_submit_urb 
returns??Or do we have to wait till the completion handler is called??

If anyone knows about this do reply.

Thanks in advance and regards,
Dattaram.

-- 

Get your free email from www.linuxmail.org 


Powered by Outblaze

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to