[PATCH] xorg-server: fix mouse probing

Jung-uk Kim jkim at FreeBSD.org
Tue Apr 1 17:59:43 PDT 2008


On Tuesday 01 April 2008 08:20 pm, Florent Thoumie wrote:
> On Tue, Apr 1, 2008 at 8:17 PM, Jung-uk Kim <jkim at freebsd.org> 
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.<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.
> >
> >  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


More information about the freebsd-x11 mailing list