Hibernation (s2disk) on Asus EEE 1005HA

I'm not sure anyone uses this 10 years old laptop anymore (I use it to read ebooks, do SSH and watch non-HD video; there is no way to run current web browsers on it), but anyway:

To get hibernation (and lid switch) working in recent kernels (5.3 tested), you need to add

acpi_osi="Linux"

kernel parameter.