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

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

 



On St 28-12-05 21:18:38, Alan Stern wrote:
> On Wed, 28 Dec 2005, Rafael J. Wysocki wrote:
> 
> > I think for a (suspended) device that can be removed, unplugged, undocked,
> > etc. (call it "removable") the most natural place in which we can detect
> > that the device is no longer accessible is the device driver's .resume()
> > routine, at least as far as swsusp is concerned.
> 
> No.  The most natural place in which we can detect that a device is no 
> longer accessible is the place where we already do these detections.  Not 
> in the resume routine.

...for reasonable buses, like usb. For something like ps/2, .resume is
the place to check, I'm afraid.

								Pavel


-- 
Thanks, Sharp!

[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