[PATCH alsa-ucm-conf 2/3] codecs/es8316: Fix 'HP Mixer Volume' setting

Hans de Goede hdegoede at redhat.com
Sun Mar 7 21:03:07 CET 2021


The 'HP Mixer Volume' control is interesting in that it has a hole
in its range which should not be used (described in the tlv table),
valid values are 0-4 and 8-11

I assume that the "Set HP mixer vol to -6 dB (4/7) louder does not work"
comment which this patch changes comes from attempts to use values in
that hole in the range (also notice the wrong max value in the comment).

Setting the HP mixer to -6 dB causes the sound to be significantly
softer then under Windows. This commit fixes this by initializing the
HP mixer control to 11 / 0 dB.

Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 ucm2/codecs/es8316/EnableSeq.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ucm2/codecs/es8316/EnableSeq.conf b/ucm2/codecs/es8316/EnableSeq.conf
index 272ef1a..147ce53 100644
--- a/ucm2/codecs/es8316/EnableSeq.conf
+++ b/ucm2/codecs/es8316/EnableSeq.conf
@@ -7,8 +7,8 @@ EnableSequence [
 
 	# Set HP vol to 0 dB (3/3)
 	cset "name='Headphone Playback Volume' 3"
-	# Set HP mixer vol to -6 dB (4/7) louder does not work
-	cset "name='Headphone Mixer Volume' 4"
+	# Set HP mixer vol to 0 dB 
+	cset "name='Headphone Mixer Volume' 11"
 	# Set DAC vol to 0 dB (192/192)
 	cset "name='DAC Playback Volume' 192"
 
-- 
2.30.1



More information about the Alsa-devel mailing list