On Mon, 19 Dec 2005, Benjamin Herrenschmidt wrote:
> 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...
I don't want to disconnect the device because there may be other drivers
bound to other interfaces that are working just fine. There's no need to
mess them up. Unbinding the misbehaving driver should be okay; it's no
worse than doing rmmod before the suspend.
Alan Stern
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]