LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-01-2006, 09:00 PM   #1
jnorcal
Member
 
Registered: Aug 2005
Distribution: slackware 10.2 kernel 2.6.15.5
Posts: 31

Rep: Reputation: 15
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.
 
Old 03-02-2006, 01:47 AM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 03-02-2006, 02:08 AM   #3
diego_cn
Member
 
Registered: Mar 2006
Distribution: fedora 7
Posts: 62

Rep: Reputation: 16
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
 
Old 03-02-2006, 01:16 PM   #4
jnorcal
Member
 
Registered: Aug 2005
Distribution: slackware 10.2 kernel 2.6.15.5
Posts: 31

Original Poster
Rep: Reputation: 15
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
 
Old 03-02-2006, 01:42 PM   #5
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
What does your .Xmodmap say?
 
Old 03-02-2006, 07:52 PM   #6
jnorcal
Member
 
Registered: Aug 2005
Distribution: slackware 10.2 kernel 2.6.15.5
Posts: 31

Original Poster
Rep: Reputation: 15
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?
 
Old 03-02-2006, 08:31 PM   #7
j79zlr
Member
 
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38

Rep: Reputation: 15
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.
 
Old 03-06-2006, 05:41 PM   #8
jnorcal
Member
 
Registered: Aug 2005
Distribution: slackware 10.2 kernel 2.6.15.5
Posts: 31

Original Poster
Rep: Reputation: 15
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.
 
Old 03-07-2006, 05:25 AM   #9
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 03-07-2006, 05:30 AM   #10
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 05-10-2006, 12:07 AM   #11
Hunter2
Member
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43

Rep: Reputation: 15
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.

Last edited by Hunter2; 05-10-2006 at 12:09 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
logitech mx500...mouse buttons tjb Fedora 6 01-26-2006 06:10 AM
Logitech MX500 and Shortcut Keys on Debian WiteOut Linux - Hardware 3 11-03-2005 10:01 AM
No Button 4 - Logitech Trackball Tim Johnson Linux - Software 0 10-15-2004 10:46 AM
Logitech MX500 mouse buttons matthewchng Slackware 3 12-19-2003 05:00 AM
Prob with Audigy2, Logitech MX500,... Werwolf Linux - Hardware 1 09-23-2003 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration