Date: Thu, 27 Mar 2014 14:07:37 +0000 (UTC) From: Aleksandr Rybalko <ray@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r263816 - head/sys/dev/vt Message-ID: <201403271407.s2RE7bJT008762@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403271407.s2RE7bJT008762>