Discussion:
Open serial port on Irix
(too old to reply)
MGT
2005-09-28 08:12:24 UTC
Permalink
I'm a novice of IRIX systems. I must use a glove on my ONYX4 connected
through a serial port. I have the driver code for Linux. I know that
changing the device file /dev/sstyS0 with /dev7ttyf3 for IRIX
(hardware flow control) it should work fine. Unfortunately it does not
go. I have tried to use system manager by adding a seril device, I
have changed the inittab file, but nothing. In my opinion it needs to
set and open in right way the serial port. The detailed
characteristics of the glove are these:
speed = 38400 bps
bits = 8
parity = NOT
stopbit = 1
hardware flow control.
The init tab line that I modified is :

t3:23:off:/sbin/suattr -C CAP_FOWNER,CAP_DEVICE_MGT,CAP_DAC_WRITE+ip -c
"/sbin/getty ttyf3 dx_38400" # dx_38400.

ANY suggestions?
thanks in advance !

Tommy
Walter Roberson
2005-10-04 06:26:21 UTC
Permalink
In article <***@g43g2000cwa.googlegroups.com>,
MGT <***@tiscali.it> wrote:
:I'm a novice of IRIX systems. I must use a glove on my ONYX4 connected
:through a serial port. I have the driver code for Linux. I know that
:changing the device file /dev/sstyS0 with /dev7ttyf3 for IRIX
:(hardware flow control) it should work fine.

ttyf* doesn't quite mean hardware flow control: ttyf* means modem
control as well as hardware flow control.

open() the ttyf* device with O_NBLOCK and that will cause the
device to not wait for DTR when you open it (and to not wait
for characters when none are available -- read() will return -1
with errno EAGAIN in that case.)

Loading...