and then connecting to /dev/ttyUSB2, i do 'ATZ' and 'AT+CPIN="XXXX"' and it reports 'OK'. We can send and receive SMS-s with it. However, when i try to do 'ATD36XXXXXXXXX;' (with or without the semicolon), all it reports is 'ERROR'. Also, if we try to call the dongle, then the phone which calling it beeps three times and then simply disconnects and there is not any kind of report from the dongle. (My brother says, the call is being redirected.)
Please clarify, what do you mean by “detail AT log”, because it printed nothing but 'ERROR'. Is there any other kind of log of it? Like in /var/log, or in the output of dmesg? The latter one is here:
[16967.641205] usb 2-3: new high-speed USB device number 2 using ehci-pci
[16967.799262] usb 2-3: New USB device found, idVendor=2c7c, idProduct=0296, bcdDevice= 0.00
[16967.799277] usb 2-3: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[16967.799285] usb 2-3: Product: Quectel
[16967.799290] usb 2-3: Manufacturer: Quectel, Incorporated
[16967.799295] usb 2-3: SerialNumber: 2b437567
[16967.800903] option 2-3:1.0: GSM modem (1-port) converter detected
[16967.801241] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB0
[16967.801548] option 2-3:1.1: GSM modem (1-port) converter detected
[16967.801941] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB1
[16967.802130] option 2-3:1.2: GSM modem (1-port) converter detected
[16967.802596] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB2
[16967.802819] option 2-3:1.3: GSM modem (1-port) converter detected
[16967.803215] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB3
[16967.805003] qmi_wwan 2-3:1.4: cdc-wdm0: USB WDM device
[16967.805419] qmi_wwan 2-3:1.4 wwan0: register 'qmi_wwan' at usb-0000:00:13.2-3, WWAN/QMI device, ba:78:12:e0:c9:0a
Look for target devices ...
Found devices in target mode or class (1)
Look for default devices ...
Found devices in default mode (1)
Access device 002 on bus 002
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
with class 255
Warning: no switching method given. See documentation
Reset USB device .
Device was reset
-> Run lsusb to note any changes. Bye!
dmesg then printed these:
[17137.338039] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[17137.338085] option 2-3:1.0: device disconnected
[17137.338249] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[17137.338285] option 2-3:1.1: device disconnected
[17137.338439] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[17137.338476] option 2-3:1.2: device disconnected
[17137.338632] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[17137.338666] option 2-3:1.3: device disconnected
[17137.338701] qmi_wwan 2-3:1.4 wwan0: unregister 'qmi_wwan' usb-0000:00:13.2-3, WWAN/QMI device
[17137.497308] usb 2-3: reset high-speed USB device number 2 using ehci-pci
[17137.655035] option 2-3:1.0: GSM modem (1-port) converter detected
[17137.655243] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB0
[17137.655339] option 2-3:1.1: GSM modem (1-port) converter detected
[17137.655492] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB1
[17137.655583] option 2-3:1.2: GSM modem (1-port) converter detected
[17137.655736] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB2
[17137.655824] option 2-3:1.3: GSM modem (1-port) converter detected
[17137.655982] usb 2-3: GSM modem (1-port) converter now attached to ttyUSB3
[17137.657366] qmi_wwan 2-3:1.4: cdc-wdm0: USB WDM device
[17137.657753] qmi_wwan 2-3:1.4 wwan0: register 'qmi_wwan' at usb-0000:00:13.2-3, WWAN/QMI device, ba:78:12:e0:c9:0a
chmod -R a+rwx /dev/ttyUSB2 and stty -F /dev/ttyUSB2 9600 gave back nothing and dmesg did not print out anything new either.
Then i did cu -l ttyUSB2 and typed in the commands:
Connected.
ATZ
OK
AT+CPIN="XXXX"
OK
+CPIN: READY
+QUSIM: 1
+QIND: SMS DONE
ATD3630XXXXXXX;
ERROR