PDa on a Linksys NSLU2 ('Slug')
Installing PDa ('Pd anywhere') on a Linksys NSLU2 running Debian.
Installing Tcl/tk developer packages
We logged into the Slug from a remote machine, already activating X forwarding (-X flag; see also here for a tutorial), so we could later actually start the Pd GUI on our local machine's X server:
local-machine:~$ ssh -X -C -2 username@IP.of.remote.slug
On the slug, we then installed the Tcl/tk developer packages (a common procedure for compiling also a regular version of Pd from source on Debian):
remote-slug:~$ sudo aptitude install tk8.4-dev
Compiling PDa from source
Since Günter Geiger does currently not distribute pre-compile packages for the NSLU2, we had to compile our own from his source tarball:
cd /usr/local/src sudo wget http://gige.xdv.org/pda/release/src/PDa-0.6-src.tgz sudo tar xvfz PDa-0.6-src.tgz cd PDa/src sudo make
After this, we could run Pd successfully:
cd /usr/local/src/PDa/bin ./pd
Getting the audio interface to work
For the audio interface to work at all (i.e. have it show up in alsamixer), the following module needs to be loaded:
For it to work with PDa, a second module needs to be loaded:
Here are the results of some quick CPU load tests, which correspond to the ones Günter Geiger used for evaluating the performance of PDa on an iPAQ in his ICMC 2003 paper. Note that this is for the Slug's processor running at 266 MHz (some earlier versions of the Slug were underclocked at 133 MHz).
* At 30 oscillators, I get weird jumping behavior of Pd's CPU load meter. Interestingly, this behavior is reproducable.