Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 2003 01:48:31 +0100
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        Adam Flaherty <adamf@ozonline.com.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Mouse under X
Message-ID:  <20031104004831.GC4037@dds.nl>
In-Reply-To: <DB4B2076-0D30-11D8-8560-000393D14C06@ozonline.com.au>
References:  <DB4B2076-0D30-11D8-8560-000393D14C06@ozonline.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 02, 2003 at 10:34:09PM +1000, Adam Flaherty wrote:
> Hello,
> 
> I have recently installed FreeBSD 4.8 and am having trouble getting my 
> PS/2 mouse to work with X11/ Gnome. The mouse works when setting up 
> moused with /stand/sysinstall and xf86cfg but when gnome loads any 
> mouse movement translates into the cursor moving to the top right of 
> the screen. I have tried the various protocols under xf86cfg and 
> followed the instructions in the FAQ that suggest adding lines to the 
> config file, and also linking /dev/mouse and /dev/sysmouse. I am at a 
> loss so any help would be highly appreciated.
> 

This also  enable a mouse wheel if you have one.

This is my setup:
/etc/rc.conf:
moused_flags="-a .4"
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"

/etc/X11/XF86Config:
Section "InputDevice"
  Identifier  "Mouse0"
  Driver      "mouse"
  Option      "Protocol" "auto"
  Option      "Device" "/dev/sysmouse"
  Option      "Buttons" "5"
  Option
  "ZAxisMapping" "4 5"
EndSection

--
Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/



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