You are not logged in.

#1 2012-08-08 01:08:21

esuhl
Member
From: UK
Registered: 2009-09-16
Posts: 140

[SOLVED] Mouse buttons stopped working

I have a Logitech Marble Mouse (connected via a USB to PS/2 adapter).  It has no scrollwheel, so I set up the small "extra" pair of buttons to toggle "scroll mode" in certain applications (like Firefox & Chrome).  When activated, moving the trackball scrolls the page up/down/left/right instead of moving the pointer.

It's been working fine for months, but a week or so ago, the scroll buttons suddenly stopped working.  The settings are contained at the very bottom of the file /etc/X11/xorg.conf.d/10-evdev.org, and the only other file in that directory matches "ThinkPad HDAPS acceleromer data", so shouldn't affect the mouse settings.

(The buttons that don't work are "B" and "C", which both activated scroll mode:)

# Logitech Marble Mouse via PS/2
Section "InputClass"
	Identifier "Marble Mouse via PS/2"
	MatchIsPointer "on"
	MatchProduct   "ImExPS/2 Generic Explorer Mouse"
	Driver "evdev"
	Option "Protocol" 		"ExplorerPS/2"
###     On line below:
###		Buttons on mouse are A,B,C,D (l-to-r): Left big, left small, right small, right big
###		b = A & D simultaneously;   - = no button
###     Physical button #s:              A b D - - - - B C
	Option "ButtonMapping"		"1 9 3 4 5 6 7 8 2"
	Option "EmulateWheel"		"true"
	Option "EmulateWheelButton"	"9"
	Option "EmulateWheelTimeout"	"300"
	Option "XAxisMapping"		"6 7"
	Option "YAxisMapping"		"4 5"
	Option "ZAxisMapping"		"4 5"
	Option "Emulate3Buttons"	"false"

EndSection

I've tried playing around with the button-mapping, even jumbling 4 5 6 7 to 5 4 7 6 (which, I thought, should invert the movement of the pointer), but none of this has any effect.  I've checked /etc/X11/xorg.conf, and I don't seem to have any mouse-related settings there... and I've read the wiki, but I can't see what I'm doing wrong!

Can anyone help? :-)

Last edited by esuhl (2012-08-20 16:52:25)

Offline

#2 2012-08-08 01:57:50

esuhl
Member
From: UK
Registered: 2009-09-16
Posts: 140

Re: [SOLVED] Mouse buttons stopped working

Oh, I forgot to say that xev reports buttons A, B, C and D as 3, 9, 9, 1.  I tried changing the original ButtonMapping line in 10-evdev.conf (shown above) to reflect that, but as I say none of the changes to that line make any difference...

Cheers

Offline

#3 2012-08-08 16:01:41

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Mouse buttons stopped working

This I have no experience with, but maybe you could try installing and configuring xf86-input-mouse...

Offline

#4 2012-08-08 20:11:34

vlastikcz
Member
Registered: 2012-08-08
Posts: 2

Re: [SOLVED] Mouse buttons stopped working

I don't think, that evdev has something to do with the xf86-input-mouse. But I belive, this is a real issue, because my good old configuration stopped working (buttons aren't customized) today as well. Looks like the reason is hidden somewhere in yesterdays pacman -Syu smile.

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
                Option "CorePointer"
                Option "Buttons" "9"
                Option "ButtonMapping" "1 9 3 4 5 6 7 8 2"
                Option "EmulateWheel" "true"
                Option "EmulateWheelButton" "2"
                Option "ZAxisMapping" "4 5"
                Option "Emulate3Buttons" "true"
EndSection

Last edited by vlastikcz (2012-08-08 20:12:33)

Offline

#5 2012-08-09 21:00:05

vlastikcz
Member
Registered: 2012-08-08
Posts: 2

Re: [SOLVED] Mouse buttons stopped working

It's clearly something with the new xf86-input-evdev package. Version xf86-input-evdev-2.7.2-1-i686.pkg.tar.xz is not working, but the old xf86-input-evdev-2.7.1-1-i686.pkg.tar.xz works well. I reported this into bugtracker: https://bugs.archlinux.org/task/31083

Offline

#6 2012-08-09 21:49:10

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Mouse buttons stopped working

I did  not say it wasn't a problem with evdev, though my evdev continues to work as expected.  I was simply suggesting that maybe the OP try an alternative driver such that he/she might be able to diagnose whether it is evdev or the greater xorg.

Offline

#7 2012-08-20 16:52:11

esuhl
Member
From: UK
Registered: 2009-09-16
Posts: 140

Re: [SOLVED] Mouse buttons stopped working

Cheers for reporting the bug, vlastikcz (and thanks for the suggestion WonderWoofy).  Looks like the issue was resolved in xf86-input-evdev 2.7.3-1, so I'll mark this as solved.

Thanks again :-)

Offline

Board footer

Powered by FluxBB