05-03-2021, 03:08 PM
This command will power cycle the modem on Mobian. Commands are case-sensitive.
Then check the log by running:
If the modem is detected you will get something like this
If it did not work, posting a log might help figure out the situation.
Code:
sudo systemctl restart eg25-manager.service
Then check the log by running:
Code:
sudo journalctl -u eg25-manager.service -n 100
If the modem is detected you will get something like this
Code:
systemd[1]: Stopped Quectel EG25 modem.
systemd[1]: Started Quectel EG25 modem.
eg25manager[5586]: Opening config file: /usr/share/eg25-manager/pine64,pinephone-1.2.toml
eg25manager[5586]: Starting modem...
eg25manager[5586]: Executed power-on/off sequence
eg25manager[5586]: taking systemd sleep inhibitor
eg25manager[5586]: ModemManager appeared on D-Bus
eg25manager[5586]: inhibitor sleep fd is 21
eg25manager[5586]: Response: [RDY]
eg25manager[5586]: taking systemd sleep inhibitor (blocking)
eg25manager[5586]: inhibitor block fd is 20
eg25manager[5586]: ModemManager object `/org/freedesktop/ModemManager1/Modem/3' added
eg25manager[5586]: ModemManager interface `org.freedesktop.ModemManager1.Modem.Simple' found on object `/org/freedesktop/ModemManager1/Modem/3'
eg25manager[5586]: ModemManager interface `org.freedesktop.ModemManager1.Modem.Firmware' found on object `/org/freedesktop/ModemManager1/Modem/3'
eg25manager[5586]: ModemManager interface `org.freedesktop.ModemManager1.Modem.Modem3gpp' found on object `/org/freedesktop/ModemManager1/Modem/3'
eg25manager[5586]: ModemManager interface `org.freedesktop.ModemManager1.Modem.Voice' found on object `/org/freedesktop/ModemManager1/Modem/3'
eg25manager[5586]: ModemManager interface `org.freedesktop.ModemManager1.Modem.Time' found on object `/org/freedesktop/ModemManager1/Modem/3'
eg25manager[5586]: ModemManager interface `org.freedesktop.ModemManager1.Modem' found on object `/org/freedesktop/ModemManager1/Modem/3'
eg25manager[5586]: Adding new modem `/org/freedesktop/ModemManager1/Modem/3'
If it did not work, posting a log might help figure out the situation.