From owner-freebsd-x11@FreeBSD.ORG Fri Feb 24 18:23:19 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 3C3BA106566B for ; Fri, 24 Feb 2012 18:23:19 +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 EC5808FC13 for ; Fri, 24 Feb 2012 18:23:18 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q1OINIOj097701; Fri, 24 Feb 2012 11:23:18 -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 q1OINI72097698; Fri, 24 Feb 2012 11:23:18 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 24 Feb 2012 11:23:18 -0700 (MST) From: Warren Block To: Maxim Ignatenko In-Reply-To: <201202241922.44909.gelraen.ua@gmail.com> Message-ID: References: <201202231952.53863.gelraen.ua@gmail.com> <201202241922.44909.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 11:23:18 -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 18:23:19 -0000 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.