Hi,
 
I am writing USB driver in slackware 10.2, i.e. 2.4.31 kernel. My USB device 
has 3 bulk endpoints. One bulk-out and 2 bulk-in. i am using devfs file system 
to create device node for this device. When i initially connect the device, 
everything works properly. But when i disconnect the device( when an 
application on this device node is open) suddenly and connect it again 
disconnect()function is called but probe() function is not called. I verified 
the code of releasing the resources in disconnect and close. i felt its proper.
 
One observation - If i don't fill and submit one particular URB ( for one 
particular endpoint.no 6) probe is called many times as u disconnect and 
connect. But if i submit this urb, probe is not called again. There are lots of 
memory allocation done in the callback function of this endpoint.no.6. I 
checked whether they are being released properly or not. 
Can any one suggest some inputs regarding the above mentioned.
 
Thank's in advance
Siddharth


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to