Summary: | core: track clients and implicitly enable/disable modem | ||
---|---|---|---|
Product: | ModemManager | Reporter: | Aleksander Morgado <aleksander> |
Component: | general | Assignee: | ModemManager bug user <modemmanager> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | zeenix |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Aleksander Morgado
2014-10-15 09:23:37 UTC
Zeeshan mentioned on IRC that GeoClue doesn't actually want to enable a modem that doesn't have Location capabilities, but of course we cannot reliably detect whether a modem has Location capabilities until the modem is unlocked because the AT parser is in restricted mode until the PIN is entered. I think we want some kind of mechanism in ModemManager itself, like NetworkManager's agent system or Bluez' agent system, where agents can register to handle PIN/PUK/etc requests for the modem. It does get a bit complicated because you typically want to request secrets from the same user's agent as is making a D-Bus request. Then apps like GeoClue that don't actually care about PINs or whatever could call some new kind of method that would ask ModemManager to put the modem into Disabled state, maybe even allow calling Enable(false) when the modem is <= DISABLED, which would ask the agents for the PIN code and advance to DISABLED state. That way GeoClue could get the PIN code entered and be able to detect Location capabilities, without having to enable the modem. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/46. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.