-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read/write data from /dev/ttyGSM* #3
Comments
were you able to solve it? can you provide more information? |
Hi cmux creates 4 virtual /dev/ttyGSMx on top of the physical ttyS0. Logfile from cmux start: I try to communicate with microcom to /dev/ttyGSM1 without success. I try to send AT to the modem, but I got no answer. Can you please give me advice how to debug the problem. Thanks. |
I'm using cmux on an embedded linux arm device and it works fine. I had to change the MTU value to 127 because that's what the device's modem supports. I'm not using microcom but do send AT commands and establish a ppp connection without issues. |
Thanks for you feedback. I've fixed my problem by comment out line 329.
|
I am using SIM7600 connected to UART2 on Beaglebone board. Facing the same problem. |
Got the SIM7600 connected to UART2 on Beaglebone board working. Apart from commenting out line 329
Thanks all for the inputs shared here. |
Hello:
I try to use cmux in my atmel board ( linux 4.4.4) , cross compile cmux and run successful.
It created 4 virtual tty for me. /dev/ttyGSM1 ~ /dev/ttyGSM4.
When i write data to /dev/ttyGSM1 by using shell, like this: printf "at\r\n" > /dev/ttyGSM1 ,data was sent successful, using salease logic analyze tool, can see the GPRS module responds with OK using GPRS0710 protocol.
But when i using microcom (linux serial port tools in busybox, like minicom) in command line:
microcom -s 115200 /dev/ttyGSM1, After that, microcom seems dead ! microcom cannot send/read anything, and I cannot close microcom by using CTRL+C.
I do not know who cause this problem, cmux,GPRS module or linux kernel ? or microcom ?
can you help me to solve this problem? Thanks!
The text was updated successfully, but these errors were encountered: