All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Add mute TLV for playback volumes on some devices
@ 2025-08-22 12:58 ` Cryolitia PukNgae via B4 Relay
  0 siblings, 0 replies; 3+ messages in thread
From: Cryolitia PukNgae @ 2025-08-22 12:58 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: linux-sound, linux-kernel, guanwentao, niecheng1, zhanjun,
	jeffbai, Guoli An, Cryolitia PukNgae

Applying the quirk of that, the lowest Playback mixer volume setting
mutes the audio output, on more devices.

Link: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2514
Tested-by: Guoli An <anguoli@uniontech.com>
Signed-off-by: Cryolitia PukNgae <cryolitia@uniontech.com>
---
 sound/usb/mixer_quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c
index 7cc27ae5512f07d5318443a7e03c1da7943bfb7a..6b47b3145d2cfd84bbadbe9e2b3e4383ed6828b4 100644
--- a/sound/usb/mixer_quirks.c
+++ b/sound/usb/mixer_quirks.c
@@ -4609,9 +4609,11 @@ void snd_usb_mixer_fu_apply_quirk(struct usb_mixer_interface *mixer,
 			snd_dragonfly_quirk_db_scale(mixer, cval, kctl);
 		break;
 	/* lowest playback value is muted on some devices */
+	case USB_ID(0x0572, 0x1b09): /* Conexant Systems (Rockwell), Inc. */
 	case USB_ID(0x0d8c, 0x000c): /* C-Media */
 	case USB_ID(0x0d8c, 0x0014): /* C-Media */
 	case USB_ID(0x19f7, 0x0003): /* RODE NT-USB */
+	case USB_ID(0x2d99, 0x0026): /* HECATE G2 GAMING HEADSET */
 		if (strstr(kctl->id.name, "Playback"))
 			cval->min_mute = 1;
 		break;

---
base-commit: 3957a5720157264dcc41415fbec7c51c4000fc2d
change-id: 20250822-mixer-quirk-e074f7b7d373

Best regards,
-- 
Cryolitia PukNgae <cryolitia@uniontech.com>


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

* [PATCH] ALSA: usb-audio: Add mute TLV for playback volumes on some devices
@ 2025-08-22 12:58 ` Cryolitia PukNgae via B4 Relay
  0 siblings, 0 replies; 3+ messages in thread
From: Cryolitia PukNgae via B4 Relay @ 2025-08-22 12:58 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai
  Cc: linux-sound, linux-kernel, guanwentao, niecheng1, zhanjun,
	jeffbai, Guoli An, Cryolitia PukNgae

From: Cryolitia PukNgae <cryolitia@uniontech.com>

Applying the quirk of that, the lowest Playback mixer volume setting
mutes the audio output, on more devices.

Link: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2514
Tested-by: Guoli An <anguoli@uniontech.com>
Signed-off-by: Cryolitia PukNgae <cryolitia@uniontech.com>
---
 sound/usb/mixer_quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c
index 7cc27ae5512f07d5318443a7e03c1da7943bfb7a..6b47b3145d2cfd84bbadbe9e2b3e4383ed6828b4 100644
--- a/sound/usb/mixer_quirks.c
+++ b/sound/usb/mixer_quirks.c
@@ -4609,9 +4609,11 @@ void snd_usb_mixer_fu_apply_quirk(struct usb_mixer_interface *mixer,
 			snd_dragonfly_quirk_db_scale(mixer, cval, kctl);
 		break;
 	/* lowest playback value is muted on some devices */
+	case USB_ID(0x0572, 0x1b09): /* Conexant Systems (Rockwell), Inc. */
 	case USB_ID(0x0d8c, 0x000c): /* C-Media */
 	case USB_ID(0x0d8c, 0x0014): /* C-Media */
 	case USB_ID(0x19f7, 0x0003): /* RODE NT-USB */
+	case USB_ID(0x2d99, 0x0026): /* HECATE G2 GAMING HEADSET */
 		if (strstr(kctl->id.name, "Playback"))
 			cval->min_mute = 1;
 		break;

---
base-commit: 3957a5720157264dcc41415fbec7c51c4000fc2d
change-id: 20250822-mixer-quirk-e074f7b7d373

Best regards,
-- 
Cryolitia PukNgae <cryolitia@uniontech.com>



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

* Re: [PATCH] ALSA: usb-audio: Add mute TLV for playback volumes on some devices
  2025-08-22 12:58 ` Cryolitia PukNgae via B4 Relay
  (?)
@ 2025-08-22 15:07 ` Takashi Iwai
  -1 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2025-08-22 15:07 UTC (permalink / raw)
  To: cryolitia, Cryolitia PukNgae via B4 Relay
  Cc: Jaroslav Kysela, Takashi Iwai, linux-sound, linux-kernel,
	guanwentao, niecheng1, zhanjun, jeffbai, Guoli An

On Fri, 22 Aug 2025 14:58:08 +0200,
Cryolitia PukNgae via B4 Relay wrote:
> 
> From: Cryolitia PukNgae <cryolitia@uniontech.com>
> 
> Applying the quirk of that, the lowest Playback mixer volume setting
> mutes the audio output, on more devices.
> 
> Link: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2514
> Tested-by: Guoli An <anguoli@uniontech.com>
> Signed-off-by: Cryolitia PukNgae <cryolitia@uniontech.com>

Thanks, applied now.


Takashi

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

end of thread, other threads:[~2025-08-22 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-22 12:58 [PATCH] ALSA: usb-audio: Add mute TLV for playback volumes on some devices Cryolitia PukNgae
2025-08-22 12:58 ` Cryolitia PukNgae via B4 Relay
2025-08-22 15:07 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.