PDA

View Full Version : NS16550A + linux +ST19XL?


lelik
12-08-2007, 08:36 PM
ST19XL + AUX card on Linux
Computer has two ports:

cat /proc/tty/driver/serial

serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:3990 rx:919
1: uart:NS16550A port:000002F8 irq:3 tx:40 rx:441 pe:270 brk:131 DSR|CD


when start st19xl, programm cannot set custom speed for the ttyS1

dmesg | grep tty

3 sets custom speed on ttyS1. This is deprecated.
3 sets custom speed on ttyS1. This is deprecated.
3 sets custom speed on ttyS1. This is deprecated.

Any suggestions?

regal99
12-08-2007, 09:34 PM
What are trying to do exactly?

You might want to try to setserial if you want to manually setup a com port however that usually the program that is running resets the serial port to it's needs.

lelik
12-09-2007, 02:53 AM
Trying to troubleshoot ttyS1.

If I boot to DOS st19xl works perfectly with switches –pe1 –pa2.

If I boot to linux and start st19xl with switches –dettyS0 –dattyS1, it complains that AUX does not exist. If I swap ports with –dettyS1 –dattyS0, it complains that Emu interface does not exist. Checked both ports with a loopback, and they are all good.

cat /proc/tty/driver/serial

gives a little different info for them:

serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:3990 rx:919
1: uart:NS16550A port:000002F8 irq:3 tx:40 rx:441 pe:270 brk:131 DSR|CD

I may be wrong but it looks like st19xl cannot set a custom speed on ttyS1

dmesg | grep tty

3 sets custom speed on ttyS1. This is deprecated.

Any help is appreciated

lelik
12-11-2007, 01:07 AM
I am totally off?
I can compile an new kernel if needed.
Anyone knows in what mode st19xl tries to put a serial port?

ericchile
01-14-2008, 04:51 AM
I am having the same problem.. Did you find a fix?