Click to See Complete Forum and Search --> : USB 7 Button Mouse
jrbush82
08-21-2001, 03:20 AM
I've gone through the NHF for this Micro$oft USB Intellimouse, along with the stuff from xfree86.org and I've looked on linuxdoc.org for information on getting my mouse working with at least the middle button that scrolls! I can't seem to get it for the world. If I change my protocol from PS/2 to anything else, then my mouse goes bazzerk when I load X. I have tried adding the option "Buttons" "7" ZAxis option, and as long as the protocol is PS/2, they give me no errors, but there is still no scroll mouse. Any ideas on why I can't get my usb mouse to work with anyting other than the 3 clicking buttons?
Thanks,
Jason
Malakin
08-21-2001, 04:14 AM
Did you read this? http://www.linuxnewbie.org/nhf/intel/hardware/intellimouseexplorer.html
jrbush82
08-21-2001, 10:27 AM
I've gone through the NHF for this Micro$oft USB Intellimouse
mcmanus69
08-21-2001, 10:54 AM
Try running:
xmodmap -e "pointer = 1 2 3 6 7 4 5" (if you set the scroll up and down to 6 and 7 that is. If you set it to 4 5 then you hafta put 1 2 3 4 5 6 7)
jrbush82
08-21-2001, 04:03 PM
I've done that, nothing changed...
Gaccm
08-21-2001, 04:20 PM
Here is what i have in my xfree86config file to get my USB logitech 3 button +whell mouse to fully work:
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
i don't use gdm, if you do, then you need to change the "device" thing
mcmanus69
08-21-2001, 05:45 PM
Originally posted by jrbush82:
<STRONG>I've done that, nothing changed...</STRONG>
Your /etc/X11/XF86Config-4 file should have these lines:
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7" (or "4 5")
then if you run xmodmap -e "pointer = 1 2 3 6 7 4 5" it should work. So check your XF86Config-4 file.
[ 21 August 2001: Message edited by: mcmanus69 ]
jrbush82
08-21-2001, 09:48 PM
YES! I got it working with the last couple of posts. Thanks guys. One more thing... how do I run xmodmap on startup so that I don't have to type it each time?
mcmanus69
08-21-2001, 09:53 PM
You can put it in .xinitrc or .Xsession , depending on what distro you use. Those worked for SuSE. However, I'm using Mandrake right now and it doesn't exactly follow too many standards, and I have yet to figure out where I can put startup scripts. Sorry, but I don't understand the MDK file structuring very well, and plan on switching to Slackware or Debian soon.
jrbush82
08-21-2001, 10:16 PM
welp, that didn't work, tried the .xinitrc, got a x-server error deal and died back to console
Malakin
08-21-2001, 10:23 PM
Make a script that definitely works and if you're using KDE put it in your "$HOME/.kde/Autostart" folder.
jrbush82
08-21-2001, 10:32 PM
well.. I wrote a perl script and made it executable, and it was in Autostart, but it didn't work
Icculus
08-22-2001, 05:14 PM
do you need to install your mouse as a ps2 or will this work with it as a USB
jrbush82
08-22-2001, 06:04 PM
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection
this is how I have it in my script, and then I have to run:
xmodmap -e "pointer = 1 2 3 6 7 4 5"
on X-Windows startup...
You can make a script and put it in your Autostart for KDE if you use it...
#!/bin/bash
xmodmap -e "pointer = 1 2 3 6 7 4 5"
save it as mouse, make it executable, and put it in ~HOME/.kde/Autostart
good luck
xIcculusx
08-23-2001, 06:24 PM
do i need to cahnge my mouse to ps2 ? :)