modem ttyUSB1 sometimes only responds after HKS toggle
When calling in after booting:
Dec 2 10:37:27 pureos ModemManager[573]: <warn> [modem0/call0] couldn't start call: Serial command timed out
Dec 2 10:37:27 pureos ModemManager[573]: <info> [modem0/call0] call state changed: dialing -> terminated (unknown)
Dec 2 10:37:27 pureos ModemManager[573]: <warn> [modem0] port ttyUSB1 timed out 2 consecutive times
Dec 2 10:37:32 pureos ModemManager[573]: <warn> [modem0] couldn't load call list: Serial command timed out
Dec 2 10:37:32 pureos ModemManager[573]: <warn> [modem0] port ttyUSB1 timed out 3 consecutive times
Dec 2 10:37:34 pureos ModemManager[573]: <warn> [modem0] port ttyUSB1 timed out 4 consecutive times
Dec 2 10:37:36 pureos ModemManager[573]: <warn> [modem0] port ttyUSB1 timed out 5 consecutive times
Dec 2 10:37:38 pureos ModemManager[573]: <warn> [modem0] port ttyUSB1 timed out 6 consecutive times
Dec 2 10:37:40 pureos ModemManager[573]: <warn> [modem0] port ttyUSB1 timed out 7 consecutive times
Dec 2 10:37:42 pureos ModemManager[573]: <warn> [modem0] port ttyUSB1 timed out 8 consecutive times
Dec 2 10:37:44 pureos ModemManager[573]: <warn> [modem0] port ttyUSB1 timed out 9 consecutive times
Dec 2 10:37:46 pureos ModemManager[573]: <error> [modem0] port ttyUSB1 timed out 10 consecutive times, marking modem as invalid
purism@pureos:~/addons/atinout$ sudo dmesg|grep -i '1-1.2'
[ 9.144384] usb 1-1.2: new high-speed USB device number 4 using xhci-hcd
[ 9.246220] usb 1-1.2: New USB device found, idVendor=2020, idProduct=2060, bcdDevice= 0.00
[ 9.246230] usb 1-1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[ 9.246234] usb 1-1.2: Product: Qualcomm CDMA Technologies MSM
[ 9.246237] usb 1-1.2: Manufacturer: Qualcomm, Incorporated
[ 9.405454] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 9.405783] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 9.406028] option 1-1.2:1.1: GSM modem (1-port) converter detected
[ 9.406206] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 9.406405] option 1-1.2:1.2: GSM modem (1-port) converter detected
[ 9.406571] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 9.406766] option 1-1.2:1.3: GSM modem (1-port) converter detected
[ 9.408313] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 9.420998] qmi_wwan 1-1.2:1.4: cdc-wdm0: USB WDM device
[ 9.421664] qmi_wwan 1-1.2:1.4 wwan0: register 'qmi_wwan' at usb-xhci-hcd.4.auto-1.2, WWAN/QMI device, 16:d7:b1:00:fa:70
purism@pureos:~/addons/atinout$ echo 'AT+CGDCONT?' | sudo ./atinout - /dev/ttyUSB1 -
^C
purism@pureos:~/addons/atinout$ echo 'AT+CGDCONT?' | sudo ./atinout - /dev/ttyUSB0 -
^C
purism@pureos:~/addons/atinout$ echo 'AT+CGDCONT?' | sudo ./atinout - /dev/ttyUSB2 -
+CGDCONT: 1,"IP","","0.0.0.0",0,0,0,0
OK
purism@pureos:~/addons/atinout$ echo 'AT+CGDCONT?' | sudo ./atinout - /dev/ttyUSB3 -
+CGDCONT: 1,"IP","","0.0.0.0",0,0,0,0
OK
so only ttyUSB2 and ttyUSB3 respond to me. In this state, the Calls UI is not started when calling in and calling out times out. After modem HKS off/on, ttyUSB1 responds too:
purism@pureos:~/addons/atinout$ echo 'AT+CGDCONT?' | sudo ./atinout - /dev/ttyUSB1 -
+CGDCONT: 1,"IP","","0.0.0.0",0,0,0,0
OK
purism@pureos:~/addons/atinout$ echo 'AT+CGDCONT?' | sudo ./atinout - /dev/ttyUSB2 -
+CGDCONT: 1,"IP","","0.0.0.0",0,0,0,0
OK
purism@pureos:~/addons/atinout$ echo 'AT+CGDCONT?' | sudo ./atinout - /dev/ttyUSB3 -
+CGDCONT: 1,"IP","","0.0.0.0",0,0,0,0
OK
purism@pureos:~/addons/atinout$
and only then, calling works, in and out.
I think I see this since v5.9.11