[linux-pm] Re: Hotplug events during sleep transition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/27/05, Pavel Machek <pavel@xxxxxx> wrote:
> On Út 27-12-05 16:45:17, Dmitry Torokhov wrote:
> >
> > Hmm, I am confused. What should ->resume() method do when it fails to
> > resume a device? I would say kill it, espacially if it is
> > bus-generic
>
> That should basically never happen. You can kill the device, or maybe
> even panic() whole machine. It just should not happen.

It can happen, it did happen and it will continue to happen. You hit
your suspend button and stand up and accidentially kick your USB hub
or your PS/2 mouse gets loose and kernel fails to resume it. It is no
big deal, we just have to be prepared to handle it.

--
Dmitry


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux