Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ALSA: usb-audio: Mixer quirks for ASRock X870E Taichi
@ 2026-11-19 16:08 Brian Harring via B4 Relay
  2026-11-19 16:08 ` [PATCH v2 1/2] ALSA: usb-audio: Use ALC4080 mixer map " Brian Harring via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Brian Harring via B4 Relay @ 2026-11-19 16:08 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai; +Cc: linux-sound, Brian Harring

The ASRock X870E Taichi / Taichi Lite onboard audio (26ce:0a0b, Realtek
ALC4082) has its headphone volume control misassigned to the rear
output, resulting in the rear output being full volume and only
mutable, and the headphones falling back to software control.

Patch 1 uses the existing ALC4080 map to correct the assignment. This is
a fix: the headphones get their actual hardware control, and the rear
output falls back to software.

Patch 2 adds a hardware volume control for the rear output through the
ESS ES9219 DAC behind it.

Validation was against alsa-ucm-conf 1.2.16 and a 7.3.3 kernel. The
resultant changes to the PipeWire sinks are below:

7.3.3:
  SPDIF       HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY
  Speaker     HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
  Headphones  HARDWARE DECIBEL_VOLUME LATENCY

with remap:
  SPDIF       HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY
  Speaker     HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY
  Headphones  HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY

with remap + ES9219:
  SPDIF       HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY
  Speaker     HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
  Headphones  HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY

---
Changes in v2:

The sashiko issues reported in [1] should be fully addressed, enumerated
below.
- patch 1: sashiko: correct the comment stating the wrong feature unit.
- patch 2: sashiko: update the cache only upon success, and now do it per
  channel.  Channels are now named left/right for clarity.
- patch 2: use FIELD_* functions for the cache.
- Link to v1: https://patch.msgid.link/20261108-alc4082-taichi-v1-0-942558088157@gmail.com

For the usage of FIELD_* functions, I realize that may seem like overkill-
I did this for clarity, and since in probing the driver a bit further,
there is some logic in there related to microphone boosts.  That probably
has relevance to bugs like [2], despite that being ALC4080 specific.

[1] https://lore.kernel.org/linux-sound/sashiko-outbox-203925@kernel.org/
[2] https://bugzilla.kernel.org/show_bug.cgi?id=218913

To: Jaroslav Kysela <perex@perex.cz>
To: Takashi Iwai <tiwai@suse.com>
Cc: linux-sound@vger.kernel.org
Signed-off-by: Brian Harring <ferringb@gmail.com>

---
Brian Harring (2):
      ALSA: usb-audio: Use ALC4080 mixer map for ASRock X870E Taichi
      ALSA: usb-audio: Add ES9219 speaker volume for ASRock X870E Taichi

 sound/usb/mixer_maps.c   |  14 ++--
 sound/usb/mixer_quirks.c | 177 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 186 insertions(+), 5 deletions(-)
---
base-commit: 94dd534d2eb96ceea4e36f3d3f0651a1abaa9b99
change-id: 20261108-alc4082-taichi-af4789f5763e

Best regards,
--  
Brian Harring <ferringb@gmail.com>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-01  9:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19 16:08 [PATCH v2 0/2] ALSA: usb-audio: Mixer quirks for ASRock X870E Taichi Brian Harring via B4 Relay
2026-11-19 16:08 ` [PATCH v2 1/2] ALSA: usb-audio: Use ALC4080 mixer map " Brian Harring via B4 Relay
2026-11-19 16:08 ` [PATCH v2 2/2] ALSA: usb-audio: Add ES9219 speaker volume " Brian Harring via B4 Relay
2026-12-01  9:13 ` [PATCH v2 0/2] ALSA: usb-audio: Mixer quirks " Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox