View previous topic :: View next topic |
Author |
Message |
I1uv4t4r n00b
Joined: 11 Dec 2004 Posts: 21 Location: Netherlands, Europe
|
Posted: Sat Dec 11, 2004 10:54 am Post subject: Extra buttons not detected by xev |
|
|
Hello,
I have a Logitech MX510 mouse, connected to my USB port. It has a scrollwheel, two thumb buttons and three extra buttons. I really want at least the scrollwheel and thumb buttons working correctly.
I've seen al the multi-button mouse howtos, but none of them work out, and I think I know why: when I fire up xev and scroll my wheel or press my thumb buttons it doesn't detect them. I've added Option "Buttons" "10" (must be enough) and tried both ImPS/2 and ExplorerPS/2.
I'm using 2.6.9-gentoo-r9 (mouse uses module psmouse) and xorg 6.8.0-r3.
Hope someone can get xev to detect the extra buttons.
Dennis |
|
Back to top |
|
|
InfinityX Guru
Joined: 31 Jan 2004 Posts: 385
|
Posted: Sat Dec 11, 2004 11:02 am Post subject: |
|
|
The MX510 only has 7 buttons, not 10. That could be your problem right there. Post the appropriate section of your xorg.conf/XF86-Config-4. |
|
Back to top |
|
|
I1uv4t4r n00b
Joined: 11 Dec 2004 Posts: 21 Location: Netherlands, Europe
|
Posted: Sat Dec 11, 2004 11:18 am Post subject: |
|
|
This is the mouse section in /etc/X11/xorg.conf:
Code: | Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
EndSection |
Edit: Setting Buttons to 7 didn't solve the problem. |
|
Back to top |
|
|
InfinityX Guru
Joined: 31 Jan 2004 Posts: 385
|
Posted: Sat Dec 11, 2004 11:25 am Post subject: |
|
|
Reading up it appears getting all the buttons to act individualy isn't possible without evdev, since the top "glide" button (the one above the scroll wheel) sends two keys.
The other extra button (application button?) again would require evdev. The most you can get right now without it is seven buttons.
Check out some of the configs in this thread, evdev is covered as well. |
|
Back to top |
|
|
I1uv4t4r n00b
Joined: 11 Dec 2004 Posts: 21 Location: Netherlands, Europe
|
Posted: Sat Dec 11, 2004 4:19 pm Post subject: |
|
|
Thanks for pointing me to evdev! It didn't work in the beginning, but that was because, in the kernel, I compiled UHCI instead of OHCI for USB. Now evdev detects all buttons, and KDE now also detects my joystick!
Thanks man, this is great! |
|
Back to top |
|
|
|