LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-14-2023, 03:09 PM   #1
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Rep: Reputation: Disabled
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.
 
Old 05-15-2023, 07:52 AM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,477

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Quote:
Originally Posted by unInstance View Post
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.

Last edited by LuckyCyborg; 05-15-2023 at 07:54 AM.
 
Old 05-15-2023, 10:09 AM   #3
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Save behavior on both ELILO and Limine. Have not tried GRUB.
 
Old 05-15-2023, 10:56 AM   #4
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,752

Rep: Reputation: Disabled
I don't have this board, but usually in BIOS there is default shutdown state: poweroff and fast boot: off
 
Old 05-15-2023, 12:56 PM   #5
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,477

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Quote:
Originally Posted by unInstance View Post
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.
 
  


Reply

Tags
intel, nuc, suspend


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel NUC NUC7PJYH - suspend? yes, wake NO :-( taylorkh Linux - Hardware 2 05-19-2020 09:16 AM
LXer: Intel Bay Trail NUC Linux Performance Preview LXer Syndicated Linux News 0 02-13-2014 04:00 AM
LXer: Intel debuts $141 power-efficient NUC mini-PC LXer Syndicated Linux News 0 01-28-2014 01:43 AM
LXer: The Remarkable Intel NUC LXer Syndicated Linux News 0 01-16-2014 03:30 PM
HP Photosmart weird weird weird.... Vlad_M Linux - General 5 02-20-2005 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration