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

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

 



Hi.

On Fri, 2005-03-11 at 10:00, Pavel Machek wrote:
> On ?t 10-03-05 22:31:37, Stefan Seyfried wrote:
> > Pavel Machek wrote:
> > 
> > > kobject_uevent in kernel does not mean we have to abuse it for suspend notifycation.
> > > (How would that notifycation work, btw? If done asynchronously, system will be suspended
> > > before processes will have chance to do anything).
> > 
> > in my experience, this is exactly what happens. I am still fighting
> > screenlockers that only kick in after the resume has long since
> > finished ;-)
> 
> :-) Ok, so how do you want your screensavers notified? You can
> certainly add killall -9 Xscreensaver at the end of suspend script
> :-))))))))))))))))))))

Racy :>

"x set s off" before you suspend, then "...on" after resuming.

Regards,

Nigel
-- 
Nigel Cunningham
Software Engineer, Canberra, Australia
http://www.cyclades.com
Bus: +61 (2) 6291 9554; Hme: +61 (2) 6292 8028;  Mob: +61 (417) 100 574

Maintainer of Suspend2 Kernel Patches http://suspend2.net


[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