LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-26-2023, 09:34 AM   #1
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Rep: Reputation: Disabled
Intel NUC Wake Up Twice


My device: RNUC12WSKi50000
My system: -current 6.6.7 & limine UEFI bootloader

I can suspend the device just fine. To wake it up, I have to press the power button twice. When I press the power button (to wake it up) the first time, it acts like it goes out of sleep: keyboard and monitor backlight light. But then it immediately goes back to sleep.

I suspend on live booted Linux Mint, everything works fine there.
 
Old 12-26-2023, 03:52 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,142
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
I have a intel NUC . They are persnickety buggers.

You have a swap file or a swap partition? How big?
 
Old 12-27-2023, 01:13 PM   #3
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
I have a intel NUC . They are persnickety buggers.

You have a swap file or a swap partition? How big?
2GiB.
 
Old 12-27-2023, 01:30 PM   #4
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,142
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
I'd increase it to at least 4 gig. See if it changes anything. Have you looked into running zram in Slackware?

https://slackbuilds.org/repository/1...em/swapinzram/
 
Old 12-28-2023, 02:23 PM   #5
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rokytnji View Post
I'd increase it to at least 4 gig. See if it changes anything. Have you looked into running zram in Slackware?

https://slackbuilds.org/repository/1...em/swapinzram/
I have 16 GiB of RAM, what would I need that for? I still have a 2 GiB swap partition just for the sake of the old days.
Suspend does not rely on disk space, swap is useless for that.
 
Old 12-28-2023, 04:54 PM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,142
Blog Entries: 21

Rep: Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480Reputation: 3480
Quote:
I have 16 GiB of RAM, what would I need that for?
1st I heard of this.

I am backing out and letting a slackware user deal with this.
 
Old 12-29-2023, 01:30 AM   #7
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Is there a way to find out what "event" causes suspend?
 
Old 12-29-2023, 08:07 AM   #8
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 402

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
Originally Posted by unInstance View Post
My device: RNUC12WSKi50000
My system: -current 6.6.7 & limine UEFI bootloader

I can suspend the device just fine. To wake it up, I have to press the power button twice. When I press the power button (to wake it up) the first time, it acts like it goes out of sleep: keyboard and monitor backlight light. But then it immediately goes back to sleep.

I suspend on live booted Linux Mint, everything works fine there.
What sort of suspend : suspend to ram or suspend to disk (hibernate) ?

Answers above naturally though it was suspend to disk. In this case, the state of the RAM is put in the SWAP. So you need some swap...

Swap is not only for lack of RAM. It can be use for hibernate or for reserve virtual memory in processes which won't be ever physically used. 64 bits systems can reserve huge amounts of virtual memory. But the system try with some parameters which can be tuned to verify that the virtual memory won't be converted into physical overheaded memory. And those parameters depends on the size of swaps.
 
Old 12-29-2023, 01:33 PM   #9
lostintime
Member
 
Registered: Dec 2021
Posts: 195

Rep: Reputation: Disabled
Try something more equivalent. Mint (Ubuntu) is using a 5.15 kernel. Perhaps test Slackware 15.0 that also uses 5.15. That might provide some clues.

Another angle is use WoL to awaken the system and see what happens. If the device remains powered on that would indicate something in the way the power switch is handled. If not then likely something in the ACPI handling.

I have no idea if swap is playing a role.
 
Old 01-01-2024, 05:48 AM   #10
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BrunoLafleur View Post
What sort of suspend : suspend to ram or suspend to disk (hibernate) ?

Answers above naturally though it was suspend to disk. In this case, the state of the RAM is put in the SWAP. So you need some swap...

Swap is not only for lack of RAM. It can be use for hibernate or for reserve virtual memory in processes which won't be ever physically used. 64 bits systems can reserve huge amounts of virtual memory. But the system try with some parameters which can be tuned to verify that the virtual memory won't be converted into physical overheaded memory. And those parameters depends on the size of swaps.
I am talking about suspend to RAM, not hibernate to disk.
 
Old 01-01-2024, 07:21 AM   #11
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,376

Rep: Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756
My New Year's resolution is to not try to debug suspend issues as they are always hardware dependent.

When I trigger suspend to RAM with
Code:
echo mem > /sys/power/state
my system suspends.
Hitting any key on the keyboard successfully initiates resume.
 
  


Reply

Tags
acpi, efi, intel



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
[SOLVED] Is there a cli method of running a command twice without having to type it twice? powderburns Linux - Software 4 03-24-2017 09:55 AM
LXer: The Remarkable Intel NUC LXer Syndicated Linux News 0 01-16-2014 03:30 PM
Can I wake up a server in "standby" or "memory" mode using wake-on-lan? songweijia Linux - Server 2 03-03-2010 06:51 PM
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 03:57 PM

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

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

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