![]() |
Re: Situations app - bugs, questions, answers, help etc..
Hi peterleinchen,
many thanks for the answer. I try this before, but this not solved the problem. I don't know if the username is the problem. It was only an idea. Kind regards enai |
Re: Situations app - bugs, questions, answers, help etc..
Hi,
There's a new pre-release that should fix many of the problems with latest SF OS versions, available here: https://github.com/pastillilabs/pack...leases/tag/271 Actually it has been sitting there already for a while. I'm updating the Android version at the same time but it has been stuck in the Play Store publishing process, so the Sailfish version got forgotten there also... Can you pleas try that version and report back? Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Hi Heikki,
many thanks for the response. I have tested this version before I post. But now I have tested this version again. It didn't work. Situations didn't detect if the display is on. Has anyone the same problem with an XA2? Many thanks. kind regards einai |
Re: Situations app - bugs, questions, answers, help etc..
Hi enai,
I only have Xperia 10 to test with and there the display condition works (with 271). If you (or anyone) can find out where to read & get notified of display state changes on XA2, I can try to add it also to the app. The app is currently monitoring '/var/run/state/providers/mce/Screen/Blanked' (which is deprecated) and '/sys/class/backlight/panel0-backlight/brightness' which seems to work for Xperia 10. Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
On XA2 with SFOS 3.2 (DualSIM, no Plus/no Ultra) following path reports 0 when on and 1 when blanked:
/var/run/state/providers/mce/Screen/Blanked /sys/class/ does not have a path for backlight/.... On a X with SFOS 3.4 it is absolutely the same |
Re: Situations app - bugs, questions, answers, help etc..
Hi Heikki,
many thanks for the Info, that was the information that I need. I have no other directories under /var/run/state/providers/ und no directory /sys/class/backlight , that should be the problem. But if I use the programm mcetool, I get the correct information about the display state. I try to find out where mcetool get this information about the display state. I have found a display state in /sys under /sys/devices/soc/c900000.qcom,mdss_mdp/c900000.qcom,mdss_mdp:qcom,mdss_fb_primary/leds/lcd-backlight/brightness There a the correct state. Edit: I found the solution. The problem was the statefs-provider-mce package was not installed. pkcon install statefs-provider-mce and reboot solved the problem. After reboot I have /var/run/state/providers/mce/Screen/Blanked I read that statefs is deprecated and this should be the problem. It is not default installed in new(3.4.0.24) fresh Sailfish installation. https://irclogs.sailfishos.org/logs/...11-24.log.html Kind regards enai |
Re: Situations app - bugs, questions, answers, help etc..
Thanks, I'll check if it would make sense to switch to using mce dbus api.
Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Switched (almost) all file system based conditions to dbus now:
https://github.com/pastillilabs/pack...leases/tag/272 Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Mildly celebrating 10000 downloads of Situations in Jolla Store with an internal viewer for Log action + 64bit arm build. Available here:
https://github.com/pastillilabs/pack...leases/tag/273 And naturally / hopefully soon in Jolla Store. Br, Heikki |
Re: Situations app - bugs, questions, answers, help etc..
Next alpha version with Do Not Disturb support added:
https://github.com/pastillilabs/pack...leases/tag/275 Br, Heikki |
All times are GMT. The time now is 12:16. |
vBulletin® Version 3.8.8