From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 12:28:17 2015 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B0D767CF for ; Fri, 6 Feb 2015 12:28:17 +0000 (UTC) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 67E81A5C for ; Fri, 6 Feb 2015 12:28:17 +0000 (UTC) Received: from terran (unknown [192.168.99.1]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPA id 6ED1EC493D; Fri, 6 Feb 2015 14:22:50 +0200 (EET) Date: Fri, 6 Feb 2015 14:23:12 +0200 From: Aleksandr Rybalko To: Michal Varga Subject: Re: vt(4) sysctl inconsistency question Message-Id: <20150206142312.2a9935dc58796e88be92205f@freebsd.org> In-Reply-To: <1423087017.854.20.camel@stonehenge.sk> References: <1423087017.854.20.camel@stonehenge.sk> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2015 12:28:17 -0000 On Wed, 04 Feb 2015 22:56:57 +0100 Michal Varga wrote: > I have a quick question regarding the vt driver which hopefully someone > involved in its design could answer for me. > > Roughly 4 months ago, vt gained the ability to listen to a set of > keyboard combinations controlling power/debug situations and the ability > to control (or more precisely, turn off) their behavior via sysctls: > > http://svnweb.freebsd.org/base/head/sys/dev/vt/vt_core.c?r1=271380&r2=271381& > > Interestingly, two cases in particular (excluding SPSC which isn't > implemented yet) were left out of this configuration, namely the standby > and suspend modes (STBY, SUSP), making use of those keys completely > non-optional. > > If anyone could tell me, what was the reason for not including sysctls > for those two modes? > > m. > > > -- > Michal Varga, > Stonehenge > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Hi Michal! When I was work on vt(4) due to lack of knowledge about kbd(4) internals I decide to not touch it a lot, so I mostly just copy sc(4) things :) IIRC support of such keys/combinations will require some updates to kbd(4). Think, if somebody will prepare patch for such things, guys and maybe me, will be happy to review and possibly commit it. Thanks! WBW -- Aleksandr Rybalko