Dnešná relácia otázok a odpovedí sa k nám pridelí zdvorilosťou SuperUser - podskupiny Stack Exchange, skupín webových stránok týkajúcich sa otázok a odpovedí.
Otázka
Čítačka SuperUser Squ36 chce vedieť, či môže mať počítač svoj monitor, čo má robiť:
I was wondering if it was possible to power on/off a display using a computer connected via HDMI. Let me explain:
I want my computer to power off my monitors (not standby mode) when I don’t use it (no keyboard/mouse input) for more than 15 minutes, and power them back when such input is received. My monitors are connected over HDMI, so I was wondering if it was possible to use the CEC functionality with a computer. If is it possible, then is there a hardware requirement ?
My point is that I often take a break from my computer, but forget to turn off the screens, and I would prefer to shut down the screens completely instead of putting them to standby mode.
Ako to môže urobiť?
Odpoveď
Synetech prispievateľ SuperUser ponúka niekoľko prehľadov a riešení:
I want my computer to power off my monitors (not standby mode) when I don’t use it (no keyboard/mouse input) for more than 15 minutes, and power them back when such input is received.
What you want is exactly what you are trying to avoid.
If the monitor is actually, fully off, then it can’t turn back on from a signal on the video cable. To allow it to turn on like that, there needs to be some sort of circuit in the monitor that remains on and active to watch for the signal. Monitors already have such a circuit, but turning them off turns that circuit off as well.
To use that circuit, you need to leave some electricity in the monitor, and that is exactly what standby does: it turns the display (and speakers, and everything else) off while leaving that one small circuit active.
With most modern monitors, there is essentially no difference between standby mode and fully off other than a tiny low-voltage trickle in that circuit and the LED on the front.
I have to pay for electricity, so we always avoid using electricity as much as is humanly possible, yet, I leave it in standby when I am using the computer and need to step away for a while (I turn both off when I am done for the day).
Instead of letting the monitor remain on for 15 minutes for nothing, your best best is to do what I do and simply get into the habit of either turning the monitor off whenever you get up to step away, or to manually put it into standby mode. What I do is to use the AutoHotkey script below (can be compiled to an executable that runs in the background if desired) to let me press ⊞ Win+M to sleep the monitor whenever I get up. Other options include using a shortcut or program, using a script or program to do it with a mouse-cursor hot-corner, or even just reducing the timeout from 15 minutes to five or so.
;Monitor Standby Hotkey;⊞ Win + M puts monitor in standby #m:: Sleep 1000; Pause for 1sec to prevent un-sleeping when key released SendMessage, 0x112, 0xF170, 2,, Program Manager; 0x112 is WM_SYSCOMMAND, 0xF170 is SC_MONITORPOWER; Use 1 in place of 2 to activate the monitor's low-power mode; Use -1 in place of 2 to turn the monitor on return
Jedným z riešení, ktoré môžeme dôrazne odporučiť, je pripojenie vašich monitorov k špecializovanému napájaciemu pruhu, aby sa zabránilo všetkým z nich. Zatiaľ čo toto riešenie bolo v princípe praktické a efektívne, zistili sme, že v aplikácii úplne rezanie napájania na monitory (namiesto použitia tlačidla napájania) by často viedlo k vymazaniu nastavení monitora. Bez ohľadu na čas, ktorý sme uložili pomocou jediného prepínača na napájacom páse, sme stratili pri rekonfigurovaní monitorov.
Máte niečo doplniť vysvetlenie? Zvuk vypnúť v komentároch. Chcete si prečítať viac odpovedí od iných používateľov technológie Stack Exchange? Pozrite sa na celý diskusný príspevok tu.