#1115738 raspi-firmware: PoE HAT's fan not working due to outdated overlays

Package:
raspi-firmware
Source:
raspi-firmware
Submitter:
Fernando Fernández
Date:
2026-08-15 02:49:01 UTC
Severity:
normal
Tags:
#1115738#5
Date:
2025-09-19 17:01:06 UTC
From:
To:
Dear Maintainer,

I'm an user of the official's Raspberry Pi PoE Hat (the first one, not the PoE+)
With the current overlays distributed with this package, the fan doesn't work
(which in my case it's critical, since it being in a case means it overheats and crash
the whole system, but I'm aware not all users have a PoE Hat and/or case, so I don't
see it fitting the critical severity). However, as soon as I replace the files
from this package with the files from the official Raspberry OS distribution,
the fan works perfectly.

Every time a new kernel update is released, or initramfs is regenerated
with the 'update-initramfs' command, the files of /boot/firmware
are replaced with the version from /usr/lib/raspi-firmware, so I need to do this
every time this happens:

1. Download the official Raspberry Pi OS (64-bit) Lite image.
2. Access the FAT32 boot partition from the image and xtract all the files
except cmdline.txt, config.txt, kernel8.img and kernel_2712.img
3. Back to my Raspberry Pi, delete everything from /boot/firmware except
cmdline.txt, config.txt, initrd.img* and vmlinuz-* (those are the only things that you must keep in that folder)
4. Copy the files you obtained in step no. 2 to /boot/firmware

Once this is done, the fan keeps spinning at the next boot after a kernel or initramfs update.

I don't know the reasoning behind it but, for some reason, only a minor set of overlays
seem to be included in this package and not all of them. It
would be awesome if all of them could be included, which would make the
transition from Raspberry Pi OS user's to a real fully fledged Debian system much easier
(it took me a month to discover the workaround I listed before) +
avoid these kind of "obscure" issues that might not be relevant to you due to not having
way of reproducing this (in this case, I guess you don't own a PoE Hat and was completely unaware of this).

Hopefully this can be fixed before the next Debian major release because it's a real pain to remember
doing in every update and it's something that made me unable to access my Pi a few times I ran
apt upgrade on a rush days eariler and then completely forgot about it. I've been procrastinating opening this issue
for quite some time due to being really busy this past year and last May was almost going to open it,
but trixie was around the corner, which made me think that it might be already solved since all the overlays
from this package were going to be updated anyway, but I was wrong ^^'.

Hopeful that this information can help you get this sorted better, but in any case, don't hesitate to contact me
(it's my first time using Debian's bug tracker, so it might take a while for me to get used to it).

Thank you very much in advance,
Fernando

#1115738#10
Date:
2026-08-15 02:46:24 UTC
From:
To:
Hi, I check the content of the raspi-firmware package, and it includes post-update trigger script for initramfs and post-install trigger for kernel.

$ apt-file list raspi-firmware
raspi-firmware: /etc/initramfs/post-update.d/z50-raspi-firmware
raspi-firmware: /etc/kernel/postinst.d/z50-raspi-firmware
raspi-firmware: /etc/kernel/postrm.d/z50-raspi-firmware


The /etc/kernel/postinst.d/z50-raspi-firmware script copies some files into /boot/firmware/, but I am not sure about the list of files and all its side effects.
I guess you could add "set -x" at the beginning of the trigger script, and do something to trigger the script and check what are copied.

If you want to remove the trigger script, one option is to use dpkg-divert to rename it and put it in other folders, which is a one-time operation that works after upgrading the packages.

Best wishes,
liginity