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 16:28, David Zeuthen wrote:
> Maybe I'm reading the source wrong, but isn't it the case that some
> laptops using APM (my IBM thinkpad T41 with acpi=off for instance)
> suspends without user space interaction when the lid is closed, thus
> rendering it impossible to send the event from user space? 
> 
> One may even ask whether it's sound to assume that all architectures
> will be suspended via user space?

The most common way at the moment for a lid switch to activate
suspending is via the userspace acpid daemon. I'd be mildly interested
if you didn't have something equivalent running on your machine.

Regards,

Nigel

> <snip>
> 
> > . I'm *not* going to do that from kernel. But standartizing what needs
> > to be ran on resume is indeed good idea, and few lines in
> > Documentation/power/* are probably worth it.
> > 
> 
> There's a very practical problem of getting all distributions to
> actually do this.
> 
> Another point is that user space may just use a timer and look at the
> wall clock to determine when a suspend happens, but that's hardly an
> elegant architecture. It does save some discussion, though, either way
> I'll be quiet now and leave you guys to do real work :-)

-- 
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