Ticket #385 (closed defect: fixed)
libmokogsmd should restart gsmd if it went away during a session
| Reported by: | koen@… | Owned by: | mickey@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | openmoko-libs | Version: | current svn head |
| Severity: | normal | Keywords: | |
| Cc: | buglog@…, jserv@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
Openmoko dialer can't be used after gsmd has been restarted (e.g by a package
update). The user has to kill openmoko-dialer and/or X to get a working phone
GUI again. This is clearly unacceptable behaviour
Change History
comment:2 Changed 6 years ago by laforge@…
- Owner changed from tonyguan@… to laforge@…
- Status changed from assigned to new
comment:3 Changed 6 years ago by alex@…
Is it possible for libgsmd to have a kind of restart-upon-disconnection feature
? if the FD is closed because of a gsmd restart or crash, it should be possible
to re-issue the connection in a hidden way so the application do not have to be
restarted.
It is in fact the same for the panel-gsm applet. it should be good to re-connect
gsmd after it restarts or crash.
comment:4 Changed 6 years ago by koen@…
if libgsmd would use dbus-activation the problem would go away as well
comment:6 Changed 6 years ago by thomas@…
- Owner changed from laforge@… to mickey@…
- Component changed from openmoko-dialer to openmoko-libs
- Summary changed from Openmoko dialer fails after gsmd restart to libmokogsmd should restart gsmd if it went away during a session
This should probably now be solved in libmokogsmd. libmokogsmd already attempts
to start gsmd if it isn't running when the library is initialised. It should
probably attempt to start gsmd again if it dies during a session.

Sure, I know this issue, but still waiting for some api from libgsmd to
determine the status of gsmd and modem.