LinuxQuestions.org
Visit Jeremy's Blog.
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 02-02-2006, 09:35 AM   #1
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Rep: Reputation: 55
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
 
Old 02-02-2006, 09:45 AM   #2
mint567
Member
 
Registered: Nov 2003
Location: Georgia
Distribution: Slackware 10.2
Posts: 75

Rep: Reputation: 15
ZAxisMapping "6 7"
Buttons "7"

xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7 10 11"
 
Old 02-02-2006, 10:09 AM   #3
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
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.
 
Old 02-02-2006, 11:16 AM   #4
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
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

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?
 
Old 02-02-2006, 11:35 AM   #5
mint567
Member
 
Registered: Nov 2003
Location: Georgia
Distribution: Slackware 10.2
Posts: 75

Rep: Reputation: 15
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.
 
Old 02-02-2006, 11:59 AM   #6
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
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?

Likely I shall upgrade to xorg 6.9 and mess up with imwheel until it's "fixed". Shall feedback ye if success
 
Old 02-04-2006, 01:24 AM   #7
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Original Poster
Rep: Reputation: 55
Lightbulb

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!
 
Old 02-04-2006, 09:14 AM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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

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.
 
Old 02-04-2006, 01:34 PM   #9
j79zlr
Member
 
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38

Rep: Reputation: 15
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.
 
Old 02-04-2006, 01:48 PM   #10
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
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é
 
Old 02-04-2006, 02:32 PM   #11
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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.
 
  


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
Mouse Buttons? carlosinfl Linux - Hardware 2 01-23-2006 07:18 AM
mouse buttons 6 and 7 tardigrade Linux - Software 8 12-05-2004 10:25 PM
Xorg, mouse side-buttons and xmodmap. At the end of my wits. Nordmann Slackware 3 08-23-2004 02:18 PM
2.6.0-test9-mm1 breaks PS/2 mouse function wrc1944 Linux - General 1 10-30-2003 05:16 PM
..But my mouse does have 5 buttons!!! Grimnir Linux - General 12 02-18-2002 07:15 AM

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

All times are GMT -5. The time now is 08:51 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