kriss
Posts: 66
Joined: Thu Apr 02, 2015 8:53 pm
Location: france for now ...

turn hdmi screen off in linux ?

Mon May 11, 2015 10:24 am

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

User avatar
RaTTuS
Posts: 10500
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: turn hdmi screen off in linux ?

Mon May 11, 2015 10:26 am

tvservice -o
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

kriss
Posts: 66
Joined: Thu Apr 02, 2015 8:53 pm
Location: france for now ...

Re: turn hdmi screen off in linux ?

Mon May 11, 2015 11:13 am

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 ?

User avatar
RaTTuS
Posts: 10500
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: turn hdmi screen off in linux ?

Mon May 11, 2015 12:33 pm

How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

kriss
Posts: 66
Joined: Thu Apr 02, 2015 8:53 pm
Location: france for now ...

Re: turn hdmi screen off in linux ?

Mon May 11, 2015 12:42 pm

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

User avatar
DougieLawson
Posts: 36554
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: turn hdmi screen off in linux ?

Tue May 12, 2015 11:00 am

git clone http://github.com/raspberrypi/userland
cd userland
./buildme

That will get you the tvservice command in /opt/vc/bin
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Troubleshooting”