Read the statement by Michael Teeuw here.
How to schedule on off in magic mirror
-
Hi all
Can I know what are the solution to schedule on off monitor for the magic mirror?
I’m trying mmm remote control but it’s either I’m doing it wrongly or it doesn’t seems like it’s working.Appreciate any help please
-
ill be damned. managed to get it to work using this after some searching
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”.
-
@1a2a3a what os version are you running
dolsb_release -a uname -a
on what device? pi3, 4?
many os changes have caused different screen off functions to no longer work
like
tvservice is no more
vcgencmd works on some
xrandr works with xwindows, not with wayland
cec-client works in my pi4, not my pi3
there are new Wayland commandsI don’t know what different modules support, many have not been updated in quite some time.
there is no required commitment to maintain 3rd party modules. they are ‘as is’ in many cases. but open source for anyone to enhance
-
@sdetweil hello
lsb_release -a returns -
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseyeuname -a returns-
Linux pi-mirror 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linuxraspberyy pi 3b+
which one should i use and can you advise me on the code please?
-
-
ill be damned. managed to get it to work using this after some searching
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”.
-
this doesnt seems to work on rpi5 bookworm…
-
i have also check that wayland is enabled.
when i ssh from terminal it says fail to connect to display.
but when i type wlr-randr on the pi itself, it has result. but i didnt trigger the off because i have no idea how to turn it back on?
Also, this is my code in cron but it doesnt work as well…
52 17 * * * /usr/bin/wlr-randr --output HDMI-A-2 --on
51 17 * * * /usr/bin/wlr-randr --output HDMI-A-2 --off -
@1a2a3a sorry I don’t know xrandr.
you
might look at bugsounet mmm-screen. he worked on some Wayland stuff not long ago for this.