Hi,
 
I am writting 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 craete device node for this device. When i initially connect the device, 
everyhing works properly. But when i disconnect the device( when an application 
on this device node is open, it is excepting some input from user to send it  
to driver)suddenly and connect it again disconnect()function is called but 
probe() function is not called. I varified the code of releasing the resources 
in disconnect and close. i felt its proper. Can somrbody please tell me whats 
wrong i am doing.
 
One observation - If i dont fill and submit one particular URB ( for one 
particular endpoint.no 6) probe is called many times as u disconnect and 
connect. Bit if i submit this urb, probe is not called second time. There are 
lots of memory allocation done in the callback function of this endpoint.no.6. 
I checked whether they are being freed properly or not. 
 
Whats wrong i am doing, please suggest me.
 
Thanks alot in advance
Savita


-------------------------------------------------------
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-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to