Skip to content

Commit 72d1806

Browse files
stamateviorelclaude
andcommitted
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 <stamate.viorel@gmail.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 802fa30 commit 72d1806

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* Update our spotify provider `go-librespot` to `0.7.3`
77
* Upgrade from Logitech Media Server 8.5.2 to Lyrion Music Server 9.0.3
88
* Added in-place preamp recovery when I2C writes fail persistently
9+
* Disabled USB autosuspend for the CM6206 USB audio device
910
* Web App
1011
* Add warning for older versions of the webapp running on newer backends
1112

config/85-amplipi-usb-audio.rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
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"
2+
3+
# Disable USB autosuspend for CM6206 audio codec to prevent mid-stream suspend hang
4+
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0d8c", ATTR{power/control}="on"

0 commit comments

Comments
 (0)