<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Comport&#x2F;Arduino hang at startup]]></title><description><![CDATA[<p>I've had issues getting an arduino to work right with PD on my Raspberry Pi. Basically PD won't start up right with the arduino plugged in from the command line without some finesse.</p>
<p>I turn the Pi on, start Jack, then start PD-Extended to open a patch. The patch has a load bang to a comport object with the device name and baud rate. This patch has a the CPU load meter set to print, and the value of several pots set to print through the arduino. The first time the patch will freeze:</p>
<p>ccrma<a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/satellite">@satellite</a> ~ $ pd-extended -nogui -jack -open copy/effectpatch1.pd<br />
verbose(5): Using /usr/lib/pd-extended/startup as startup.<br />
verbose(4): Loading /usr/lib/pd-extended/startup/0.libdir.pd_linux<br />
verbose(3): libdir loader 1.9<br />
verbose(3): compiled on Oct 4 2012 at 15:46:18<br />
verbose(3): compiled against Pd version 0.43.3.extended-20121004<br />
verbose(4): Loading /usr/lib/pd-extended/startup/1.list.pd_linux<br />
verbose(4): Loading extra in /usr/lib/pd-extended/startup/extra<br />
verbose(3): libdir_loader: added 'extra' to the global objectclass path<br />
verbose(14): Loaded libdir 'extra' from '/usr/lib/pd-extended/extra/extra'<br />
verbose(4): Loading pdlua in /usr/lib/pd-extended/startup/pdlua<br />
verbose(3): pdlua 0.7.1 (GPL) 2012 Martin Peach, based on<br />
verbose(3): lua 0.6~svn (GPL) 2008 Claude Heiland-Allen &lt;claudiusmaximus@goto10.org&gt;<br />
verbose(3): pdlua: compiled for pd-0.43 on Oct 4 2012 15:46:20<br />
verbose(4): Loading tclpd in /usr/lib/pd-extended/startup/tclpd<br />
verbose(3): tclpd loader v0.3.0<br />
verbose(3): tclpd: trying to load /usr/lib/pd-extended/extra/tclpd/tclpd.tcl...<br />
verbose(3): tclpd: loaded /usr/lib/pd-extended/extra/tclpd/tclpd.tcl<br />
verbose(4): Loading vanilla in /usr/lib/pd-extended/startup/vanilla<br />
verbose(3): libdir_loader: added 'vanilla' to the global objectclass path<br />
verbose(14): Loaded libdir 'vanilla' from '/usr/lib/pd-extended/extra/vanilla'</p>
<p>@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br />
@ the zexy external 2.2.5 @<br />
@ (l) forum::für::umläute @<br />
@ iem @ kug @<br />
@ compiled: May 13 2012 @<br />
@ send me a 'help' message @<br />
@@@@@@@@@@@@@@@@@@@@@@@@@@@@</p>
<p>matchbox: OSC-pattern matching code (c) Matt Wright, CNMAT<br />
verbose(3): libdir_loader: added 'cyclone' to the global objectclass path<br />
verbose(14): Loaded libdir 'cyclone' from '/usr/lib/pd/extra/cyclone'<br />
comport - PD external for unix/windows<br />
LGPL 1998-2006, Winfried Ritsch and others (see LICENSE.txt)<br />
Institute for Electronic Music - Graz<br />
expr, expr~, fexpr~ version 0.4 under GNU General Public License<br />
get_baud_ratebits: 9600<br />
set_baudrate baudbits: 13</p>
<p>^CPd: signal 2</p>
<p>Until I close it with Control-C. This takes about 60 seconds to close the program. Then I fire it up and the whole thing loads and begins printing the CPU load as I want, but not the pots. At this point I can keep closing and restarting PD and get the same result. Now, if I unplug the arduino and reconnect it, and start PD everything fires right up!</p>
<p>Any ideas why it won't load up from the start?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8129/comport-arduino-hang-at-startup</link><generator>RSS for Node</generator><lastBuildDate>Sat, 17 Oct 2026 09:02:17 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/8129.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Feb 2014 06:21:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Comport&#x2F;Arduino hang at startup on Wed, 19 Feb 2014 06:21:56 GMT]]></title><description><![CDATA[<p>I've had issues getting an arduino to work right with PD on my Raspberry Pi. Basically PD won't start up right with the arduino plugged in from the command line without some finesse.</p>
<p>I turn the Pi on, start Jack, then start PD-Extended to open a patch. The patch has a load bang to a comport object with the device name and baud rate. This patch has a the CPU load meter set to print, and the value of several pots set to print through the arduino. The first time the patch will freeze:</p>
<p>ccrma<a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/satellite">@satellite</a> ~ $ pd-extended -nogui -jack -open copy/effectpatch1.pd<br />
verbose(5): Using /usr/lib/pd-extended/startup as startup.<br />
verbose(4): Loading /usr/lib/pd-extended/startup/0.libdir.pd_linux<br />
verbose(3): libdir loader 1.9<br />
verbose(3): compiled on Oct 4 2012 at 15:46:18<br />
verbose(3): compiled against Pd version 0.43.3.extended-20121004<br />
verbose(4): Loading /usr/lib/pd-extended/startup/1.list.pd_linux<br />
verbose(4): Loading extra in /usr/lib/pd-extended/startup/extra<br />
verbose(3): libdir_loader: added 'extra' to the global objectclass path<br />
verbose(14): Loaded libdir 'extra' from '/usr/lib/pd-extended/extra/extra'<br />
verbose(4): Loading pdlua in /usr/lib/pd-extended/startup/pdlua<br />
verbose(3): pdlua 0.7.1 (GPL) 2012 Martin Peach, based on<br />
verbose(3): lua 0.6~svn (GPL) 2008 Claude Heiland-Allen &lt;claudiusmaximus@goto10.org&gt;<br />
verbose(3): pdlua: compiled for pd-0.43 on Oct 4 2012 15:46:20<br />
verbose(4): Loading tclpd in /usr/lib/pd-extended/startup/tclpd<br />
verbose(3): tclpd loader v0.3.0<br />
verbose(3): tclpd: trying to load /usr/lib/pd-extended/extra/tclpd/tclpd.tcl...<br />
verbose(3): tclpd: loaded /usr/lib/pd-extended/extra/tclpd/tclpd.tcl<br />
verbose(4): Loading vanilla in /usr/lib/pd-extended/startup/vanilla<br />
verbose(3): libdir_loader: added 'vanilla' to the global objectclass path<br />
verbose(14): Loaded libdir 'vanilla' from '/usr/lib/pd-extended/extra/vanilla'</p>
<p>@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br />
@ the zexy external 2.2.5 @<br />
@ (l) forum::für::umläute @<br />
@ iem @ kug @<br />
@ compiled: May 13 2012 @<br />
@ send me a 'help' message @<br />
@@@@@@@@@@@@@@@@@@@@@@@@@@@@</p>
<p>matchbox: OSC-pattern matching code (c) Matt Wright, CNMAT<br />
verbose(3): libdir_loader: added 'cyclone' to the global objectclass path<br />
verbose(14): Loaded libdir 'cyclone' from '/usr/lib/pd/extra/cyclone'<br />
comport - PD external for unix/windows<br />
LGPL 1998-2006, Winfried Ritsch and others (see LICENSE.txt)<br />
Institute for Electronic Music - Graz<br />
expr, expr~, fexpr~ version 0.4 under GNU General Public License<br />
get_baud_ratebits: 9600<br />
set_baudrate baudbits: 13</p>
<p>^CPd: signal 2</p>
<p>Until I close it with Control-C. This takes about 60 seconds to close the program. Then I fire it up and the whole thing loads and begins printing the CPU load as I want, but not the pots. At this point I can keep closing and restarting PD and get the same result. Now, if I unplug the arduino and reconnect it, and start PD everything fires right up!</p>
<p>Any ideas why it won't load up from the start?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8129/comport-arduino-hang-at-startup</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8129/comport-arduino-hang-at-startup</guid><dc:creator><![CDATA[michaelallen]]></dc:creator><pubDate>Wed, 19 Feb 2014 06:21:56 GMT</pubDate></item><item><title><![CDATA[Reply to Comport&#x2F;Arduino hang at startup on Wed, 19 Feb 2014 09:26:59 GMT]]></title><description><![CDATA[<p>Maybe try adding a delay to the loadbang?</p>
<p>[loadbang]<br />
|<br />
[del 1000]<br />
|<br />
[open 1(<br />
|<br />
[comport]</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8129/comport-arduino-hang-at-startup/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8129/comport-arduino-hang-at-startup/2</guid><dc:creator><![CDATA[James]]></dc:creator><pubDate>Wed, 19 Feb 2014 09:26:59 GMT</pubDate></item><item><title><![CDATA[Reply to Comport&#x2F;Arduino hang at startup on Thu, 20 Feb 2014 05:44:07 GMT]]></title><description><![CDATA[<p>I have tried that, forgot to mention. Even delaying more than a second results in the same behavior.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/8129/comport-arduino-hang-at-startup/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/8129/comport-arduino-hang-at-startup/3</guid><dc:creator><![CDATA[michaelallen]]></dc:creator><pubDate>Thu, 20 Feb 2014 05:44:07 GMT</pubDate></item></channel></rss>