Sewi has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I need to detect Standby and Hibernation mode from a script.
My script is using a serial device which needs to be re-init'ed when the computer (Ubuntu 10) is returning from Standby or Hibernation mode. Is there any chance for a Perl script to detect this condition?
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Detect standby/hibernation mode
by moritz (Cardinal) on Jun 14, 2011 at 19:41 UTC | |
|
Re: Detect standby/hibernation mode
by BrowserUk (Patriarch) on Jun 14, 2011 at 19:54 UTC |