On Wed, 24 Mar 2004, Sean Neakums wrote:

> With only this patch applied, gphoto2 operates correctly, lsusb no
> longer lists the camera after disconnection, and I see only a single
> suspend_hc message after disconnection.

I still don't know just what driver or program was causing the problem.  
You can help out by trying this one-line patch.  It goes on top of the
patch from yesterday.  What it does is print a warning message together
with a stack dump into the system log whenever a USB device is
disconnected or a configuration is removed.

Try running gphoto2 and then disconnecting (or turning off) your scanner, 
and send the dmesg output you get.  With a little bit of luck, it will 
identify the culprit.

Alan Stern



--- 2.6/drivers/usb/core/message.c.orig Thu Mar 25 09:51:01 2004
+++ 2.6/drivers/usb/core/message.c      Thu Mar 25 09:50:59 2004
@@ -794,6 +794,7 @@
 
 static void release_interface(struct device *dev)
 {
+WARN_ON(1);
 }
 
 /*



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to