Turning off HDMI on Vero 2

Hi, I’ve been using the great pimon screensaver by timker to turn off the HDMI port on my Raspberry Pi to turn off the attached LCD monitor.

Now I have a Vero 2 and that screensaver no longer turns the screen off, it just makes it go black with the backlight still on.

This actually seems like a request for DPMS rather than turning off HDMI.

I will see if I can get some time to look at this

Ah yes, that makes sense. As I said, the pimon screensaver managed to do that on a Pi though. It would be great to have something native in OSMC or for the Vero.

I can take a stab at this in a couple of weeks.

Can you confirm that:

echo 0 | sudo tee /sys/class/amhdmitx/amhdmitx0/phy

Turns off your display? That actually turns off the HDMI signal, which I’m not keen on doing, as some people may want to listen to music etc.

echo "VIC:0" | sudo tee /sys/devices/virtual/amhdmitx/amhdmitx0/disp_mode

Should also work – and (might) preserve audio; but can’t test at the moment as I am travelling.

I used the second command and that worked great. I did try and play an episode to check whether audio remained, but it did not. That doesn’t really bother me though.

How can I turn the display on again? Echo 1?

It would be great to have this as a screensaver.

cat /sys/devices/virtual/amhdmitx/amhdmitx0/disp_mode first and find out what VIC mode you are using, then echo that back.

This can be done

So I used the cat command while the screen was on and got 16. After I echoed 0, the screen went off. When I then used the same command, but with 16 instead of zero, the screen stayed off.

After the echo, I used cat again, which showed that the current mode was still zero.

Paste the commands that you ran. If cat shows VIC stayed as 0, it suggests command was unsuccessful. I suspect permissions, i.e not running with sudo tee

echo "VIC:16" | sudo tee /sys/devices/virtual/amhdmitx/amhdmitx0/disp_mode

VIC16 is 1080p60

Try changing VIC16 to “1080p”