With the groundwork done in #phosh 0.25 and the (upcoming) 0.26 to move power button handling from the compositor (#phoc) to the shell (phosh) we'd have the bits in place to wire up a long press menu for e.g. emergency calls, screenshots, etc.
This certainly needs styling but it'd be nice to see the first bits in 0.27. I became used to it pretty quickly.
The first bits of emergency call support landed in #gnome calls 44 so that Thomas's emergency call work (https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/904) can hopefully land soon.
Videos are at two times speed.
- Emergency call MR: https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/904
- Power button menu MR: https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1224
@agx Great! Do you know if there are ways to test that, to avoid spamming the real emergency services with test calls?
@eliasr I implemented emergency call support in #GNOME call's dummy provider so you can test all the software side bits in calls and phosh except for really dialing out.
Implementing a "dummy modem" in ModemManager would allow us to test that path too (any takers?).
For actual end to end I know two ways: either your own gps cell or a place/provider where it's easy to test. I know of this one in Austria https://notrufnoe.com/notrufrouting/ but links to other locations would be welcome too.
@agx @dylanvanassche @kop316 @eliasr
Unfortunately not yet :(
I do have a port of the modem firmware for the Broadmobi, but the modem doesn't want to boot the original baseband firmware from linux, and while it can boot firmware from other modems it doesn't really work well. But I'm also working on a port for another modem you can replace the Broadmobi with, and has more flash and ram so I'm sure we could get something running :)
@eliasr The emergency menu talks to the calls app via dbus under the hood and if you start the calls app with the "-p dummy" flag it will allows you to place dummy calls and provide dummy emergency numbers, so you can test the system. This is the way I have been doing it for my testing.
@agx wow this is great!
@agx Does this change make it possible to add global mappings for things like Power+VolUp?
@whynothugo Not yet, that needs a bit more work on the compositor side.
@agx very nice! looking forward to using those screenshot controls 😀
@agx Nice :)
@agx i love that you can have a custom list of emergency numbers
@baliceauxPelican In fact we get those from the SIM only atm but custom numbers are on the list (it's something that happens entirely on the calls app side).