~mil/sxmo-tickets#170: 
Can't lock just after wakeup

From some weeks, I can't lock the screen anymore just after waking up from crust. I have to wait something like 15 s after waking up.

The sxmo_screenlock program give "Screenlock error: Unable to open rtc device" as stderr.

This bug should only occurs with rtc wakeup enabled cause this file descriptor is only used when this feature is on.

Status
RESOLVED FIXED
Submitter
Stacy Harper
Assigned to
No-one
Submitted
3 years ago
Updated
3 years ago
Labels
bug

~arjunaithal 3 years ago

I logout and login again when i observe the issue with screenlock.. it works fine after logging in.

~proycon 3 years ago

I've seen happen too yes. The brightness lowers and the lock doesn't activate and I indeed get Screenlock error: Unable to open rtc device. WIll have to investigate further.

~proycon 3 years ago

The problem only occurs if you have SXMO_RTCWAKEINTERVAL set by the way (waking up at regular intervals during crust). I don't really have a proper fix yet, this looks like something that may have been introduced by a kernel update rather than something we did.

~proycon 3 years ago

I submitted a patch that at least removes the brightness problem: https://lists.sr.ht/~mil/sxmo-devel/patches/20381

~reedwade 3 years ago

This patch still is nice to have, ty. It make the bug less annoying :D

~proycon REPORTED FIXED 3 years ago

~proycon FIXED REPORTED 3 years ago

~proycon closed duplicate ticket #232 3 years ago

~stacyharper REPORTED FIXED 3 years ago

Register here or Log in to comment, or comment via email.