chimeraos icon indicating copy to clipboard operation
chimeraos copied to clipboard

Regarding the Issue of Sleep and Wake-up

Open ppouerct opened this issue 1 year ago • 12 comments

When the device is in sleep mode, pressing the volume keys or other function keys wakes up the device, but the controller does not cause a wake-up, which can easily lead to accidental activation. I would like only the power key to be able to wake up the device. Additionally, disconnecting and connecting the power also causes a wake-up, which doesn't happen on SteamOS.

ppouerct avatar Aug 22 '23 06:08 ppouerct

Can you edit /etc/device-quirks/device-quirks.conf and change USB_WAKE_ENABLED from 1 to 0, reboot, and see if the issue persists?

pastaq avatar Aug 22 '23 19:08 pastaq

Can you edit /etc/device-quirks/device-quirks.conf and change USB_WAKE_ENABLED from 1 to 0, reboot, and see if the issue persists?

Still there, the device is aya one air 1s

ppouerct avatar Aug 23 '23 01:08 ppouerct

As far as I know, the Air 1s cannot enter sleep mode; the screen simply goes dark, while the fan continues to operate. My Neo 2s also experiences the same situation.

honjow avatar Aug 23 '23 16:08 honjow

They are sending me a geek 1S at some point. This will probably need to wait until that is delivered, assuming it's the same on all three

pastaq avatar Aug 23 '23 21:08 pastaq

They are sending me a geek 1S at some point. This will probably need to wait until that is delivered, assuming it's the same on all three

Is there no other way? I can help with testing.

ppouerct avatar Aug 26 '23 12:08 ppouerct

i am having the same sleep issue on Aya Neo Geek 1S. The sleep only shutdown the steam console/big picture mode, but the fan, the backlight and joystick ring lights are all on. And it can be waken by ayaneo button.

This happens on both ChimeraOS and Holoiso.

Any fix so far?

savierxu avatar Sep 15 '23 05:09 savierxu

We don't have a device to work on. This device will likely need community support to resolve.

pastaq avatar Sep 15 '23 13:09 pastaq

Currently have the issue on an Ayaneo 2s. ChimeraOS details: OS Version: 44-1 OS Build: 4b7363e Kernal: 6.5.6-chos1-chimeraos-1

Confirmed same issue is occurring when using systemctl suspend. Ran journalctl --reverse to capture. Logs show that the device goes into suspend: Nov 19 09:20:34 chimeraos systemd-sleep[4523]: Entering sleep state 'suspend'... But then drops out pretty quickly: Nov 19 09:20:40 chimeraos systemd-sleep[4523]: System returned from sleep state.

Will need someone with a bit more background on what actually sticks out as an issue. systemctl.suspend.gamer.journalctl.output.txt

Full journalctl attached.

Gaarindor avatar Nov 19 '23 11:11 Gaarindor

Some more testing. disabled WiFi and Bluetooth. I also went through and disabled all my wake-up capable devices in /proc/acpi/wakeup No change, device still won't stay suspended.

[root@chimeraos power]# cat /proc/acpi/wakeup
Device	S-state	  Status   Sysfs node
GPP0	  S4	*disabled
GP11	  S4	*disabled  pci:0000:00:03.1
SWUS	  S4	*disabled
GP12	  S4	*disabled  pci:0000:00:04.1
SWUS	  S4	*disabled
XHC0	  S4	*disabled  pci:0000:c4:00.3
XHC1	  S4	*disabled  pci:0000:c4:00.4
XHC2	  S4	*disabled  pci:0000:c6:00.0
XHC3	  S4	*disabled  pci:0000:c6:00.3
XHC4	  S4	*disabled  pci:0000:c6:00.4
NHI0	  S4	*disabled  pci:0000:c6:00.5
NHI1	  S4	*disabled  pci:0000:c6:00.6
LID0	  S4	*disabled

Gaarindor avatar Nov 20 '23 11:11 Gaarindor

Ran freedesktops s2idle script to grab more details.

Results are showing the below: 2023-11-27 10:27:21,765 WARNING: 🚦 The kernel didn't emit a message that low power idle was supported 2023-11-27 10:27:21,765 WARNING: 🚦 AMD-PMC driver is missing 2023-11-27 10:27:21,765 WARNING: 🚦 Shenzhen Longsys Electronics Co., Ltd. missing ACPI attributes

I am going to follow up with Aya about the nvme (Shenzhen Longsys Electronics Co.) and BIOS conifg for s2idle. edit: Aya doesn't want to help. rip

Full output: s2idle_report-2023-11-27.txt

Gaarindor avatar Nov 27 '23 10:11 Gaarindor

Got my hands on an Ayaneo2 (6800U) with working sleep. Interesting find in /sys/power/mem_sleep: Ayaneo2: Supports s2idle and deep. Deep is enabled Ayaneo2s: Only supports s2idle. s2idle is enabled

s2idle the issue? why is deep not supported on the ayaneo2s? Seems general issues revolving around sleep across Linux distros deep is the solution to fix sleep.

Gaarindor avatar Nov 27 '23 23:11 Gaarindor

Got my hands on an Ayaneo2 (6800U) with working sleep. Interesting find in /sys/power/mem_sleep: Ayaneo2: Supports s2idle and deep. Deep is enabled Ayaneo2s: Only supports s2idle. s2idle is enabled

s2idle the issue? why is deep not supported on the ayaneo2s? Seems general issues revolving around sleep across Linux distros deep is the solution to fix sleep.

Microsoft has been strong arming vendors into supporting modern sleep so they can push updates to the system while it is idle. Deep sleep is being deprecated and all 7000 series we've seen so far have issues with sleep in Linux because of this.

pastaq avatar Dec 04 '23 00:12 pastaq

Any solution to this issue ? I am still facing this using ayaneo 2s and Chimeraos 46

HishamBS avatar Jul 24 '24 14:07 HishamBS

Any solution to this issue ? I am still facing this using ayaneo 2s and Chimeraos 46

https://github.com/ChimeraOS/chimeraos/wiki/Community-Guides#enable-modern-sleep

pastaq avatar Jul 25 '24 01:07 pastaq

Any solution to this issue ? I am still facing this using ayaneo 2s and Chimeraos 46

https://github.com/ChimeraOS/chimeraos/wiki/Community-Guides#enable-modern-sleep

Thank you very much , this worked

HishamBS avatar Jul 25 '24 07:07 HishamBS