From the beginning I used a Focusrite Scarlett Solo 3rd Gen interface with my Zynthian. And it always worked wonderfully.
But I need more connections for some things, and as I had this good experience with the Scarlett Solo I decided to buy the Scarlett 4i4 3rd Gen. However, when plugging it into Zynthian, no sound comes out of the headphone output. I haven’t had time to test the other outputs yet, but I found the behavior strange.
zynthian:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: USB [Scarlett 4i4 USB], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
zynthian:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
Default Audio Device
sysdefault
Default Audio Device
default:CARD=GRAND
Default Audio Device
sysdefault:CARD=GRAND
Default Audio Device
hw:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
Direct hardware device without any conversions
plughw:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
Hardware device with all software conversions
default:CARD=USB
Scarlett 4i4 USB, USB Audio
Default Audio Device
sysdefault:CARD=USB
Scarlett 4i4 USB, USB Audio
Default Audio Device
front:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
Front output / input
surround21:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=USB,DEV=0
Scarlett 4i4 USB, USB Audio
Direct sample mixing device
One interesting thing, I was able to successfully simulate this issue on my Ubuntu notebook.
When I ran a VSTi, no sound came out of the headphone output. Then I decided to go to Carla and change the Outputs (remembering the 4i4 has 4 outputs).
I changed the VSTi output that was on ports 1 and 2 to 3 and 4 and it worked fine.
Now the question is how to make such an adjustment in Zynthian?
When I try to access “Mixer Controllers” the popup appears like this, kind of “blank” and I can’t move forward. This happens in Firefox and also in Chrome, I use Ubuntu.
I found the source of the problem. Focusrite Scarlett interfaces are only fully supported in Alsa Mixer in Linux Kernel version 5.14.0
In versions prior to 5.14.0 they work but with limited resources and without access to Alsa Mixer. In fact, that’s why when I use Scarlett Solo I didn’t feel any difference, since it’s an interface with very few resources.
When Zynthian is running with version 5.14.0+ to enable the features just create the /etc/modprobe.d/scarlett.conf file and insert the following content for the Scarlett 4i4: