Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: GPIO for display state
#3
(11-21-2020, 12:05 PM)Cardone Wrote: Hello,
on this page https://tangielskyblog.wordpress.com/201...i-display/ something is described.
Maybe this will help you ...


Ciao
zeferino

Hello there.

First thank you for the link but thats not what I want to do.
I do not have the Raspberry screen so it wont work and I do not want to use any sensor to wake the screen up.

I just want a GPIO that goes into high state when the screen blanks.

Some Ideas I had:

    Code:
    /opt/vc/bin/tvservice -s
  • or

    Code:
    vcgencmd display_power
  • With these commands you can see the hdmi status, does it turn off while blanking? If yes we could construct a script around it. (I can create scripts in batch, a bit powershell visualbasic but sadly nothing Raspberry related...)
I can see that we are using a Raspbian image without xfce or any Desktop running. I don't know how blanking is managed by Tim. Maybe he just built his own function. As I thought saw the option of a GPIO activated by display change we could also just take this signal and delay it for the set blanking time. This would maybe work but is a rather dirty solution.

Have a nice rest of the weekend!
Ale
Creating solutions, not finding problems.
Reply


Messages In This Thread
GPIO for display state - by Ale2.0 - 11-21-2020, 11:29 AM
RE: GPIO for display state - by Cardone - 11-21-2020, 12:05 PM
RE: GPIO for display state - by Ale2.0 - 11-22-2020, 04:30 PM
RE: GPIO for display state - by Tim Curtis - 11-22-2020, 06:19 PM

Forum Jump: