MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Remote-control all working except for monitor on and off

    Scheduled Pinned Locked Moved Troubleshooting
    12 Posts 3 Posters 3.4k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      diemen112 @karsten13
      last edited by

      @karsten13
      ah thank you for your help

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        thobach @diemen112
        last edited by

        @diemen112 @karsten13 For bullseye I needed to change the display driver to the fake kms one (dtoverlay=vc4-fkms-v3d in /boot/config.txt) to have any effect of vcgencmd.
        Afterwards vcgencmd only worked from the host, but not from @karsten13’s docker container. There I ran into the same problem with my MMM-Gestures module:

        [09.10.2022 17:54.49.927] [LOG]   Sun Oct 09 2022 17:54:49 GMT+0200 (Central European Summer Time): exec error: Error: Command failed: vcgencmd display_power 0
        vcgencmd: error while loading shared libraries: libvchiq_arm.so.0: cannot open shared object file: No such file or directory
        

        I fixed it by mounting two more files from the host, my volume mounts now are:

            volumes:
              - ../mounts/config:/opt/magic_mirror/config
              - ../mounts/modules:/opt/magic_mirror/modules
              - ../mounts/css:/opt/magic_mirror/css
              - /tmp/.X11-unix:/tmp/.X11-unix
              - /opt/vc:/opt/vc/:ro
              - /usr/bin/vcgencmd:/usr/bin/vcgencmd
              - /usr/lib/arm-linux-gnueabihf/libvchiq_arm.so.0:/usr/lib/arm-linux-gnueabihf/libvchiq_arm.so.0
              - /usr/lib/arm-linux-gnueabihf/libvcos.so.0:/usr/lib/arm-linux-gnueabihf/libvcos.so.0
              - /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
        
        1 Reply Last reply Reply Quote 0
        • 1
        • 2
        • 2 / 2
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy