Thanks! Doing it all without ModemManager is a very interesting solution!
I did manage to find a bit of a less intrusive solution (cross-posting from https://todo.sr.ht/~mil/sxmo-tickets/73):
This requires less adaptation and doesn't ditch ModemManager: Starting modemmanager with a bit more verbosity helps (--debug also does the trick too but is even more verbose).
I don't really understand why ModemManager fails without these options. I I had tried downgrading it but that didn't help either. For now this seems a pretty acceptable solution, having a log seems appropriate anyhow, so maybe we should merge this into sxmo (although it's technically not an sxmo issue).
I did manage to find a bit of a less intrusive solution (cross-posting from https://todo.sr.ht/~mil/sxmo-tickets/73):
This requires less adaptation and doesn't ditch ModemManager: Starting modemmanager with a bit more verbosity helps (--debug also does the trick too but is even more verbose).
Code:
--- /etc/init.d/modemmanager
+++ /etc/init.d/modemmanager @@ -2,6 +2,7 @@
supervisor=supervise-daemon command=/usr/sbin/ModemManager
+command_args="--log-file=/var/log/modemmanager.log --log-level=INFO"
description="ModemManager Daemon"
I don't really understand why ModemManager fails without these options. I I had tried downgrading it but that didn't help either. For now this seems a pretty acceptable solution, having a log seems appropriate anyhow, so maybe we should merge this into sxmo (although it's technically not an sxmo issue).