From owner-freebsd-current@FreeBSD.ORG Thu Mar 16 00:19:05 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B851E16A41F; Thu, 16 Mar 2006 00:19:05 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from ismybrain.com (ismybrain.com [64.246.42.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4069C43D46; Thu, 16 Mar 2006 00:19:05 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [10.254.186.111] (localhost.localdomain [127.0.0.1]) by ismybrain.com (8.11.6/8.11.6) with ESMTP id k2G0J2M25111; Wed, 15 Mar 2006 19:19:03 -0500 Message-ID: <4418AEF4.4060100@savvis.net> Date: Wed, 15 Mar 2006 16:19:00 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Thompson References: <20060315223501.GA1438@galgenberg.net> <790a9fff0603151515r4d6c9bbdr2313945246409f99@mail.gmail.com> <790a9fff0603151523w61b341acx98bc31958439b83f@mail.gmail.com> <20060315233621.GF20361@heff.fud.org.nz> In-Reply-To: <20060315233621.GF20361@heff.fud.org.nz> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Scot Hetzel , emax@freebsd.org, current@freebsd.org Subject: Re: kbdmux/syscons/vidcontrol interacts badly with X/radeon X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 16 Mar 2006 00:19:05 -0000 Andrew Thompson wrote: > On Wed, Mar 15, 2006 at 05:23:36PM -0600, Scot Hetzel wrote: > >>On 3/15/06, Scot Hetzel wrote: >> >>>You mean something like r1.15 from -CURRENT: >>> >>>http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/syscons >>> >>>From the cvsweb, it looks as though this change wasn't MFC'd to >>>RELENG_6, but the change to /etc/devd.conf to use 'setkeyboard' method >>>was MFC'd Mar 7th to RELENG_6. >>> >> >>After clicking on revision 1.13 of etc/rc.d/syscons in cvsweb, I had >>to change 1.13 to 1.13.2.1 in the URL and this change has been applied >>to RELENG_6. >> >>Don't know how emax put the file in 36years ago into cvsweb ;-) >> >> Revision 1.13.2.1, Thu Jan 1 00:00:00 1970 UTC (36 years, 2 months ago) by > > Its the ol' cut-n-paste cvs log problem. > > The entry in devd.conf still restarts syscons, is this actually needed? > action "/etc/rc.d/syscons setkeyboard /dev/ukbd0 && > /etc/rc.d/syscons restart"; i think so. the idea is to re/set keyboard settings after new keyboard was added to the mux. the problem (as per original email) is that 'syscons restart' will try to do everything, i.e. set keyboard _and_ video/screen saver settings. due to custom settings in the "allscreen_flags" variable, this apparently breaks screen (i presume the keyboard is attached to the system while x11 is running). i guess, i could move all the keyboard settings into separate function and call it from both 'start' and 'setkeyboard'. this would make "/etc/rc.d/syscons restart" in /etc/devd.conf obsolete. thanks, max