From be5e31e3a473b618ccacdb40a90df70f7866ab69 Mon Sep 17 00:00:00 2001 From: Stamate Viorel Date: Wed, 10 Jun 2026 14:33:34 +0200 Subject: [PATCH] Disable USB autosuspend for the CM6206 USB audio device The CM6206 provides the digital outputs for sources 1-3; with kernel USB autosuspend active it can power down between uses and glitch on resume. Pin power/control to 'on' from the same udev rule that already names the card. Signed-off-by: Stamate Viorel Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 1 + config/85-amplipi-usb-audio.rules | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd1894792..5c072b0f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * Upgraded volume calculations to preserve relative positions when hitting the min or max setting via source volume bar * Update our spotify provider `go-librespot` to `0.7.3` * Upgrade from Logitech Media Server 8.5.2 to Lyrion Music Server 9.0.3 + * Disabled USB autosuspend for the CM6206 USB audio device # 0.4.11 * System diff --git a/config/85-amplipi-usb-audio.rules b/config/85-amplipi-usb-audio.rules index 8f2ad7813..45c4fb3f6 100644 --- a/config/85-amplipi-usb-audio.rules +++ b/config/85-amplipi-usb-audio.rules @@ -1 +1,4 @@ ACTION=="add", SUBSYSTEM=="sound", DEVPATH=="/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3\:1.0/sound/card?", ATTR{id}="cmedia8chint" + +# Disable USB autosuspend for CM6206 audio codec to prevent mid-stream suspend hang +ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0d8c", ATTR{power/control}="on"