2015-05-11, 21:55
Hi!
I have a slideshow running in Kodi.
When no motion is detected the following command is run, which successfully turns off the screen.
/opt/vc/tvservice -o
When motion is detected then the following command successfully turns on the screen.
/opt/vc/tvservice -p
HOWEVER... the screen is blank... if I tell the script to kill Kodi and then start Kodi, the screen displays Kodi once again...
I've tried
sudo chvt 6
sudo chvt 7
to try and force a refresh... doesn't work.
I'm running raspbian and wondering if anyone could suggest a solution... whilst it does work the way I have it, killing and restarting the program is not really ideal, just to get it displaying on the screen again.
Cheers,
John
I have a slideshow running in Kodi.
When no motion is detected the following command is run, which successfully turns off the screen.
/opt/vc/tvservice -o
When motion is detected then the following command successfully turns on the screen.
/opt/vc/tvservice -p
HOWEVER... the screen is blank... if I tell the script to kill Kodi and then start Kodi, the screen displays Kodi once again...
I've tried
sudo chvt 6
sudo chvt 7
to try and force a refresh... doesn't work.
I'm running raspbian and wondering if anyone could suggest a solution... whilst it does work the way I have it, killing and restarting the program is not really ideal, just to get it displaying on the screen again.
Cheers,
John