View Single Post
Posts: 9 | Thanked: 12 times | Joined on Sep 2017
#516
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

Last edited by enai; 2021-01-27 at 13:07.
 

The Following User Says Thank You to enai For This Useful Post: