Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Logitech MX-510 howto?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DesyphIX
n00b
n00b


Joined: 18 Apr 2005
Posts: 20

PostPosted: Sat Apr 23, 2005 3:55 pm    Post subject: Logitech MX-510 howto? Reply with quote

Is there anyway to get my MX-510 fully functional on gentoo? I don't want a tutorial on how to get all 7 buttons to work. I need a tutoral on how to make it work at it's full potential (All buttons + Precision)
Back to top
View user's profile Send private message
magnesium
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 280
Location: Toronto, Canada

PostPosted: Sat Apr 23, 2005 4:34 pm    Post subject: Reply with quote

sure it is possible to get it to work. use the tutorials found on the forums for either the MX500, MX700, or MX900.

stop being lazy
_________________
Adopt an unanswered post
Back to top
View user's profile Send private message
DesyphIX
n00b
n00b


Joined: 18 Apr 2005
Posts: 20

PostPosted: Sun Apr 24, 2005 6:06 am    Post subject: Reply with quote

Did you read my question? I want it to perform at it's potential, MX510 has different performance specs to my mouse. And so might the others. But i'll use them anyway and see what i can do.
Back to top
View user's profile Send private message
Valheru
Guru
Guru


Joined: 14 Mar 2003
Posts: 300
Location: Leeuwarden - The Netherlands

PostPosted: Sun Apr 24, 2005 11:45 am    Post subject: Reply with quote

You need to

Code:
emerge logitech_applet


You can also use an init script I made found in this thread to add it to your startup scripts:

https://forums.gentoo.org/viewtopic-t-257734-highlight-.html


Last edited by Valheru on Sun Apr 24, 2005 2:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Birtz
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 272
Location: Osijek / Croatia

PostPosted: Sun Apr 24, 2005 12:46 pm    Post subject: Reply with quote

Any reason why logitech_applet is still masked on amd64? I've been using this tool for months now with no drawbacks.

Cheers
_________________
It is not enough to have a good mind. The main thing is to use it well.
-- Rene Descartes

Don't have a childhood hero? How about Rob Hubbard http://www.freenetpages.co.uk/hp/tcworh/profile.htm
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 24, 2005 3:35 pm    Post subject: Reply with quote

Birtz wrote:
Any reason why logitech_applet is still masked on amd64? I've been using this tool for months now with no drawbacks.

Cheers

Doesn't find libusb on my amd64 setup. I have submitted a bug.
Back to top
View user's profile Send private message
Birtz
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 272
Location: Osijek / Croatia

PostPosted: Mon Apr 25, 2005 6:41 am    Post subject: Reply with quote

You are right. The stable branch of libusb doesn't get recognized by logitech-applet package.

Cheers
_________________
It is not enough to have a good mind. The main thing is to use it well.
-- Rene Descartes

Don't have a childhood hero? How about Rob Hubbard http://www.freenetpages.co.uk/hp/tcworh/profile.htm
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


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

PostPosted: Mon Apr 25, 2005 7:06 am    Post subject: Reply with quote

Birtz wrote:
You are right. The stable branch of libusb doesn't get recognized by logitech-applet package.

Cheers

Are you suggesting that the unstable package of libusb is recognized?
Back to top
View user's profile Send private message
Valheru
Guru
Guru


Joined: 14 Mar 2003
Posts: 300
Location: Leeuwarden - The Netherlands

PostPosted: Mon Apr 25, 2005 9:42 am    Post subject: Reply with quote

Headrush wrote:
Birtz wrote:
You are right. The stable branch of libusb doesn't get recognized by logitech-applet package.

Cheers

Are you suggesting that the unstable package of libusb is recognized?


Try it and find out :p It's only a compile away.
Back to top
View user's profile Send private message
DesyphIX
n00b
n00b


Joined: 18 Apr 2005
Posts: 20

PostPosted: Sun May 01, 2005 7:47 am    Post subject: Reply with quote

Quote:

PostPosted: Sun Apr 24, 2005 9:45 pm Post subject:
You need to

Code:
emerge logitech_applet


I emerged logitech_applet and got the following output:

Code:
emerge: there are no ebuilds to satisfy "logitech_applet".

gentoo root # Mutex destroy failure: Device or resource busy
ICE default IO error handler doing an exit(), pid = 9311, errno = 2
[/quote]
Back to top
View user's profile Send private message
DaSmurf
n00b
n00b


Joined: 15 Apr 2005
Posts: 17

PostPosted: Mon May 02, 2005 12:02 am    Post subject: Reply with quote

I got my 510 working very well with this howto with a few modifications:

http://pstudios.ath.cx/linhowtos/mx510.php

Where he mentions the xmodmap command, the line should be
Code:
xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"


and the logitech applet is listed under 'logitech-applet' in portage.
Back to top
View user's profile Send private message
DesyphIX
n00b
n00b


Joined: 18 Apr 2005
Posts: 20

PostPosted: Fri May 06, 2005 8:13 am    Post subject: Reply with quote

ok thanks, I have followed the instructions but did not add the evdev part to my xorg. I don't think i have evdev. Anyway it's all working nicely except for the two auto-scroll buttons (The one ontop of the scroll, and under it) those two wont work. When i completed the instructions it was all working perfectly (the auto-scroll buttons were working) then i rebooted and done something and now I don't know how to get all the buttons working properly
Back to top
View user's profile Send private message
r3pek
Retired Dev
Retired Dev


Joined: 17 Sep 2003
Posts: 568
Location: Lisbon - Portugal

PostPosted: Fri May 06, 2005 10:22 am    Post subject: Reply with quote

DesyphIX wrote:
Quote:

PostPosted: Sun Apr 24, 2005 9:45 pm Post subject:
You need to

Code:
emerge logitech_applet


I emerged logitech_applet and got the following output:

Code:
emerge: there are no ebuilds to satisfy "logitech_applet".

gentoo root # Mutex destroy failure: Device or resource busy
ICE default IO error handler doing an exit(), pid = 9311, errno = 2
[/quote]

it's
Code:
emerge logitech-applet
Back to top
View user's profile Send private message
DesyphIX
n00b
n00b


Joined: 18 Apr 2005
Posts: 20

PostPosted: Fri May 06, 2005 11:44 pm    Post subject: Reply with quote

Quote:

I emerged logitech_applet and got the following output:

Code:
emerge: there are no ebuilds to satisfy "logitech_applet".

gentoo root # Mutex destroy failure: Device or resource busy
ICE default IO error handler doing an exit(), pid = 9311, errno = 2

Quote:

it's
Code:
emerge logitech-applet


daSmurf allready told me :P, but thanks anyway.

Quote:
and the logitech applet is listed under 'logitech-applet' in portage.


And don't worry about my last post guys. I'm not sure what happend but it's perfect now, Thanks :)
Back to top
View user's profile Send private message
Jahoviah
n00b
n00b


Joined: 02 May 2005
Posts: 38
Location: Karlskrona, Sweden

PostPosted: Wed May 11, 2005 1:22 pm    Post subject: Reply with quote

DaSmurf wrote:
I got my 510 working very well with this howto with a few modifications:

http://pstudios.ath.cx/linhowtos/mx510.php

Where he mentions the xmodmap command, the line should be
Code:
xmodmap -e "pointer = 1 2 3 6 7 8 9 10 4 5"


and the logitech applet is listed under 'logitech-applet' in portage.


Hmm... I've tried both your pointer = ... and the one mentioned in the thread you link to but my wheel is still acting up..
I have the scrolling capability on the buttons situated on the right hand side of the mouse instead of on the wheel.
_________________
MSI-K8n Diamond - AMD T-64 1.8GHz - 2GB - MSI Geforce 6800 Ultra - Hauppage PVR350 - 74GB Raptor (win32) - 36GB Raptor (amd64 2006.1 gentoo) - 250GB storage
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


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

PostPosted: Wed May 11, 2005 2:58 pm    Post subject: Reply with quote

Seems people continually have problems with setting up multi-button mice.
There are some good tutorials on this forum, but the problem is that if you screw something up or make a mistake, you have several programs modifying mouse inputs and this makes finding the culprit harder and can be frustrating for a noob.

So a few tips.

Make sure you have evdev input working properly and that all your mouse buttons are recognized.
You must insure you have no other programs modifying your mouse inputs.
You can use the program xev to find the original button codes that your mouse buttons are producing and reporting to X.
Your scroll buttons may produce two codes. (The first is the same as scroll wheel and then the scroll lock button)This is OK, record the unique code, not the one that is the same as your scroll wheel.

Many X apps expect button codes 4 and 5 to be the scroll wheel codes. So we use xmodmap to remap/rearranged the button codes produced by our mouse to fit with this X requirement.
This is all xmodmap does, remaps the button codes.

For example
Code:
xmodmap -e "pointer = 1 2 3 9 10 4 5 6 7 8"
.

Code:
Button code      Our mouse button
reported to X    code (from xev)
=============    ===============
     1         <-      1
     2         <-      2
     3         <-      3
     4         <-      9
     5         <-      10
     6         <-      4
     7         <-      5
     8         <-      6
     9         <-      7
    10         <-      8

This will change for your mouse, but in this example, xev showed that my scroll wheel produced buttons codes 9 and 10.
So using the xmodmap line above, I have said that when button 9 on my mouse is pressed (my scroll wheel up), send button code 4 to X, and when button 10 on my mouse is pressed (my scroll wheel down), send button button code 5 to X.

X only expects 4 and 5 to be the scroll wheel, so buttons 6 - 10 can be any order you please and might not match the example above.
The thing to remember is no matter how many buttons you have, you need to map the appropriate "raw" code produced by your mouse for the scroll wheel to button codes 4 and 5 for X.

You can remap any of the buttons to best fit your situation. For example, my thumb buttons produce buttons codes 6 and 7, but they are the reverse of what I like, so I can 6 -> 7 and 7 -> 6 in xmodmap and they are reversed.

Once you have this working properly, you can use the logitech-applet to remove the scroll lock feature on the mouse so that the scroll buttons don't produce the scroll wheel code, just the scroll button code.
Depending on your DE, there are various places to put this so it runs automatically.

Now you can use one of the several key modifier techniques to map mouse buttons to functions in your favorite apps.
(Just make sure you have the above done right first before moving to this)
Back to top
View user's profile Send private message
Waffle_Fry
n00b
n00b


Joined: 26 May 2005
Posts: 32

PostPosted: Fri Jun 03, 2005 8:25 pm    Post subject: Reply with quote

when i execute teh xmodmap command i get this error?

xmodmap -e "pointer = 1 2 3 7 6 8 9 10 4 5"
xmodmap: unable to open display ':0.0'

any ideas? thanks
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


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

PostPosted: Fri Jun 03, 2005 9:38 pm    Post subject: Reply with quote

Waffle_Fry wrote:
when i execute teh xmodmap command i get this error?

xmodmap -e "pointer = 1 2 3 7 6 8 9 10 4 5"
xmodmap: unable to open display ':0.0'

any ideas? thanks

Don't run it has root. You probably want to do this as your normal user account.

If you need to do this as root, just give the root user X display permissions.
eg as a user
Code:
 xhost +local:

Now, su into root account and try.
Back to top
View user's profile Send private message
Sannin
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jan 2006
Posts: 85
Location: Greece

PostPosted: Mon Jan 09, 2006 8:41 am    Post subject: Reply with quote

Hello everyone! :D

Sorry, i have to dig out some old threads but i have faced some problems with my MX 510. With the following section in xorg.conf, it seems tha it does not recognise the two side buttons:

Code:
Section "InputDevice"
   Identifier   "mouse0"
   Driver      "mouse"
   Option      "CorePointer"
   Option      "Protocol"      "evdev"
   Option      "Dev Name"      "Logitech USB-PS/2 Optical Mouse"
   Option      "Dev Phys"      "usb-0000:00:02.1-3/input0"
   Option      "Device"      "/dev/input/event1"
   Option      "Buttons"      "10"
   Option      "ZAxisMapping"      "4 5"
   Option      "Resolution"      "800"
EndSection


In xev output i see no response when i press the side buttons. Any idea? :wink:
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
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