Operating system name and version: Debian (from yocto pyro)
Version of smsd: sms3.1.21
Smsd installed from: sources
Name and model of a modem / phone: G-2403R (Wavecom module Q2403A)
Interface: ttymxc1
Hi guys,
I'm writing this post because I want to use smstool3 in order to request from my linux embedded device to send sms programmatically with RS232 connector.
But when I start the process, from log I can see these messages:
Mar 15 16:47:10 geamx6ul daemon.crit smsd: MAINPROCESS: Smsd v3.1.21 started.
Mar 15 16:47:10 geamx6ul daemon.crit smsd: MAINPROCESS: Running as root:root (0:0).
Mar 15 16:47:10 geamx6ul daemon.warn smsd: MAINPROCESS: File mode creation mask: 022 (0644, rw-r--r--).
Mar 15 16:47:10 geamx6ul daemon.crit smsd: MAINPROCESS: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 2821.
Mar 15 16:47:10 geamx6ul daemon.crit smsd: GSM1: Failed to initialize modem GSM1. Stopping.
Mar 15 16:47:10 geamx6ul daemon.crit smsd: MAINPROCESS: Smsd mainprocess terminated. PID: 2821, was started 23-03-15 16:47:10, up 0 min.
Mar 15 16:47:10 geamx6ul daemon.crit smsd: GSM1: Modem handler 0 terminated. PID: 2823, was started 23-03-15 16:47:10, up 0 min.
Below there is the smsd.conf:
devices = GSM1
#logfile = /var/log/smsd.log
#logfile = /dev/null
loglevel = 4
outgoing = /run/sms/outgoing
checked = /run/sms/checked
incoming = /run/sms/incoming
notifier=yes
[GSM1]
device = /dev/ttymxc1
#incoming = yes
#pin = 1111
pin=ignore
rtscts = no
signal_quality_ber_ignore = yes
hangup_incoming_call = yes
regular_run=/usr/bin/smsd_regular_run.sh
regular_run_post_run=/usr/bin/smsd_regular_run.sh
regular_run_interval=15
regular_run_cmdfile=/run/sms/regular_run_cmdfile
regular_run_statfile=/run/sms/regular_run_stat
keep_open=no
So how may I solve this problem?
Thanks in advice,
Salvatore