LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2006, 02:50 AM   #1
Donniey
LQ Newbie
 
Registered: May 2005
Posts: 12

Rep: Reputation: 0
Trying to get Logitech mx518 working with usb...


Distro: Slackware 10.2
Kernal: 2.4.31

It works fine when i have it with the ps/2 adapter and IMPS/2 protocol in xorg.conf, but it only gives me support for the 2 main buttons, and im not exactly sure what i have to do to get it working via the usb. I also need to know what protocol to use in the conf file (im guessing logitech? idk, when i first saw that it seemed too easy...). Any help is greatly appreciated

And if you need any other info from me, ill be happy to look it up
 
Old 01-20-2006, 06:07 AM   #2
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
I'm not exactly sure about the mx518 and Slackware, because I'm using mx310 and Ubuntu, but what works for one Logitech-product often works also for a similar. So here are my xorg.conf entries:
Code:
Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Buttons" "7"              #the overall buttons-number plus two for the wheel
    Option         "Emulate3Buttons" "true"
    Option         "ZAxisMapping" "4 5"       #these are the two buttons for wheel-up/down and may vary
EndSection
Maybe that will help...
 
Old 01-20-2006, 06:25 AM   #3
onjoo
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Suse 10, Suse-factory , RHEL4, SLES9, SLED10
Posts: 380

Rep: Reputation: 30
Here is my effort to help you.

The howto is for logitech mx700 / mx510 on suse , but atleast you'll get some hints from that

http://forums.suselinuxsupport.de/lo...hp/t14384.html
 
Old 01-20-2006, 06:58 PM   #4
Donniey
LQ Newbie
 
Registered: May 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Flesym
I'm not exactly sure about the mx518 and Slackware, because I'm using mx310 and Ubuntu, but what works for one Logitech-product often works also for a similar. So here are my xorg.conf entries:
Code:
Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Buttons" "7"              #the overall buttons-number plus two for the wheel
    Option         "Emulate3Buttons" "true"
    Option         "ZAxisMapping" "4 5"       #these are the two buttons for wheel-up/down and may vary
EndSection
Maybe that will help...
Ok, thanks, that worked. Only problem is the Forward and Back Buttons on the side arent doing anything when i click them. Anyone know how to fix this?
 
Old 01-20-2006, 08:35 PM   #5
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
As far as I know, the mx518 is a 8-buttons mouse? -If so, then you have to set
Code:
Option  "Buttons" "10"  #instead of "7" like in my example above
I'm not sure, but I guess that this will also cause to shift the wheel-buttons, so if you are not able to scroll anymore try:
Code:
Option   "ZAxisMapping" "7 8"
Maybe it is also necessary to re-map some buttons, so that every button does what you want it to do. You can "try" different mappings with the command 'xmodmap'. So open a terminal and type something like:
Code:
xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9 10"
Open a web browser (or something else that supports "many buttons") an check if everything works the way you want. If, in example, button 9 and 10 do what you think button 4 and 5 actually should do, then run again 'xmodmap' but this time:
Code:
xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"
Remember that 'wheel-up' as well as 'wheel-down' are also just buttons (so you can also configure that scolling up and down works like left- and right-button) Play around with these numbers until everything feels good for you, or ask google; I guess that someone already figured out the usual button-mapping for your mouse.

However, when you know the correct order then write it to the file '/etc/X11/Xmodmap' (maybe you have to create this). The file should contain something like:
Code:
pointer = 1 2 3 6 7 8 9 10 4 5
 
Old 01-20-2006, 11:51 PM   #6
Donniey
LQ Newbie
 
Registered: May 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, that did it. thanks for all the help
 
  


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 USB Wireless Mouse not working anymore linda Linux - Hardware 4 05-08-2008 05:40 AM
Logitech MX518 Mouse config sweetnsourbkr Slackware 7 10-15-2005 12:12 AM
Logitech MX518 + Ubuntu 4.10 + ET zivs Linux - Newbie 3 07-15-2005 11:18 PM
Logitech usb mouse stooped working mtsledhead Linux - Newbie 2 03-26-2005 10:46 PM
Logitech USB Mouse Wheel not working on Slackware 9.1 Ken Ju-On Linux - Hardware 9 04-11-2004 11:39 PM


All times are GMT -5. The time now is 05:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration