Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2009 13:01:08 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Vladimir Grebenschikov <vova@fbsd.ru>
Cc:        x11@FreeBSD.org
Subject:   Re: Xorg 7.4 freezes when not moving the mouse
Message-ID:  <1232992868.88679.19.camel@squirrel.corp.cox.com>
In-Reply-To: <1232954966.26161.9.camel@localhost>
References:  <90a5caac0901240831j2367a69eo3a6dfd82f8e3c200@mail.gmail.com> <3a142e750901240903p56dbae27maea5c98a3ddc5971@mail.gmail.com> <90a5caac0901241129x625dab1co9e965a2579b54f41@mail.gmail.com> <1232826780.1732.54.camel@wombat.2hip.net> <90a5caac0901251305g20d6e8a0g224beaa2b016867e@mail.gmail.com> <1232918531.1732.63.camel@wombat.2hip.net> <1232954966.26161.9.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-430B+EVP4HKT4bdddnMO
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2009-01-26 at 10:29 +0300, Vladimir Grebenschikov wrote:
> On Sun, 2009-01-25 at 16:22 -0500, Robert Noland wrote:
> > =20
> > > 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 nic=
e
> > > (patched). :-)
> >=20
> > I still need to figure out what the particular configuration to trigger
> > this issue is...
>=20
> I've read notice about fixed problems in updating:
> --
> 20090124:
>   AFFECTS: users of x11-servers/xorg-server, sysutils/hal
>   AUTHOR: rnoland@FreeBSD.org
>=20
>   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.
> --
>=20
> But for me it still does not works well with moused.
> X often gets int 'ttyin' state and freezes completely or for some time.
>=20
> Without moused running it works as expected.
>=20
> 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.
=20
> > robert.
>=20

--=-430B+EVP4HKT4bdddnMO
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEABECAAYFAkl9+mQACgkQM4TrQ4qfROOY+QCeMNITHbQL3lDUnP2eSS7nGd5v
VwQAnRcVg+ooYRuGVwTYcjEjDfcEomQH
=Mgrs
-----END PGP SIGNATURE-----

--=-430B+EVP4HKT4bdddnMO--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1232992868.88679.19.camel>