bad order of controls got focusrite scarlett 18i20 (1st gen)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When I run './scarlett-mixer -p' (see https://github.com/x42/scarlett-mixer). I
get a list like this:
Device `Scarlett 18i20 USB' has 216 contols:
 0 'Master', PBS
 1 'Master 1 (Monitor)', PBS
 2 'Master 10 (ADAT 7/8)', PBS
 3 'Master 10L (ADAT 7/8) Source', ENUM
 4 'Master 10R (ADAT 7/8) Source', ENUM
 5 'Master 1L (Monitor) Source', ENUM
 6 'Master 1R (Monitor) Source', ENUM
 7 'Master 2 (Line 3/4)', PBS
 8 'Master 2L (Line 3/4) Source', ENUM
 9 'Master 2R (Line 3/4) Source', ENUM
 10 'Master 3 (Line 5/6)', PBS
 11 'Master 3L (Line 5/6) Source', ENUM
 12 'Master 3R (Line 5/6) Source', ENUM
...

The problem here is that the controls should be sorted numerically (that is
'Master 10' comes after 'Master 9'). This looks like a regression. In
screenshots of scarlett-mixer (https://github.com/x42/scarlett-mixer/issues/6)
like this one
https://user-images.githubusercontent.com/17678283/35756018-9992c36e-0837-11e8-8739-be53fff7c1c2.png
the order looks good. The driver coed is here:
https://github.com/torvalds/linux/blob/master/sound/usb/mixer_scarlett.c#L574
but its does not seem to do any sorting. A quick hack would probably be to use
'%02d', but I wonder if something change in the usb snd infrastructure.

uname -r: 5.1.4-1-default

Stefan


_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux