The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Agustin Luzardo <agustinluzardo09@gmail.com>
Cc: perex@perex.cz, tiwai@suse.com, linux-sound@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: usb-audio: Add quirk for Redragon H510-PRO Wireless headset
Date: Wed, 08 Jul 2026 12:39:06 +0200	[thread overview]
Message-ID: <875x2p6a0l.wl-tiwai@suse.de> (raw)
In-Reply-To: <20260705184227.113588-1-agustinluzardo09@gmail.com>

On Sun, 05 Jul 2026 20:42:27 +0200,
Agustin Luzardo wrote:
> 
> The device with USB ID 040b:0897 (Weltrend Semiconductor chipset,
> sold rebranded as the Redragon H510-PRO Wireless headset, reporting
> "XiiSound Technology Corporation" in its USB string descriptors)
> reports a constant value on GET_CUR for its PCM Playback Volume
> control while still supporting an actually tunable volume. This
> trips the sticky-value detection in check_sticky_volume_control(),
> which disables the mixer control entirely:
> 
>   usb 1-4: 5:0: sticky mixer values (0/100/1 => 80), disabling
> 
> As a result, the device boots with playback volume effectively muted
> and provides no way to raise it through the normal ALSA/PipeWire
> mixer path.
> 
> Apply QUIRK_FLAG_MIXER_GET_CUR_BROKEN so the sticky check marks the
> control as get_cur_broken and relies on the cached value instead of
> disabling the mixer control outright.
> 
> Tested by backporting this quirk flag and the supporting
> get_cur_broken logic onto a Linux 7.1.2-zen kernel build that does
> not yet carry it, and confirming that after applying the flag the
> kernel log changes from:
> 
>   usb 1-4: 5:0: sticky mixer values (0/100/1 => 80), disabling
> 
> to:
> 
>   usb 1-4: 5:0: broken mixer GET_CUR (0/100/1 => 80)
> 
> with the control usable via the driver's cached value afterward.
> 
> Signed-off-by: Agustin Luzardo <agustinluzardo09@gmail.com>

Applied this one now.  Thanks.


Takashi

      parent reply	other threads:[~2026-07-08 10:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-05 18:42 [PATCH] ALSA: usb-audio: Add quirk for Redragon H510-PRO Wireless headset Agustin Luzardo
2026-07-07 18:31 ` [PATCH] ALSA: usb-audio: Do not drop per-channel feature controls marked get_cur_broken Agustin Luzardo
2026-07-08 10:40   ` Takashi Iwai
2026-07-08 18:35   ` Agustin Luzardo
2026-07-08 10:39 ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875x2p6a0l.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=agustinluzardo09@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox