From owner-freebsd-x11@FreeBSD.ORG Fri Feb 24 19:29:00 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73208106566C for ; Fri, 24 Feb 2012 19:29:00 +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 149DC8FC08 for ; Fri, 24 Feb 2012 19:28:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q1OJSxsZ098416; Fri, 24 Feb 2012 12:28:59 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q1OJSx8j098413; Fri, 24 Feb 2012 12:28:59 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 24 Feb 2012 12:28:59 -0700 (MST) From: Warren Block To: Maxim Ignatenko In-Reply-To: <201202242103.57461.gelraen.ua@gmail.com> Message-ID: References: <201202231952.53863.gelraen.ua@gmail.com> <201202241922.44909.gelraen.ua@gmail.com> <201202242103.57461.gelraen.ua@gmail.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]); Fri, 24 Feb 2012 12:28:59 -0700 (MST) Cc: freebsd-x11@freebsd.org Subject: Re: xorg-server blocks on /dev/sysmouse X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2012 19:29:00 -0000 On Fri, 24 Feb 2012, Maxim Ignatenko wrote: > On ??, 24 ??? 2012 20:23:18 Warren Block wrote: >> On Fri, 24 Feb 2012, Maxim Ignatenko wrote: >>> On ??, 23 ??? 2012 21:33:28 Warren Block wrote: >>>> On Thu, 23 Feb 2012, Maxim Ignatenko wrote: >>>>> Hello -x11@, >>>>> >>>>> I have xorg-server with staticaly configured > input >>>>> devices (USB mouse configured via > sysmouse+moused). >>>>> Sometimes picture and all GUI threads of running >>>>> processes freezes until I move mouse. This issue >>> >>> appeared >>> >>>>> long time ago (I've noticed it more than year ago >>>>> http://juick.com/gelraen/966367 (russian)), but > I'm >>>>> reporting it only now, sorry :( >>>>> >>>>> This patch seems to solve the problem: >>>>> http://paste.org.ru/?rgm0m6 >>>>> >>>>> This patch does the same, but for xorg-server >>> >>> 1.10.6: >>>>> http://dpaste.com/707312/ >>>> >>>> Are you disabling AllowEmptyInput? >>>> http://www.wonkity.com/~wblock/docs/html/aei.html >>> >>> Yes, all input devices configured statically. >>> AutoAddDevices is also turned off. >> >> Sorry, I was not clear enough. If AllowEmptyInput is > set to Off, it can >> cause this exact problem--nothing runs until the > mouse is moved. The >> solution in that case is to not set AEI at all, let > it default. > > Just tried to rebuild xorg-server without mentioned > patch and commented AllowEmptyInput in xorg.conf - now > it hangs. Also, I cannot find AllowEmptyInput in > xorg.conf(5) now, is it removed? Don't know about the latest xorg. The best explanation of AEI that I could get is in that article under What AllowEmptyInput Really Means: Option "AllowEmptyInput" "On" means the server may start without any input devices. Option "AllowEmptyInput" "Off" means the server must have configured input devices at startup. Later versions of xorg may have removed it, or merely removed it from the man page.