anthe / nixos-surface

6 stars 2 forks source link

Suspend on kernels >= 5.4 #5

Closed shadowrylander closed 4 years ago

shadowrylander commented 4 years ago

Hello! Again!

If you aren't quite tired of me yet, here's an issue you could probably help me with:

According to this, waking up from suspend is supported for the Surface Book 2 on and after kernel version 5.4; however, I'm currently on 5.7 (booting fine; thanks again for that!), and while the screen comes back online, the buttons (both on the device, and the keyboard) don't seem to kick in, preventing me from logging in.

Are there any NixOS settings, custom or otherwise, I could implement / toggle to reactivate the buttons?

As always, any help would be greatly appreciated!

shadowrylander commented 4 years ago

Oh, and would the settings from here help?

shadowrylander commented 4 years ago

Oh, and the touchscreen does in fact work on kernels >= 5.6, though only in either single-touch or stylus modes, if you wanted to upgrade the kernel used.

shadowrylander commented 4 years ago

Well, waking up from suspend is working again, but not sure why it didn't work the first time... Unless I hadn't rebooted... I'll close this in a while if the machine can wake up again tomorrow morning.

shadowrylander commented 4 years ago

Well, waking from suspend is working perfectly fine; closing now.