Re: Suspend-to-ram/disk signal

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

 



On Monday, 26 of November 2007, Pascal d'Hermilly wrote:
> When the computer suspends and comes back does it send a signal to the 
> running applications?

No, it doesn't.  Applications aren't supposed to notice the suspend.

> Specifically I would like to use it so a IM client will reconnect to the 
> server instead of saying there is a timeout.
> 
> Hope someone can help me out with a tip.

Your distribution surely uses some scripts that activate the kernel's suspend
code.  You can modify these scripts to notify your application.

Greetings,
Rafael


-- 
"Premature optimization is the root of all evil." - Donald Knuth
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux