[squeak-dev] Serial port in linux

Bert Freudenberg bert at freudenbergs.de
Fri Aug 21 20:14:13 UTC 2009


Btw the very latest VM in svn has support for naming serial ports:

http://squeakvm.org/svn/squeak/trunk/platforms/unix/ChangeLog

- Bert -

On 21.08.2009, at 21:49, Ricardo Moran wrote:

> It works!!!! Thank you very much! We were having this problem for a  
> long time. Now we will be able to use Arduino on Linux (and also  
> other projects that uses the SerialPort such as SqueakNxt). I am so  
> happy! :D
>
>
>
> On Wed, Aug 19, 2009 at 6:32 PM, Markus Lampert <markuslampert at yahoo.com 
> > wrote:
> I've used the plugin which comes with vm and then just use SerialPort.
> There are 2 things to look out for, you should start squeak with the  
> '-notimer' option, otherwise most of the system calls will fail.
> With the standard plugin you can only access /dev/ttyS[0-9], so if  
> you want to use /dev/rfcomm0 for instance you can create a symlink  
> to one of the unused /dev/ttyS[5-9].
> If you follow those two it works pretty reliable.
>
> Have fun,
> Markus
>
> From: Ricardo Moran <richi.moran at gmail.com>
> To: The general-purpose Squeak developers list <squeak-dev at lists.squeakfoundation.org 
> >
> Sent: Wednesday, August 19, 2009 1:52:29 PM
> Subject: [squeak-dev] Serial port in linux
>
> Hi, I'm trying to use the Serial port to interface with an Arduino  
> board. So far, I managed to make it work on Windows but I understand  
> that Serial port on linux is a bit more complicated. I've read this  
> old discussion http://www.nabble.com/communication-with-serial-port-t2549116.html 
>  and I am a little confused.
> It says that John McIntosh made an EnhancedSerialPort plugin. Is it  
> installed on the latest unix VMs?
> It also says that Benjamin Schroeder wrote a SimpleSerialPort  
> library. Which one should I use?
>
>
>
>
>
>
>




More information about the Squeak-dev mailing list