* Serial ports
@ 2000-02-24 18:18
0 siblings, 0 replies; 4+ messages in thread
From: @ 2000-02-24 18:18 UTC (permalink / raw)
To: tru64-unix-managers
Hi managers:
I'd like to know if there is any way to modify serial ports
attributes (baud, flow), other than on firmware (>>).
Thanks in advance.
Toni Puga
^ permalink raw reply [flat|nested] 4+ messages in thread* Serial Ports
@ 1996-02-08 15:07 Sundara Vardhan
0 siblings, 0 replies; 4+ messages in thread
From: Sundara Vardhan @ 1996-02-08 15:07 UTC (permalink / raw)
To: tru64-unix-managers
I have a DEC AlphaStation 200 running OSF1 V3.2 and am trying to monitor
the state of a simple device attached to the serial port. The device
has two rocker switches both of which can be in one of three positions.
Using DTR as input, the device turns DCD high when switch 1 is up, DSR
high when switch 1 is down, CTS high when switch 2 is up, and RI high
when switch 2 is down.
My problem is that I'm not able to detect when ring indicator is high
(switch 2 down). The other three bits go high when expected but not
TIOCM_RI. Following is a code snippet from a test driver:
---
int modem_ctl_mask = TIOCM_DTR;
int modem_ctl_state = 0;
/* Open */
serialPort_fd = open( "/dev/tty00", O_RDWR | O_SYNC, 0666 );
if ( serialPort_fd == -1 )
exit( -1 );
/* Init (set DTR high) */
if ( ioctl( serialPort_fd, TIOCMSET, &modem_ctl_mask) == -1 )
{
perror( "ioctl" );
exit( -1 );
}
/* Read */
while ( ioctl(serialPort_fd, TIOCMGET, &modem_ctl_state) != -1 )
{
printf("data terminal ready %d\n", (modem_ctl_state & TIOCM_DTR) ? 1 : 0);
printf("carrier detect %d\n", (modem_ctl_state & TIOCM_CD) ? 1 : 0);
printf("data set ready %d\n", (modem_ctl_state & TIOCM_DSR) ? 1 : 0);
printf("clear to send %d\n", (modem_ctl_state & TIOCM_CTS) ? 1 : 0);
printf("ring %d\n", (modem_ctl_state & TIOCM_RI) ? 1 : 0);
}
---
Response from DEC tech support has been painfully slow (over a week and
counting). Any ideas how I can detect when ring indicator is high? (This
is definitely not a hardware problem.) Any tips would be appreciated...
TIA
Vardhan
^ permalink raw reply [flat|nested] 4+ messages in thread* Serial Ports
@ 1996-01-29 4:27 Tom
0 siblings, 0 replies; 4+ messages in thread
From: Tom @ 1996-01-29 4:27 UTC (permalink / raw)
To: tru64-unix-managers
Hi, I have an AlphaServer 1000 and I am trying to use COM2 for a
modem. I have discovered that it is tty01, and have setup inittab to
recognize it as a regular terminal. I know that with a null modem
adapter I could easily connect a modem and dial right in, however I know
that's not the most elegant way. Does anyone know what I need to setup
for the port to use the modem for things like cu or tip? Wouldn't that
also eliminate the need for a null modem adapter? And also, I looked at
my internal documentationless 14.4. It is set to COM4, but what tty is
that? There doesn't seem to be a MAKEDEV for that. I would also like to
set it up, if possible... Thanks very much.
____________________________________________________________________
Tom Leffingwell Office: SBA 211
Systems Manager Office Phone: (305) 284-1771
Network Security Email: tom@homer.bus.miami.edu
School of Business
University of Miami
____________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Serial Ports
@ 1995-03-16 21:46 smcclain
0 siblings, 0 replies; 4+ messages in thread
From: smcclain @ 1995-03-16 21:46 UTC (permalink / raw)
To: tru64-unix-managers
Does anyone know the details on DEC 2100 Server serial ports? I currently have
our company hooked up to the Internet via a 14.4K modem on one of the Alpha's
serial ports and during periods of intense traffic I get the following errors
on the console;
acerint: overrun error; status = 63
ace0: input silo overflow
I have the serial port set to 38400 to accomodate compression. I guess my
question really boils down to this:
What is the maximum speed supported by the serial ports?
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/Scott McClain Labyrinth Corporation _/
_/Systems Administrator 15375 SE 30th Place _/
_/scott.mcclain@labycorp.com Bellevue, WA 98007 _/
_/ _/
_/ All views expressed are my own _/
_/ and not necessarily shared by my employer _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-02-24 18:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-24 18:18 Serial ports
-- strict thread matches above, loose matches on Subject: below --
1996-02-08 15:07 Serial Ports Sundara Vardhan
1996-01-29 4:27 Tom
1995-03-16 21:46 smcclain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox