LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   LOGITECH MX500 button problem (https://www.linuxquestions.org/questions/slackware-14/logitech-mx500-button-problem-420777/)

jnorcal 03-01-2006 09:00 PM

LOGITECH MX500 button problem
 
For some reason my mouse buttns do not work anymore only the left and right mouse button?? I had it working fine with all of them and then I upgraded slack and now I got problems. heres my Xorg and yes i edited my .xintrc. I need some insight..
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "10"
Option "ZAxisMapping" "8 9"
I also tried all the walkthroughs on linux gamers etc. I am using it through a kvm with the ps2 converter.

simcox1 03-02-2006 01:47 AM

So you've got the pointer = 123894567 in .Xmodmap? What did you upgrade to? Current? It might also have something to do with the kvm.

diego_cn 03-02-2006 02:08 AM

Not sure if you have seen this but it used a program called IMWheel to help map the buttoms to keyboard.

http://www.glaurung.demon.co.uk/info...500.howto.html

jnorcal 03-02-2006 01:16 PM

I upgraded to the new kde 3.5 and kernel 2.6.15.3.
heres my .xintrc

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
xmodmap -e "pointer = 1 3 2 4 5 8 9 6 7 10"
xbindkeys

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# Start the window manager:
startkde

simcox1 03-02-2006 01:42 PM

What does your .Xmodmap say?

jnorcal 03-02-2006 07:52 PM

Quote:

Originally Posted by simcox1
What does your .Xmodmap say?

My post above is my xmodmap its the .xintrc that you enter the xmod in right? Or am I missing something?

j79zlr 03-02-2006 08:31 PM

Remove from your xorg config file

Option "Buttons" "10"
Option "ZAxisMapping" "8 9"

Remove the xmodmap line from .xinitrc.

The new x11 should deal with your mouse without any configuration. If you are still having errors, use xev to see what the buttons are being detected as.

jnorcal 03-06-2006 05:41 PM

I tried all that and my mouse wheel still doesnt work and it recognizes my left right and middle mouse. both thumb buttons are as middle mouse too WTF? It works properly in windows so I assume its not the kvm. But maybe since windows accepts sloppy device actions?? I will bypass my kvm and see.

simcox1 03-07-2006 05:25 AM

I dont use the xinitrc like that myself. With a 2.4 kernel, I created a .Xmodmap file in /etc/X11/xinit/.Xmodmap, and just put pointer = 1 2 3 6 7 4 5 in there. In my /etc/X11/xorg.conf, I've got:

Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "6 7"

That's for a logitech wireless mouse with left/right/middle click, scroll up/down, and 2 side buttons for back/forward.

In other words, your original post looked ok, but try creating a .Xmodmap file and putting the 'pointer =' info in there instead of your xinitrc file.

simcox1 03-07-2006 05:30 AM

I noticed you've got .xmodmap settings in your xinitrc file It says

usermodmap=$HOME/.Xmodmap

and

sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

So create your .Xmodmap file in one of those locations. One will affect just your user and the other is system wide.

Hunter2 05-10-2006 12:07 AM

Hey, I'm also trying to get my mouse working.. I did the same thing as you, but it seems that xinitrc never gets processed unless I use the XDM session manager (ugly). The XFce window manager is an exception, but then my xinitrc.xfce is a symlink to a file specific to XFce, so I think xinitrc.xfce is executed as part of XFce's startup routine, not that of X, and therefore won't work for other window managers. Does anyone know whether there's anything I can use that gets automatically executed, regardless of window manager, after X initializes? I tried /etc/rc.d/rc.4, but that runs before X starts so xmodmap gives a display error.

I'm pretty sure this is all I need now (everything works perfectly if I just manually enter the xmodmap line in a terminal), but I've been working on this all day and I've run out of ideas for config files and shell scripts to prod. Any help would be greatly appreciated.

**EDIT**
I think it also works if I just say 'startx', but then I'd be on runlevel 3 and wouldn't have the pretty GUI for window manager selection. I'm hoping to get this to work even if I just boot straight into runlevel 4.


All times are GMT -5. The time now is 04:04 PM.