I have the TS-7250 model and I am trying to communicate through the
serial port. My serial device requires the baud rate to be set to
19200. I have disabled getty in inittab so nothing else is using the
serial port. I have had no success setting /dev/ttyAM0 to this rate.
This is what I've done.
After reboot:
# setserial /dev/ttyAM0 -G
/dev/ttyAM0 uart undefined port 0x0000 irq 52 baud_base 921600 spd_normal
The 'setserial' man page says that baud_base is CLK / 16. Which clock?
It may be that I don't really understand how to set this parameter.
Anyhow, since the default baud rate is 115200 I figure baud_base is
being divided by 8 (921600 / 8 = 115200). So I try, 8 * 19200 =
153600,
# setserial /dev/ttyAM0 baud_base 153600
Doesn't work.
Next, I try,
# setserial /dev/ttyAM0 baud_base 19200
Doesn't work.
So, the simple question is how can I set the baud rate of COM1 to
19200? Or is there some other reason why I can't communicate on COM1?
Thanks,
Mike
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|