On my machine I get a value of "13" when setting 9600 and "9" when
setting 1200:

root@turandot:~# stty -F /dev/ttyS1 9600
root@turandot:~# stty -F /dev/ttyS1
speed 13 baud; line = 0;
clocal
ignpar -icrnl ixon -imaxbel
-opost -onlcr
-isig -icanon -echo
root@turandot:~# stty -F /dev/ttyS1 1200
root@turandot:~# stty -F /dev/ttyS1
speed 9 baud; line = 0;
clocal
ignpar -icrnl ixon -imaxbel
-opost -onlcr
-isig -icanon -echo
root@turandot:~#

screen seems to be able to set the values properly but isn't ideal for
utilizing the echo command.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130906

Title:
  stty -F /dev/ttyUSB1 9600 sets speed as 300 not 9600

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils-from/+bug/2130906/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to