From owner-freebsd-current@FreeBSD.ORG Thu Mar 16 08:26: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 C749816A400 for ; Thu, 16 Mar 2006 08:26:10 +0000 (UTC) (envelope-from q@galgenberg.net) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBED543DA4 for ; Thu, 16 Mar 2006 08:25:27 +0000 (GMT) (envelope-from q@galgenberg.net) Received: from virusscan.mail (mail03.mail [172.25.1.102]) by mailrelay.mail (Postfix) with ESMTP id 106EDFAA; Thu, 16 Mar 2006 09:25:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 03D42ACB; Thu, 16 Mar 2006 09:25:26 +0100 (CET) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id DF895905; Thu, 16 Mar 2006 09:25:25 +0100 (CET) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id k2G8PPfU081807; Thu, 16 Mar 2006 09:25:25 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.4/8.13.4) with ESMTP id k2G8PPWj078407; Thu, 16 Mar 2006 09:25:25 +0100 (CET) (envelope-from q@galgenberg.net) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.4) with ESMTP id k2G8PPVJ001794; Thu, 16 Mar 2006 09:25:25 +0100 (CET) (envelope-from q@galgenberg.net) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.4/Submit) id k2G8PPgh001793; Thu, 16 Mar 2006 09:25:25 +0100 (CET) (envelope-from q@galgenberg.net) Date: Thu, 16 Mar 2006 09:25:24 +0100 From: Ulrich Spoerlein To: Maksim Yevmenkin Message-ID: <20060316082524.GA1690@galgenberg.net> Mail-Followup-To: Maksim Yevmenkin , current@freebsd.org References: <20060315223501.GA1438@galgenberg.net> <4418B455.8090709@savvis.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <4418B455.8090709@savvis.net> X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: 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 08:26:10 -0000 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Maksim Yevmenkin wrote: > 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_f= lags=3D"-c blink=20 > >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! >=20 > could you please try the attached patch? Excellent! Please commit this. Thanks. Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEGSD0524iJyD+6d0RAu9aAKCgZYl9cVpS0Tw8/VSISvjz6+jwGQCcDRJ/ UlgRzurfLgnQzLltgqZU1/w= =DB2v -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--