Arnaud Ferraris
c77490a2ac
d/changelog: release version 0.0.5-2
2020-12-11 14:33:40 +01:00
Arnaud Ferraris
fbd5c0cb86
d/patches: fix crash on modem recovery
2020-12-11 14:33:09 +01:00
Arnaud Ferraris
5bcefbeab0
d/changelog: release version 0.0.5-1
2020-12-11 13:39:22 +01:00
Arnaud Ferraris
f85e8f70c7
New upstream release 0.0.5
2020-12-11 13:38:19 +01:00
Arnaud Ferraris
a9725243ec
meson.build: bump version
0.0.5
2020-12-11 13:37:40 +01:00
Arnaud Ferraris
75b0920e9d
Revert "manager: split modem_suspend() into _pre() and _post() functions"
...
This reverts commit ff9b26b831
.
2020-12-11 13:36:28 +01:00
Arnaud Ferraris
9713af7ca8
at: fix GPS disabling on suspend
2020-12-11 13:31:11 +01:00
Arnaud Ferraris
664f82d570
at: add default handling for unrecognized responses
2020-12-11 13:31:11 +01:00
Arnaud Ferraris
2da2c9dfe2
d/changelog: release version 0.0.4-1
2020-12-11 12:52:27 +01:00
Arnaud Ferraris
dfaac39162
d/control: build-depend on libusb-1.0
2020-12-11 12:51:36 +01:00
Arnaud Ferraris
7dc0d1678c
New upstream release 0.0.4
2020-12-11 12:50:26 +01:00
Arnaud Ferraris
f386d851fa
at: make sure we read the full response before processing it
0.0.4
2020-12-11 12:49:31 +01:00
Arnaud Ferraris
5bc8443c38
at: be less strict when checking for error
...
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.
2020-12-11 12:49:31 +01:00
Arnaud Ferraris
aabe4df41c
at: fix suspend/resume sequences
...
These are set commands, no need to verify the current value.
2020-12-11 12:49:31 +01:00
Arnaud Ferraris
ff9b26b831
manager: split modem_suspend() into _pre() and _post() functions
...
This way we can make sure the AT commands are executed only once
ModemManager has released the modem, preventing any race condition.
2020-12-11 12:49:31 +01:00
Arnaud Ferraris
8d31e39e89
manager: only start the modem if it isn't already on
2020-12-11 12:49:10 +01:00
Arnaud Ferraris
397a16a9e3
d/service: restart daemon on failure
2020-12-11 10:49:02 +01:00
Arnaud Ferraris
59219fbd20
d/control: build only on arm64
...
This package is PinePhone-specific, no need to build on other
architectures.
2020-12-10 21:42:49 +01:00
Arnaud Ferraris
c953d41436
d/changelog: release version 0.0.3-1
2020-12-10 21:35:11 +01:00
Arnaud Ferraris
82bf80c5f4
New upstream release 0.0.3
2020-12-10 21:33:58 +01:00
Arnaud Ferraris
87c7af7056
manager: actively poll GPIO when quitting
...
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.
0.0.3
2020-12-10 21:33:18 +01:00
Arnaud Ferraris
fa21de07f4
src: be more careful when freeing data
2020-12-10 21:31:22 +01:00
Arnaud Ferraris
339faa46dc
d/changelog: release version 0.0.2-1
2020-12-10 19:51:42 +01:00
Arnaud Ferraris
cdf92755cb
New upstream release 0.0.2
2020-12-10 19:50:32 +01:00
Arnaud Ferraris
a8a1c8d161
manager: improve BH/CE detection
...
`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.
0.0.2
2020-12-10 17:07:36 +01:00
Arnaud Ferraris
47b2f71b6f
improve poweroff sequence
...
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.
2020-12-10 17:05:44 +01:00
Arnaud Ferraris
1170a2c7f7
gpio: configure STATUS input gpio
...
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.
2020-12-10 17:03:11 +01:00
Arnaud Ferraris
e3387e85ca
manager: destroy at/gpio modules after the main loop exits
2020-12-10 16:56:18 +01:00
Arnaud Ferraris
7c04c1998f
Initial Debian packaging
2020-12-10 15:19:25 +01:00
Arnaud Ferraris
87ade8dd27
Initial release
0.0.1
2020-12-10 15:03:29 +01:00