Closed mikldt closed 10 years ago
Concerto v1 screen control is discussed here: https://groups.google.com/forum/#!msg/concerto-digital-signage/sgGQay36qP0/nAZ6YKmnURYJ
The schedule.pl referenced is here: https://github.com/asquared/concerto-player/blob/master/concerto-configurator/files/etc/tasks/schedule.pl
If @gabe283 or @khanh could do some field testing with this command, it would be good to know how widespread support for this is.
Ping on field testing.
@mikldt I was able to do this, although i didn't need xset s reset, we should include it for posterity though.
Since DPMS is the simplest way to turn the screen on and off, and used fairly widely, it should probably be the first screen control method we implement.
The code would live in the background job callback, the
background-job
view in the Bandshell app. It can use thescreen_scheduled_on?
method to check the desired state.From some initial research and testing, the following commands should work:
However this should be tested on the Player image with an actual HDMI-connected screen. It may be possible to get a little more sophisticated, such as checking DPMS availablility on monitor state, for example by parsing the output of
xset q
.