Thank you guys for the fix in the serial plugin and for the tip in how to get the list of available ports. <div>Cheers.</div><div><br><div><br><div class="gmail_quote">On Sat, Sep 19, 2009 at 11:21 AM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Fri, Sep 18, 2009 at 06:25:59PM -0300, Ricardo Moran wrote:<br>
&gt; Hi, I&#39;ve been testing the patch for accessing named serial ports in Ubuntu<br>
&gt; 9.04 with an USB Arduino. I&#39;m very grateful for this patch because it solves<br>
&gt; me a lot of problems.<br>
&gt;<br>
&gt; Although it seems to be working fine, I have two questions:<br>
&gt;<br>
&gt; 1) Is it possible to access the list of available serial ports? (The<br>
&gt; official arduino software lets you choose from a list of serial ports and I<br>
&gt; would like to do the same).<br>
<br>
</div>The plugin will not help with this, but you know the device names that you<br>
are looking for, you can just do something like this:<br>
<br>
  pattern := &#39;*usb*&#39;.<br>
  (FileDirectory on: &#39;/dev&#39;) fileNames<br>
        select: [:e | pattern match: e]<br>
        thenCollect: [:e | &#39;/dev/&#39;, e]<br>
<div class="im"><br>
<br>
&gt; 2) The first time I open a port, it works fine. Then, if I close it and open<br>
&gt; it again, everytime I try #nextPutAll: I get a primitive fail. This happens<br>
&gt; with port numbers and with port names. The only workaround that I found is<br>
&gt; closing the Squeak image and open it again. Could it be a bug in the serial<br>
&gt; plugin?<br>
<br>
</div>I think it&#39;s fixed in the latest Subversion sources now.<br>
<br>
Dave<br>
<br>
<br>
</blockquote></div><br></div></div>