- 23 Sep, 2020 3 commits
-
-
spiiroin authored
-
Thaodan authored
[packaging] Use sailfish-mirror instead of upstream for dbus-glib. JB#51115 Signed-off-by:
Björn Bidar <bjorn.bidar@jolla.com>
-
- 15 Sep, 2020 2 commits
-
-
spiiroin authored
Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
- 14 Sep, 2020 2 commits
-
-
Thaodan authored
As required by dbus-gmain. Signed-off-by:
Björn Bidar <bjorn.bidar@jolla.com>
-
Thaodan authored
Also remove dependency on dbus-glib. Signed-off-by:
Björn Bidar <bjorn.bidar@jolla.com>
-
- 08 Jul, 2020 2 commits
-
-
Matti Kosola authored
Signed-off-by:
Matti Kosola <matti.kosola@jolla.com>
-
Matti Kosola authored
Implement separate policy for allowing fingerprint wakeups See merge request !141
-
- 06 Jul, 2020 3 commits
-
-
Niels Breet authored
-
Niels Breet authored
[aarch64] Fix packaging systemd unit files. Contributes to JB#49681 See merge request !142
-
Matti Lehtimäki authored
-
- 05 Jul, 2020 1 commit
-
-
spiiroin authored
Whether fpwakeups are allowed or not shares logic with touchscreen gesture (e.g. doubletaps) handling. This is not entirely correct and leads to fpwakeups getting ignored in situations where display is on. Implement fpwakeup specific action policy that allows event actions to be taken when either display is off or lockscreen is active. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
- 03 Jul, 2020 3 commits
-
-
spiiroin authored
-
Matti Lehtimäki authored
Plugins are under /usr/lib64 instead of /usr/lib on aarch64. Signed-off-by:
Matti Lehtimäki <matti.lehtimaki@jolla.com>
-
- 25 Jun, 2020 5 commits
-
-
spiiroin authored
-
spiiroin authored
There might not be udev notification about every battery capacity percent value change. While this is usually harmless when battery is sufficiently full, it can cause issues like missed battery low notifications and/or delay battery empty shutdown so much that battery gets too depleted for regular bootup. Poll power supply device properties in process watchdog heartbeat pace i.e. about every 36 seconds of uptime not spent in suspend. Periodic udev polling is enabled by default, but can be disabled via mce configuration. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
For example pinephone sends udev notification about charger disconnect, but not about battery making related transition to discharging state - which leaves system believing battery is still getting charged. Add enablers for optionally refreshing properties of all power supply devices whenever at least one device is reporting changes. Forced refresh is disabled by default. Enabling should be done only on those devices where it is needed, via hw specific mce configuration. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
For example pinephone exposes charger devices in a manner where the name is prefixed with chiptype (e.g. "axp813-ac" / "axp20x-usb"). As mce does not recognize these, both wall charger and pc connection gets treated as "other" type charger - which works to some extent but triggers incorrect UI actions. If direct match for power supply device type / name is not found, try to eliminate chipname prefix so that for example names such as "axp20x-usb" get treated as plain "usb". To future proof things, make it possible to override build-in defaults and heuristics via mce configuration files. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
- 23 Jun, 2020 2 commits
-
-
spiiroin authored
In some devices initial power supply device probing can block mce for several seconds. As this happens during mce startup, it also delays readiness of mce systemd service. Which in turn can cause unnecessary waiting during bootup. Handle time-consuming udev property scanning from idle callback so that it happens after systemd has been notified that mce is ready. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
When logging to stderr, the relevance of timestamps can suffer from unpredictable flush schedule if output happens to be block buffered. Ensure stderr is flushed after each message. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
- 12 Jun, 2020 2 commits
-
-
spiiroin authored
New types confuse cproto. Workaround the issue with macros. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
"TRUE" is used as boolean value. As it is not exact match for "true", it gets interpreted by glib keyfile functionality as false + unknown value error. Some keys related to masking/unmasking debug logging for udev power supply device property changes are missing value altogether. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
- 28 May, 2020 3 commits
-
-
spiiroin authored
-
Niels Breet authored
-
- 04 May, 2020 2 commits
-
-
spiiroin authored
-
- 01 May, 2020 1 commit
-
-
Igor Zhbanov authored
Change libsystemd-daemon -> libsystemd dependency to fix building with v233. Signed-off-by:
Igor Zhbanov <i.zhbanov@omprussia.ru>
-
- 04 Feb, 2020 6 commits
-
-
spiiroin authored
-
spiiroin authored
Whenever either compositor or lipstick service startup is detected, a display unblank is scheduled within mce. If display is already on, these requests end up being ignored and leaves previously programmed dimming / blanking timers active - which then can cause display to blank unexpectedly e.g. during bootup. Make sure dimming / blanking timers are reprogrammed whenever either compositor or lipstick service availability on D-Bus changes. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
-
spiiroin authored
Using 100% as default initial value can lead to clients seeing what looks like genuine battery level drop during mce startup. Use MCE_BATTERY_LEVEL_UNKNOWN (-1) - which is documented in mce-dev headers as placeholder value used while battery level is unknown. Adapt battery level tracking withing mce to expect and deal with unknown/negative initial state. To allow debugging of battery level unknown states, expand value range allowed by mcetool --set-battery-level=<percent> to include also -1. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
- 30 Jan, 2020 3 commits
-
-
spiiroin authored
Do not use the same buffer for readlink() input and output. Add missing "fall through" comments and tell gcc to be less strict about wording / capitalization of existing ones. Signed-off-by:
Simo Piiroinen <simo.piiroinen@jollamobile.com>
-
spiiroin authored
-