Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MX510 Howto?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Sat Feb 11, 2006 1:42 pm    Post subject: Reply with quote

ok ill try it. but on sunday, cause i don't have my mouse with me atm... ;)
Back to top
View user's profile Send private message
azp
Guru
Guru


Joined: 16 Nov 2003
Posts: 456
Location: Sweden

PostPosted: Thu Mar 16, 2006 4:03 am    Post subject: Reply with quote

Headrush wrote:
pholthau wrote:
thanks, ill give it a try!

How did you make out?
I have both a MX700 and MX510 connected now and all buttons work on both.


I own a MX510, and have been searching for a good solution to my problems for three months now. I can't get all the buttons on my MX510 to work with evdev + Xorg7.0. As it is now, the scroll is working (with scrolling and pushing) but all the other buttons behave as mouse button 1 (left button).

My xorg:
:Section "InputDevice"
     Identifier   "MX510"
     Driver       "evdev"
     Option       "Device" "/dev/input/event-mx510"
EndSection


My udev rules: 00-logitech.rules:
KERNEL="event*", SYSFS{idVendor}="046d", SYSFS{idProduct}="c01d", NAME="input/event-mx510", MODE="664", SYMLINK="input/%k"
KERNEL="mouse*", SYSFS{idVendor}="046d", SYSFS{idProduct}="c01d", NAME="input/mouse-mx510", MODE="664", SYMLINK="input/%k"


My local.start:
logitech_applet --set-res=800


My modprobe.conf:
options usbhid mousepoll=1


And I don't use Xmodmap or imwheelrc or anything like that.

xev and evtest shows the buttons mapped as
1 left
2 scrollclick
3 right
4 scroll up
5 scroll down
9 upper thumb
8 lower thumb
10 application button
11 scroll upp button
12 scroll down button


This means that I have no 6 and 7, and that might be causing a problem. Any tips or tricks?
_________________
Weeks of coding can save you hours of planning.


Last edited by azp on Fri Mar 17, 2006 4:52 pm; edited 2 times in total
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Mar 16, 2006 4:09 am    Post subject: Reply with quote

azp, you seem to have all the buttons working. Don't worry about buttons 6 and 7 as they are used for horizontal scrolling which that mouse doesn't.

Are you sure the left button isn't 3 and the scroll wheel button is 2?
Back to top
View user's profile Send private message
azp
Guru
Guru


Joined: 16 Nov 2003
Posts: 456
Location: Sweden

PostPosted: Fri Mar 17, 2006 4:44 pm    Post subject: Reply with quote

yes I was wrong..

Scrollclick is 2 and rightclick is 3. Leftclick is of course 1.

But how do I do to actually get the buttons to respond? The "back" and "forward" button by the thumb doesn't work at all =(
They just act like button 1. Actually all buttons do, except the "five" normal ones (3+scroll).

EDIT: In Enemy Territory, all "other" buttons respond to KP_EQUAL which sounds just strange..
EDIT2: It does work in Americas Army! The number of the buttons have change since before I installed xorg7, but at least they get a number. wohoo..
_________________
Weeks of coding can save you hours of planning.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Fri Mar 17, 2006 8:55 pm    Post subject: Reply with quote

azp wrote:
yes I was wrong..

Scrollclick is 2 and rightclick is 3. Leftclick is of course 1.

I knew it! :)

azp wrote:
But how do I do to actually get the buttons to respond? The "back" and "forward" button by the thumb doesn't work at all =(
They just act like button 1. Actually all buttons do, except the "five" normal ones (3+scroll).

Until they are mapped otherwise, that is normal.

azp wrote:
EDIT: In Enemy Territory, all "other" buttons respond to KP_EQUAL which sounds just strange..

This might be a ET problem if it works in other games.
azp wrote:
EDIT2: It does work in Americas Army! The number of the buttons have change since before I installed xorg7, but at least they get a number. wohoo..

The order can appear to change when making changes to /etc/xorg.conf or upgrading to xorg 7.
There are several methods of mapping the buttons to actions. A lot depends on the desktop environment you are using and there are several threads about doing this. The important thing is that all the buttons are separately recognized in xev. Your xorg config is correct and need not be changed.
Back to top
View user's profile Send private message
Citizen Bleys
n00b
n00b


Joined: 02 Dec 2003
Posts: 54
Location: Moncton, NB

PostPosted: Sun Apr 02, 2006 4:51 am    Post subject: Reply with quote

New here, and not sure if thread bumping is frowned upon, so sorry if I was supposed to make a new thread.

I've got a new install of Gentoo. This is the first time I've ever used it outside of brief experimentation, so I'm not too familiar with it yet.

Alright...so I get Gentoo installed, and mostly everything seems to be working...except my mouse wheel. I read this thread over, and tried to follow the instructions.

Problem: No /etc/X11/xorg.conf file. There is, however, an xorg.conf.example. Will I ruin anything if I just cp xorg.conf.example xorg.conf and edit that file? And once I do have an xorg.conf, how do I force the changes to take effect? This is Linux, I'm not supposed to have to reboot.

(Yes, my fledgling install does have some serious problems with it--no sound for starters, and all those error messages at boot, but none of them are driving me UP THE FRICKING WALL like my scroll wheel not working is.)
_________________
You're either an eagle, or an earthworm
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sun Apr 02, 2006 12:25 pm    Post subject: Reply with quote

Citizen Bleys wrote:
Problem: No /etc/X11/xorg.conf file. There is, however, an xorg.conf.example. Will I ruin anything if I just cp xorg.conf.example xorg.conf and edit that file?

No. you can do that and there is also two programs; xorgcfg and xorgconfig which you can use to start generating a xorg.conf file more geared to your system.

Citizen Bleys wrote:
And once I do have an xorg.conf, how do I force the changes to take effect? This is Linux, I'm not supposed to have to reboot.

Each time the X server is started the config file is reread, so if X isn't running, justing starting it is sufficient. If X is running, CTRL-ALT-Backspace will force the X server to restart.
Back to top
View user's profile Send private message
azp
Guru
Guru


Joined: 16 Nov 2003
Posts: 456
Location: Sweden

PostPosted: Mon Apr 03, 2006 1:50 pm    Post subject: Reply with quote

Citizen Bleys wrote:
Problem: No /etc/X11/xorg.conf file. There is, however, an xorg.conf.example. Will I ruin anything if I just cp xorg.conf.example xorg.conf and edit that file?


Your install must have been done without following the gentoo manual. I guess you're accustomed to Linux, since you installed it without any problems (except the ones you're experiencing now), but I - without undermining your intelligence or knowledge in any way - really advice you to go through the install manual. You can selectively read the parts you need. I believe there is a chapter about the whole xorg install.

There is also a part about sound and ALSA + a whole ALSA-guide not connected to the install. One thing about gentoo is the awesome documentation!

Good luck, and break a leg! (Not your box!)
_________________
Weeks of coding can save you hours of planning.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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