Eeems-Org / Eeems-Org/sysfs_preload

Works only once, then prevents suspend

Open
#5 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

RM2: V3.3.2.1666, toltec installed,

On a fresh boot or fresh start of xochitl, pushing the power button puts the device to sleep with no problem. However, the next time I try that, the device always wakes up after approx 14 seconds, until I reboot/ restart xochitl.

Starting xochitl with `OXIDE_PRELOAD_DEBUG=1` shows the following when I press the power button:

```
Getting /sys/power/state pipe
```

but execution never reaches `systemctl suspend`.

I disabled the preload by omitting it from `/opt/etc/xochitl.env.d/sysfs_preload.env`, and everything seem to works as expected. But I am curious about the motivation for this preload, and whether omitting it has consequences.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.