[PATCH] xorg-server: fix mouse probing

Joe Marcus Clarke marcus at marcuscom.com
Mon Mar 31 09:14:35 PDT 2008


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.

Joe

> 
> Thanks,
> 
> Jung-uk Kim
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20080331/a4bc1331/attachment.pgp


More information about the freebsd-x11 mailing list