LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   xorg 6.9 breaks mouse buttons (http://www.linuxquestions.org/questions/slackware-14/xorg-6-9-breaks-mouse-buttons-410865/)

granth 02-02-2006 09:35 AM

xorg 6.9 breaks mouse buttons
 
I recently upgraded to xorg 6.9 from slackware-current using swaret. After a reboot I noticed that my mouse scroll was no longer working. I have a logitech mx 700 and my config is as follows:

xorg.conf

ExplorerPS/2
Buttons 7
ZAxisMapping 6 7

Xmodmap

pointer = 1 2 3 6 7 4 5


This config worked great until the upgrade. My scroll buttons worked fine and my forward/back buttons worked fine with firefox.

Now, I managed to get the scroll working again but my back/forward buttons do not. I searched around and saw that some people are using evdev but it appears that it is not built into xorg. I have the kernel driver installed for it but I read that there is a module for xorg that also needs installed.

Anyway, has anyone experienced this or got this working again? I miss my buttons!

Thanks,

Grant

mint567 02-02-2006 09:45 AM

ZAxisMapping "6 7"
Buttons "7"

xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7 10 11"

detpenguin 02-02-2006 10:09 AM

xorg 6.9 also messed up my resolution settings...not allowing me to configure my monitor with the right settings...i removed it and reinstalled 6.8.2...at least that works. seems like 6.9 is still way buggy...i can wait til they fix it.

raska 02-02-2006 11:16 AM

Quote:

Originally Posted by granth
I recently upgraded to xorg 6.9 from slackware-current using swaret. After a reboot I noticed that my mouse scroll was no longer working.

I feel your pain ...

I had the very exact problem here, a few days ago. I have and use a trackball like this one (you can't blame it for being micro$oft's hardware, it's nice). It's configured like a 7-button mouse, I use imwheel to assign functions to the other buttons. I got problems with the scrolls and the extra buttons one-day long, until I remembered that I had updated the X11 packages :scratch:

Solution? Pretty much like detpenguin's one: go back to 6.8.2

PS: how come a software-maker like Micro$oft can sell such beautiful, nice and neat pieces of hardware but develop such bad software?

mint567 02-02-2006 11:35 AM

I am using Zenwalk, slackware based and running xorg 6.9 and it runs fine for me.

This will fix your mouse scroll problems and you will have front and back.

Right now i am using protocol Auto i beleive.
xorg.conf
ZAxisMapping "6 7"
Buttons "7"

in terminal or .xinitrc .xsession
xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7 10 11"

Shoul get u back on track.

raska 02-02-2006 11:59 AM

Quote:

Originally Posted by mint567
Right now i am using protocol Auto i beleive.
xorg.conf
ZAxisMapping "6 7"
Buttons "7"

in terminal or .xinitrc .xsession
xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7 10 11"

my xorg.conf file is just like that (my protocol is ExplorerPS/2 and the device is /dev/input/mice)

I have this couple of lines in my ~/.xinitrc
Code:

xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -b "67"

which allow me to 'remap' the mouse buttons, keeping the vertical scroll on the middle wheel-button, and I reconfigured the other 2 buttons with imwheel (X thinks of them as an horizontal wheel-button)

in ~/.imwheelrc I got:
Code:

"(null)"
None, Up, Control_L|Shift_L|I
None, Down, Control_L|Shift_L|A

".*"
None, Up, Control_L|Shift_L|I
None, Down, Control_L|Shift_L|A

I need to figure out which buttons pass to the .imwheelrc file, or will they be just "67" like before? :scratch:

Likely I shall upgrade to xorg 6.9 and mess up with imwheel until it's "fixed". Shall feedback ye if success :D

granth 02-04-2006 01:24 AM

Quote:

Originally Posted by mint567
I am using Zenwalk, slackware based and running xorg 6.9 and it runs fine for me.

This will fix your mouse scroll problems and you will have front and back.

Right now i am using protocol Auto i beleive.
xorg.conf
ZAxisMapping "6 7"
Buttons "7"

in terminal or .xinitrc .xsession
xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7 10 11"

Shoul get u back on track.


It worked. Thanks for your help mint!

HappyTux 02-04-2006 09:14 AM

Quote:

Originally Posted by raska
I feel your pain ...

I had the very exact problem here, a few days ago. I have and use a trackball like this one (you can't blame it for being micro$oft's hardware, it's nice). It's configured like a 7-button mouse, I use imwheel to assign functions to the other buttons. I got problems with the scrolls and the extra buttons one-day long, until I remembered that I had updated the X11 packages :scratch:

Solution? Pretty much like detpenguin's one: go back to 6.8.2

PS: how come a software-maker like Micro$oft can sell such beautiful, nice and neat pieces of hardware but develop such bad software?

I just spent at least two hours yesterday getting that exact mouse working with Debian Xorg 6.9. Here is the bits of my configs I used to get it going. First you need to use nine buttons in your xorg.conf like this.

Code:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "CorePointer"
#      Option      "Protocol" "ImPS/2"
#      Option      "Device" "/dev/psaux"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "Buttons"  "9"
        Option      "ZAxisMapping" "6 7"
        Option      "Emulate3Buttons"  "False"
#      Option      "ZAxisMapping"  "4 5"
EndSection

Then you need to use these lines in a startup file of your choice X thinks it has thirteen buttons so you need the extra numbers to get it too work.
Code:

## added by me for mouse extra buttons
imwheel  -fkb "67"
xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7 10 11 12 13"

And I used this in my .imwheelrc to get the extra side buttons to work as forward and back in Konqueror.

Code:

"^konqueror$"
None, Up, Alt_L|Left
None, Down, Alt_L|Right

I found all this after much searching/reading/restarts of the X server on a Gentoo wiki page here this shit should really easier to do. In answer to your PS because no one will buy crap hardware twice so they have to get it right if they actually want to sell it.

j79zlr 02-04-2006 01:34 PM

Remove the ZAxisMapping and Buttons options from xorg.conf. Forget imwheel, it is no longer needed. For an ExplorerPS/2 and the navigation buttons, you need this in your xorg mouse section:

Code:

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "ExplorerPS/2"
        Option      "Device" "/dev/mouse"
EndSection

and .Xmodmap:

Code:

pointer = 1 2 3 4 5 8 9 6 7 10 11
That is it.

raska 02-04-2006 01:48 PM

Quote:

Originally Posted by j79zlr
Code:

Option      "Device" "/dev/mouse"...

That is NOT going to work for me, I've tried it lots of times before, thanks anyway. Now xorg 6.9 is working alright with HappyTux's directions, thanks bro.

Quote:

Originally Posted by j79zlr
Forget imwheel, it is no longer needed.

No way, I use it to bind on my extra trackball's buttons a couple of programs which I use a lot on KDE: Kommando and Komposť ;)

HappyTux 02-04-2006 02:32 PM

Quote:

Originally Posted by raska
That is NOT going to work for me, I've tried it lots of times before, thanks anyway. Now xorg 6.9 is working alright with HappyTux's directions, thanks bro.

Your welcome good to hear you got it going.
Quote:

Quote:

Originally Posted by j79zlr
Forget imwheel, it is no longer needed.
No way, I use it to bind on my extra trackball's buttons a couple of programs which I use a lot on KDE: Kommando and Komposť ;)
That and his suggestion does not work here for me just spent another 15 minutes on it, although it did give me the chance to clean it up and put the settings into the proper files for Debian so it was not a total waste of time I think I will go post it all to the HCL now.


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