Focusrite Scarlett 2i4, issues with JACK setup under Ubuntu
Posted: Fri Mar 15, 2019 2:20 pm
Hi everyone,
I'm trying to get my Focusrite Scarlett 2i4 to work properly. Specifically, my setup has the Scarlett connected to my Linux machine via USB, and an external device (a Korg Electribe ESX-1) connected to it via Audio In plus MIDI In+Out. As long as the Electribe is turned off, everything's fine; however, as soon as I turn the Electribe on I lose sound from the PC.
I'm running Ubuntu 18.04 and using JACK as the sound server. There's also a PulseAudio instance bridged to JACK. However, the situation with PulseAudio looks somewhat strange on my machine:
Two PulseAudio instances, one under my own uid bridged to JACK via Cadence, one under uid "gdm" which doesn't seem to do anything. I can kill pid 5388 (and lose sound from applications which use a Pulse sink, obviously); however, whenever I try to kill process 4409, a new PulseAudio process is instantly spawned.
Some debug output from before turning the Electribe on:
The same debug output after turning the Electribe on:
I'm kind of at a loss here, and I'd be thankful for suggestions on how to proceed.
I'm trying to get my Focusrite Scarlett 2i4 to work properly. Specifically, my setup has the Scarlett connected to my Linux machine via USB, and an external device (a Korg Electribe ESX-1) connected to it via Audio In plus MIDI In+Out. As long as the Electribe is turned off, everything's fine; however, as soon as I turn the Electribe on I lose sound from the PC.
I'm running Ubuntu 18.04 and using JACK as the sound server. There's also a PulseAudio instance bridged to JACK. However, the situation with PulseAudio looks somewhat strange on my machine:
Code: Select all
arneb@perimetr-MS-7816:~$ ps faux
[...]
gdm 4409 0.0 0.1 1229696 11960 ? Ssl 12:09 0:00 \_ /usr/bin/pulseaudio --daemonize=no
arneb 5388 0.7 1.4 1580864 116420 ? S<Ll 12:10 0:01 pulseaudio --daemonize --high-priority --realtime --exit-idle-time=-1 --file=/usr/share/cadence/pulse2jack/play+rec.pa -n
arneb 5302 0.4 1.6 295000 133072 ? SLsl 12:10 0:01 \_ /usr/bin/jackdbus auto
Some debug output from before turning the Electribe on:
Code: Select all
arneb@perimetr-MS-7816:~$ sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: gdm 4409 F.... pulseaudio
/dev/snd/controlC1: gdm 4409 F.... pulseaudio
arneb 5302 F.... jackdbus
/dev/snd/controlC2: gdm 4409 F.... pulseaudio
/dev/snd/pcmC1D0c: arneb 5302 F...m jackdbus
/dev/snd/pcmC1D0p: arneb 5302 F...m jackdbus
/dev/snd/seq: arneb 5304 F.... a2jmidid
arneb@perimetr-MS-7816:~$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
[...]
card 1: USB [Scarlett 2i4 USB], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
Code: Select all
arneb@perimetr-MS-7816:~$ sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: gdm 4409 F.... pulseaudio
/dev/snd/controlC2: gdm 4409 F.... pulseaudio
/dev/snd/seq: arneb 5304 F.... a2jmidid
arneb@perimetr-MS-7816:~$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
[...]
card 1: USB [Scarlett 2i4 USB], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0