Page 1 of 1

turn hdmi screen off in linux ?

Posted: Mon May 11, 2015 10:24 am
by kriss
hi
xset dpms 0 0 6 turn the screen off on any linux on any pc
a real screensaver ;)
on my RPI2 any linux i tried give a "black" screen without turning it off
where do i start to avoid this "nice behavior" ?
thanks

Re: turn hdmi screen off in linux ?

Posted: Mon May 11, 2015 10:26 am
by RaTTuS
tvservice -o

Re: turn hdmi screen off in linux ?

Posted: Mon May 11, 2015 11:13 am
by kriss
thanks RaTTuS
anyway i don't have tvservice on raspex
do you know how to do the same from bash script or do i have to dig in the source ?

Re: turn hdmi screen off in linux ?

Posted: Mon May 11, 2015 12:33 pm
by RaTTuS

Re: turn hdmi screen off in linux ?

Posted: Mon May 11, 2015 12:42 pm
by kriss
raspex is a mix of debian 8 and ubuntu 15.04 with linaro tools
i read a little tvservice.c and i need to dig much more to realy know how to make a small thing to solve this ;)
once i found i'll post it here ;)
thanks again RaTTuS

Re: turn hdmi screen off in linux ?

Posted: Tue May 12, 2015 11:00 am
by DougieLawson
git clone http://github.com/raspberrypi/userland
cd userland
./buildme

That will get you the tvservice command in /opt/vc/bin