stty line discipline 0 not supported

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

stty line discipline 0 not supported

530 Views
fabio_poiatti
Contributor III

Hi, I'm using the uart port /dev/ttymxc1 connected to a modem ... the connection working well till for a misconfigurationd the line parameter of the uart change to 3

when I try to reset the value to 0, the command said

root@console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw:/etc# stty -F /dev/ttymxc1 line 0
stty: number 0 is not in 1..2147483647 range

Any suggestion?

Thanks

Fabio

2 Replies

457 Views
karangajjar
Senior Contributor II

Hi fabio mario poiatti,

Can you please let us know the board, yocto and kernel version that you are using?

Also, please let us know the setup and steps you followed to reproduce the issue.

Regards,

Karan Gajjar

457 Views
fabio_poiatti
Contributor III

Hi

I'm using the EVK IMX6ULL with 

Linux version 4.14.78-imx_4.14.78_1.0.0_ga+g94da7bdc489b (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Fri May 10 14:32:15 UTC 2019

I connected the uart with an external modem and configured by stty command

Now I avoided the problem connecting the modem by micro usb

Thanks

Fabio

0 Kudos