Bug 102182 - GPS refresh rate policy is undefined
Summary: GPS refresh rate policy is undefined
Status: RESOLVED FIXED
Alias: None
Product: ModemManager
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-12 09:53 UTC by Valentin Blot
Modified: 2017-08-12 17:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Valentin Blot 2017-08-12 09:53:28 UTC
In the following commit:

https://cgit.freedesktop.org/geoclue/commit/?id=a19221e5fe292d9bdc6064b0e9c5129fcbde7251

geoclue sets the GPS refresh rate to 0 (update as soon as the GPS sends data) so that it is more usable by real-time aplications. However, if geoclue is not started as root, this is denied because there is no policy rule associated to member "SetGpsRefreshRate" on interface "org.freedesktop.ModemManager1.Modem.Location". I think the new rule should be put in data/org.freedesktop.ModemManager1.conf.polkit around line 157-168.
Comment 1 Aleksander Morgado 2017-08-12 17:41:59 UTC
Fixed in git master and mm-1-6, thanks.
https://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=d639359320736dd582a2dbb5c50039a8a1b878da


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.