Got myself some energy monitoring Zigbee plugs and made an interesting discovery
-
[email protected]replied to [email protected] last edited by
There are a couple of ways:
- Formally add a system entry to run at suspend/resume (like how nvidia does in their driver package)
Or
- Write a script that rmmods, suspends, sleeps, modprobes, and map it to Cntrl-Alt-Shift-S
I usually do 2 because I like the hotkey method for desktops, and it keeps things the same for both. Also allows me to close a lid on a laptop and leave it on. But 1 is more "formal".
Happy to share some scripts if you'd like, on my phone now, though.
-
[email protected]replied to [email protected] last edited by
Yeah I use Linux for my servers and my HTPC, but I never really hibernate or sleep those so I had no idea if it might occur there too. It's great to hear this is not likely to be an issue - thanks
-
[email protected]replied to [email protected] last edited by
Ok, just be sure it has an integrated circuit breaker otherwise its just....a surge protector. You'll also need to identify what load it triggers at. For example, I use these on my gear https://tripplite.eaton.com/isobar-4-outlet-surge-protector-6-ft-cord-3300-joules-diagnostic-leds~ISOBAR4ULTRA and they're rated to 12A which should protect a 15A rated smart plug. I put rated in italics because errrryone is buying CE (instead of UL listed) smart plugs.
-
[email protected]replied to [email protected] last edited by
Did you check the bios?
-
[email protected]replied to [email protected] last edited by
how do i do 1? having timeout to suspend and lid close to suspend would be great. and id like to see some example scripts!
i had pretty much given up on standby with this one.
-
[email protected]replied to [email protected] last edited by
11th gen i5 NUC.
-
[email protected]replied to [email protected] last edited by
If it gets the wife approval you know you are on to something
-
[email protected]replied to [email protected] last edited by
Questionable approach since a cheap 'surge protector' could very well start a fire
-
[email protected]replied to [email protected] last edited by
I recently bought a Mac Mini because music production on Linux had me fighting my tools more than using them. My Linux box is a 7800x3d/7800xtx. The Mini idles at 4w, while the 78000xtx alone idles closer to 50w. I use the mini for everything non-gaming now.
-
[email protected]replied to [email protected] last edited by
I'm not OP or the right person. Wrong recipient lol. But info was noted for my own use.
-
[email protected]replied to [email protected] last edited by
What unhealthy eating habit are you indulging in at 21:45?
-
[email protected]replied to [email protected] last edited by
Current spike from both freezers starting up
-
[email protected]replied to [email protected] last edited by
Will grab some when I back, but assuming you are using
systemd
, it's easy if you follow this old but good method: https://blog.christophersmart.com/2016/05/11/running-scripts-before-and-after-suspend-with-systemd/If that doesn't work out of the box, it's likely because you're hitting S1 instead of S3, but give that test script a shot and let me know how it goes!
-
[email protected]replied to [email protected] last edited by
i will test that out later today, thanks!