Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 1996 18:50:33 -0400 (EDT)
From:      "Donald J. Maddox" <root@rhiannon.scsn.net>
To:        dmaddox@scsn.net
Cc:        current@FreeBSD.org
Subject:   Re: Bug with moused and XFree86
Message-ID:  <199610152250.SAA00373@rhiannon.scsn.net>
In-Reply-To: <199610152153.RAA00793@rhiannon.scsn.net> from "Donald J. Maddox" at "Oct 15, 96 05:53:06 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > You should be running moused on /dev/cuaa0 telling it you have a 
> > 'mouseman' mouse.  You should then tell X that you have a mouse systems
> > mouse on /dev/sysmouse.  Having both moused and X using the same
> > device is bound for trouble since you don't know which of them will
> > get each event.
> > 
> 
>     Okay, now I see! :-)  Thanks for the help...  I have been avoiding
> using moused at all, since it was clearly fighting with X over the
> pointer.  Now I'll finally be able to use both!
> 

    Forgive me for replying to my own message, but it looks like I spoke
too soon...  Following your (Jason's) advice above, moused works ok,
but...

    When I start the Xserver, the pointer appears at the center of the
screen, as always.  The first time I move the mouse, however, the pointer
goes to the upper left corner of the screen and pretty much stays there.
It moves when I move the mouse, but it pretty much stays locked up in
that corner.  In short, X is now getting mouse events, but obviously the
wrong ones.

    Again, my mouse works fine when /dev/mouse is a link to /dev/cuaa0,
I just cannot use X and moused concurrently.

    For clarity, here is the situation:

    From /etc/XF86Config:
-----------------------------------------------------------------
      Section "Pointer"
          Protocol    "MouseMan"
          Device      "/dev/mouse"
-----------------------------------------------------------------

    From /etc/sysconfig:
-----------------------------------------------------------------

# Set to
# {microsoft|mousesystems|mmseries|logitech|busmouse|mouseman|ps/2|mmhittab}
# to activate system mouse cursor support (or NO for none)
# Use 'vidcontrol -m on' command to activate it on particular screen
mousedtype=mouseman

############## Next block activated only if mousetype != NO ################

# Set to your mouse port (required)
# Use real device here, because /dev/mouse usually linked with /dev/sysmouse
mousedport=/dev/cuaa0

# Moused options:
# -s: 9600 baud mouse
# -c: enable ChordMiddle
# see moused usage info for complete options list
mousedflags=""

-------------------------------------------------------------------

    From /dev:
#ls -l /dev/sysmouse
crw-------  1 root  wheel   12, 128 Oct 15 18:19 /dev/sysmouse

# ls -l /dev/consolectl 
crw-------  1 root  wheel   12, 255 Oct 15 17:18 /dev/consolectl

(/dev/mouse is a symbolic link to /dev/sysmouse)

--------------------------------------------------------------------

    What's wrong here?

-- 


                                            Donald J. Maddox
                                            (dmaddox@scsn.net)




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