LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-29-2006, 11:28 PM   #1
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Rep: Reputation: 15
Problems getting Logitech G5 working properly


I'm running Slackware 11, the mouse is a USB Logitech G5. I'd like to get all the buttons, and the scroll/tilt wheel working properly.

So far I've tried:

Code:
Option "Protocol" "IMPS/2"
with and without

Code:
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
I've tried

Code:
Option "Protocol" "ExplorerPS/2"
I've even tried:
Code:
Section "InputDevice"
  Identifier      "Evdev Mouse"
  Driver          "evdev"
  Option          "Name" "Logitech USB Gaming Mouse"
  Option          "CorePointer"
EndSection
along with
Code:
Section "ServerLayout"
  Identifier     "Default Layout"
  Screen 0       "Monitor0" 0 0
  InputDevice    "Keyboard0" "CoreKeyboard"
  InputDevice    "Evdev Mouse" "CorePointer"
EndSection
because I was getting desperate.



cat /proc/bus/input/devices | egrep "Name|Handlers"

gives:
Code:
N: Name="Logitech USB Gaming Mouse"
H: Handlers=mouse0 event0
I've been all over google, and even tried ask.com. I'm out of ideas. Does anyone have this mouse working properly? or have any other ideas I can try?

Thanks for any help you can give this is driving me nuts.
 
Old 11-30-2006, 05:01 PM   #2
todders
Member
 
Registered: Nov 2006
Location: watford
Distribution: Slackware 13 64Bit Multi-Lib KDE4.2.4
Posts: 83

Rep: Reputation: 18
i would try using the auto option in xorg.cong just uncomment the
Option "Protocol" "Auto"

worth a try anyway

regards

adrian
 
Old 12-03-2006, 11:19 PM   #3
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by todders
i would try using the auto option in xorg.cong just uncomment the
Option "Protocol" "Auto"

worth a try anyway

regards

adrian
Sorry to take so long posting back, I've been pretty sick (flu).

Anyway, thanks for the idea, it DID get the scroll wheel working properly, although the side scroll and thumb button dont yet. I can live with it as is for now.

Thanks again.
 
Old 12-04-2006, 06:19 AM   #4
DaWallace
Member
 
Registered: Feb 2004
Location: Southern Maine, United States
Distribution: Slackware Ubuntu Debian FreeBSD
Posts: 418

Rep: Reputation: 31
I use the evdev driver, which caused me some headaches during an update, the damn thing crashed X randomly.

anyway, to get the side scrolling working you have to add the side buttons to zaxismapping like so.

Option "zaxismapping" "4 5 7 6"

depending on the version of X you're using, how you refer to the device and loads of other voodoo magic the buttons may or may not be inverted as mine are.

my side button works, Xinput wise, I can use it in games and such. I never bothered making it the back button in browsers, since logitech made it a little useless for that by omitting the forward button on the G5.
 
Old 12-05-2006, 01:40 AM   #5
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by DaWallace
I use the evdev driver, which caused me some headaches during an update, the damn thing crashed X randomly.

anyway, to get the side scrolling working you have to add the side buttons to zaxismapping like so.

Option "zaxismapping" "4 5 7 6"

depending on the version of X you're using, how you refer to the device and loads of other voodoo magic the buttons may or may not be inverted as mine are.

my side button works, Xinput wise, I can use it in games and such. I never bothered making it the back button in browsers, since logitech made it a little useless for that by omitting the forward button on the G5.
thanks for the suggestion.

It had no discernible effect, but it was certainly worth a shot.

would I need to be using evdev for this to work? Cuz I'm not (which is why I put the bit about using the evdev entries out of desperation in my original post)

Thanks again.

Last edited by drlouis; 12-05-2006 at 01:43 AM.
 
Old 12-05-2006, 11:17 AM   #6
KillerOfGiants
LQ Newbie
 
Registered: Feb 2004
Location: BG
Distribution: Slackware-current
Posts: 29

Rep: Reputation: 15
OK so go to http://imwheel.sourceforge.net/ and get the latest imwheel
compile like usual
./configure && make && make install

then replace the /etc/X11/imwheel/imwheelrc
with this one http://linux.netpimpz.com/mx700/imwheelrc (you can do a "save as" in konqueror)

then do mcedit /etc/X11/xorg.conf in console and make it look like that:

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
#Option "ZaxisMapping" "6 7"
Option "Device" "/dev/mouse"

the do mcedit /root/.kde/Autostart/mouse.sh

and add this to it:
imwheel -k -p -b "89"
xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9 10 11"

this is it the mouse works like charm... all the extra buttons except the program button which does nothing
ohhh the autoscroll button up is kinda messed
asides its great


the original idea comes from :
http://linux.netpimpz.com/mx700/ so you can use it as reference but i think i gave you all the info needed + if you use two sources you can mess up because i modified it a little

good luck!
EDIT!!!
Didnt notice your mouse have the tilt scroll....
sry to tell you but i dont think my solution is gonna work without changing the xmodmap key arrangement.
try it anyways if you dont have any other choices.

Last edited by KillerOfGiants; 12-05-2006 at 12:19 PM.
 
Old 12-05-2006, 03:19 PM   #7
todders
Member
 
Registered: Nov 2006
Location: watford
Distribution: Slackware 13 64Bit Multi-Lib KDE4.2.4
Posts: 83

Rep: Reputation: 18
glad you are getting somewhere,its all baby steps lol,iam sure you will eventually have this sorted out,and by the end of it hopefully you may have learned a lot more about your hardware at the same time...

hope you feel better too...

regards

adrian
 
Old 12-05-2006, 03:21 PM   #8
DaWallace
Member
 
Registered: Feb 2004
Location: Southern Maine, United States
Distribution: Slackware Ubuntu Debian FreeBSD
Posts: 418

Rep: Reputation: 31
Quote:
Originally Posted by drlouis
would I need to be using evdev for this to work?
yes, I know of no other way to get the tilt scroll or side button working.
evdev is a little tricky.
the mouse seems smoother with the evdev driver, you might not notice it at first but the difference is noticable when you go back to the normal mouse driver. it's really worth getting it working, even if you don't want the tilt on side button.

the only thing I can think to suggest is to make sure you have the event driver enabled in the kernel, and try specifying the event device instead of just the name. though you would need to add some udev rules if you were to do this permanently.

Last edited by DaWallace; 12-05-2006 at 03:24 PM.
 
Old 12-05-2006, 09:47 PM   #9
drlouis
Member
 
Registered: Aug 2004
Location: Ne
Distribution: slackware 12 on Dell XPS m1710
Posts: 90

Original Poster
Rep: Reputation: 15
Thanks guys, looked around and getting evdev working on Slackware sounds like it might be a bit more than I want to tackle at the moment. I appreciate the info tho, and I'll bookmark this thread so I can come back to it.
 
  


Reply



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 MX Duo USB Does not work properly n e r d Linux - Hardware 1 05-30-2006 01:42 PM
How to get my Logitech 1000 mouse to work properly in SUSE 10.0 ausm SUSE / openSUSE 1 12-12-2005 12:54 PM
X not working properly. MylesCLin Linux - Software 1 09-15-2004 10:46 AM
Logitech Cordless mouse not working properly olix Mandriva 5 09-26-2003 01:42 PM
ACL not working properly alpesh Linux From Scratch 0 07-26-2003 02:02 AM

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

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

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