usb serial not able to set the speed using stty

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

usb serial not able to set the speed using stty

1,892 Views
chaitanyaraju
Contributor I

Trying to change the speed of usb-serial port as follows

stty -F /dev/ttyGS0 115200

and the following error is seen.

stty: /dev/ttyGS0: unable to perform all requested operations

It works only for B9600. For all other speeds it just reports the above error.

Is there a way to change the speed ?

0 Kudos
1 Reply

1,251 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Raju,

Are you using a NXP board and BSP?

Have you ensured that such serial interface does support the desired speeds? How about checking permissions of the TTY?


Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos