Removing irqbalance disables power button on Raspberry Pi 5

Bug #2057822 reported by David Myers
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-raspi-settings (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

As discussed in Bug #1833322: "Please consider no more having irqbalance enabled by default (per image/use-case/TBD)" (https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1833322) the irqbalance package will no longer be installed by default in Noble. So as a test I removed the package from my Raspberry Pi 5 running Mantic Server, after which the Pi 5's power button no longer worked to poweroff the system. Re-installing irqbalance caused the button to work again.

With irqbalance installed I see these messages at boot time:

kernel: input: pwr_button as /devices/platform/pwr_button/input/input1
systemd-logind[694]: Watching system buttons on /dev/input/event0 (pwr_button)

Without irqbalance I see this:

kernel: gpio-keys pwr_button: Unable to get irq number for GPIO 0, error -6

So the Raspberry Pi 5 might still need irqbalance installed, or perhaps there's a better solution for enabling the button.

I have the following appended to the Mantic default /boot/firmware/config.txt:

# Trickle charge the RTC battery (default: don't charge)
dtparam=rtc_bbat_vchg=3000000
# Enable the PCIe external connector
dtparam=nvme
# Force PCIe Gen 3.0 (default: Gen 2.0; not certified for Gen 3.0)
# dtparam=pciex1_gen=3
# Enable second serial port on GPIO 14 & 15 (default: disabled)
dtparam=uart0
# Change activity LED behavior (default: blink for MMC access)
dtparam=act_led_trigger=heartbeat
# Disable Bluetooth (not wanted on a server)
dtoverlay=disable-bt-pi5
# Enable PPS on GPIO 18 for MAX-M8Q GNSS HAT
dtoverlay=pps-gpio,gpiopin=18,capture_clear

David Myers (demyers)
description: updated
Steve Langasek (vorlon)
affects: ubuntu-meta (Ubuntu) → ubuntu-raspi-settings (Ubuntu)
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote (last edit ):

Using Edubuntu Noble Numbat daily build 20240311

Kernel: 6.8.0-1001-raspi

--

2024-03-13T14:07:03.202417-07:00 erich-edubuntu-rpi5 kernel: input: pwr_button as /devices/platform/pwr_button/input/input1

--

Verified `irqbalance` is not installed.

This is using the exact same kernel setup and package as Ubuntu Desktop RaspberryPi with just some additional packages, otherwise no difference.

Therefore, unable to reproduce.

Changed in ubuntu-raspi-settings (Ubuntu):
status: New → Incomplete
Revision history for this message
David Myers (demyers) wrote :

On Mantic Server I have 6.5.0-1012-raspi, so hopefully the newer kernel solves the problem and there's nothing to be done for Noble. Thanks for testing.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Thanks, David.

With that in mind, I'm going to close this as "Invalid" since this isn't a bug that can be reproduced in Noble, and removing `irqbalance` isn't part of the default setup for Mantic, which I'd ascertain as unsupported in that case.

I do, however, thank you for bringing it to our attention, but since there's just nothing for us to do, I'm closing this bug. :)

Changed in ubuntu-raspi-settings (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.