To get Jack2 to run on the RPi:
Code: Select all
wget http://jack-audio.10948.n7.nabble.com/attachment/15962/0/jack2_armel.diff
apt-get install dpkg-dev
apt-get source jackd2
apt-get build-dep jackd2
cd jackd2-1.9.8~dfsg.4+20120529git007cdc37
patch -p1 -i ../jack2_armel.diff
dpkg-source --commit
dpkg-buildpackage -rfakeroot -uc -b
cd ..
sudo dpkg -i libjack-jackd2-0_1.9.8~dfsg.4+20120529git007cdc37-5_armhf.deb jackd2_1.9.8~dfsg.4+20120529git007cdc37-5_armhf.deb
Code: Select all
<policy user="pi">
<allow own="org.freedesktop.ReserveDevice1.Audio0"/>
<allow own="org.freedesktop.ReserveDevice1.Audio1"/>
</policy>
Code: Select all
sudo service dbus restart
Code: Select all
sudo mount -o remount,size=128M /dev/shm
Code: Select all
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket
Now you can fire up JACK but not in full-duplex, only capture or playback, so use -C or -P. If you want full duplex than you'll have to do without the ethernet connection. The NIC on the RPi shares the same USB bus as the two USB ports. When active this apparently sucks up so much bandwidth that an USB audio interface can't do full duplex anymore. Also make sure you're using a powerful power supply. The RPi will work with 700mA but when you also want to connect an USB audio interface you need a power supply with a higher amperage. I found a cheap one that has an amperage of 2A and with this power supply my Edirol UA-25 works great: http://rosengroups.com/product.php?act=page&id=87
I got this one from a local construction market (Gamma) for less than €5,-.
Jeremy