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

Raspberry Pi 5 (bookworm) power button does not work with Arcade Bonnet script #314

Closed
jareddonovan opened this issue May 24, 2024 · 1 comment
Labels

Comments

@jareddonovan
Copy link

Script Command

https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/arcade-bonnet.sh >arcade-bonnet.sh
sudo bash arcade-bonnet.sh

Operating System

64 Raspberry Pi Os (bookworm)

Hardware

Raspberry Pi 5 8Gb

Behavior

The raspberry pi 5 includes a power button, which if you press once should bring up the shutdown dialog, if you press twice should prompt the Pi to restart, and if you hold it down it will do a hard power off. More info here: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#power-button

In a separate issue (#313), I reported how the script does not work on the raspberry pi 5 with bookworm operating system and what I did to get it working. I did not install the GPIO-halt utility as part of that installation.

However, I have since noticed that the raspberry pi 5 power button has stopped working. The hard-reset still works, but the short press and the double-press interactions no longer work. I tried from a fresh install of the operating system and confirmed that it does work until the arcade bonnet script is installed.

I came back and tried to install the GPIO halt utility and the arcade-bonnet.sh script was unable to successfully install. The error from the script is as follows:

gpio-halt.c:63:10: fatal error: bcm_host.h: No such file or directory
    63 | #include <bcm_host.h>
       |          ^~~~~~~~~~~~

Description

No response

Additional information

No response

@jareddonovan
Copy link
Author

I found out that even though the gpio-halt program doesn't install, it wasn't this that was causing my power button not to work.

It was my fault. I'd commented out the keybindings for the powerbutton in ~.config/wayfire.ini. The last ones of these relate to the power button.

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

No branches or pull requests

1 participant