From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D11EFC0A for ; Sun, 5 Jul 2026 18:42:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783276969; cv=none; b=U5LgEwJx5hG631UchzwONg8sU2xrPfncQoxJZ6YVqxk75wmrj8KKNTTZnl2FqFL5X+FOj/vfUXwNZij0qD2Jwy+t5jVX9xQQ9ZCtcdXt/LV2CHi+gXA7FJJGbDbPYKMQCl/rIoJTjanPbf3H2F2dcKYSMhBcs8oyUodeTvzdAS0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783276969; c=relaxed/simple; bh=p9UeoAiX2RlCWV/14GWGCsXa5gaWPsbFepH8lXWUn94=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RzWq79AaxdLxuakiwtX+fmuguGrhISKPwIAdVHN9UFfimweeqhQXWs/kzDImsg4YiphaWfIIqiE+K+lqYmv90DRzLjQNwnqO5JvQh6UP4D1GNkzAB7IjSlVhHseRV7gmEraNNB/KS1YDI6ye6BICR4ZEoTB64FhMFDS/3AWp4Dk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bjopPVE9; arc=none smtp.client-ip=209.85.214.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bjopPVE9" Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-2ca64c3ce5fso23980115ad.3 for ; Sun, 05 Jul 2026 11:42:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783276968; x=1783881768; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=FHJZjBSfR8znWVn0hETgNilBhp5qzbTw+DVwC8l5bo8=; b=bjopPVE90QIbp0lxTwGpDa0jVVSFUbCEW9aiOOb/qD8EVGBNu+7naHmukzN1L/3fZe /VTG6/D495to9jjXScLCLWFa+PoWyq1ylsPX00ALUJYbSx7bKv2Qaddh8ycd10u5vjqG fbKUn7Mmq8JA2GWGEkwBz/ekPhFYtBgZLYnUNI6HjebUVE9B7L9CULmPQliqK2rqCaXG tSZ2Y3Gvh5Rbg5xG62JjqzEi7evu8SO8ulnFmcTVJpAluQFwkcqe9NU9/M/baSull2Bu pYtWW1i7fDRG+MKlAe8EeDh/+pXRzLqnA9fp7MuVdHpO5jg4OWXIyJnbP7G7OpdbIcrd CvRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783276968; x=1783881768; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FHJZjBSfR8znWVn0hETgNilBhp5qzbTw+DVwC8l5bo8=; b=MxxH6Kg6C5hyCWiPolehgZOlWbHX56hx3vqTMtcs/5wMyQiMcBBEocQckXEyTvgFbM HplDGV3W+xpyAhiu88HBDJZNBkwe0ClolGY1pxWoevEclzPSLNzK3TDa0IphgblxPer/ +mJ9WLuxYeJhbl50CFyopQSoJXbYHm7mipIcJzA+VOqhmzH7AziiioE13LYH6p65LZVi noCFCkdG0/skBHHDknyjU0HMwaHLX4OR9DAlmEZo+U7/se1dK8x5CjkF6GM+76DnNE8F JqvgfY8FAMBKImZzNEUppe/+VooM9sws8yNlecbTvtWIxYNb+HWPVOfq6weD6VK60D/c a1UQ== X-Forwarded-Encrypted: i=1; AHgh+RqV5V97YmA3/wTnKdeK01sqV9oVlDtziuf7grc2Y2EzmykMRxiHJ8C8+M5NZgVY6wkhSllTzh/j1VHKyUo=@vger.kernel.org X-Gm-Message-State: AOJu0YwBmeTDnxWGdx+pTP9JMJiL+GG/mKpx3Dr8Gj2o74/lfX3Rwybd ZRRsLM8lqMOa2aJhml1r5a0WIUYFuVr9WBjiE6/y+fB5jo+uevPcuNkY X-Gm-Gg: AfdE7cliPS5uxOcm3r7V1dVmGephR7jGP0vlbd2i3YKBoo5V5Ur0X2Y0aZYcDR9TzqD H5uAL0PzNnpadQt2Yp12zWDTu/vDnIPVZXWMDlLiy82dKwTKahqD42rnmKGvbkV4savh6V4sRls 8c0YE+R6xlI/K/lFWOtxkWiZGYXE/TZJ8nSxnrVhOmihQv9KxhWr2BOlg2j2rH5RcxEwUYTUHgc y30dyoqvko91STE3bGh5BcHdxzVJ1WJYup3sVPJj19TmQWDW4ksOWLkGG1GCVwosQKy5vpHY11+ lnJDVOIh5zXBc439vz1GzFeEmIe6BORn6/wrdQne8t4lu6Ddz7wyS6hvSs6IFjHVl1WuDpfv1QL naG5IJxiQ/9Who022vjQ+hf62Yu7ypRP+A6jLKjVaPEQrUdK4fG1jauH7Wv2cjJQtrtu/AAY5Tz GQFcU61GJCHc3aLWBFmXDsnfmdfQUKgfhk8pSjxXU4OPOABV0= X-Received: by 2002:a17:902:cecb:b0:2c9:b396:1a55 with SMTP id d9443c01a7336-2cbb74feb9dmr68570515ad.12.1783276967665; Sun, 05 Jul 2026 11:42:47 -0700 (PDT) Received: from localhost.localdomain ([2802:8010:610c:8c01:940:5638:6c2d:bc2c]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-13b446a766asm51146780c88.7.2026.07.05.11.42.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jul 2026 11:42:47 -0700 (PDT) From: Agustin Luzardo To: perex@perex.cz, tiwai@suse.com Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Agustin Luzardo Subject: [PATCH] ALSA: usb-audio: Add quirk for Redragon H510-PRO Wireless headset Date: Sun, 5 Jul 2026 15:42:27 -0300 Message-ID: <20260705184227.113588-1-agustinluzardo09@gmail.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- sound/usb/quirks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 0000000..0000000 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -2211,6 +2211,8 @@ DEVICE_FLG(0x03f0, 0x654a, /* HP 320 FHD Webcam */ QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_MIC_RES_16), + DEVICE_FLG(0x040b, 0x0897, /* Weltrend Semiconductor, sold as Redragon H510-PRO Wireless headset */ + QUIRK_FLAG_MIXER_GET_CUR_BROKEN), DEVICE_FLG(0x041e, 0x3000, /* Creative SB Extigy */ QUIRK_FLAG_IGNORE_CTL_ERROR), DEVICE_FLG(0x041e, 0x4080, /* Creative Live Cam VF0610 */ -- 2.46.1