Xorg 7.4 freezes when not moving the mouse

Robert Noland rnoland at FreeBSD.org
Mon Jan 26 10:01:26 PST 2009


On Mon, 2009-01-26 at 10:29 +0300, Vladimir Grebenschikov wrote:
> On Sun, 2009-01-25 at 16:22 -0500, Robert Noland wrote:
> >  
> > > I changed my configuration to use xf86-input-synaptics and sysmouse
> > > for USB, because I was too lazy to search for enough documentation on
> > > setting the keyboard options (layout, variant) via hald. It works nice
> > > (patched). :-)
> > 
> > I still need to figure out what the particular configuration to trigger
> > this issue is...
> 
> I've read notice about fixed problems in updating:
> --
> 20090124:
>   AFFECTS: users of x11-servers/xorg-server, sysutils/hal
>   AUTHOR: rnoland at FreeBSD.org
> 
>   sysutils/hal has been updated and should now properly detect
>   mice for use in Xorg.  Use of AllowEmptyInput should no longer
>   be needed for most users and moused should now work fine.
> --
> 
> But for me it still does not works well with moused.
> X often gets int 'ttyin' state and freezes completely or for some time.
> 
> Without moused running it works as expected.
> 
> I have both synaptics touchpad at psm0 and ums0.

We have been doing additional work on hald trying to address some
remaining issues, but there is still an issue if you are using a
statically configured sysmouse and hald.

The issue is (with our current work, not sure if marcus has committed
yet) that when the system starts up and moused runs, X has not yet
started and so we mark sysmouse as a valid X input device.  When X
starts, it is enabling it's statically configured devices, then getting
the list of available devices from hald.  Since we already marked it as
a valid device because X wasn't using it at the time, X tries to open
sysmouse again.  For hardware ports, this isn't an issue since the
second open just fails and you keep rolling.  For sysmouse, it happily
allows the port to be opened again.  So, the short story is:

Either set AllowEmptyInput on and let hald add your devices or
statically configure your devices and set "AutoAddDevices" "off"

robert.
 
> > robert.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20090126/5f6d47dc/attachment.pgp


More information about the freebsd-x11 mailing list