alsa-project / alsa-ucm-conf

ALSA Use Case Manager configuration
BSD 3-Clause "New" or "Revised" License
78 stars 222 forks source link

GoXLR - Dynamic Channel Count #444

Open FrostyCoolSlug opened 2 months ago

FrostyCoolSlug commented 2 months ago

The next GoXLR firmware release is going to add two new output channels for the full sized device, labeled a 'Stream Mix 2'. Outside of general usage, there's no way to determine whether these channels exist or not outside of the UCM2 definitions as the device is booting up.

Is there currently the facility to configure the devices virtual channels based on the number of channels reported by the hardware (so if there are 23 hardware channels, use the current configuration, if there are 25 hardware channels use an adjusted configuration), and if not, could you suggest the best way to handle this implementation?

Regards, Craig McLure

perexg commented 1 month ago

Can we determine the firmware version using sysfs ? E.g. in /sys/class/sound/card1/device/ tree (replace the sound card number with correct one).

FrostyCoolSlug commented 3 weeks ago

Apologies for the delay in getting back to you..

I've done some checking through sysfs, but I've not been able to find any differences between the various firmware versions, it doesn't appear anything from the AS Format Descriptors are stored anywhere in the device node, and other than the additional channels nothing in the USB description has changed.

We could possible get the firmware to 'hint' at something, but from our checks there's no formal (or at least, compliant) way to indicate a firmware version in the general USB descriptors.