Skip to content

ayaneo-pocket-s2: Fix standby#1

Open
Drakulix wants to merge 1 commit intosuperna9999:topic/sm8650/ayaneo-pocket-s2/pmos-v2from
Drakulix:sm8650/ayaneo-pocket-s2/standby
Open

ayaneo-pocket-s2: Fix standby#1
Drakulix wants to merge 1 commit intosuperna9999:topic/sm8650/ayaneo-pocket-s2/pmos-v2from
Drakulix:sm8650/ayaneo-pocket-s2/standby

Conversation

@Drakulix
Copy link

@Drakulix Drakulix commented Mar 4, 2026

(opening PRs here, as I wasn't able to do that on gitlab.com.)

Trying to successfully enter any kind of suspend on the ayaneo pocket s2 was a journey.

After disabling a bunch of wakeup-sources, I was left with a few interrupts still ocasionally waking the devices and those turned out to be from the thermal sensors..

Apparently up/down events will also trigger wakeup, even though these are constantly triggered in normal usage.

Not sure if this is a correct fix and if I've understood the interrupt documentation correctly, but it seems to be doing, what it is supposed to, which is keeping up/down-interrupts from waking the device (while hopefully keeping critical-interrupts working to emergency shutoff the device).

With this the device can at least enter s2idle correctly without sporadically waking up.

@superna9999
Copy link
Owner

Interesting, you should submit this upstream, I don't remember seing this waking up other devices

@superna9999
Copy link
Owner

Oh perhaps it's because of the fan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants