Page 1 of 2

hdmi wake up

Posted: Sat Nov 09, 2019 4:29 am
by ve2se
After a while hdmi port switch disable , How to wake up the hdmi port ? Or disable the time out ?
ve2se

Re: hdmi wake up

Posted: Sat Nov 09, 2019 7:20 pm
by kc7ngc
Need more detail as power management/blanking etc is different across the OS releases and hardware.

Which Model Raspberry PI are you using?
Which version of pistar are you using?

Re: hdmi wake up

Posted: Sun Nov 10, 2019 3:47 am
by ve2se
i am using a raspbery pi 3+ and Pi-Star:4.1.0-RC4 / Dashboard: 20191101
tnx for reply

Re: hdmi wake up

Posted: Mon Nov 11, 2019 4:44 pm
by kc7ngc
Sorry for late reply. IN the ultimate irony, my monitor died over the weekend.

Official documentation from raspbian that documents how to disable screen blanking of text and graphic consoles is here:
https://www.raspberrypi.org/documentati ... ensaver.md
Which should work on the 4.1 beta of pistar.

Be careful when editing the kernel boot command line info as if you type it your card won't boot and you will need to put card into another machine to be able to fix the error. So I recommend backing up the cmdline.txt file someplace before you edit it to make it easier to undo any potential mistakes.

If you are having an issue when monitor is turned off and back on that nothing ever displays again on the monitor you might need to try forcing HDMI detection to allways be on for the raspberry pi.
Do so by editing the /boot/config.txt file on the raspberry pi and try uncommenting the line that says hdmi_force_hotplug=1 by removing the # at the front of the line so the section looks like below. Save the file, then shutdown and reboot the raspberry pi.

Code: Select all

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

Re: hdmi wake up

Posted: Mon Nov 11, 2019 5:19 pm
by kc7ngc
Some additional info. For testing purposes you can toggle HDMI display output on and off using the following commands over SSH:

To power off:

Code: Select all

vcgencmd display_power 0
To Power on:

Code: Select all

vcgencmd display_power 1

Re: hdmi wake up

Posted: Wed Nov 13, 2019 6:12 pm
by ve2se
No luck my tv show hdmi no signal , i have to reboot the pi to have it again to get hdmi signal back on , until time out

Re: hdmi wake up

Posted: Sun Oct 31, 2021 9:03 am
by m1cfk
I find this too on my pi0w.
tried the above but makes no difference.
no hd signal out after pi being on for a while.

Re: hdmi wake up

Posted: Sun Oct 31, 2021 9:08 am
by m1cfk
this seems to restart the port, but now just get a black screen and nthing else

To turn off your monitor with tvservice, run:

$ tvservice --off

You can then wake the monitor back up with:

$ tvservice --preferred

Re: hdmi wake up

Posted: Sun Oct 31, 2021 7:52 pm
by m1cfk
yea, got kb in. I unplugged and replugged to get a redetect but makes no change there :(
Does the usb ports go to sleep after no activity? no idea.

Re: hdmi wake up

Posted: Mon Nov 08, 2021 11:22 am
by n7ekg
I've also been able to duplicate this behavior in a fresh install of 4.1.5. I've got an application running on the console that refreshes the display every minute or so, and after a while the HDMI display signal shuts off. No amount of keyboard or mouse activity will wake it up. Rebooting the Pi (4B, 8GB of RAM) brings everything back to normal.

As for the pi-star being designed to be headless, I don't see how this would in any way affect the HDMI display code.