From owner-freebsd-current@FreeBSD.ORG Wed Mar 15 23:15:10 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 7848216A420 for ; Wed, 15 Mar 2006 23:15:10 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3F9343D48 for ; Wed, 15 Mar 2006 23:15:09 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so167355wxc for ; Wed, 15 Mar 2006 15:15:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nm13xgXNM87V8tYprPow80z7Edqi35bpUwNQCb70gbgxkCidprfsrF+F8QQpNK+C+FCSIxrSptcY49aj13Ol2Fvq2YW71JGY4Scp95w+3SWdXM8WsfIEaE7GSICLVNhJEQTh/NkLK4TEhvshgU50KGd8yjov20MWR98WqJRRvbo= Received: by 10.70.74.16 with SMTP id w16mr345819wxa; Wed, 15 Mar 2006 15:15:08 -0800 (PST) Received: by 10.70.27.2 with HTTP; Wed, 15 Mar 2006 15:15:08 -0800 (PST) Message-ID: <790a9fff0603151515r4d6c9bbdr2313945246409f99@mail.gmail.com> Date: Wed, 15 Mar 2006 17:15:08 -0600 From: "Scot Hetzel" To: current@freebsd.org, emax@FreeBSD.org, "Maksim Yevmenkin" In-Reply-To: <20060315223501.GA1438@galgenberg.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060315223501.GA1438@galgenberg.net> Cc: 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: Wed, 15 Mar 2006 23:15:10 -0000 On 3/15/06, Ulrich Spoerlein wrote: > Hi all, > > this pertains to 6.1-PRERELEASE and is caused by devd calling 'syscons > restart' on keyboard attach. More specifically it is due to > allscreens_flags=3D"-c blink 80x60" in /etc/rc.conf. This will then call > vidcontrol and this totally screws up my X11 display (radeon driver). > Killing X11 will _usually_ result in a normal console, but this is not > always the case. Clearing allscreens_flags is also a possibile > workaround. > > Also, on normal boot, vidcontrol will be called twice, once in normal > startup, then via kbdmux/devd/syscons restart. > > Possible solution: Don't do a full restart, but refactor the keyboard > code in syscons into a separate function and only call this function. > > I hope this can be implemented quickly and MFC'ed before 6.1. Thanks! > 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. -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.