[UNIX] can't open serial port

Bergel Alexandre bergel at iam.unibe.ch
Thu Mar 21 10:22:26 UTC 2002


Hello,

For me it works pretty well. I can control very well LegoMindstorm. I use a linux kernel 2.5.0 with an adaptor usb->serial (my laptop not have any serial port).

A typically code may be :
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
	port := SerialPort new.
	port baudRate: 2400.
	port dataBits: 8.
	port parityType: 1.
	port stopBitsType: 1.
	port openPort: 0.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Regards,
Alexandre

On Wed, Mar 20, 2002 at 06:29:38PM -0800, Michael Rueger wrote:
> 
> Hi all,
> 
> when trying to open a serial port on a RH 7.2 box it always seems to
> fail (returns nil).
> 
> VM 3.1beta-4478, VI 3.2 4799
> 
> I already checked for getty's and permissions (does that really matter
> btw?).
> 
> Any ideas?
> 
> Michael

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._
Bergel Alexandre  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^



More information about the Squeak-dev mailing list