X pausing until mouse move (collecting commonalities)

Joe Marcus Clarke marcus at FreeBSD.org
Wed Mar 26 22:51:51 PDT 2008


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

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- 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/20080327/09363386/attachment.pgp


More information about the freebsd-x11 mailing list