suspend/resume uevents [was Re: [linux-pm] Introducing HAL userspace power management]

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

 



Pavel Machek wrote:
> Hi!

> I'm afraid this is racy by default. Machine resumes, then Xscreensaver
> is being told that it should lock, but bad user may type in console in
> meantime or something.

i do of course lock the screen before suspend, but some screensavers are
not synchronous and take some time to actually lock. It is a mess.

> Synchronous notification *before* suspend might do the trick,
> through. Tell Xscreensaver to lock, wait for it to lock, only then
> proceed with suspend. That seems only safe solution.

Yes, but you'll need another ~10 seconds until power off.
Both xscreensaver and kde screensaver are not from the speedy department :-(
-- 
Stefan Seyfried, QA / R&D Team Mobile Devices, SUSE LINUX Nürnberg.

"Any ideas, John?"
"Well, surrounding them's out."

[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