From owner-freebsd-stable@FreeBSD.ORG Thu Jul 26 17:03:08 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 217D9106566B for ; Thu, 26 Jul 2012 17:03:08 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id CE5898FC16 for ; Thu, 26 Jul 2012 17:03:07 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q6QH358g011629; Thu, 26 Jul 2012 11:03:05 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q6QH35Ja011626; Thu, 26 Jul 2012 11:03:05 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 26 Jul 2012 11:03:05 -0600 (MDT) From: Warren Block To: Erich Dollansky In-Reply-To: <20120726215802.02dfbbcf@AMD620.ovitrap.com> Message-ID: References: <20120726215802.02dfbbcf@AMD620.ovitrap.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 26 Jul 2012 11:03:05 -0600 (MDT) Cc: "Daniel P. Wright" , freebsd-stable@freebsd.org Subject: Re: Keyboard cutting off soon after launching X X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 17:03:08 -0000 On Thu, 26 Jul 2012, Erich Dollansky wrote: > I ran FreeBSD since 8 on this machine but I have had to start finding a > new setting for xorg.conf to make X working again after a recent > upgrade. > > Enable moused in rc.conf and the following from xorg.conf helped me this > time: > > # > # 24.07.12 ed: we enable the mouse and see what will happen. > # > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" # 24.07.12 ed: > enabled for 1.7.7 # InputDevice "Keyboard0" "CoreKeyboard" > EndSection > > Section "ServerFlags" > Option "AllowEmptyInput" "false" # > 16.07.10 ed: enabled for 1.7.5 # 24.07.12 ed: disabled for 1.7.7 > # > 16.07.12 ed: setting it to false > # freezes X until mouse > # moves # > Option "AutoAddDevices" "false" EndSection > > I have had to define the mouse as InputDevice and set AllowEmptyInput > to false. The comment wrap there is very confusing. But please stop using AllowEmptyInput. It was so misused that it has even been removed from later versions of xorg. http://www.wonkity.com/~wblock/docs/html/aei.html There is an interaction with hald and moused that makes it worthwhile lately for some users to run moused from rc.conf. There may be a similar interaction with kbdmux(4) or some other keyboard component for keyboards. hald can be improved greatly by its absence.