Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2008 01:51:45 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        freebsd-x11@FreeBSD.org
Subject:   Re: X pausing until mouse move (collecting commonalities)
Message-ID:  <1206597105.80352.14.camel@shumai.marcuscom.com>
In-Reply-To: <200803261654.09551.jkim@FreeBSD.org>
References:  <47EA7ED2.8030406@freebsd.org> <200803261654.09551.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-O5M4e1aQdt/dlH5IZ3NS
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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?
>=20
> I think I know why.  Build xorg-server without HAL support option and=20
> the attached patch.  With HAL support (default) and hald running,=20
> xorg-server auto-detects individual ports with input.mouse capability=20
> even without configuration lines in xorg.conf.  If moused is enabled=20
> and USB mouse is used, /dev/ums0 is directly used because there is a=20
> problem in MD code (see attached patch).  If moused is enabled and=20
> PS/2 mouse is used, you end up with two input devices=20
> via /dev/sysmouse and /dev/psm0.  I couldn't find a cleaner way to=20
> 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

--=20
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

--=-O5M4e1aQdt/dlH5IZ3NS
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkfrNe0ACgkQb2iPiv4Uz4cytQCcCcUmZ3t9noXXJIREGHZeAxdj
rM4AnjmxFa7PvnrNYBRXw/8E3UsxaUBP
=HyjO
-----END PGP SIGNATURE-----

--=-O5M4e1aQdt/dlH5IZ3NS--




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