
27 Feb
2025
27 Feb
'25
1:16 a.m.
Thanks for the reply!
So, if i understand correctly, instead of going through sound/usb/mixer_quirks.c, i need to create a standalone USBHID driver that exposes the ALSA kcontrols and then the ALSA userspace understands that it's the same interface and 'links' the UAC/isochronous audio part and the standalone ALSA mixer kcontrol part that has the volume knobs, mute, output select and input impedance/phantom power/headphone gain switches such that an userspace application (like alsamixer) treats it all as a single thing.
Does this driver then belong in sound/usb/ (given it imports the API in <sound/control.h>) or somewhere else (e.g. drivers/hid/usbhid/, drivers/usb/)?
Thanks again,
Lena