I have ppp using /dev/ttyS0. Also trying to use /dev/ttyUSB2 for receiving SMS with smstools.
When ppp0 connects I get this in dmesg and /dev/ttyUSB2 goes away:
[ 40.330141] usb 1-1.3: USB disconnect, device number 3
[ 40.330614] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 40.330688] option 1-1.3:1.0: device disconnected
[ 40.331146] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 40.331211] option 1-1.3:1.1: device disconnected
[ 40.331683] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 40.331737] option 1-1.3:1.2: device disconnected
[ 40.332272] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[ 40.332338] option 1-1.3:1.3: device disconnected
[ 42.792325] usb 1-1.3: new high-speed USB device number 4 using xhci_hcd
[ 42.927658] usb 1-1.3: New USB device found, idVendor=2c7c, idProduct=0700, bcdDevice= 0.00
[ 42.927677] usb 1-1.3: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[ 42.927694] usb 1-1.3: Product: Quectel LPWA Module
[ 42.927710] usb 1-1.3: Manufacturer: Quectel, Incorporated
[ 42.927725] usb 1-1.3: SerialNumber: 9e6c63db
[ 42.945614] option 1-1.3:1.0: GSM modem (1-port) converter detected
[ 42.945979] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 42.946427] option 1-1.3:1.1: GSM modem (1-port) converter detected
[ 42.946749] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 42.947181] option 1-1.3:1.2: GSM modem (1-port) converter detected
[ 42.947492] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB3
[ 42.947965] option 1-1.3:1.3: GSM modem (1-port) converter detected
[ 42.948286] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB4
This in turn causes errors in smstools like:
GSM1: write_to_modem: error 5: Input/output error
I suspect it's something about calling gpio -g write in the reconnect script.
I've tested swapping the devices and using smstools over /dev/ttyS0 and ppp over /dev/ttyUSB2 and apparently the problem doesn't happen.
I have ppp using
/dev/ttyS0
. Also trying to use/dev/ttyUSB2
for receiving SMS with smstools. When ppp0 connects I get this indmesg
and/dev/ttyUSB2
goes away:This in turn causes errors in
smstools
like:I suspect it's something about calling
gpio -g write
in the reconnect script.I've tested swapping the devices and using smstools over
/dev/ttyS0
and ppp over/dev/ttyUSB2
and apparently the problem doesn't happen.