Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #176480
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Monitor switched off after resume from hibernation |
| Date | 2017-01-09 02:10 +0100 |
| Message-ID | <sXwDf-5IQ-7@gated-at.bofh.it> (permalink) |
| References | <sWnsm-8rY-9@gated-at.bofh.it> <sWTsd-5ux-5@gated-at.bofh.it> <sX50m-4xr-19@gated-at.bofh.it> <sXfM5-3aZ-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun 08 Jan 2017 at 07:59:39 (+0100), solitone wrote: > On Saturday, January 7, 2017 1:35:07 PM CET David Wright wrote: > > you could go on to combine it with the > > hibernation process to make sure that the monitor was on just before > > hibernation started. (There might be some sort of serialisation > > required to make sure the two actions occur in the right order. You > > don't want a race.) > > What sort of serialisation are you referring to? I tried with the following > script, but won't work: > > $cat /usr/lib/systemd/system-sleep/screen_hack_hibernate > > if [ "$2" = "hibernate" ]; then > case "$1" in > pre) > xset -display :0 dpms force on > ;; > esac > fi > > I thought it would be run just before hibernate (it's the same technique I use > to unload the driver of my wifi adapter before hibernate, to prevent some other > network issues I had) , but it doesn't. I can only answer you in the vaguest terms. I thought you might add a service that has to run before hibernate, and it would contain a Before= (or hibernate an After= ) line to make sure that turning on the monitor preceeded the hibernation. If you manage this, perhaps with others' help, you'll be ahead of me on the systemd learning curve. BTW I haven't bothered to respond to Stefan Monnier's contribution. I can imagine scenarios that might cause power consumption when a machine is off (like network cards running to watch for magic WoL packets, and things like that), but a machine in hibernation should cope with a power cut. In any case, I support your expectation that using sleep/hibernate should not involve compromising monitors' power-saving behaviour. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-05 22:10 +0100
Re: Monitor switched off after resume from hibernation Keith Bainbridge <keithrbaugroups@gmail.com> - 2017-01-06 01:20 +0100
Re: Monitor switched off after resume from hibernation David Wright <deblis@lionunicorn.co.uk> - 2017-01-06 03:00 +0100
Re: Monitor switched off after resume from hibernation Keith Bainbridge <keithrbaugroups@gmail.com> - 2017-01-06 06:20 +0100
Re: Monitor switched off after resume from hibernation David Wright <deblis@lionunicorn.co.uk> - 2017-01-06 15:30 +0100
Re: Monitor switched off after resume from hibernation Stefan Monnier <monnier@iro.umontreal.ca> - 2017-01-06 22:50 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-06 22:10 +0100
Re: Monitor switched off after resume from hibernation David Wright <deblis@lionunicorn.co.uk> - 2017-01-07 05:00 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-07 08:20 +0100
Re: Monitor switched off after resume from hibernation Joe <joe@jretrading.com> - 2017-01-07 10:10 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-07 16:10 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-07 19:40 +0100
Re: Monitor switched off after resume from hibernation David Wright <deblis@lionunicorn.co.uk> - 2017-01-07 20:40 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-07 21:30 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-08 08:10 +0100
Re: Monitor switched off after resume from hibernation David Wright <deblis@lionunicorn.co.uk> - 2017-01-09 02:10 +0100
Re: Monitor switched off after resume from hibernation Joel Rees <joel.rees@gmail.com> - 2017-01-09 13:50 +0100
Re: Monitor switched off after resume from hibernation David Wright <deblis@lionunicorn.co.uk> - 2017-01-09 15:20 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-06 07:00 +0100
Re: Monitor switched off after resume from hibernation Keith Bainbridge <keithrbaugroups@gmail.com> - 2017-01-06 07:30 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-06 13:20 +0100
Re: Monitor switched off after resume from hibernation Charlie Kravetz <cjk@teamcharliesangels.com> - 2017-01-06 15:40 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-06 20:50 +0100
Re: Monitor switched off after resume from hibernation Charlie Kravetz <cjk@teamcharliesangels.com> - 2017-01-06 23:20 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-07 08:00 +0100
Re: Monitor switched off after resume from hibernation Joel Rees <joel.rees@gmail.com> - 2017-01-09 14:10 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-09 19:00 +0100
Re: Monitor switched off after resume from hibernation solitone <solitone@mail.com> - 2017-01-22 14:40 +0100
csiph-web