this post was submitted on 20 Aug 2023
40 points (100.0% liked)

Linux

48329 readers
639 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Linux Noob here

The Nuc is sitting under my TV and my wife uses it mostly to watch reality tv shows, cooking shows, etc on different websites. The requirement was for the Nuc to go to sleep after 30minutes of inactivity and to wake it up with the keyboard.

It had Leap 15.3 so I wanted to upgrade it but I managed to botch the upgrade. I decided to go with Debian instead, installed it, configured everything and when I handed it over to my wife I realized the Nuc never woke from sleep. Then I remember I had this problem in the past with it when I tried a whole bunch of distros and none of them managed to wake it up. I also read on Intel forums where people complained about the same issue with different Nucs and I think the general consensus was that it's a problem with the Nucs and it can't be solved.

What happens is, when the Nuc is sleeping, the power LED slowly blinks. When you wake it up, the LED goes completely away, like it's turned off but you can hear the fan is starting to spin. However, you don't have any image and you have to hold the power button a lot longer to turn if off, like it soft-resets.

So I nuked Debian, installed Leap 15.5 and it wakes from sleep without any issues. I am happy that it does and I like Opensuse but I have no idea what it does different compared to other distros in this regard.

top 13 comments
sorted by: hot top controversial new old
[–] JohnnySledge@lemmy.world 5 points 1 year ago (1 children)

I’d investigate the differences between the installs particularly around graphics and power management. It sounds like your system is getting woken up but it’s hanging at some stage in the process of resuming. You might get lucky and the issue might show up in the logs if you’re willing to investigate them.

When I’ve run NUCs in the past I’ve had issues with external nvidia GPUs dropping off the bus when resuming from suspend. To “fix” the issue, I ended up limiting the power state to S2 or S3 so that the graphics card was kept on the bus.

Do you know what display server, DE, power management service you were running on both? If the logs don’t turn anything up you can always compare the configs too to see how they’re suspending/waking the system.

[–] OrangeCorvus@lemmy.world 2 points 1 year ago

Thanks for your reply, could have done that. I switched back to Opensuse because it worked before and works now. Will keep in mind if I ever install Debian again.

[–] ThreeHalflings@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

OK, so this is one of those comments that's either "wtf, of course everyone knows that" or "oh shit, ok", but generally wake on USB is a bios setting. Have you looked around in the bios to see what your options are?

Doesn't explain the weird behaviour, but may be a good way forward.

[–] OrangeCorvus@lemmy.world 2 points 1 year ago

Actually It's a good point, yes it was enabled. It worked a few hours before on Leap 15.3. So far it works only on Opensuse, that's why I wondered why.

[–] Ashiette@lemmy.one 3 points 1 year ago

This is no help, I know, but... OpenSuSE behaves weirdly. On my old laptop every distro would work, exception made for SuSE who wouldn't even boot from LiveCD.

So, maybe it's one of those weird SuSE quirks...

[–] ikidd@lemmy.world 3 points 1 year ago

Most of these troubleshooting steps will work in any distro, especially Debian:

https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate

[–] BautAufWasEuchAufbaut@lemmy.blahaj.zone 2 points 1 year ago (1 children)

Have you checked kernel versions/patches? Probably not really a helpful comment, but that's where I'd look

[–] OrangeCorvus@lemmy.world 2 points 1 year ago

I haven't done that, went with the nuclear option and wiped Debian :).

[–] TimeMuncher2@kbin.social 1 points 1 year ago

I have a celeron nuc and i managed to get it to sleep on Linux Mint and not wake up until i hit enter on the keyboard but i forgot how I got it to do that. Then i made it into a media player using LibreElec and it did go into sleep mode. I don't use it now.

[–] elmicha@feddit.de -1 points 1 year ago (1 children)
[–] OrangeCorvus@lemmy.world 2 points 1 year ago (1 children)

I haven't, wouldn't that be if I wanted to wake it via the network? On Debian and other distros when I pressed keys on the keyboard, it tried to wake from sleep but it didn't actually turn on or had any image.

[–] elmicha@feddit.de 2 points 1 year ago (1 children)

Oops, sorry, I misread your question.

[–] OrangeCorvus@lemmy.world 2 points 1 year ago

All good, thanks for the reply