Hi,
I’ve moved my Pisound HAT from a Raspberry Pi 5 (where it was working fine) to a Raspberry Pi 4 Model B Rev 1.4, and it’s not being detected.
Setup:
- Raspberry Pi 4 Model B Rev 1.4
- Patchbox OS (Bookworm), kernel 6.6.20+rpt-rpi-rt-v8
- dtoverlay=pisound in /boot/firmware/config.txt
- dtparam=spi=on
dmesg output:
[ 4.195821] pisound: Using SPI speed: 150000
[ 4.195834] pisound: Searching for spi device…
[ 4.195840] pisound: Found!
[ 4.379196] pisound: Reading card info failed: -22
[ 4.379218] pisound: pisnd_spi_init failed: -22
[ 4.379222] snd-rpi-pisound: probe of soc:sound failed with error -22
The module loads and finds the SPI device, but fails to read card info. aplay -l shows no pisound card.
What I’ve tried:
- Re-seating the HAT
- Inspecting the board for physical damage/flux residue (nothing visible)
- Attempting firmware reflash via avrdude with the pisound-firmware repo — avrdude connects to /dev/spidev0.0 but gets signature 0x000000 (device not responding)
- Confirmed SPI pins (GPIO 9/10/11) are correctly set to SPI alt functions
The HAT was previously on a Pi 5 using dtoverlay=pisound-pi5 (SPI speed 100kHz). Now on Pi 4 the driver uses 150kHz. Could the firmware have been updated for Pi 5 in a way that’s incompatible
with the Pi 4 driver? Or is there something else I should check?
Any advice appreciated. Thanks!