Ours is a custom board is based on imx6.In which UART 2 is connected to GSM modem.In linux we are only able to access the UART once.What we wanted is to multiplex the UART 2 i.e ttymxc1 into 3 or 2 virtual port . So that i can access my serial port multiple times.Is there any driver available to multiplex my ttymxc1.If there is any method to multiplex please help me.Please reply as soon as possible
Do you mean the access to a single hardware UART port by different processes/software threads at the same time? If so, the answer is: no, it is not possible. It is prohibited on the Linux kernel level.
Have a great day,
In Linux we are having a GSM Mux line discipline support if we enable and follow the document in linux kernel i.e n_gsm.txt we are able to get virtual port of my ttymxc1.But now what problem is that when we try to "cat /dev/ttygsm1 " we are getting messgae "LEVEL 2 : Halted" what could be the issue can anyone help me in this issue .