From owner-freebsd-ports@FreeBSD.ORG Sun Jan 25 19:42:48 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F9FE106566C for ; Sun, 25 Jan 2009 19:42:48 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 0A1EF8FC0C for ; Sun, 25 Jan 2009 19:42:47 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.3/8.14.3) with ESMTP id n0PJglZ7033415 for ; Sun, 25 Jan 2009 11:42:47 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.3/8.14.3/Submit) id n0PJglxI033414 for ports@freebsd.org; Sun, 25 Jan 2009 11:42:47 -0800 (PST) (envelope-from david) Date: Sun, 25 Jan 2009 11:42:47 -0800 From: David Wolfskill To: ports@freebsd.org Message-ID: <20090125194247.GO90849@albert.catwhisker.org> References: <20090125163634.GM90849@albert.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OxpYUbrsx40GOZXC" Content-Disposition: inline In-Reply-To: <20090125163634.GM90849@albert.catwhisker.org> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: X.org 1.5.3, hald(8), and ability to use misc/compat6x X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2009 19:42:48 -0000 --OxpYUbrsx40GOZXC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 25, 2009 at 08:36:34AM -0800, David Wolfskill wrote: > After upgrading to X.org 1.5.3... >=20 > So is a hald(8) (and dbus(8)) built under RELENG_6 supposed to work > in a RELENG_7 environment that has the misc/compat6x port installed? > ... Nevermind. :-{ A RELENG_6-build dbus & hald work fine when RELENG_7 or HEAD has the misc/compat6x port installed: X.Org X Server 1.5.3 Release Date: 5 November 2008 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 6.4-STABLE i386=20 Current Operating System: FreeBSD g1-37.catwhisker.org 8.0-CURRENT FreeBSD = 8.0-CURRENT #928: Wed Jan 21 07:46:38 PST 2009 root@g1-37.catwhisker.or= g:/common/S4/obj/usr/src/sys/CANARY i386 Build Date: 24 January 2009 06:31:47PM =2E.. (II) config/hal: Adding input device AT Keyboard =2E.. (II) config/hal: Adding input device PS/2 Mouse I had some order- and timing-of-operations issues. In particular, I found that augmenting the begining of my xdm start-up script with: until hald=3D$(check_process hald-addon-mouse-sysmouse); [ -n "${ha= ld}" ]; do sleep 1 done # Stupid hack -- the above check is evidently insufficient to # ensure that X.org can actually "initialise context: (null) ((null= ))" sleep 7 seems to allow things to work. (The value "7" seconds was determined empirically.) I had started checking for "hald", then checked for "hald-addon-mouse-sysmouse"; when that was still insufficient, I added the 7-second sleep. (My xdm start-up script is invoked via init(8), out of /etc/ttys.) Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --OxpYUbrsx40GOZXC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkl8wLcACgkQmprOCmdXAD0FHQCfWeVifYjx0m/uBPI05tBQBT4q kK8AnAmgZfy1f92/Zv9UtR9EwZfjWV7U =ZIVa -----END PGP SIGNATURE----- --OxpYUbrsx40GOZXC--