Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 15:13:07 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-x11@FreeBSD.org
Subject:   [PATCH] xorg-server: fix mouse probing
Message-ID:  <200803281513.16819.jkim@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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.

Thanks,

Jung-uk Kim



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