Hi List,
There must be a straightforward answer to this, and it's not pd-specific, but I just can't find it:
How do I configure my Raspberry Pi to not require a login so that I can just power up and have a working effects unit?
Thanks,
www.joenewlin.net www.twitter.com/joe_newlin www.facebook.com/joenewlin.net
ᐧ
You can begin the PD process in a startup script. In most distros, I'm pretty sure this is as simple as modifying /etc/rc.local (see http://www.raspberrypi.org/documentation/linux/usage/rc-local.md for more clear details).
With my Pi, I run this script at startup: https://github.com/YottaSecond/thesisRepo/blob/master/pdScriptVanilla Yours will probably look a bit different, but it should be pretty simple!
If you are using the Satellite CCRMA distro (which I highly recommend), there's already a script configured to run at startup, which you can modify (https://ccrma.stanford.edu/wiki/Satellite_CCRMA_First_Steps#Autonomous_Mode ).
With Satellite CCRMA, you can also run the command "disable-flash-writes" before you set up your Raspberry Pi as an autonomous device. This will prevent data from being written to the SD card, so that you can unplug it without worrying about corrupting the SD card image. When you need to modify data on the card again, you can just SSH back in (or do whatever you normally do to control your Pi) and use "enable-flash-writes"
Let me know if you're confused on anything.
-Brian
On Sun, Jun 15, 2014 at 3:26 PM, Joe Newlin via Pd-list < pd-list@lists.iem.at> wrote:
Hi List,
There must be a straightforward answer to this, and it's not pd-specific, but I just can't find it:
How do I configure my Raspberry Pi to not require a login so that I can just power up and have a working effects unit?
Thanks,
Joe
www.joenewlin.net www.twitter.com/joe_newlin www.facebook.com/joenewlin.net
ᐧ
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I'm using Raspbian now. Maybe I'll start over with Satellite CCRMA - is the consensus pretty much that that's the best distro for PD/audio on the Pi?
JN
On Jun 15, 2014, at 3:22 PM, Brian Fay ovaltinevortex@gmail.com wrote:
You can begin the PD process in a startup script. In most distros, I'm pretty sure this is as simple as modifying /etc/rc.local (see http://www.raspberrypi.org/documentation/linux/usage/rc-local.md for more clear details).
With my Pi, I run this script at startup: https://github.com/YottaSecond/thesisRepo/blob/master/pdScriptVanilla Yours will probably look a bit different, but it should be pretty simple!
If you are using the Satellite CCRMA distro (which I highly recommend), there's already a script configured to run at startup, which you can modify (https://ccrma.stanford.edu/wiki/Satellite_CCRMA_First_Steps#Autonomous_Mode).
With Satellite CCRMA, you can also run the command "disable-flash-writes" before you set up your Raspberry Pi as an autonomous device. This will prevent data from being written to the SD card, so that you can unplug it without worrying about corrupting the SD card image. When you need to modify data on the card again, you can just SSH back in (or do whatever you normally do to control your Pi) and use "enable-flash-writes"
Let me know if you're confused on anything.
-Brian
On Sun, Jun 15, 2014 at 3:26 PM, Joe Newlin via Pd-list pd-list@lists.iem.at wrote: Hi List,
There must be a straightforward answer to this, and it's not pd-specific, but I just can't find it:
How do I configure my Raspberry Pi to not require a login so that I can just power up and have a working effects unit?
Thanks,
Joe
www.joenewlin.net www.twitter.com/joe_newlin www.facebook.com/joenewlin.net
ᐧ
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Personally, I've gotten better performance with Satellite CCRMA (lower latency, fewer dropouts and crashes), but if you are already up and running with Raspbian, there's no harm in trying that out first!
If you are using pd, you probably need to start dsp manually within the patch after a short delay. [loadbang] -> [del 100] -> [;pd dsp 1(
I'm not sure why, but it seems like you need to do that to get audio to start without the GUI.
On 16/06/14 08:39, Brian Fay via Pd-list wrote:
Personally, I've gotten better performance with Satellite CCRMA (lower latency, fewer dropouts and crashes), but if you are already up and running with Raspbian, there's no harm in trying that out first!
If you are using pd, you probably need to start dsp manually within the patch after a short delay. [loadbang] -> [del 100] -> [;pd dsp 1(
I'm not sure why, but it seems like you need to do that to get audio to start without the GUI.
yes, that delay is required due to timing of the loadbang ... raspbian is also quite nice (they are not powerful devices so the less you are running the better and very little is started by default in raspbian) ... certainly no need for a GUI desktop in many cases (omxplayer will play video and audio files without X, but is fairly rudimentary with simple controls via a pipe or dbus only). Raspbian also uses /etc/rc.local as its startup script, and does not start the desktop GUI by default but has ssh running ready to login remotely.
Simon