Re: [PATCH] ALSA: usb-audio: Add dB map quirk for Razer Barracuda X 2.4

From: Takashi Iwai

Date: Fri Jul 24 2026 - 05:15:45 EST


On Wed, 22 Jul 2026 03:09:18 +0200,
Markus Lindner wrote:
>
> The Razer Barracuda X 2.4 GHz USB headset dongle (0x1532:0x0552)
> reports a minimum volume register value of cval->min = -16800.
>
> In UAC 1/256 dB units, -16800 corresponds to -65.625 dB. However,
> stock ALSA misinterprets this raw integer as 1/100 dB units
> (-168.00 dB), causing user-space audio servers (PipeWire /
> PulseAudio) to map their volume curves against an incorrectly wide
> range.
>
> Add an explicit usbmix_dB_map entry overriding Unit 2 to -6562
> (-65.62 dB) to accurately report the physical hardware
> attenuation bounds.
>
> Signed-off-by: Markus Lindner <lindner.markus@xxxxxxxxxx>

Applied now.

But at the next time, please submit to linux-sound@xxxxxxxxxxxxxxx
instead of alsa-devel ML. alsa-devel ML is only for user-space stuff
for now.


thanks,

Takashi