Enabling the internal speaker on a CM5
A CM5 needs the RP1 audio remapped to GPIO 12/13 (dtoverlay=audremap,pins_12_13) and the amplifier enable pin driven high; current images already do both.
What it takes
- Config change
Difficulty 1 of 3 — easy.
Details
libbkmz worked it out in April 2025 when the CM5 was new: add dtoverlay=audremap-pi5,pins_12_13 to config.txt — kernel 6.12.17 or later, the version that brought RP1 audio out (raspberrypi/linux PR 6668) — then drive the amplifier enable (PA_EN, GPIO 580 on the CM5) high from rc.local with the sysfs export/direction/value commands, the CM5 counterpart of the CM4's GPIO 523.
Rex replied that his 6.12.y images have shipped working audio since release using dtoverlay=audremap,pins_12_13, so this is for people building their own image or debugging a silent speaker. Static at low battery is a separate problem with its own entry.

