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:12:40 PST 2009


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-gnome mailing list