usb serial not able to set the speed using stty

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

usb serial not able to set the speed using stty

2,781 次查看
learner24
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 项奖励
回复
1 回复

2,140 次查看
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 项奖励
回复