LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 09-16-2004, 04:27 AM   #1
Makaelin
Member
 
Registered: Mar 2004
Location: Minneapolis, MN
Distribution: Slackware 10.1
Posts: 93
Thanked: 0
Logitech mx700 USB Mouse


[Log in to get rid of this advertisement]
Tried doing a search for this model, but none of the config suggestions in the other posts seemed to work.

The mouse is working for the most part. However, all the buttons are doing the wrong things, heh. The scrollwheel is operating as the back/forward buttons, and those buttons are acting as the scrollwheel. The cruise control buttons are also acting as back/forward.

My xorg.conf file is as follows (I also tried ExplorerPS/2 with the same results):

Code:
 Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"
    Option "Buttons" "7"
    Option "ZAxisMapping" "6 7"
I've also tried changing buttons to 5, and mapping to "4 5". The mouse functioned, but the scrollwheel did nothing in that config.

Going to keep researching. If anyone has any ideas, would love to hear them. Can't wait to try and get my Logitech Elite Keyboard special keys working!
Makaelin is offline     Reply With Quote
Old 09-16-2004, 04:38 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,138
Thanked: 0
Did you try:
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"

(Try with the Option "Protocol" "ExplorerPS/2" it works better for what i've seen)

I've a friend that has a mx500 running fine on linux, i'll ask him later to see if there's something different.
gbonvehi is offline     Reply With Quote
Old 09-16-2004, 04:45 AM   #3
Makaelin
Member
 
Registered: Mar 2004
Location: Minneapolis, MN
Distribution: Slackware 10.1
Posts: 93
Thanked: 0

Original Poster
Haha, getting closer. I changed the mapping to "4 5", and now the scrollwheel and cruise buttons work correctly. The back/forward buttons are acting like right-clicking, but being able to scroll is a definite improvement. When I change it to ExplorerPS/2, they don't do anything, but the scroll still works correctly.

That'd be great if you can check with your friend and see how his is set up, since the mx500 is identical. Really appreciate the help!

Last edited by Makaelin; 09-16-2004 at 04:48 AM..
Makaelin is offline     Reply With Quote
Old 09-16-2004, 12:33 PM   #4
icom158
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware-10.2
Posts: 21
Thanked: 0
Link from imwheel
http://www.glaurung.demon.co.uk/info...500.howto.html

imwheel intercepts the mouse commands and sends events instead. i.e. it makes the thumb buttons do forward and back.
everything works perfectly with one problem below. If my memory serves me correctly, the explorer only had one thumb button. Somebody needs to write a new protocol to make it work fully. I might try and learn how to do it.
Here's mine
Logitech MX500

/etc/X11/xorg.conf
Code:
Section "InputDevice"
     Identifier   "Mouse2"
     Driver       "mouse"
     Option       "Protocol" "ExplorerPS/2"
     Option       "Device" "/dev/input/mice"
     Option       "Emulate3Buttons"
     Option       "Emulate3Timeout"     "70"
     Option       "InputFashion" "Mouse"
     Option       "Buttons" "7"
     Option       "ButtonNumber" "7"
     Option       "ZAxisMapping" "6 7"
EndSection
Download and install imwheel. Modify the file for mozilla for back and forward


/etc/X11/imwheel/imwheelrc
Code:
"^Mozilla-bin$"
# ...

# Left/Right & Thumb stuff
None, Left, Left, 7,
None, Right, Right, 7,
None, Thumb1, Alt_L|Left, 7,
Shift_L, Thumb1, Up, 7,
None, Thumb2, Alt_L|Right, 7,
Shift_L, Thumb2, Down, 7,
Modify the X11 startup script to handle the changes to your mouse.


~/.xinitrc
Code:
xsetpointer Mouse2
xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -p -b "000067"
Up arrow doesn't work, because it sends two thumb commands instead of a unique command. Either have two thumb buttons and down arrow or one thumb and two arrows.
icom158 is offline     Reply With Quote
Old 09-16-2004, 05:21 PM   #5
Makaelin
Member
 
Registered: Mar 2004
Location: Minneapolis, MN
Distribution: Slackware 10.1
Posts: 93
Thanked: 0

Original Poster
Great, thanks. I actually didn't even need imwheel, I just used xmodmap, edited .xinitrc, and everything is working fine. I'll install imwheel if it turns out it doesn't function in some applications, but so far so good.
Makaelin is offline     Reply With Quote
Old 09-16-2004, 07:31 PM   #6
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 12
Posts: 80
Thanked: 0
Quote:
Originally posted by Makaelin
Great, thanks. I actually didn't even need imwheel, I just used xmodmap, edited .xinitrc, and everything is working fine. I'll install imwheel if it turns out it doesn't function in some applications, but so far so good.
Can you let me know the changes you made?
Skazi is offline     Reply With Quote
Old 09-16-2004, 07:45 PM   #7
Makaelin
Member
 
Registered: Mar 2004
Location: Minneapolis, MN
Distribution: Slackware 10.1
Posts: 93
Thanked: 0

Original Poster
Sure thing!

First off, my xorg.conf looks like this:

Code:
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/mouse"
    Option "Buttons" "7"
    Option "ButtonNumber" "7"
    Option "ZAxisMapping" "6 7"
After loading up with that, I opened a console and typed in xmodmap -pp, which should then give you a list of the pointer buttons, one through seven. All should be linked to themselves (ie, 1 -> 1, 2 -> 2, etc....). Back at the command line, I typed in xmodmap -e "pointer = 1 2 3 6 7 4 5", and hit enter. That remapped the 6 and 7 buttons (scroll wheel) to be identified as 4 and 5 (normally what X-apps consider the scroll wheel).

Closing the console, I checked and made sure it worked. When I saw that everything worked fine, I just edited my ~/.xinitrc file to contain the line from above:

xmodmap -e "pointer = 1 2 3 6 7 4 5"

Voila. That's what worked for me. I'm looking into whether or not there's a higher file that I can add the line to that will make it default for any user account that's created.
Makaelin is offline     Reply With Quote
Old 09-16-2004, 08:14 PM   #8
Skazi
Member
 
Registered: Aug 2004
Location: Minneapolis, MN, USA
Distribution: Slackware 12
Posts: 80
Thanked: 0
Awesome. Thanks.
Skazi is offline     Reply With Quote
Old 10-10-2004, 02:12 PM   #9
CletusJones
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: Slack 10, Debian
Posts: 47
Thanked: 0
Sorry for bumping such an old thread, but I'm trying to do basically the same thing that Makaelin did and I'm having difficulty with xmodmap.

Whenever I try to run xmodmap, I get an error stating that the command was not found.

Code:
bash-2.05b# xmodmap -pp
bash: xmodmap: command not found
What am I missing?
CletusJones is offline     Reply With Quote
Old 10-10-2004, 02:27 PM   #10
Makaelin
Member
 
Registered: Mar 2004
Location: Minneapolis, MN
Distribution: Slackware 10.1
Posts: 93
Thanked: 0

Original Poster
Hmmm, I'm not sure why that would be. Maybe it has something to do with the X version you have? I don't know if xmodmap is something fairly new or not? What version are you running?
Makaelin is offline     Reply With Quote
Old 10-10-2004, 02:38 PM   #11
CletusJones
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: Slack 10, Debian
Posts: 47
Thanked: 0
well, first off i'm a tard and tried to do it from a terminal while running x.

so, i exited out and logged in as root. Now when I try to do any xmodmap command, I get this

xmodmap: unable to open display ''

i actually just upgraded to slack 10 the other day via swaret.
CletusJones is offline     Reply With Quote
Old 10-10-2004, 05:01 PM   #12
Makaelin
Member
 
Registered: Mar 2004
Location: Minneapolis, MN
Distribution: Slackware 10.1
Posts: 93
Thanked: 0

Original Poster
xmodmap works in GNOME for me. Try going back into X, and try to run it as superuser.
Makaelin is offline     Reply With Quote
Old 10-10-2004, 05:10 PM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,138
Thanked: 0
CletusJones, you've to run xmodmap in a X server and with the same user you started it. The best place to put it is in .xinitrc that's called when you start a X server, it's also the file that loads the WMs.
gbonvehi is offline     Reply With Quote
Old 10-10-2004, 05:25 PM   #14
CletusJones
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: Slack 10, Debian
Posts: 47
Thanked: 0
Sweet. That's what I was missing. Thanks!
CletusJones is offline     Reply With Quote
Old 12-18-2004, 03:37 PM   #15
saravkrish
Member
 
Registered: Mar 2004
Location: KY, USA
Distribution: Fedora Core 1
Posts: 190
Thanked: 0
Quote:
Originally posted by Makaelin

....

Closing the console, I checked and made sure it worked. When I saw that everything worked fine, I just edited my ~/.xinitrc file to contain the line from above:

xmodmap -e "pointer = 1 2 3 6 7 4 5"

Voila. That's what worked for me. I'm looking into whether or not there's a higher file that I can add the line to that will make it default for any user account that's created.
You can instead just add this line to /etc/X11/Xmodmap:
Code:
pointer = 1 2 3 6 7 4 5
And everything works just the same. If you don't want to edit the global config, you can add that line to ~/.xmodmap

~Sarav
saravkrish is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 MX700 mouse probs, slack10.2 nadroj Linux - Newbie 3 11-24-2005 01:00 AM
Using a Logitech MX700 mouse with FC1 magicvash Fedora 4 05-06-2004 01:22 PM
Logitech mx700 mouse wireless buttons blixel Linux - Hardware 3 10-05-2003 03:39 PM
Logitech MX700 zoomer Linux - Hardware 7 09-01-2003 02:32 PM
Logitech MX700 DaFrEQ Linux - Hardware 5 02-03-2003 09:12 AM


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

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration