I just installed EndeavorOS on an HP Spectre360 that’s roughly 2 years old. I am honestly surprised at how easy it went. If you google it, you’ll get a lot of “lol good luck installing linux on that” type posts - so I was ready for a battle.
Turned off secure boot and tpm. Booted off a usb stick. Live environment, check. Start installer and wipe drive. Few minutes later I’m in. Ok let’s find out what’s not working…
WiFi check. Bluetooth check. Sound check (although a little quiet). Keyboard check. Screen resolution check. Hibernates correctly? Check. WTF I can’t believe this all works out the box. The touchscreen? Check. The stylus pen check. Flipping the screen over to a tablet check. Jesus H.
Ok, everything just works. Huh. Who’d have thunk?
Install programs, log into accounts, jeez this laptop is snappier than on windows. Make things pretty for my wife and install some fun games and stuff.
Finished. Ez. Why did I wait so long? Google was wrong - it was cake.
It’s Linux kernel feature. It’s done purely in software.
Which is why I’m saying I don’t buy it. Hibernate is notoriously terrible in every distro because it’s not working right for most cases because the kernel doesn’t do it well. And I know that’s really not the kernels fault, because every manufacturer has some stupid implementation of S4 (and S3, frankly) that makes it fail.
S4? Hybernation on hardware level is regular shutdown. Then regular boot happens, kernel sees swap partition marked as hybernation state and restores it.
Hardware shouldn’t matter. Hibernation requires big enough swap to fit all of memory and kernel needs to start with
resume
parameter that points to the swap space it uses for hibernation. Some distros (including mainstream ones like Ubuntu) don’t configure that by default assuming most people don’t want to use it.