nemomobile-ux / main

Main repo for docs and issues of Nemomobile
8 stars 0 forks source link

reboot doesn't work #16

Closed jmlich closed 3 years ago

jmlich commented 3 years ago

Nemomobile have different privileges model than sailfishos.

The UI triggers reboot via dbus. The pipeline goes to https://github.com/sailfishos/dsme daemon namely https://github.com/sailfishos/dsme/blob/master/dsme/utility.c#L71. The guess is based on following messages in log:

$ journalctl -f
Jul 27 14:55:21 manjaro-arm DSME[3747]: Received introspect request: com.nokia.dsme /com/nokia/dsme/request
Jul 27 14:55:22 manjaro-arm DSME[3747]: privileged user not found
jmlich commented 3 years ago

And now the power button triggers instant reboot, which is also unwanted

neochapay commented 3 years ago

https://github.com/sailfishos/dsme/pull/2 i think this may help

neochapay commented 3 years ago

fixed with https://github.com/nemomobile-ux/nemo-packaging/commit/d1f013101ed19b48481d1c010acc2fa6919691a0 ?

jmlich commented 3 years ago

I want to check it yet.

jmlich commented 3 years ago

Yep, this helps. After switching of the language is device rebooted automatically. After clicking on power button is device turned off instantly without "overlay" with power off / reboot options, but this is separate issue.

jmlich commented 3 years ago

And thanks for fixing.