Re: USB rejecting sleep

From: Benjamin Herrenschmidt
Date: Sun Dec 18 2005 - 22:29:34 EST


On Sun, 2005-12-18 at 22:11 -0500, Alan Stern wrote:

> I disagree with the idea of disconnecting the device. The right thing to
> do is what David wanted all along: unbind the driver. This would require
> only a small change to the driver core.
>
> It's too late for me to work on this now, but maybe tomorrow I'll have to
> a chance to write something.

Why not also disconnect the device ? That will guarantee that when
coming back from sleep, the driver will re-discover a fresh new device
that has properly been reset no ? Instead of a device potentially
crashed because it didn't handle the suspend/resume transition
properly...

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/