From owner-freebsd-x11@FreeBSD.ORG Mon Jan 26 18:01:19 2009 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DB22106566C for ; Mon, 26 Jan 2009 18:01:19 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 01D328FC1E for ; Mon, 26 Jan 2009 18:01:18 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n0QI0V2D038155 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Jan 2009 13:00:32 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Vladimir Grebenschikov 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> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-430B+EVP4HKT4bdddnMO" Organization: FreeBSD Date: Mon, 26 Jan 2009 13:01:08 -0500 Message-Id: <1232992868.88679.19.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: x11@FreeBSD.org Subject: Re: Xorg 7.4 freezes when not moving the mouse 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: Mon, 26 Jan 2009 18:01:26 -0000 --=-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--