[LAU] Working with netJack2 on raspberry pi

Chris Caudle chris at chriscaudle.org
Tue Apr 18 14:39:15 UTC 2017

On Tue, April 18, 2017 2:20 am, Claus Lensbøl wrote:
> So I'm trying to set up a Raspberry pi as an output for jack.

Meaning that the R-Pi has the audio hardware, i.e. R-Pi is master?

> What I've done is to follow this guide:
> https://github.com/jackaudio/jackaudio.github.com/wiki/WalkThrough_User_NetJack2

That is a good reference, but you have not provided any detailed
information of what you specifically did.  There are many steps in that
wiki page.

What command did you use to start jack?  What was the output of jackd when

> It should be noted that I am running the PIs headless, and without and
> x-server (plain raspbian, and control over ssh)

That should make it very easy to copy and paste the exact command line you
used, and the output on the console from jackd.  Without that information
help is very difficult to provide.

> I have no idea what to do from here or what my problem is. I tried
> getting the audio connected with alsa_out, but never got any output.

The alsa_out adapter is a resampler for adding an additional audio
hardware device.  Your main hardware output should be connected with the
usual driver arguments.
We would be able to tell right away if you had done that correctly if you
had pasted your command and console output into your original email.

Once you have jack started properly, you could scp an audio file to your
r-pi and use a tool like jack_play (might not be the correct name, check
your jack example clients) to verify that you can play audio through jack.

Once you have that verified, then you can worry about getting the netjack
setup working, but so far you have not provided any evidence one way or
the other to show whether jackd is even running correctly at the point you
try to use jack_load.

Chris Caudle

More information about the Linux-audio-user mailing list