From owner-freebsd-x11@FreeBSD.ORG Fri Mar 28 19:13:27 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 29524106566B for ; Fri, 28 Mar 2008 19:13:26 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-x11@FreeBSD.org Date: Fri, 28 Mar 2008 15:13:07 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200803281513.16819.jkim@FreeBSD.org> Cc: Subject: [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: Fri, 28 Mar 2008 19:13:27 -0000 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. Thanks, Jung-uk Kim