Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Works only once, then prevents suspend

Open
#5 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, linux

Research direction

Reproduce the repeated-suspend failure on the reported RM2 setup, starting with OXIDE_PRELOAD_DEBUG=1 and the /opt/etc/xochitl.env.d/sysfs_preload.env configuration. Compare the preload path after the first suspend with the systemctl suspend path, and verify behavior with the preload disabled. Done means repeated power-button suspends work reliably or the remaining limitation and preload motivation are documented.

Written by the indexing model from the issue text.

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.

Dominant language
C++
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Eeems-Org/sysfs_preload

All issues in Eeems-Org/sysfs_preload

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.