Instruction
([xx] referring sections in 'Useful Notes')
-
1) building image / set-up ssh. & x11
-> [a0]
-> [a1: verify ccrma img.]
-> dd image. (8GB Trenscend class 10 microsdhc had been used.) / use rdisk if you are using mac. damn faster. (but, better not use mac for that 5 min.)
-> go get XQuartz, for OSX Lion.
-> [a3: mac's ssh check]

2) 
-> ssh into RPi - ssh -XY ccrma@192.168.105.106 (through Ethernet, this ip is fixed one. mac's ethernet should be manually set as 192.168.105.105/24)
-> [a8]
-> reboot - sudo shutdown -r now (default pw: temppwd)
-> cd /sys/class/sound and look around.. card0 should be identified as your USB interface.. / [b08], [b13]
-> [b02: upload files into RPi]
-> pd & - to edit things.. and test sound.. etc.
-> arduino & - edit firmata code. and re-fuse arduino.
-> don't try to do heavy monitoring. gui overload is really significant.. / use very slow monitoring in GUI mode and change the freq. back with text editor (like, nano)
-> pd -nogui XXXX &
-> be warned with [b16] / it really matters.
-> if it works fine. you can check stream type (for example, S16_LE, 44.1kHz sth..) / [b14]
-> finally, [b15]
-> and reboot. and give it a long run test.
-> that's it. done. clap.


Useful Notes (ToC) -> useful_notes.txt
-
a0 Powering the RPi
a1 Verify if the the hash key is the same (optional), in the terminal run:
a3 locale problem of ssh
a4 finding raspberry's ip! --> arp -a
a8 assigning UX1-EA (usb audio dev.) as a default dev.
-
b01 fsck for raspberry pi
b02 Using scp to transfer files in Linux
b03 blocked RPi
b08 identifying sound card (ex. hw:0,1)
b09 setting file for pd
b10 make a backup of image
b13 identifying the cards.. (for jack..)
b14 where to find current stream info!
b15 starting automatically pd patch.
b16 don't use loadbang -> pd dsp 1; when you do pd with nogui-mode on RPi). NEVER!