Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Extra buttons not detected by xev
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
I1uv4t4r
n00b
n00b


Joined: 11 Dec 2004
Posts: 21
Location: Netherlands, Europe

PostPosted: Sat Dec 11, 2004 10:54 am    Post subject: Extra buttons not detected by xev Reply with quote

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
View user's profile Send private message
InfinityX
Guru
Guru


Joined: 31 Jan 2004
Posts: 385

PostPosted: Sat Dec 11, 2004 11:02 am    Post subject: Reply with quote

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
View user's profile Send private message
I1uv4t4r
n00b
n00b


Joined: 11 Dec 2004
Posts: 21
Location: Netherlands, Europe

PostPosted: Sat Dec 11, 2004 11:18 am    Post subject: Reply with quote

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
View user's profile Send private message
InfinityX
Guru
Guru


Joined: 31 Jan 2004
Posts: 385

PostPosted: Sat Dec 11, 2004 11:25 am    Post subject: Reply with quote

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
View user's profile Send private message
I1uv4t4r
n00b
n00b


Joined: 11 Dec 2004
Posts: 21
Location: Netherlands, Europe

PostPosted: Sat Dec 11, 2004 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum