[UNIX] can't open serial port

Ned Konz ned at bike-nomad.com
Thu Mar 21 03:37:06 UTC 2002


On Wednesday 20 March 2002 06:29 pm, Michael Rueger wrote:

> 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?).

/dev/ttyS0 is port # 0, through /dev/ttyS9 (port #9). You have to have the 
proper permissions, of course.

What data rate are you setting up before you open the port?

Does "Smalltalk listLoadedModules" report the SerialPlugin?
If not, does "Smalltalk listBuiltinModules" report the SerialPlugin?
If not, do you have the .so file for the SerialPlugin somewhere that it can 
be found?

Do you have an example of your port opening code?

-- 
Ned Konz
currently: Stanwood, WA
email:     ned at bike-nomad.com
homepage:  http://bike-nomad.com



More information about the Squeak-dev mailing list