06-05-2017
How to change from tty03 to tty00 serial port in AIX 5.x?
Hi,
We use AIX 5.x, and we have an application that use the info from a server through a serial port tty00.
Some days ago, we bought a new two port serial board, and the server assign this new ports as tty02 and tty03, and leaves tty00 and tty01 as unavailable.
We cant modify the program and redirect to other tty.
How could I change the new serial ports and assign the tty02 to tty00 ?
It is possible to see the old configuration from the tty00 ?
Thanks in advance
10 More Discussions You Might Find Interesting
1. Programming
Hai there,
Can any one provide me with a ansi c source code for
opening com1 or com2 and read data. The port is connected to
another serial communication device on rs232 port.
The o/s is Sco Unix 5.0.6
Matter urgent
Viswanath (0 Replies)
Discussion started by: viswanath
0 Replies
2. Solaris
hi
i am using solaris 9 on sparc .
i was wondering if there was a command to control my serial interface , as to send a signal periodically every interval of time to the input of a 555 timer .
thanks for your help .... (0 Replies)
Discussion started by: ppass
0 Replies
3. Solaris
Hi,
I am working with Sun Solaris 9 Sparc,Sun-Blade-100.In my application,I need to monitor the UPS using Serial port.
When I am using JRE 1.4 in my application,I am able to monitor it but when I am upgrading the JRE version from 1.4 to JRE1.6. I am not able to monitor the UPS.It is showing the... (1 Reply)
Discussion started by: smartgupta
1 Replies
4. Programming
Hello!
Can someone advice me which method I will use if I want to communicate with device via RS232 serial port with this requirements:
1. Serial port is opened in non-canonical mode.
2. All the time I need to check is there something to read.
3. If I have to write something I need to write it... (6 Replies)
Discussion started by: jvrlic
6 Replies
5. AIX
Hi,
How can i configure my modem in AIX thru serial port (sa0-->tty0)
I have two port serial card configured as sa0
I created tty1 which port is tty0 and which port is tty1 how can i know?? (1 Reply)
Discussion started by: pchangba
1 Replies
6. Solaris
What is the serial port on the T5140 used for. (4 Replies)
Discussion started by: pgsanders
4 Replies
7. Shell Programming and Scripting
Hi,
I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a username ans password. Then I need to run my command. I can use rc script but that is rebooting system before it asks for username and... (0 Replies)
Discussion started by: charlie.arya
0 Replies
8. Solaris
Hi Everyone,
In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies
9. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
10. AIX
HI,
Does anyone installed a GPS from his Serial port to an IBM Server serial port with AIX 5.X
I would like the rs232 configuration you used on the GPS, and the ttys configuration from your server.
Thanks in advance !!! (8 Replies)
Discussion started by: trevian3969
8 Replies
COM(4) BSD Kernel Interfaces Manual COM(4)
NAME
com -- serial communications interface for RS-232C
SYNOPSIS
com0 at isa? port "IO_COM1" irq 4
com1 at isa? port "IO_COM2" irq 3
com* at acpi?
com* at cardbus?
com* at isapnp?
com* at mca? slot ?
com* at mhzc?
com* at ofisa?
com* at pcmcia?
com* at pcmcom?
com* at pnpbios? index ?
com* at puc? port ?
com* at xirc?
options COM_HAYESP
options PPS_SYNC
options PPS_TRAILING_EDGE
options RND_COM
Arm32
com0 at mainbus? base 0x00210fe0
com1 at mainbus? base 0x00210be0
HP 9000/300 and 400 Series
com* at dio? scode ?
com* at frodo? offset ?
HP 9000/700 and 800 Series
com* at dino?
com* at gsc?
com* at ssio?
IBM PowerPC 4xx
com* at opb?
SPARC
com* at ebus?
com* at obio0
DESCRIPTION
The com driver provides support for NS8250-, NS16450-, and NS16550-based EIA RS-232C (CCITT V.28) communications interfaces. The NS8250 and
NS16450 have single character buffers, and the NS16550 has a 16 character buffer.
Input and output for each line may set to one of following baud rates; 50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2400, 4800, 9600,
19200, 38400, 57600, or 115200, or any other baud rate which is a factor of 115200.
The ttyXX devices are traditional dial-in devices; the dtyXX devices are used for dial-out. (See tty(4).)
options COM_HAYESP adds support for the Hayes ESP serial board.
options PPS_SYNC enables code to use the Data Carrier Detect (DCD) signal line for attachment to an external precision clock source (e.g.,
GPS, CDMA) which generates a Pulse Per Second (PPS) signal. This is used by ntpd(8) to discipline the system clock, and more accurately
count/measure time. See options(4) for more discussion.
With options RND_COM enabled, the com driver can be used to collect entropy for the rnd(4) entropy pool. The entropy is generated from
interrupt randomness.
Arm32 specific
If ``flags 1'' is specified, the com driver will not set the MCR_IENABLE bit on the UART. This is mainly for use on AST multiport boards,
where the MCR_IENABLE bit is used to control whether or not the devices use a shared interrupt.
FILES
/dev/dty00
/dev/dty01
/dev/dty02
/dev/tty00
/dev/tty01
/dev/tty02
DIAGNOSTICS
com%d: %d silo overflows The input ``silo'' has overflowed and incoming data has been lost.
com%d: weird interrupt: iir=%x The device has generated an unexpected interrupt with the code listed.
SEE ALSO
acpi(4), ast(4), cardbus(4), isa(4), isapnp(4), mca(4), mhzc(4), ofisa(4), options(4), pcmcia(4), pcmcom(4), pnpbios(4), puc(4), rtfps(4),
tty(4), xirc(4), ntpd(8)
HISTORY
The com driver was originally derived from the HP9000/300 dca driver.
BUGS
Data loss is possible on busy systems with unbuffered UARTs at high speed.
The name of this driver and the constants which define the locations of the various serial ports are holdovers from DOS.
BSD
June 7, 2011 BSD