vianneyjs03
asked on
Ubuntu Serial ports setup
Hi guys,
Setup:
- PC with Ubuntu 10.10
- 1 built-in serial port
- 1 PCI card with two serial ports.
- An application that acquires data from devices that have serial ports.
- Application serial port requirements: Baud Rate: 115200, Stop Bits: 2, Parity: Odd, Flow Control: none
This setup is perfectly working under Windows with this three serial ports.
Under Ubuntu only the built-in serial port (ttyS0) is acquiring data, but the two serial ports (ttyS1 and ttyS2) from the PCI cards.
Terminal Output:
root@ubuntu:~# sudo dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 1.797328] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.797635] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.818658] 0000:03:01.0: ttyS1 at I/O 0xdce0 (irq = 17) is a ST16650V2
[ 1.839640] 0000:03:01.1: ttyS2 at I/O 0xdce8 (irq = 18) is a ST16650V2
What can I do in order to configure those settings for the two serial ports from the PCI card?
Thanks
Setup:
- PC with Ubuntu 10.10
- 1 built-in serial port
- 1 PCI card with two serial ports.
- An application that acquires data from devices that have serial ports.
- Application serial port requirements: Baud Rate: 115200, Stop Bits: 2, Parity: Odd, Flow Control: none
This setup is perfectly working under Windows with this three serial ports.
Under Ubuntu only the built-in serial port (ttyS0) is acquiring data, but the two serial ports (ttyS1 and ttyS2) from the PCI cards.
Terminal Output:
root@ubuntu:~# sudo dmesg | grep tty
[ 0.000000] console [tty0] enabled
[ 1.797328] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.797635] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.818658] 0000:03:01.0: ttyS1 at I/O 0xdce0 (irq = 17) is a ST16650V2
[ 1.839640] 0000:03:01.1: ttyS2 at I/O 0xdce8 (irq = 18) is a ST16650V2
What can I do in order to configure those settings for the two serial ports from the PCI card?
Thanks
ASKER
Hi DonConsolio,
Isn't minicom a terminal like Hyperterminal?
I used gtkterm (a GUI based terminal), and I was able to verify the connectivity.
I only need to change the tty1 and tty2 to meet my application's requirements.
Thanks.
Isn't minicom a terminal like Hyperterminal?
I used gtkterm (a GUI based terminal), and I was able to verify the connectivity.
I only need to change the tty1 and tty2 to meet my application's requirements.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Might be a handshake problem.
Try using the "minicom" program to verify connectivity (set handshake to none - <Ctrl-A> <O> )