From owner-freebsd-x11@FreeBSD.ORG Wed Apr 2 00:59:42 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id DE6121065671; Wed, 2 Apr 2008 00:59:41 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: "Florent Thoumie" Date: Tue, 1 Apr 2008 20:59:26 -0400 User-Agent: KMail/1.6.2 References: <200803281513.16819.jkim@FreeBSD.org> <200804011417.02881.jkim@FreeBSD.org> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200804012059.29930.jkim@FreeBSD.org> Cc: anholt@freebsd.org, freebsd-x11@freebsd.org Subject: Re: [PATCH] xorg-server: fix mouse probing 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: Wed, 02 Apr 2008 00:59:43 -0000 On Tuesday 01 April 2008 08:20 pm, Florent Thoumie wrote: > On Tue, Apr 1, 2008 at 8:17 PM, Jung-uk Kim wrote: > > On Friday 28 March 2008 03:13 pm, Jung-uk Kim wrote: > > > As you may have noticed from other threads, xorg-server has > > > problem with HAL support (default). Please test the patch: > > > > > > http://people.freebsd.org/~jkim/xorg-server.diff > > > > > > You also have to patch sysutils/hal: > > > > > > http://www.marcuscom.com/downloads/hal.diff > > > > > > Changes: > > > - Do not probe /dev/psm0 as SysMouse if HAL is enabled. > > > - Add /dev/ums0 as SysMouse if HAL is disabled. > > > - Do not force sysmouse(4) mode unless device is > > > /dev/sysmouse. When moused(8) is not running, current mode > > > level is untouched. - Correcly check if moused is actually > > > running. Checking pid file is not enough because it may be > > > /var/run/moused..pid when it is invoked by devd(8) for > > > USB mice. > > > - Do not attach device if it is opened by moused. > > > - Correctly add device path for HAL. > > > > xorg-server patch is committed: > > > > http://docs.freebsd.org/cgi/mid.cgi?200804011814.m31IEYXP092593 > > > > Thanks for testing! > > Got bitten by the bug earlier today and patches fixed it. > > Thank you and Marcus for your work on this. > > Eric, could you commit the patch to the fd.o repository? And this patch while you are at it? http://docs.freebsd.org/cgi/mid.cgi?200803060048.m260mhvm027286 Thanks! Jung-uk Kim