# Does zita-ajbridge work with Patchbox OS?

**URL:** <https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272>\
**Category:** Patchbox OS\
**Created:** [May 26, 2024, 11:02pm UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272 "2024-05-26T23:02:54Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![RowdyVoyeur](https://community.blokas.io/user_avatar/community.blokas.io/rowdyvoyeur/32/3049_2.png) [@RowdyVoyeur](https://community.blokas.io/u/RowdyVoyeur)\
**Post date:** [May 26, 2024, 11:02pm UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/1 "2024-05-26T23:02:54Z")

</div>

Hi,

Unfortunately, I can’t get zita-ajbridge to work on Patchbox OS 5.15.36. Does it work with Patchbox OS or am I missing something?

Here’s what I’m doing to connect Roland MC-101 to Pisound, which is the default sound card:

`zita-a2j -j "mc101" -d hw:MC101,DEV=0 -r 44100 -p 64 -n 3 &`

Then, with `jack_lsp -c`, I get the following:

```auto
mc101:capture_1
mc101:capture_2

```

Which then I connect with:

```auto
jack_connect mc101:capture_1 system:playback_1
jack_connect mc101:capture_2 system:playback_2

```

Everything seems connected, but I don’t get any audio from the MC-101.

Does anyone know how to make this work?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [May 28, 2024, 6:43am UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/2 "2024-05-28T06:43:24Z")

</div>

Try providing a ‘-v’ option additionally to see some additional output, also try bigger values for -p, like 128 or 256. Go to smaller values once you get audio at all. 🙂

---

<div class="post-metadata">

**Author:** ![RowdyVoyeur](https://community.blokas.io/user_avatar/community.blokas.io/rowdyvoyeur/32/3049_2.png) [@RowdyVoyeur](https://community.blokas.io/u/RowdyVoyeur)\
**Post date:** [May 28, 2024, 9:12am UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/3 "2024-05-28T09:12:58Z")

</div>

Thanks for your reply!

I tried different parameters, including all the different sample rates, buffer sizes and periods listed in the Patchbox jack settings, i.e. -r 48000 to 96000; -p 64 to 1024; -n 2 to 4. Nothing seems to affect zita-a2j.

I tried so many different things, that I cannot remember if I checked verbose. However, I remember that the output was always “Starting synchronisation”.

Yesterday, I went through the [sparse](https://kokkinizita.linuxaudio.org/linuxaudio/zita-ajbridge-doc/quickguide.html) documentation once again and I noticed the following text : “When starting, and in case of major trouble, you will see the **‘Starting synchronisation’** message. This can happen if there is a timeout on the Jack server, e.g. a client crashed or terminated in a dirty way.”

I wonder if something else is preventing zita-ajbridge from starting.

Cheers

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [May 29, 2024, 6:48am UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/4 "2024-05-29T06:48:12Z")

</div>

Check the Jack service logs, in another terminal window do:

```auto
journalctl -u jack -f

```

Then it will show you new messages as they come in. Execute the other commands in a separate window.

---

<div class="post-metadata">

**Author:** ![RowdyVoyeur](https://community.blokas.io/user_avatar/community.blokas.io/rowdyvoyeur/32/3049_2.png) [@RowdyVoyeur](https://community.blokas.io/u/RowdyVoyeur)\
**Post date:** [May 31, 2024, 11:35am UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/5 "2024-05-31T11:35:14Z")

</div>

Tanks, Giedrius.

Running `journalctl -u jack -f` on a separate window only shows the following, either with zita-a2j or alsa\_in:

```auto
May 30 22:38:24 patchbox jackdrc[526]: ALSA: final selected sample format for capture: 16bit little-endian
May 30 22:38:24 patchbox jackdrc[526]: ALSA: use 3 periods for capture
May 30 22:38:24 patchbox jackdrc[526]: ALSA: final selected sample format for playback: 16bit little-endian
May 30 22:38:24 patchbox jackdrc[526]: ALSA: use 3 periods for playback
May 30 22:38:24 patchbox jackdrc[526]: port created: Midi-Through:midi/playback_1
May 30 22:38:24 patchbox jackdrc[526]: port created: Midi-Through:midi/capture_1
May 30 22:38:24 patchbox jackdrc[526]: port created: pisound:midi/playback_1
May 30 22:38:24 patchbox jackdrc[526]: port created: pisound:midi/capture_1
May 30 22:38:24 patchbox jackdrc[526]: port created: M8:midi/playback_1
May 30 22:38:24 patchbox jackdrc[526]: port created: M8:midi/capture_1
May 30 22:40:12 patchbox jackdrc[526]: port created: pisound-ctl:midi/playback_1
May 30 22:40:12 patchbox jackdrc[526]: port created: pisound-ctl:midi/capture_1

```

After running the following:

```auto
zita-a2j -j "M8_in" -d hw:M8,DEV=0 -r 44100 -p 64 -n 4 &
jack_connect M8_in:capture_1 system:playback_1
jack_connect M8_in:capture_2 system:playback_2

```

I get this output with `jack_lsp -c`:

```auto
M8_in:capture_1
   system:playback_1
M8_in:capture_2
   system:playback_2

```

But, I get no audio whatsoever.

Am I missing something?

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [May 31, 2024, 2:19pm UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/6 "2024-05-31T14:19:44Z")

</div>

It’s difficult to say, as there’s no errors found yet, there’s not much to go on.

Did you try using `alsa_in`?

> **[Alsa Opensrc Org - Independent ALSA and linux audio support site](https://alsa.opensrc.org/Jack_and_Loopback_device_as_Alsa-to-Jack_bridge)**
>
> Alsa Opensrc Org - Independent ALSA and linux audio support site

---

<div class="post-metadata">

**Author:** ![RowdyVoyeur](https://community.blokas.io/user_avatar/community.blokas.io/rowdyvoyeur/32/3049_2.png) [@RowdyVoyeur](https://community.blokas.io/u/RowdyVoyeur)\
**Post date:** [May 31, 2024, 3:58pm UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/7 "2024-05-31T15:58:07Z")

</div>

Yes, I did.

alsa\_in, alsa\_out, jack\_load and jack\_connect, all work just fine. I wanted to try zita-a2j because I’m having a small issue with alsa\_in / alsa\_out, but it’s not the end of the world.

If you don’t have any more ideas, I’ll just use alsa\_in / alsa\_out and will end my experiments here.

One last question - have you ever tested zita-a2j with Patchbox OS?

Thank you very much!

---

<div class="post-metadata">

**Author:** ![Giedrius](https://community.blokas.io/letter_avatar_proxy/v4/letter/g/6a8cbe/32.png) [@Giedrius](https://community.blokas.io/u/Giedrius)\
**Post date:** [June 2, 2024, 10:54am UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/8 "2024-06-02T10:54:42Z")

</div>

> [@RowdyVoyeur](#):
>
> One last question - have you ever tested zita-a2j with Patchbox OS?

I haven’t but had alsa\_in working before. 🙂

---

<div class="post-metadata">

**Author:** ![RowdyVoyeur](https://community.blokas.io/user_avatar/community.blokas.io/rowdyvoyeur/32/3049_2.png) [@RowdyVoyeur](https://community.blokas.io/u/RowdyVoyeur)\
**Post date:** [June 3, 2024, 9:03am UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/9 "2024-06-03T09:03:28Z")

</div>

Yes, alsa\_in and alsa\_out work flawlessly. I was just trying to explore zita-a2j and zita-j2a, but I guess I’l end my experiments here. After all, I managed to finally get everything working with the latest Patchbox OS version. Thank you very much for your help!

---

<div class="post-metadata">

**Author:** ![racecube](https://community.blokas.io/user_avatar/community.blokas.io/racecube/32/4578_2.png) [@racecube](https://community.blokas.io/u/racecube)\
**Post date:** [October 26, 2026, 12:51pm UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/10 "2026-10-26T12:51:14Z")

</div>

I also fell back to alsa\_in and also\_out.

AI gives some explanation:  
Here are the three main reasons why Zita fails with you while the ALSA tools are running:

1. Radical Clock Synchronization (The Main Reason)  
Sound cards always drift slightly apart in time.

2. Different permissions for memory access (shared memory)  
Zita requires direct access to the fast shared memory of the JACK server to guarantee the extremely low latency.  
Because the JACK server runs on Patchbox OS in a special user group, our Systemd service (whether as root or as a user patch) was not allowed to manipulate this storage area as profoundly as Zita has requested. asla\_in uses simpler standard connections that require fewer rights.

3. Rigid hardware channels  
asna\_in/out opens a device and simply takes what it gets (even if it presses a stereo signal into a mono system). Zita requires an absolutely exact definition of the channels. If the number of channels that the Roland P-6 reports via USB (often it sends mix channels + single tracks) does not exactly match the configuration of Zita, Zita refuses the service.

---

<div class="post-metadata">

**Author:** ![RowdyVoyeur](https://community.blokas.io/user_avatar/community.blokas.io/rowdyvoyeur/32/3049_2.png) [@RowdyVoyeur](https://community.blokas.io/u/RowdyVoyeur)\
**Post date:** [October 26, 2026, 8:53pm UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/11 "2026-10-26T20:53:00Z")

</div>

Thanks for the explanation.

---

<div class="post-metadata">

**Author:** ![racecube](https://community.blokas.io/user_avatar/community.blokas.io/racecube/32/4578_2.png) [@racecube](https://community.blokas.io/u/racecube)\
**Post date:** [October 27, 2026, 8:20am UTC](https://community.blokas.io/t/does-zita-ajbridge-work-with-patchbox-os/5272/12 "2026-10-27T08:20:22Z")

</div>

still struggling with my Roland P6 USB Audio&MIDI - I had it all before but then I had a system crash on my RPi4. Now journalctl -u jack -f gives me xruns 🤔
