[UNIX] can't open serial port

Lex Spoon lex at cc.gatech.edu
Thu Mar 21 13:46:06 UTC 2002


Michael Rueger <m.rueger at acm.org> wrote:
> 
> 
> Ned Konz wrote:
> 
> 
> > /dev/ttyS0 is port # 0, through /dev/ttyS9 (port #9). You have to have the
> > proper permissions, of course.
> 
> Ahem, just (re)learned something.
> I kept looking at tty?, not ttyS? ...
> 

You mean, like /dev/tty3?  Those are the virtual consoles.  Like Squeak,
Linux has a lot of little programmer niceties built into it that aren't
strictly necessary, and VC's are one of them.  To switch VC's, use
alt-F1, alt-F2, etc., unless you are in XWindows, where you need to type
ctrl-alt-F1, ctrl-alt-F2, etc.  Typically XWindows runs on VC 7.


BTW, on a lot of newer systems /dev/tty3 would be named the more logical
/dev/vc/3.



-Lex



More information about the Squeak-dev mailing list