Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display control ON/OFF not working RPI4 Bookworm & Problem with postinstall #29

Open
SaschaSp opened this issue Dec 10, 2023 · 0 comments

Comments

@SaschaSp
Copy link

RPI4 due two HDMI Outputs & WAYLAND service the vcgencmd command not longer turn ON/OFF the HDMI port.

I changed file node_helper.js

line 61
exec('WAYLAND_DISPLAY=wayland-1 wlr-randr --output HDMI-A-1 --on --transform 270', function(error, stdout, stderr)
line 82
exec('WAYLAND_DISPLAY=wayland-1 wlr-randr --output HDMI-A-1 --off', function(error, stdout, stderr) {

HDMI output A1 = At the RPI4 next to the Type C plug, label HDMI0
HDMI output A2 = At the RPI4 next to the camera plug, label HDMI1

Maybe you have to try different transform values or other options, see WAYLAND_DISPLAY=wayland-1 wlr-randr --help via shell.

The other problem during installation was after typing npm install i get the ERR message no permissions for ../../node_modules/.bin/electron-rebuild

Together with github user @Tom-Hirschberger we found the solution.
chmod +x /home/pi/MagicMirror/node_modules/electron-rebuild/lib/src/cli.js in the MMM-Gestures folder and then npm install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant