[Bug 299139] Restore display audio when playback starts after monitor sleep

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Oct 2026 07:17:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299139

Christos Margiolis <christos@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|multimedia@FreeBSD.org      |christos@freebsd.org
             Status|New                         |In Progress
                 CC|                            |obiwac@FreeBSD.org

--- Comment #3 from Christos Margiolis <christos@freebsd.org> ---
(HDA_CMD_GET_POWER_STATE_ACT(power) != HDA_CMD_POWER_STATE_D0 ||
HDA_CMD_GET_POWER_STATE_SET(power) != HDA_CMD_POWER_STATE_D0))

Why are we checking HDA_CMD_POWER_STATE_D0 against 2 different things?

hdaa_audio_ctl_amp_set(ctl, HDAA_AMP_MUTE_DEFAULT, HDAA_AMP_VOL_DEFAULT,
HDAA_AMP_VOL_DEFAULT);

The patch says "restore saved amplifier settings", but this seems to be setting
the default ones, not saved. Or am I missing something?

-- 
You are receiving this mail because:
You are the assignee for the bug.