- 31 Dec, 2020 1 commit
-
-
Oliver Smith authored
Start work on new ofono interface. So far, this detects ofono on dbus and complains if both mm and ofono are running. See the ofono issue in the eg25-manager repo for more information.
-
- 30 Dec, 2020 4 commits
-
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
There's no reason we should wait 3s before retrying a failed AT command. This can even cause issues with suspend inhibition: 3 retries of a failed command would take 9s, while logind ignores the inhibitor after only 5s. Reducing the delay to 500ms should be enough and wouldn't interfere with suspend inhibition. Fixes #3
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
-
- 18 Dec, 2020 3 commits
-
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
This makes its role more explicit.
-
Arnaud Ferraris authored
Most of the modem issues follow a (incomplete) USB device reset. Instead of relying solely on the existing timer, this patch adds a udev monitor which resets the modem as soon as its associated USB device is reset, which greatly improves recovery time.
-
- 17 Dec, 2020 2 commits
-
-
Arnaud Ferraris authored
This patch adds a 3s delay when resetting the modem during which we avoid triggering a new reset. This makes sure we don't trigger a reset twice in a row. It also disables any related running timer to avoid being re-triggered unnecessarily.
-
Arnaud Ferraris authored
Sometimes it takes just a little bit longer than usual, so this avoids unnecessary modem recovery.
-
- 14 Dec, 2020 1 commit
-
-
Arnaud Ferraris authored
mm-iface: fix GError pointer See merge request mobian1/devices/eg25-manager!2
-
- 13 Dec, 2020 3 commits
-
-
Evangelos Ribeiro Tzaras authored
-
Arnaud Ferraris authored
use g_autoptr for GError See merge request mobian1/devices/eg25-manager!1
-
Evangelos Ribeiro Tzaras authored
-
- 12 Dec, 2020 5 commits
-
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
This means the system is in a very bad shape as no other software should make use of those, so exit the daemon (will be restarted by systemd).
-
Arnaud Ferraris authored
-
- 11 Dec, 2020 13 commits
-
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
This makes sure the resume commands (disable URC cache and enable GPS) are executed.
-
Arnaud Ferraris authored
As ModemManager releases the modem while going to sleep, we clear the USB ID too, which causes a segfault when trying to recover the modem.
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
This reverts commit ff9b26b8.
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
The response can include the command and an error number, so we want to only check it contains ERROR, even if it's replying more than just the 'ERROR' string.
-
Arnaud Ferraris authored
These are set commands, no need to verify the current value.
-
Arnaud Ferraris authored
This way we can make sure the AT commands are executed only once ModemManager has released the modem, preventing any race condition.
-
Arnaud Ferraris authored
-
- 10 Dec, 2020 7 commits
-
-
Arnaud Ferraris authored
For some reason, during system the main loop exits before we call g_main_loop_quit(), so don't rely on it and use a simple polling loop to check for modem poweroff.
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
`Developer edition` phones have a different compatible string but should be considered identical to BraveHeart edition here. Therefore BH is the default phone, unless the compatible is that of a CE phone.
-
Arnaud Ferraris authored
When powering off the modem, we must assert the RESET line only when the modem has shut down (otherwise it'll cause a hard reset and won't allow the modem to shut down properly). This commit also polls the STATUS pin during poweroff and quits immediately once this pin goes high.
-
Arnaud Ferraris authored
RI won't be accessible due to it being used by the kernel as an interrupt source, so we can check the STATUS pin (CE only) which will allow us to know precisely when the modem is shut down.
-
Arnaud Ferraris authored
-
Arnaud Ferraris authored
-