svn commit: r263816 - head/sys/dev/vt
Aleksandr Rybalko
ray at FreeBSD.org
Thu Mar 27 14:07:37 UTC 2014
Author: ray
Date: Thu Mar 27 14:07:36 2014
New Revision: 263816
URL: http://svnweb.freebsd.org/changeset/base/263816
Log:
Revert r263321.
vt(9) crash on resume fixed, but Xorg still have damaged screen on resume (at
least with i915kms), so better to switch to VT0 before suspend and back on
resume.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/vt/vt_core.c
Modified: head/sys/dev/vt/vt_core.c
==============================================================================
--- head/sys/dev/vt/vt_core.c Thu Mar 27 13:57:00 2014 (r263815)
+++ head/sys/dev/vt/vt_core.c Thu Mar 27 14:07:36 2014 (r263816)
@@ -118,7 +118,7 @@ static SYSCTL_NODE(_kern, OID_AUTO, vt,
VT_SYSCTL_INT(enable_altgr, 1, "Enable AltGr key (Do not assume R.Alt as Alt)");
VT_SYSCTL_INT(debug, 0, "vt(9) debug level");
VT_SYSCTL_INT(deadtimer, 15, "Time to wait busy process in VT_PROCESS mode");
-VT_SYSCTL_INT(suspendswitch, 0, "Switch to VT0 before suspend");
+VT_SYSCTL_INT(suspendswitch, 1, "Switch to VT0 before suspend");
static unsigned int vt_unit = 0;
static MALLOC_DEFINE(M_VT, "vt", "vt device");
More information about the svn-src-all
mailing list