[squeak-dev] Serial port in linux

Markus Lampert markuslampert at yahoo.com
Wed Aug 19 21:32:20 UTC 2009


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?


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090819/316c4b1d/attachment.htm


More information about the Squeak-dev mailing list