Re: [RFC]sound:usb:mixer.c: Solving 'Generic AB13X USB Audio' Unlikely volume range.

From: Sidharth Seela

Date: Tue Sep 30 2025 - 09:46:47 EST


Thankyou Takashi for your reply,

On Mon, Sep 29, 2025 at 8:51 PM Takashi Iwai <tiwai@xxxxxxx> wrote:
> An oft-seen firmware bug is that it provides the wrong mixer range
> that confuses the driver. USB audio firmware should provide the above
> volume range in 1/256 dB level.

If possible, could you explain/ point me to a doc regarding cval->max,
cval->min,
and cval->res and its meanings, its relation to power and dB.


> Try to figure out the volume level and you'd need to hard-code the
> actual volume range there for your device
.
I am able to change the values and load in the module. But unable to exactly
understand how the values are related.

--
Thanks,
Sidharth Seela
www.realtimedesign.org