> Date: Thu, 6 Jul 2017 00:01:41 -0700 > From: Pratik Vyas <[email protected]> > > >Synopsis: suspend / resume on skylake machine doesn't work > >Category: system (inteldrm) > >Environment: > System : OpenBSD 6.1 > Details : OpenBSD 6.1-current (GENERIC.MP) #87: Wed Jul 5 09:31:24 > MDT 2017 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > Tried to suspend a skylake machine (Intel NUC6i5SYB) from X using zzz. > Suspend worked as screen went blank and the power LED went from solid > blue to blinking orange. Pressing enter on the keyboard didn't resume > the machine. Pressed power button and video came back on but no X (only > the console). Keyboard typed wrong letters. Tried unplugging and > replugging my usb hub with keyboard but still same result. Shutdown by > pressing the power button worked.
Sounds like the machine resumed just fine, but the final VT switch back into X didn't happen. This happens if X doesn't acknowledge the VT switch in a timely fashion. The whole procedure is a bit racy and I've seen it happen on many machines. Usually you can just switch back into X using the keyboard. In your case it is probably related to the usb keyboard issue. X will try to re-open your usb keyboard/mouse but if those devices have not been attached yet or aren't fully functional, the VT switch could fail. Does suspend/resume work correctly if you switch to the console before suspending? If the machine has a BIOS knob to select USB 2.0 (EHCI) instead of USB 3.0, it'd be interesting see if that makes a difference. So this doesn't look like an issue with the inteldrm(4) update.
