Re: Re: Hotplug events during sleep transition

Patrick Mochel
2005-12-23T03:49:28Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 569 bytes --]

On Thu, 22 Dec 2005, Alan Stern wrote:

> I'm not so sure this approach really qualifies as a "hack". If a driver
> doesn't have explicit support for suspend/resume, the best way to quiesce
> it is to unbind it. The only alternative is to fail all of its I/O
> requests, which seems much less reliable.

Hmm, the best way to queisce it seems to be to fix the driver. Sure, that
doesn't solve your problems now, but that is the ideal solution, no? Until
then, band-aids like unbinding the device from the driver is only a remedy
to a symptom; not a cure..

Patrick