I don’t see original LTE connection is disconnected after USB cable connected to PC with FW R13:
Poky (Yocto Project Reference Distro) 2.5.2 swi-mdm9x28-wp /dev/ttyHSL1
swi-mdm9x28-wp login: root
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# echo NO_SLEEP > /sys/power/wake_lock
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# cm data apn smartone
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# [ 83.775632] Failed to wake up the USB core. ret=-95
[ 83.781008] Failed to wake up the USB core. ret=-95
[ 84.062658] Failed to wake up the USB core. ret=-95
[ 84.871693] Failed to wake up the USB core. ret=-95
[ 84.892822] Failed to wake up the USB core. ret=-95
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# cm data
Index: 1
APN: smartone
PDP Type: IPV4
Connected: no
Auth type: PAP
User name:
Password:
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# cm data connect &
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# Setting up profile 1
Connecting ... ok
Checking if device 'rmnet_data0' is up ... ok
Routing inet ... ok
mv: can't remove '/etc/resolv.conf': Device or resource busy
Updating /etc/resolv.conf ... ok
Updating /etc/resolv.conf ... ok
Testing connection ...
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# cm data
Index: 1
APN: smartone
PDP Type: IPV4
Connected: yes
Auth type: PAP
User name:
Password:
Interface: rmnet_data0
Family[IPv4]: inet
IP[IPv4]: 10.158.102.153
Gateway[IPv4]: 10.158.102.154
Dns1[IPv4]: 10.30.23.133
Dns2[IPv4]: 10.30.25.133
root@swi-mdm9x28-wp:~#
//here I connect the USB cable from PC
root@swi-mdm9x28-wp:~# [ 101.263088] ch_notify on a closed smd_pkt_dev id:2
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# cm data
Index: 1
APN: smartone
PDP Type: IPV4
Connected: yes
Auth type: PAP
User name:
Password:
Interface: rmnet_data0
Family[IPv4]: inet
IP[IPv4]: 10.158.102.153
Gateway[IPv4]: 10.158.102.154
Dns1[IPv4]: 10.30.23.133
Dns2[IPv4]: 10.30.25.133
root@swi-mdm9x28-wp:~# microcom /dev/ttyAT
ati3
Manufacturer: Sierra Wireless, Incorporated
Model: WP7609
Revision: SWI9X07Y_02.28.03.05 000000 jenkins 2019/07/08 11:04:16
IMEI: 359782080100373
IMEI SV: 6
FSN: WA803370311610
+GCAP: +CGSM
OK
[ 263.067911] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0c1300c8 OPER:0x00000090
[ 263.083969] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0c1300c8 OPER:0x00000090
Legato Ver: 19.02.0_4cb954265427b8c2c668a010ff5be274
Yocto Ver: FLDIST00_02.28.03.05 2021-09-17_11:30:43
OS Ver: Linux version 3.18.131 (oe-user@oe-host) (gcc version 7.3.0 (GCC) ) #1 PREEMPT Fri Sep 17 10:55:21 UTC 2021
LK Ver: SWI9X07Y_02.28.03.05
RootFS Ver: FLDIST00_02.28.03.05 2021-09-17_11:30:43
UserFS Ver: unknown
MCU Ver: 002.011
OK