#StackBounty: #modem #ppp #wvdial #uart WvDial serial communication not working with uart /dev/ttySAC4, but works with `screen`

Bounty: 100

I have embedded system based on Samsung Artik 710 board connected to Fibocom G510 cellular modem module via UART (two lines – RX and TX).

When I try to communicate with modem using screen – modem responds to AT commands and looks like it’s working:

$ screen /dev/ttySAC4

.

AT
OK
AT+CGDCONT=1,"ip","playmetric"
OK
ATDT*99***1#
CONNECT
}&} } } } }#}$ďż˝#}%}&ďż˝}"Ú}'}"}(}"��

(...)

When I try with wvdial – looks like there is no serial communication at all.

[root@artik ~]# wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot set information for serial port.
--> Initializing modem.
--> Sending: AT
--> Sending: ATQ0
--> Re-Sending: AT
--> Modem not responding.
[root@artik ~]#

My /etc/wvdial.conf

[Dialer Defaults]
Modem = /dev/ttySAC4
# Modem = /dev/ttyUSB0 # Tested  Raspberry Pi with /dev/ttyUSB0 modem
Init1 = AT
Init2 = AT
Init3 = AT+CGDCONT=1,"ip","playmetric"
Username=" "
Password = " "
Phone = "*99***1#"
Dial Command = ATDT
Stupid Mode = yes
Dial Attempts = 0
Auto DNS = off

My system:

Linux artik 4.4.113 #1 SMP PREEMPT Mon Jul 30 15:29:10 EDT 2018
aarch64 aarch64 aarch64 GNU/Linux


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.