Thanks . Just tried this and still not working . Maybe is because the service is running as root user ?
● jack.service - JACK2 Audio Server
Loaded: loaded (/lib/systemd/system/jack.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-05-03 09:18:49 BST; 7min ago
Main PID: 448 (jackd)
Tasks: 5 (limit: 8775)
CPU: 15.405s
CGroup: /system.slice/jack.service
└─448 /usr/bin/jackd -t 2000 -R -P 95 -d alsa -d hw:pisound -r 48000 -p 128 -n 2 -X seq -s -S
May 03 09:18:51 patch jackd[448]: creating alsa driver ... hw:pisound|hw:pisound|128|2|48000|0|0|nomon|swmeter|soft-mod>
May 03 09:18:51 patch jackd[448]: configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 2 periods
May 03 09:18:51 patch jackd[448]: ALSA: final selected sample format for capture: 16bit little-endian
May 03 09:18:51 patch jackd[448]: ALSA: use 2 periods for capture
May 03 09:18:51 patch jackd[448]: ALSA: final selected sample format for playback: 16bit little-endian
May 03 09:18:51 patch jackd[448]: ALSA: use 2 periods for playback
May 03 09:18:51 patch jackd[448]: port created: Midi-Through:midi/playback_1
May 03 09:18:51 patch jackd[448]: port created: Midi-Through:midi/capture_1
May 03 09:18:51 patch jackd[448]: port created: pisound:midi/playback_1
May 03 09:18:51 patch jackd[448]: port created: pisound:midi/capture_1
When I open qjackctl from desktop for example , it doesnt hook to the jack server and if I start it from there (which is very wrong since its already running but just to see ) I get this output:
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
Allocate: can't check in named futex name = jack_sem.default_system err = Permission denied
Cannot allocate synchro
Cannot allocate internal client for driver
Cannot initialize driver
JackServer::Open failed with -1
Failed to open server
09:27:51.741 JACK was stopped
09:27:53.423 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Cannot connect to server socket err = Permission denied
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Maybe I should add my sound user to sudoers or something similar ?
Thanks @Giedrius as always!