2 ms·
Show HN: Power off all DDC/CI capable displays on Windows shutdown
- alin23 4y agoNice idea! That might come in handy for desktops. Note that if anyone wants to do the same thing on macOS or Linux: 1. macOS: Using the Lunar CLI (https://lunar.fyi/#cli https://lunar.fyi/#cli) you can run lunar displays external power off 2. Linux: Using ddcutil (https://www.ddcutil.com https://www.ddcutil.com) you can run ddcutil setvcp 0xD6 5 The shutdown event can be caught using launchd on macOS (https://github.com/freedev/macosx-script-boot-shutdown https://github.com/freedev/macosx-script-boot-shutdown) and using systemd on Linux (https://askubuntu.com/a/1335024 https://askubuntu.com/a/1335024).
- rasz 4y agoWhat problem does this solve? All of my displays automagically detect lack of signal and switch to sleep mode since mid nineties when monitors started supporting DDC.
- cjmaxik 4y agoThere are some problems with DisplayPort monitors, so when the screen goes off by Windows command, they will never resume after the input. You have to manually plug and unplug the monitors (either a power cord or DP cord) in order to enable them in the system again. DDC/CI support for DP devices is partial in most of the cases. For example, my AOC monitors lack an "Off" command, only "HardOff", which disables the monitor completely.