Paxel: Operating system name and version: Windows Server 2016 (Cygwin)
Version of smsd: 3.1.21
Smsd installed from: sources
Name and model of a modem / phone: alcatel one touch x602D
Interface: USB
Hi,
smsd is working fine for me, but after differend Times (1 Day, 3 Days, or a Week) the Modem is inaktive, or "hanging". A System reboot does not help. I have to disconnect the Alcatel Stick from the USB Port und reconnect it. Then it works again.
This is a success log, it runs thousends tmes:
2019-08-22 18:31:34,6, GSM1: Checking device for incoming SMS
2019-08-22 18:31:34,6, GSM1: Checking if modem is ready
2019-08-22 18:31:34,7, GSM1: -> AT
2019-08-22 18:31:34,7, GSM1: Command is sent, waiting for the answer. (5)
2019-08-22 18:31:34,7, GSM1: <- OK
2019-08-22 18:31:34,6, GSM1: Pre-initializing modem
2019-08-22 18:31:34,7, GSM1: -> ATE0
2019-08-22 18:31:34,7, GSM1: Command is sent, waiting for the answer. (10)
2019-08-22 18:31:34,7, GSM1: <- OK
2019-08-22 18:31:35,7, GSM1: -> AT+CMEE=1;+CREG=2
2019-08-22 18:31:35,7, GSM1: Command is sent, waiting for the answer. (10)
2019-08-22 18:31:35,7, GSM1: <- OK
2019-08-22 18:31:35,6, GSM1: Checking if modem needs PIN
2019-08-22 18:31:35,7, GSM1: -> AT+CPIN?
2019-08-22 18:31:35,7, GSM1: Command is sent, waiting for the answer. (10)
2019-08-22 18:31:35,7, GSM1: <- +CPIN: READY OK
2019-08-22 18:31:35,6, GSM1: Initializing modem
2019-08-22 18:31:35,7, GSM1: -> ATE0
2019-08-22 18:31:35,7, GSM1: Command is sent, waiting for the answer. (10)
2019-08-22 18:31:35,7, GSM1: <- OK
2019-08-22 18:31:35,7, GSM1: -> AT+CSQ
2019-08-22 18:31:35,7, GSM1: Command is sent, waiting for the answer. (10)
2019-08-22 18:31:35,7, GSM1: <- +CSQ: 13,0 OK
2019-08-22 18:31:35,6, GSM1: Signal Strength Indicator: (13,0) -87 dBm (Workable)
2019-08-22 18:31:35,7, GSM1: -> AT+CSQ
2019-08-22 18:31:35,7, GSM1: Command is sent, waiting for the answer. (10)
2019-08-22 18:31:35,7, GSM1: <- +CSQ: 13,0 OK
2019-08-22 18:31:35,6, GSM1: Signal Strength Indicator: (13,0) -87 dBm (Workable)
2019-08-22 18:31:35,6, GSM1: Checking if Modem is registered to the network
2019-08-22 18:31:35,7, GSM1: -> AT+CREG?
2019-08-22 18:31:35,7, GSM1: Command is sent, waiting for the answer. (10)
2019-08-22 18:31:35,7, GSM1: <- +CREG: 2,1,"491C","0000A9CC",3 OK
2019-08-22 18:31:35,6, GSM1: Modem is registered to the network
2019-08-22 18:31:35,6, GSM1: Selecting PDU mode
2019-08-22 18:31:35,7, GSM1: -> AT+CMGF=0
2019-08-22 18:31:35,7, GSM1: Command is sent, waiting for the answer. (5)
2019-08-22 18:31:35,7, GSM1: <- OK
2019-08-22 18:31:35,6, GSM1: Checking memory size
2019-08-22 18:31:35,7, GSM1: -> AT+CPMS?
2019-08-22 18:31:35,7, GSM1: Command is sent, waiting for the answer. (5)
2019-08-22 18:31:36,7, GSM1: <- +CPMS: "SM",0,20,"SM",0,20,"SM",0,20 OK
2019-08-22 18:31:36,6, GSM1: Used memory is 0 of 20
2019-08-22 18:31:36,6, GSM1: Changing memory
2019-08-22 18:31:36,7, GSM1: -> AT+CPMS="ME"
2019-08-22 18:31:36,7, GSM1: Command is sent, waiting for the answer. (5)
2019-08-22 18:31:36,7, GSM1: <- +CPMS: 0,200,0,20,0,20 OK
2019-08-22 18:31:36,6, GSM1: Checking memory size
2019-08-22 18:31:36,7, GSM1: -> AT+CPMS?
2019-08-22 18:31:36,7, GSM1: Command is sent, waiting for the answer. (5)
2019-08-22 18:31:36,7, GSM1: <- +CPMS: "ME",0,200,"SM",0,20,"SM",0,20 OK
2019-08-22 18:31:36,6, GSM1: Used memory is 0 of 200
2019-08-22 18:31:36,6, GSM1: Changing memory
2019-08-22 18:31:36,7, GSM1: -> AT+CPMS="SM"
2019-08-22 18:31:36,7, GSM1: Command is sent, waiting for the answer. (5)
2019-08-22 18:31:36,7, GSM1: <- +CPMS: 0,20,0,20,0,20 OK
2019-08-22 18:31:36,6, GSM1: No SMS received
But then:
2019-08-22 18:31:46,6, GSM1: Checking device for incoming SMS
2019-08-22 18:31:46,6, GSM1: Checking if modem is ready
2019-08-22 18:31:46,7, GSM1: -> AT
2019-08-22 18:31:46,7, GSM1: Command is sent, waiting for the answer. (5)
2019-08-22 18:31:51,7, GSM1: No answer, put_command expected (OK)|(ERROR)|(0)|(4), timeout occurred. 1.
2019-08-22 18:31:51,7, GSM1: <-
2019-08-22 18:31:51,7, GSM1: ->
2019-08-22 18:31:51,3, GSM1: write_to_modem: error 13: Permission denied
2019-08-22 18:32:01,7, GSM1: -> AT
2019-08-22 18:32:01,3, GSM1: write_to_modem: error 13: Permission denied
2019-08-22 18:32:11,7, GSM1: ->
2019-08-22 18:32:11,3, GSM1: write_to_modem: error 13: Permission denied
2019-08-22 18:32:21,7, GSM1: -> AT
2019-08-22 18:32:21,3, GSM1: write_to_modem: error 13: Permission denied
2019-08-22 18:32:31,7, GSM1: ->
2019-08-22 18:32:31,3, GSM1: write_to_modem: error 13: Permission denied
2019-08-22 18:32:41,7, GSM1: -> AT
2019-08-22 18:32:41,3, GSM1: write_to_modem: error 13: Permission denied
2019-08-22 18:32:52,7, GSM1: ->
2019-08-22 18:32:52,3, GSM1: write_to_modem: error 13: Permission denied
2019-08-22 18:33:02,7, GSM1: -> AT
2019-08-22 18:33:02,3, GSM1: write_to_modem: error 13: Permission denied
2019-08-22 18:33:12,7, GSM1: ->
2019-08-22 18:33:12,3, GSM1: write_to_modem: error 13: Permission denied
2019-08-22 18:33:23,3, GSM1: Couldn't open serial port /dev/com6, error: No such device or address, waiting 30 sec.
2019-08-22 18:33:53,3, GSM1: Cannot open serial port /dev/com6, error: No such device or address
2019-08-22 18:33:53,3, GSM1: Modem is not ready to answer commands (Timeouts: 1)
2019-08-22 18:34:03,3, GSM1: Couldn't open serial port /dev/com6, error: No such device or address, waiting 30 sec.
2019-08-22 18:34:33,3, GSM1: Cannot open serial port /dev/com6, error: No such device or address
2019-08-22 18:34:33,2, GSM1: Modem handler 0 terminated. PID: 1971, was started 19-08-20 14:46:12, up 2 days, 3:48.
2019-08-22 18:34:34,2, smsd: Modem handler 0 (GSM1) terminated while mainprocess is still running. Exited, status 127.
and smsd is inactive and does nothing more.
Do you have any idea where the problem is?
Thanks a lot
Best regards
Patrick
|