Subject: chat problems with tty
To: None <>
From: Peter <>
List: port-i386
Date: 05/23/2005 16:24:46
chat(8) has the same problem. I cannot read anything from input from the 
serial port device.

The modem is ok, it is internal so no baud rate etc problems, tested as 
is with minicom.

stty <whatever> </dev/dty01 runs and refuses to set anything. Exit code 
is 0.

Where should I look ? Is there a command besides stty to set up a serial 
line (or internal modem) for use with expect/chat ? Is there a problem 
with stty used on certain serial lines ? Maybe I am doing something not 
ok ?

Settings are:

/root# stty -g </dev/dty01

(stty </dev/tty01 hangs)

I have set some more relaxed permissions, for testing, which are:

/root# ls -l /dev/tty01
crw-rw-rw-  1 uucp  wheel  8, 1 May 21 03:50 /dev/tty01
/root# ls -l /dev/dty01
crw-rw-rw-  1 uucp  wheel  8, 524289 May 21 03:49 /dev/dty01
                               ^^^^^^is this not supposed to be 1?