ports/131124: x11/xorg - New xorg 7.4 hangs until mouse is moved when AllowEmptyInput turned off

Jung-uk Kim jkim at FreeBSD.org
Fri Feb 6 15:20:04 PST 2009


The following reply was made to PR ports/131124; it has been noted by GNATS.

From: Jung-uk Kim <jkim at FreeBSD.org>
To: Joe Marcus Clarke <marcus at freebsd.org>
Cc: freebsd-x11 at freebsd.org,
 Serge Shilov <serguei.shilov at gmail.com>,
 Peter Zehm <Peter.Zehm at crush-net.de>,
 rnoland at freebsd.org,
 freebsd-gnome at freebsd.org,
 bug-followup at freebsd.org
Subject: Re: ports/131124: x11/xorg - New xorg 7.4 hangs until mouse =?iso-8859-1?q?is=09moved_when_AllowEmptyInput_turned?= off
Date: Fri, 6 Feb 2009 18:12:27 -0500

 On Friday 06 February 2009 05:37 pm, Jung-uk Kim wrote:
 > On Friday 06 February 2009 04:27 pm, Joe Marcus Clarke wrote:
 > > What about modifying the sysmouse driver to more gracefully
 > > handle multiple open attempts (e.g. fail on subsequent attempts).
 > >  What effect would that have on X?
 >
 > I thought about that.  In fact, I implemented something along the
 > line but threw it away because 1) I was not sure of its expected
 > behavior, 2) it is intertwined with syscons and I was afraid of
 > breaking it, 3) it just hides Xserver problem (i.e., mixed uses of
 > static/auto configurations) from an OS driver, 4) it does not
 > provide fix for release users, 5) possible POLA violations, etc.
 
 If my memory serves, there is another important reason: 6) Xserver and 
 mouse driver open/close same device multiple times (at least twice), 
 one for SetupAuto and one for enabling the device, I think.  
 Depending on timing, the previous device may not be what HAL is 
 expecting.
 
 Jung-uk Kim


More information about the freebsd-x11 mailing list