LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Intel NUC (RNUC12WSKi50000) suspend weird behavior (https://www.linuxquestions.org/questions/slackware-14/intel-nuc-rnuc12wski50000-suspend-weird-behavior-4175725065/)

unInstance 05-14-2023 03:09 PM

Intel NUC (RNUC12WSKi50000) suspend weird behavior
 
I have Intel NUC RNUC12WSKi50000 running -current, kernel 6.1.28.

I have disabled acpi handler script:
Code:

sudo chmod 644 /etc/acpi/acpi_handler.sh
Then edited my logind.conf to look like that:
Code:

[Login]
HandlePowerKey=suspend

Then restarted elogind.
Code:

sudo /etc/rc.d/rc.elogind restart
Now if I press the power button my device goes to sleep with no troubles, but if I press the power button again it wakes up for less than a second (I can see that because the keyboard gets power for an instant) and then suspends once again. And if I press the power button for the third time, then it wakes up. So I have to press the power button once to make it fall asleep and two times to wake it up. Every single time. How do I fix that?

Here is some more information:
Code:

$ grep enabled /proc/acpi/wakeup
PEG0      S4    *enabled  pci:0000:00:06.0
RP09      S4    *enabled  pci:0000:00:1d.0
PXSX      S4    *enabled  pci:0000:64:00.0
XHCI      S4    *enabled  pci:0000:00:14.0
TXHC      S4    *enabled  pci:0000:00:0d.0
TDM0      S4    *enabled  pci:0000:00:0d.2
TDM1      S4    *enabled  pci:0000:00:0d.3
TRP0      S4    *enabled  pci:0000:00:07.0
TRP2      S4    *enabled  pci:0000:00:07.2
AWAC      S4    *enabled  platform:ACPI000E:00

My dmesg.

LuckyCyborg 05-15-2023 07:52 AM

Quote:

Originally Posted by unInstance (Post 6430834)
Now if I press the power button my device goes to sleep with no troubles, but if I press the power button again it wakes up for less than a second (I can see that because the keyboard gets power for an instant) and then suspends once again. And if I press the power button for the third time, then it wakes up. So I have to press the power button once to make it fall asleep and two times to wake it up. Every single time. How do I fix that?

This behavior exists also with GRUB2 used as bootloader?

I ask because it's a known fact that the bootloaders can interfere in strange ways with the system's power management.

unInstance 05-15-2023 10:09 AM

Save behavior on both ELILO and Limine. Have not tried GRUB.

elcore 05-15-2023 10:56 AM

I don't have this board, but usually in BIOS there is default shutdown state: poweroff and fast boot: off

LuckyCyborg 05-15-2023 12:56 PM

Quote:

Originally Posted by unInstance (Post 6430993)
Save behavior on both ELILO and Limine. Have not tried GRUB.

Try GRUB2.

At least ELILO is known to create sometimes issues on Power Management, which issues are "magically" fixed by switching to GRUB2.

IF even this does not work, it's your BIOS firmware.


All times are GMT -5. The time now is 02:54 PM.