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

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

 



On Thu, 29 Dec 2005, Dmitry Torokhov wrote:

> > Why do you need a new cleanup thread?  What's wrong with the existing 
> > strategy for handling removed devices -- i.e., the procedure that would 
> > have been followed if there was no suspend/resume transition?
> > 
> 
> Sometimes there is no such procedure. For example if you yank PS/2 mouse
> there is no way for the system to detect it's missing. Only when you try
> to resume and mouse does not respond you realize it's gone. I bet there
> are other devices like that. 

There may indeed be other devices like that.  If you can't handle device 
removal while the system is running normally, why should you be able to 
handle device removal while the system is suspended?

Conversely, even if the resume routine does detect somehow that the device 
was removed, there's nothing it can do with that information if you don't 
have a mechanism in place for handling device removals.

Alan Stern


[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