alcyone
Programmer
- Sep 6, 2000
- 33
Hi people,
In my SUN fire V240 (running Solaris 10) I have a pci-card with 16 serial RS422 interfaces on it. An application written in C reads and writes to those interfaces, but it seems that baudrates higher than 9600 don't work correctly. To be sure that the problem isn't in my appplication, I am trying to test the interfaces with "cat" and "echo".
How I can easily change the baudrates of the interfaces? I think it has something to do with stty, but the manpage says this is only for stdin.
Thanks in advance for any answers!
In my SUN fire V240 (running Solaris 10) I have a pci-card with 16 serial RS422 interfaces on it. An application written in C reads and writes to those interfaces, but it seems that baudrates higher than 9600 don't work correctly. To be sure that the problem isn't in my appplication, I am trying to test the interfaces with "cat" and "echo".
How I can easily change the baudrates of the interfaces? I think it has something to do with stty, but the manpage says this is only for stdin.
Thanks in advance for any answers!