06-15-2021, 07:55 AM
What usually happens is that the USB hub restarts due to EMI(ElectroMegnetic Interference), the modem still works but it is disconnected, since this happens when I give GPS commands I reckon that the modem draws much power and causes a power surge forcing the system to restart the hub.
Then there are 2 cases,
1) if you can see the modem with `lsusb` you can give `ofonoctl online` and bring it back but it is not registered properly with DBus and Plasmaphonedialer and Spacebar can not use it.
2) if you can't see it at all with `lsusb` then you should restart the eg25-manager and then go online
`sudo systemctl restart eg25-manager`
it takes some time, after some seconds give
`ofonoctl online
if it says "No modem found" give again the command after some seconds
and enter the PIN
`qdbus --system org.ofono /quectelqmi_0 org.ofono.SimManager.EnterPin pin your_pin`
Again Plasma dialer and Spacebar won't be probably working.
Something has to be done with the modem and the power.
Then there are 2 cases,
1) if you can see the modem with `lsusb` you can give `ofonoctl online` and bring it back but it is not registered properly with DBus and Plasmaphonedialer and Spacebar can not use it.
2) if you can't see it at all with `lsusb` then you should restart the eg25-manager and then go online
`sudo systemctl restart eg25-manager`
it takes some time, after some seconds give
`ofonoctl online
if it says "No modem found" give again the command after some seconds
and enter the PIN
`qdbus --system org.ofono /quectelqmi_0 org.ofono.SimManager.EnterPin pin your_pin`
Again Plasma dialer and Spacebar won't be probably working.
Something has to be done with the modem and the power.