diff options
| author | Cryolitia PukNgae <cryolitia.pukngae@linux.dev> | 2026-04-02 08:36:57 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-04-02 13:45:33 +0300 |
| commit | 4513d3e0bbc0585b86ccf2631902593ff97e88f5 (patch) | |
| tree | 0b1c2ee74f37c2410bd22ae4c1e9bdf555efd108 | |
| parent | 1558905669e4da922fbaa7cf6507eb14779bffbd (diff) | |
| download | linux-4513d3e0bbc0585b86ccf2631902593ff97e88f5.tar.xz | |
ALSA: usb-audio: apply quirk for MOONDROP JU Jiu
It(ID 31b2:0111 JU Jiu) reports a MIN value -12800 for volume control, but
will mute when setting it less than -10880.
Thanks to my girlfriend Kagura for reporting this issue.
Cc: Kagura <me@mail.kagurach.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Cryolitia PukNgae <cryolitia.pukngae@linux.dev>
Link: https://patch.msgid.link/20260402-syy-v1-1-068d3bc30ddc@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
| -rw-r--r-- | sound/usb/mixer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c index 69026cf54979..a25e8145af67 100644 --- a/sound/usb/mixer.c +++ b/sound/usb/mixer.c @@ -1204,6 +1204,13 @@ static void volume_control_quirks(struct usb_mixer_elem_info *cval, cval->min = -11264; /* Mute under it */ } break; + case USB_ID(0x31b2, 0x0111): /* MOONDROP JU Jiu */ + if (!strcmp(kctl->id.name, "PCM Playback Volume")) { + usb_audio_info(chip, + "set volume quirk for MOONDROP JU Jiu\n"); + cval->min = -10880; /* Mute under it */ + } + break; } } |
