Audio

CM5 speaker static at low battery: two workarounds

Below roughly 15 % battery the CM5's speaker picks up boost-converter noise; beams' power_save=0 modprobe option or Rex's audio-disable package quiet it.

Compatibility
CM5
Difficulty
Easy
Status
Available
Author
beams
Added
Source
ClockworkPi forum

What it takes

  • Config change

Difficulty 1 of 3 — easy.

Details

The buck/boost converter works harder as the cells sag and the noise ends up in the PWM audio path (Alien's explanation in Rex's thread). beams' workaround disables the sound card's power-save: options snd_usb_audio power_save=0 in /etc/modprobe.d/snd-usb-audio.conf, or options snd_bcm2835 power_save=0 for the built-in audio on Raspberry Pi OS Trixie, then reboot. It helped beams; two replies say it did nothing for them.

Rex's clockworkpi-audio-disable package (sudo apt install clockworkpi-audio-disable, then audio-disable from the System Tools menu) is blunter: it stops the headphone-detect service and routes audio to the jack so the speaker stays quiet until the next reboot. Debian-based images only. Charging the battery is the actual fix.

Open at Forum thread
  • audio
  • speaker
  • noise
  • CM5
  • battery

← Back to Audio