Ich habe folgendes Problem mit gammu-smsd:
Beim Aufstarten wird der Modem-Stick richtig erkannt und gammu funktioniert.
Installiere ich den gammu-smsd.service ergibt :
folgendes:
Code
[ 21.588076] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 21.588760] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 21.589271] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 47.530981] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 47.532966] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 47.536283] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 64.327836] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 64.328874] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 64.329766] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
Code
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1f01", RUN+="/usr/sbin/usb_modeswitch -v 12d1 -p 1f01 -M '55534243123456780000000000000011063000000100010000000000000000'"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="155e", RUN+="/bin/bash -c
'modprobe option && echo 12d1 155e > /sys/bus/usb-serial/drivers/option1/new_id'"
das gammu-smsdrc:
Code
[gammu]
port = /dev/ttyUSB0
connection = at19200
[smsd]
RunOnReceive = /home/pi/smstrigger.sh
service = files
logfile = syslog
debuglevel = 0
inboxpath = /var/spool/gammu/inbox/
outboxpath = /var/spool/gammu/outbox/
sentsmspath = /var/spool/gammu/sent/
errorsmspath = /var/spool/gammu/error/
Alles anzeigen
Kennt jemand dieses Problem?
Das Betriebssystem ist Raspian Buster
Herzlichen Dank für jede Hilfe
Christophe