LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problems getting Logitech G5 working properly (https://www.linuxquestions.org/questions/slackware-14/problems-getting-logitech-g5-working-properly-506104/)

drlouis 11-29-2006 11:28 PM

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.

todders 11-30-2006 05:01 PM

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

worth a try anyway

regards

adrian

drlouis 12-03-2006 11:19 PM

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.

DaWallace 12-04-2006 06:19 AM

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.

drlouis 12-05-2006 01:40 AM

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.

KillerOfGiants 12-05-2006 11:17 AM

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.

todders 12-05-2006 03:19 PM

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

DaWallace 12-05-2006 03:21 PM

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.

drlouis 12-05-2006 09:47 PM

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.


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