You are not logged in.
After upgrading to xorg7 scrolling with my mx518 doesn't work anymore.
My xorg.conf
Section "Inputdevice"
# Logitech MX 510/518
Identifier "Mouse"
Driver "mouse"
Option "Dev Name" "Logitech USB*"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "9 10"
Option "Buttons" "10"
EndSection
I also do a
xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"
in my .xinitrc
Any ideas?
Orjanp
Ørjan Pettersen
Offline
I got
pointer = 1 2 3 6 7 4 5 8 9 10 11
in .Xmodmap ... weird because what I have read is that 4 5 need to be on the end yet scroll wheel works here ....
yet side buttons no longer work in x7 :cry:
Mr Green
Offline
I don't know if it's gonna work, but give it a try if you have some time. I have a six button logitech mouse (that is, left, right, middle, up, left and back button). Back button used to be 4, but now xev shows it as 8 after I upgraded xorg. I couldn't get it to work at all with xmodmap. So I put this in xorg.conf
Option "Buttons" "8"
in InputDevice section. And then finally it did something. BUT the strange thing is, xmodmap wanted me to configure for 12 buttons because of that. It wouldn't let me just settle with 8, it spits out error unless it's 12, not 11 or 13, but 12.
So my xmodmap is
xmodmap -e "pointer = 1 2 3 4 5 8 7 6 9 10 11 12"
, my back button works, everything else work as it should.
I don't know but try sticking that button option thing in xorg.conf if you don't have it and see if it does anything.
Offline
yeah its odd in x7 xmodmap wants 11 buttons so the line above is what I used ...
I'll mess around with xorg.conf & xmodmap see what happens as you say side buttons are now 8 & 9 ;-)
Mr Green
Offline
orjanp, most likely your xmodmap isn't kicking in. After you start X, try running the same xmodmap command. It will most likely give you error and get aborted. That's probably why your buttons aren't working. It will tell you how many buttons you have to specify.
*edit* I found this while I was having the mouse button problem a few days ago. Probably nothing in it is new, but it did give me some ideas and what else can be done with it.
Offline
Have tested different things. Different protocol (IMPS/2, ExplorerPS/2, evdev), different device, different numbers of buttons. No luck.
No matter what I do, xev only reports three buttons. The scroll wheel click works as button 2, but there is no reaction on the scroll itself. Same goes for the '+' and '-' scroll buttons. No reactions. The 'back' and 'forward' buttone reports button 2 and button 3.
Beginning to wonder if this upgrade to xorg 7 was a good idea.
Ørjan Pettersen
Offline
Hello again. I have a Logitech MX300 (USB optical) and my InputDevice section looks like this:
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "8"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
Two things I noticed about your xorg. One is the this section:
Option "Dev Name" "Logitech USB*"
while I don't know for sure, have you tried commenting it out and see if it does anything?
Another thing is you don't have "device" specified. Try putting this instead:
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "10"
Option "ZAxisMapping" "9 10"
EndSection
and see if it'll respond. You could just leave ZAxisMapping as 4 5 and fiddle with the rest of buttons. When I tried to reassign scroll wheel buttons to other numbers, they got all screwy.
Notice: I don't know much. I'm just suggesting what "might" work.
Offline
Thanks.
Have tried that with no luck.
Have anyone tested xev to see how many buttons that get registered?
Orjanp...
Ørjan Pettersen
Offline
Check out evdev, as it is automatic for most things and very nice. Just install xf86-input-evdev and follow the instructions "for evdev users" here:
http://daimeria.com/linhowtos/xorg7.php
Cheers.
Offline
Thank you for the evdev stuff.
I'm really sorry for wasting everybodys time. I just figured out what the problem was. Below you see my ServerLayout. As some clever heads migth see, I have two CorePointer mouse things. The Mouse1 thing was an old configuration not containing the Button option. So it did use the default one, that is three buttons. The solution is simply to remove Mouse1. Problem solved.
And again, I'm really sorry... but thanks anyway.
Section "ServerLayout"
Identifier "Laptop"
Screen "Laptop single"
InputDevice "Mouse1" "CorePointer" # This one creates the trouble
Inputdevice "Mouse" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Orjanp...
Ørjan Pettersen
Offline
Glad it worked out for you
Offline