CachyOS Handheld on ROG Ally suspend

Adter fixing the power button to suspend with steam-buttond.service, pressing the power button does put the machine into suspend but the power drains insanely fast. Battery drops from 100 to 83 overnight in suspension compare to 100 to 99 with hibernation on windows. I don’t know if suspend works at all on ROG Ally, if so, is there a way to map the power button to sleep or windows like hibernation?

Hi,

What is steam-buttond service?

The power button is not working on my ROG ally.

1 Like

download the install.sh file and the .service file and the buttond file. run the terminal in the same folder with the files then run the install script and ur power button should work.

1 Like

It’s working thx

@ptr1337 should it be officially supported ?

Fyi: There is always trouble with the inputplumber daemon and the suspend/sleep mode

suspend and resume seems to work fine on ChimeraOS and BazziteOS, so there probably is a fix for suspending and resuming.

It seems they are using the latest patchset from Luke, which we haven’t pulled yet (I think). As things seems to be in heavy development right now, I don’t know when these new patches will be pulled, if we want to pull the current version or a new iteration somewhere in the future. I’ll forward this to @ptr1337 tho or he could see this forum to check on the status of things.

Thank you!

1 Like

Glad to hear that a fix will be added in the future! But as of right now is there something I can do to fix it myself? Can you elaborate more on Luke’s patchset?

I am assuming that an update to this driver platform/x86: asus-wmi: Refactor Ally suspend/resume · flukejones/linux@8ae0042 · GitHub would fix the suspend and resume problem? Is the current cachyos kernel compatible with this driver? Is there anything else I should know before attempting the update? Or should I just wait for the future release that fixes this problem?

I guess so.

Yeah.

Sorry I’ve tried for the last few hours trying to update this driver but I still don’t know how. Is it possible for you to explain how I can update this? I have 0 experience with Linux Kernel stuff ;(

Fetch the patches either via cloning the repo (git clone <link>) and grabbing the relevant commits as patches (git format-patch -<no-of-commits> --stdout > ally-suspend.patch) or grab the commits from github web one by one (append .patch to each commit) if you don’t want to clone the whole source tree.

After that, clone GitHub - CachyOS/linux-cachyos: Archlinux Kernel based on different schedulers and some other performance improvements., add your patch to the deckify folder and add it to the source array in the PKGBUILD, and start building the kernel.

yeah there is no way i can fix this on my own, hoping to see it coming in the next Decify release. Thank you for help and your hard work!