From owner-freebsd-x11@FreeBSD.ORG Thu Mar 27 13:03:42 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 195C21065673 for ; Thu, 27 Mar 2008 13:03:42 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA01.westchester.pa.mail.comcast.net (qmta01.westchester.pa.mail.comcast.net [76.96.62.16]) by mx1.freebsd.org (Postfix) with ESMTP id A37E08FC1D for ; Thu, 27 Mar 2008 13:03:41 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA01.westchester.pa.mail.comcast.net with comcast id 6BeF1Z00717dt5G5106K00; Thu, 27 Mar 2008 13:02:53 +0000 Received: from discordia ([24.60.135.75]) by OMTA13.westchester.pa.mail.comcast.net with comcast id 6D3g1Z0031dmTCQ3Z00000; Thu, 27 Mar 2008 13:03:40 +0000 X-Authority-Analysis: v=1.0 c=1 a=LRBUuAyMELUA:10 a=c5sTgUsrrxMA:10 a=LeH6XzfVAAAA:8 a=q2bExWTCKtD1YfDhw-EA:9 a=zrdJvpmsxjQn-uf68b7gYlal3mYA:4 a=6bqG61NMjcsA:10 Received: by discordia (Postfix, from userid 103) id 04A071636F9; Thu, 27 Mar 2008 09:03:40 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.31.1.6] (unknown [172.31.1.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id 44AF41636F9; Thu, 27 Mar 2008 09:03:23 -0400 (EDT) Message-ID: <47EB9A2B.4060203@FreeBSD.org> Date: Thu, 27 Mar 2008 08:59:23 -0400 From: Coleman Kane Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.12 (X11/20080312) MIME-Version: 1.0 To: cokane@FreeBSD.org References: <47EA7ED2.8030406@freebsd.org> <200803261654.09551.jkim@FreeBSD.org> <1206597105.80352.14.camel@shumai.marcuscom.com> <47EB9213.7050509@FreeBSD.org> In-Reply-To: <47EB9213.7050509@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-x11@FreeBSD.org, Joe Marcus Clarke , Jung-uk Kim Subject: Re: X pausing until mouse move (collecting commonalities) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@FreeBSD.org List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2008 13:03:42 -0000 Coleman Kane wrote: > Joe Marcus Clarke wrote: >> On Wed, 2008-03-26 at 16:54 -0400, Jung-uk Kim wrote: >> >>> On Wednesday 26 March 2008 12:50 pm, Joe Marcus Clarke wrote: >>> >>>> I'm trying to get a list of commonalities to better focus my >>>> troubleshooting. So far, my two machines that are affected have >>>> the following in common: >>>> >>>> GNOME 2.22 (with hald) >>>> nVidia graphics card (though different drivers) >>>> PS/2 mouse >>>> dual core >>>> ULE scheduler >>>> >>>> My one machine that is not affected differs from this in that it >>>> has an Intel graphics card, USB mouse, and is not dual core (but >>>> HTT). >>>> >>>> It looks like Coleman has a PS/2 mouse as well. It's starting to >>>> look like the mouse technology might have something to do with >>>> this. Anyone seeing this problem with a USB mouse? >>>> >>> I think I know why. Build xorg-server without HAL support option >>> and the attached patch. With HAL support (default) and hald >>> running, xorg-server auto-detects individual ports with input.mouse >>> capability even without configuration lines in xorg.conf. If moused >>> is enabled and USB mouse is used, /dev/ums0 is directly used because >>> there is a problem in MD code (see attached patch). If moused is >>> enabled and PS/2 mouse is used, you end up with two input devices >>> via /dev/sysmouse and /dev/psm0. I couldn't find a cleaner way to >>> fix this problem, though. :-( >>> >> >> Thanks for finding this. Here is a patch for hal which adds a mouse >> addon. The mouse addon polls to find whether or not moused has a given >> mouse device open. If it does, it sets the input device to >> be /dev/sysmouse instead of the actual device. Hopefully it will fix >> the problem without needing to disable hal support in X. I have also >> merged your gettimeofday patches, jkim. >> >> http://www.marcuscom.com/downloads/hal.diff >> >> Joe > I had to apply the attached change to your patch in order to get it to > work (addon/ should be addons/). Attached is the diff to your diff > that worked for me. > > -- > Coleman Kane Unfortunately, I still experience the same mouse-blocked behavior after applying this patch, reinstalling the port, and then restarting my machine (and setting the mouse device back to SysMouse and /dev/sysmouse in xorg.conf, and re-enabling moused). -- Coleman Kane