Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-02-2006, 09:35 AM
|
#1
|
Member
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212
Rep:
|
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
|
|
|
02-02-2006, 09:45 AM
|
#2
|
Member
Registered: Nov 2003
Location: Georgia
Distribution: Slackware 10.2
Posts: 75
Rep:
|
ZAxisMapping "6 7"
Buttons "7"
xmodmap -e "pointer = 1 2 3 8 9 4 5 6 7 10 11"
|
|
|
02-02-2006, 10:09 AM
|
#3
|
Senior Member
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098
Rep:
|
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.
|
|
|
02-02-2006, 11:16 AM
|
#4
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
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?
|
|
|
02-02-2006, 11:35 AM
|
#5
|
Member
Registered: Nov 2003
Location: Georgia
Distribution: Slackware 10.2
Posts: 75
Rep:
|
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.
|
|
|
02-02-2006, 11:59 AM
|
#6
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
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 
|
|
|
02-04-2006, 01:24 AM
|
#7
|
Member
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212
Original Poster
Rep:
|
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!
|
|
|
02-04-2006, 09:14 AM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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.
|
|
|
02-04-2006, 01:34 PM
|
#9
|
Member
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38
Rep:
|
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.
|
|
|
02-04-2006, 01:48 PM
|
#10
|
Member
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816
Rep:
|
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é 
|
|
|
02-04-2006, 02:32 PM
|
#11
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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 08:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|