On Sat, Apr 03, 2004 at 08:11:50PM -0500, Alan Stern wrote:
> On Sun, 4 Apr 2004 [EMAIL PROTECTED] wrote:
> 
> > Hi,
> > 
> > I have an Epson Stylus CX3200. When I turn it off I see:
> > 
> > Apr  2 00:46:04 palantir8 kernel: usb 1-2: USB disconnect, address 3
> > Apr  2 00:46:04 palantir8 kernel: usb 1-2: usb_disable_device nuking all URBs
> > Apr  2 00:46:04 palantir8 kernel: usb 1-2: unregistering interface 1-2:1.0
> > Apr  2 00:46:04 palantir8 kernel: 
> > /home/opendev/src/linux/linux-2.6.5-rc2/drivers/usb/core/usb.c: usb_hotplug
> > 
> > ... and nothing after this, until somtimes a timeout cleans up after a long time
> > (20 minutes or so). Needless to say the system is left in an inconsistent state.
> > The problem is that interface 0 does not have a driver attached
> > (see /proc/.../devices below), so wait_for_completion() will never return.
> > The patch below fixes this situation.
> 
> Two things:
> 
> First, you don't give any reason why not having a driver attached would 
> cause a problem.  In principle the wait should terminate immediately, 
> since the completion event will be signalled during the device_unregister 
> call.

To be honest, it seemed logical at the time... Somehow the completion
just does not happen.

What I gather from the other mails is that you consider the fix temporary.
Would it be of use if I try to track this one down? (with out the patch
I guess). If so, would you recommend I do that on 2.6.5-rc2 or current?
I'm kinda scared I'll end up in sysfs and/or the counter stuff (yes, that
would be scary to me).

Thanks,
        Martin Habets


-------------------------------------------------------
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