Date: Tue, 7 Nov 2000 14:01:39 -0000 From: "Dan Cuthbert" <daniel.cuthbert@uk.psi.com> To: "Jason Hunt" <jhunt@satx.rr.com> Cc: <questions@FreeBSD.ORG> Subject: RE: FreeBSD/Xfree86 4.01/IntelliMouse Message-ID: <FMEDIJKKKMABBAOLJMLKEEGCCMAA.daniel.cuthbert@uk.psi.com> In-Reply-To: <3A08046E.5DE10C54@satx.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Easy This is relatively easy to do. You must be using XFree 4.x for this to work though, as this mouse technically has 7 buttons, and 3.x only supports up to 5. The mouse section in your XF86Config should look like this: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" Option "Buttons" "7" EndSection You have to map the mousewheel out of the way as shown, as otherwise the extra buttons aren't detected. Now we can swap stuff back though. Either add this line to your .xinitrc: xmodmap -e "pointer = 1 2 3 6 7 4 5" or add this line to your ~/.Xmodmap: pointer = 1 2 3 6 7 4 5. That's it. The side buttons will be 6 and 7 now, and mousewheel scrolling will work as ever. You can bind the buttons to do whatever you like in your favorite windowmanager and applications. Dan Cuthbert European Hosting Research & Engineering PSINet Datacentres mobile : +44 77 1279 0646 -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Jason Hunt Sent: 07 November 2000 13:33 Cc: questions@FreeBSD.ORG Subject: FreeBSD/Xfree86 4.01/IntelliMouse greetings, i have a problem, someone might be able to help me out with. i am new to freeBSD, but not unix. mouse is causing me some problems in X. my /etc/ X11/XF86Config has this information in the pointer section. Identifier "Mouse1" Driver "mouse" Option "Protocol" "PS/2" Option "Device" "/dev/mouse" i also tried "ExplorerPS/2", but it seems that is not supported under freebsd. Anyway, when X starts the mouse acts crazy.. can't do anything.. I use the exact same mouse in xfree86 4.01 in linux, with no problems. does it have something to do with the mouse daemon that freebsd runs? i noticed it is using moused -t intellimouse -p /dev/psm0 for its syntax.. i tried setting the dev to /dev/psm0, but no luck either. thanks for any help To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FMEDIJKKKMABBAOLJMLKEEGCCMAA.daniel.cuthbert>