The problem isn&#39;t really solved at all. <br><br>The USB soundcard doesn&#39;t seem to completely prevent [comport] to detect my uno board (I&#39;ve been playing with both plugged in for the past 2 hours). But [comport] seems to be a little temperamental. I have to open and close Pd several times, and change the USB port i&#39;m using, for it to detect the arduino board (though changing the port may not have any impact). Opening and closing the port i&#39;m using in [comport] doesn&#39;t seem to have any effect either. <br>
<br>The thing is, as i said in a previous post, that there&#39;s something weird about my serial ports on my ubuntu machine. The Arduino IDE detects my boards about every other time, or just looses it for no apparent reason. So maybe it&#39;s a problem with Ubuntu? [comport] seems to have a much more predictable behaviour in windows (which i can&#39;t use because i need low latency).<br>
<br>Any Gandalf out there to help me out? <br><br>pierre<br><br><br><div class="gmail_quote">2011/7/9 Martin Peach <span dir="ltr">&lt;<a href="mailto:martin.peach@sympatico.ca">martin.peach@sympatico.ca</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 2011-07-09 08:48, Pierre Massat wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
UPDATE : comport is now working as expected, and my arduino uno board is<br>
now friends with my USB soundcard.<br>
<br>
</blockquote>
<br></div>
So what was the problem?<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I guess it&#39;s high time i started reading the first volume of Harry Potter.<br>
<br>
</blockquote>
<br></div>
Maybe read some Crowley about banishing daemons before plugging in...<br>
<br>
Martin<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Pierre<br>
<br>
2011/7/9 Ingo &lt;<a href="mailto:ingo@miamiwave.com" target="_blank">ingo@miamiwave.com</a> &lt;mailto:<a href="mailto:ingo@miamiwave.com" target="_blank">ingo@miamiwave.com</a>&gt;&gt;<div><div></div><div class="h5"><br>

<br>
    Similar problem here. I had an Arduino (USB) and a LCD display (RS232)<br>
    working together very well with two [comport] objects on my old<br>
    mainboard.<br>
    With the new board either one by themselves is working fine but both<br>
    of them<br>
    connected bidirectional doesn&#39;t work. As soon as I connect the serial in<br>
    from the display (which is supposed to get the keypad of the serial<br>
    display)<br>
    I get a lots of crazy data coming in. After a while either [comport]<br>
    or Pd<br>
    altogether crashes.<br>
<br>
    The LCD [comport] should only receive digital buttons on/off. While the<br>
    arduino sends buttons plus four analogue INs from a joystick and two<br>
    foot<br>
    pedals.<br>
    All cables are very short, so the problematic behaviour can&#39;t be<br>
    caused by<br>
    the cable length. Without connecting the serial out of the display<br>
    to the<br>
    serial in of the computer everything works fine.<br>
<br>
    I was also suspecting an error in comport where the data of two<br>
    instances of<br>
    two [comport] objects get mixed up. It looks like the analogue data<br>
    from the<br>
    arduino board gets forwarded to the second RS232 [comport] of the LCD.<br>
<br>
    Ingo<br>
<br>
<br>
    ______________________________<u></u>__________<br>
    Von: <a href="mailto:pd-list-bounces@iem.at" target="_blank">pd-list-bounces@iem.at</a> &lt;mailto:<a href="mailto:pd-list-bounces@iem.at" target="_blank">pd-list-bounces@iem.at</a><u></u>&gt;<br></div></div>
    [mailto:<a href="mailto:pd-list-bounces@iem.at" target="_blank">pd-list-bounces@iem.at</a> &lt;mailto:<a href="mailto:pd-list-bounces@iem.at" target="_blank">pd-list-bounces@iem.at</a><u></u>&gt;] Im<div><div></div><div class="h5">
<br>
    Auftrag von<br>
    Pierre Massat<br>
    Gesendet: Samstag, 9. Juli 2011 13:38<br>
    An: pd-list<br>
    Betreff: [PD] Comport can&#39;t read serial devices when soundcard is<br>
    plugged in<br>
<br>
    Hi all!<br>
<br>
    After having had to deal with a &quot;bug&quot; in pduino (see Arduin is drivin me<br>
    mad), i wrote a small sketch for the board and a patch using<br>
    comport. It was<br>
    working fine until i decided to actually try it with my audio patch.<br>
    It turns out that my external USB soundcard prevents comport from<br>
    working<br>
    properly. It can&#39;t open the arduino board, and can&#39;t event detect serial<br>
    devices (&quot;devices&quot; yields an empty message in the console). As soon as i<br>
    unplug the soundcard, everything works fine again.<br>
<br>
    I think i&#39;m beginning to realize that a lot of things have to be<br>
    taken care<br>
    off, and i know that my patch and sketch are way to simple to take<br>
    this kind<br>
    of issue into account (i wish i could switch back to Pduino and<br>
    firmata).<br>
<br>
    So my question is : is this behaviour normal, or is it bug in comport?<br>
<br>
    Thanks!<br>
<br>
    Pierre<br>
<br>
<br>
<br>
<br></div></div><div class="im">
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt;  <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</div></blockquote>
<br>
</blockquote></div><br>