Read the statement by Michael Teeuw here.
MMM-RemoteControl or vcgencmd Issue
-
I had the same issue, I use MMM-PIR-Sensor-Lite to switch the monitor off and on again. On the command line “vcgencmd display_power 0” does not work, the return is always: “display_power=1”.
I have tried a few things, they all did not work.
Edit the “config.txt” in the “/boot” directory.Go to:
“# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2”And change “dtoverlay=vc4-kms-v3d” to “dtoverlay=vc4-fkms-v3d”.
There is a bug in the “vc4-kms-v3d” driver.
After changing in the “config.txt” “vcgencmd display_power 0” returns a “display_power=0”.
MMM-PIR-Sensor-Lite now works as desired.
-
@MiPraSo Well done! Thank you. Your solution works perfectly. I do not understand why others are not experiencing the same issue however, they now have a solution. Thank you, again.
-
@OberfragGER do you have it set for cec-client mode? it does all 4 approaches
-
@sdetweil I dont have any proble with CEC e.g…? Or do you just mistakenly quotet me…?
-
@OberfragGER no, I was just asking how you used NEW-Pir
-
@sdetweil I just use the Standard setting in my config.js.
Standard = use vgencmd -
@OberfragGER we have discovered that some pi firmware (updated under the covers by some kernel updates) causes the vcgencmd to not work,
-
Ongoing fix! More information in my last post ;-)
-
@sdetweil Thanks for your info.
I assume that i have an working firmware. I dont have any clue which version this is.
-
@OberfragGER right, the latest update broken then command
do this from a terminal window
rpi-update b976c54917e240630c05a9b383010f1492bc61b4