Mouse/X11 Documentation and Moused

Dan Nelson dnelson at allantgroup.com
Sun Aug 3 18:49:15 PDT 2003


In the last episode (Aug 03), Frank Jahnke said:
> Moused Translations.
> 
> Alas, this does not work yet.  I'm still setting up FreeBSD, so I am
> spending a LOT of time editing configuration files, particularly for
> X.  I do most of these in the console window; I'd really like to keep
> the mouse working here.
> 
> So, I did the following: activate in moused in rc.conf as
> 
> moused_enable="YES"
> moused_port="/dev/psm0"
> moused_type="auto"
> moused_flags="-z 4"
> allscreens_flags="-m on"
> 
> which also enables the mouse for the virtual consoles.  Before enabling
> moused, "moused -p /dev/psm0 -i all" gives "/dev/psm0 ps/2 sysmouse
> MouseMan+", so BSD is correct in detecting my hardware.  The file
> /etc/X11/XF86Config contains:
> 
> # Identifier and driver
> 
>     Identifier  "Mouse0"
>     Driver      "mouse"
>     Option      "Protocol" "auto"
>     Option      "Device" "/dev/sysmouse"
>     Option      "Buttons" "5"
>     Option      "ZAxisMapping" "4 5"
> 
> EndSection
> 
> It doesn't matter if ZAxisMapping is removed or not -- this does not
> work.  
> 
> So -- has anyone succeeded in getting a wheel mouse to scroll in X with
> moused translation?

The above setup works fine for me (I have ZAxisMapping commented out)
on -current, with Xfree86 4.3.0.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list