#404497 coreutils: stty reports bogus error.

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
Sergei Organov
Date:
2011-08-30 21:57:06 UTC
Severity:
normal
#404497#5
Date:
2006-12-25 17:43:40 UTC
From:
To:
Consider the session below:

$ stty -F /dev/ttyS0 9600
$ stty -F /dev/ttyS0 -g > stty.ttyS0.txt
$ stty -F /dev/ttyS0 115200
$ stty -F /dev/ttyS0 `cat stty.ttyS0.txt`
stty: /dev/ttyS0: unable to perform all requested operations
$ stty -F /dev/ttyS0 `cat stty.ttyS0.txt`
$

As far as I can tell, the (bogus) error message is due to the stty's
ignorance of c_ispeed and c_ospeed fields of struct termios.

#404497#10
Date:
2011-08-30 21:53:53 UTC
From:
To:
  Hi,

  Any news on this bug? I just have been hit by it and it tooks me time to
understand what happens.

  Regards,
    Vincent