You are not logged in.

#1 2007-01-04 12:34:57

Poly
Member
Registered: 2006-05-31
Posts: 9

Mouse buttons configuration

I have the Logitech MX600 mouse that comes with the Cordless MX3000 Desktop and i am trying to configure the back/forward buttons.
I have tried everything i could find on the forums and the wiki but no luck. The configuration i used with the evdev driver is

Identifier  "Mouse1"
Driver    "evdev"
#Option    "Name" "Logitech USB Receiver"
Option "Device"    "/dev/input/event3"
Option "Buttons" "12"
Option "ZAxisMapping" "4 5"

I have also tried commenting out the Name option and commenting the Device one but nothing. The config i use with the "mouse" driver is

Identifier  "Mouse1"
Driver    "mouse"
Option "Protocol"    "Auto"    # Auto detect
Option "Device"      "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Buttons" "12"
Option "ZAxisMapping" "4 5"

and again no luck.
I am using running the stock 2.6.19 Arch kernel and Xorg 7.1. Can anyone help me?
Thanks in advance.

Offline

#2 2007-01-04 16:57:40

ndlarsen
Member
From: Denmark
Registered: 2005-11-02
Posts: 157

Re: Mouse buttons configuration

Try rereading this wiki page.


I made it long
as I lacked the time to make it short...

Offline

#3 2007-01-04 17:35:44

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

Re: Mouse buttons configuration

good suggestion, i didn't know it could have ever worked out....

another thing on the 2do list smile


Ability is nothing without opportunity.

Offline

#4 2007-01-04 19:06:19

Poly
Member
Registered: 2006-05-31
Posts: 9

Re: Mouse buttons configuration

Thanks for the reply but as i stated in my first post, i already did what is on that wiki page. In fact when i use the device name as an option, X won't even start and i get this output in the log

II) Mouse1-usb-0000:00:1d.2-2/input0: Init
(**) Mouse1-usb-0000:00:1d.2-2/input1: 5 valuators.
(**) evdev_btn.c (166): Registering 12 buttons.
(II) Mouse1-usb-0000:00:1d.2-2/input1: Init
(II) evdev brain: Rescanning devices (2).
(II) Mouse1-usb-0000:00:1d.2-2/input0: On
(II) Mouse1-usb-0000:00:1d.2-2/input1: On

Backtrace:
0: /usr/bin/X(xf86SigHandler+0x84) [0x80c46d4]
1: [0xb7fd6420]
2: /usr/bin/X(main+0x6ad) [0x806ee2d]
3: /lib/libc.so.6(__libc_start_main+0xd8) [0xb7def7c8]
4: /usr/bin/X(FontFileCompleteXLFD+0xad) [0x806df31]

Fatal server error:
Caught signal 11.  Server aborting

Using evdev i can only start X when using the device option in xorg.conf and setting it to the event i get from /proc/bus/input/devices. But even then the back/forward buttons are not working, they just behave like the left mouse button.
Oh, i forgot to add that i tweak the buttons with  xmodmap -e "pointer = 1 2 3 4 5 8 9 10 11 12 6 7" otherwise nothing works with evdev.

Offline

#5 2007-01-04 19:24:31

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Mouse buttons configuration

What happens when you run xev and click those buttons in the resulting window (make sure you can see the console output)? Are you sure it's an X problem and not a problem with the software you're testing it in?

Offline

#6 2007-01-05 09:31:21

Poly
Member
Registered: 2006-05-31
Posts: 9

Re: Mouse buttons configuration

You are right, the buttons work in opera but they do not work in swiftfox. Any ideas about that? xev shows the correct button numbers.

Offline

#7 2007-01-06 06:25:49

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Mouse buttons configuration

Try messing around in about:config. You might set the mousewheel.horizscroll.withnokey.action to 2 and make sure that your back/forward buttons are buttons 7/8.

Offline

#8 2007-01-06 11:43:06

Poly
Member
Registered: 2006-05-31
Posts: 9

Re: Mouse buttons configuration

That was it, the setting in about:config solved it. Thank you.

Offline

#9 2007-01-06 11:51:00

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Mouse buttons configuration

No problem.

Offline

Board footer

Powered by FluxBB