Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Apr 2008 13:54:45 -0400
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        Jung-uk Kim <jkim@freebsd.org>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: [PATCH] xorg-server: fix mouse probing
Message-ID:  <47F276E5.3010704@freebsd.org>
In-Reply-To: <200803311225.02955.jkim@FreeBSD.org>
References:  <200803281513.16819.jkim@FreeBSD.org> <1206980068.22600.4.camel@shumai.marcuscom.com> <200803311225.02955.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jung-uk Kim wrote:
> On Monday 31 March 2008 12:14 pm, Joe Marcus Clarke wrote:
>> On Fri, 2008-03-28 at 15:13 -0400, 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.<device>.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.
>> If you're waiting for some success reports, all is well on my two
>> previously affected systems with these patches.
> 
> Actually I was waiting for regression test reports for non-affected 
> systems as I have tested on two affected systems.  Can anyone 
> confirm?

My USB mouse -CURRENT system works fine after these patches.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



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