| View previous topic :: View next topic |
| Author |
Message |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Wed Nov 03, 2004 4:32 pm Post subject: Logitech MX1000 Howto (WIP) |
|
|
EDIT by purplerhino, 2006.NOV.21: Yeah I'm a slacker, check out this thread instead: https://forums.gentoo.org/viewtopic-t-502422.html
EDIT by pjp, 2006.AUG.26: I picked up the MX1000, and used the instructions mentioned on page 4 by floam. Nothing else in the thread up to that point worked for me. --pjp
I would like to make a complete, Gentoo-oriented MX1000 HOWTO. I *HAVE* read these threads
https://forums.gentoo.org/viewtopic.php?t=98028&highlight=mx1000
https://forums.gentoo.org/viewtopic.php?t=218242&highlight=mx1000
and of course this link
http://www.linux-gamers.net/modules/wfsection/article.php?articleid=46
and they've gotten me so far, but not far enough... you spend $80 on a mouse, you want to be able to enjoy it
Lifted from the linux-gamers link, we have:
xorg.conf:
| Code: | Section "InputDevice"
Identifier "Mouse[0]"
Driver "mouse"
Option "Protocol" "evdev"
Option "Dev Name" "Logitech USB Receiver" # cat /proc/bus/input/devices
Option "Dev Phys" "usb-*/input0" # cat /proc/bus/input/devices
Option "Device" "/dev/input/event0" # (/dev/input/mice also appears to work)
Option "Buttons" "12"
Option "ZAxisMapping" "11 12"
Option "Resolution" "800"
EndSection |
and then
| Code: | | echo -e "pointer = 1 2 3 6 7 8 9 10 11 12 4 5\n" > ~/.Xmodmap |
and after that I get all the buttons to respond in xev. But now what, linux-gamers step 4 was a bit too lacking, and RTFM only confused me more.
So TODO:
Best way to assign keys to buttons. xbindkeysrc? What about IMWHEEL? How do you even tell IMWHEEL, in the -b option, to grab button 10 and above?
Post the (.xbindkeysrc or .imwheelrc) mimicking Windows behaviour so new MX1000 user have a starting point, and something to go off if they want to modify that behaviour. And find a link to wherever those key codes are, cause I couldn't find it but I assume it's somewhere.
Side scrolling! Make it work!
So obviously this is a Work In Progress and will be updated as I figure things out, and all help is appreciated, and frankly, is desperately needed, so any help with the TODOs please speak up!
Last edited by purplerhino on Tue Nov 21, 2006 6:57 pm; edited 2 times in total |
|
| Back to top |
|
 |
mensan n00b


Joined: 05 Aug 2003 Posts: 74 Location: Seattle, WA
|
Posted: Mon Nov 08, 2004 2:45 pm Post subject: |
|
|
| have you tested your method with hotplugging yet? will doing this let you hotplug the mx1000? |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Mon Nov 08, 2004 2:53 pm Post subject: not really |
|
|
| I have hotplug installed, but i've never plugged it in while running, I'll try it though and see what happens. |
|
| Back to top |
|
 |
colinb Tux's lil' helper

Joined: 22 Jun 2002 Posts: 114
|
Posted: Mon Nov 08, 2004 3:20 pm Post subject: |
|
|
Has anyone else noticed some other wheel direction (one of the side-scrolling directions, I think) getting activated when you're just trying to press the wheel? Whatever it is, it seems to be acting as a left-mouse-click, which is annoying when I'm just trying to open a new tab in a browser with middle-click. (The tab is opened, but the link is also followed in the current tab since both clicks are registered.)
Is there something mechanically wrong with my mouse, or do I just need to detach any functionality from the button event that I don't want to be processed? (How would I do that?)
--Colin |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Mon Nov 08, 2004 3:43 pm Post subject: not for me |
|
|
| I don't have that problem... I've heard plenty of weird problems about this mouse though. Actually, my cursor kinda jumps every now and then, which is starting to bother me. It only does it once in a great while though. That's about my only complaint. |
|
| Back to top |
|
 |
colinb Tux's lil' helper

Joined: 22 Jun 2002 Posts: 114
|
Posted: Tue Nov 09, 2004 2:13 pm Post subject: Re: not for me |
|
|
| purplerhino wrote: | | I don't have that problem... I've heard plenty of weird problems about this mouse though. Actually, my cursor kinda jumps every now and then, which is starting to bother me. It only does it once in a great while though. That's about my only complaint. |
Well, in light of Best Buy's non-awesome policies, and the fact that I'm not convinced that there isn't something physically wrong with the wheel button on this MX1000 I bought there, I think I'm going to return it and go back to my MX700 for now.
--Colin |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Tue Nov 09, 2004 2:50 pm Post subject: |
|
|
I think I might bring mine back to best buy too, but i'll get another one, but I got the jumpy cursor syndrome, which i've found other places to reportedly be just bad reciever. This wheel thing is crazy, I've never had that happen, sorry you're disappointed!
about hotplug, I came in and plugged the mouse in on my computer at work and it worked... That's Fedora Core 2 though.... guess I'll see when I go home tonight and plug it back in. |
|
| Back to top |
|
 |
mensan n00b


Joined: 05 Aug 2003 Posts: 74 Location: Seattle, WA
|
Posted: Fri Nov 12, 2004 5:59 am Post subject: |
|
|
one of my friends had to return his for the jumpy problem, getting a new one took care of it though.
anyway, let me know about the hotplugging.
i have xorg 6.8.0-r1 and i can post my xorg.conf if necessary. i am sure that it is a xorg problem because i can hotplug it outside of X (at prompt only) and the buttons register.
thx.
-men$an |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Mon Nov 15, 2004 9:23 pm Post subject: |
|
|
I returned mine and got a new one, and this one works great.
Actually when I brought it home and plugged it in, it didn't work until I reset, but if I bring it in the computer at work (now running gentoo) it works fine... the difference, I dunno, here I'm x86 and genkernel (so i'm assuming devfs) while at home it's ~x86 and udev, both gentoo-dev-sources. |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Mon Nov 15, 2004 9:49 pm Post subject: side scroll |
|
|
using this xmodmap
pointer = 1 2 3 8 9 10 11 12 6 7 4 5
side scrolling seems to be working in some places... though in galeon here it goes back and forth in history.. i still haven't figured out how to use more than 9 buttons with imwheel, so i'm trying the xbindkeys, but I also can't figure out what the keycode is for Page UP and Page Down, that's what I'd like to assign to the up and down above and below the scroll wheel.... |
|
| Back to top |
|
 |
JjcampNR Tux's lil' helper


Joined: 02 Mar 2003 Posts: 127 Location: Massachusetts, USA
|
Posted: Mon Nov 15, 2004 9:53 pm Post subject: |
|
|
Just for another POV, I have an MX1000 and the first one I had didn't sit flat, the pads on the bottom were off a bit and it wiggled side to side even on a flat surface. I took it back, got another one and everything works perfectly.
I think they may be having some quality control issues, or they're letting some slip out that shouldn't so they can meet the demand before the holiday season is over.
--Josh _________________ Damn the man, fight the power!
http://www.torquenetworks.com |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Tue Nov 16, 2004 10:10 pm Post subject: |
|
|
Yeah there must have been some quality problems in the beginning but the mouse I have now I'm 100% happy with, well, hardware wise anyway.... as far as making it work in linux, i'm so/so, but not anymore or less than any other mouse with more than 2 buttons...  |
|
| Back to top |
|
 |
mensan n00b


Joined: 05 Aug 2003 Posts: 74 Location: Seattle, WA
|
Posted: Thu Nov 18, 2004 2:10 pm Post subject: |
|
|
| well, i got the hotplug working, but not the way i wanted. i had to go to the ExplorerPS\2 protocol. evdev didnt seem to want to work period. FWIW. |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Thu Nov 18, 2004 2:38 pm Post subject: |
|
|
ahh that makes sense, my xorg at work has ExlorerPS/2. So that's worth noting  |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Wed Dec 01, 2004 5:22 am Post subject: xbindkeysrc |
|
|
here's the .xbindkeysrc i'm using. i gave up on side scrolling, and i set the wheel side to side to switch tabs in galeon (and in all mozilla based browsers) and I'm quite happy with it!
I haven't decided what to do with the app switch button yet... Alt-tab doesn't really work cause if you keep pressing it you just go back and forth between the same two windows.
# back and forward
"xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x10 + b:6
"xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x10 + b:7
# the up and down by the wheel pages up and down
"xvkbd -xsendevent -text "\[Page_Up]""
m:0x10 + b:9
"xvkbd -xsendevent -text "\[Page_Down]""
m:0x10 + b:10
# Left and Right on the wheel switch tabs
"xvkbd -xsendevent -text "\[Control_L]\[Page_Up]""
m:0x10 + b:11
"xvkbd -xsendevent -text "\[Control_L]\[Page_Down]""
m:0x10 + b:12 |
|
| Back to top |
|
 |
Doogman Apprentice


Joined: 24 Sep 2004 Posts: 241
|
Posted: Sat Dec 04, 2004 2:40 pm Post subject: |
|
|
Great topic. I don't have a MX1000, but this thread helped greatly in getting the buttons on my brand new Logitech 510MX working correctly. Most people tell you to RTFM but all the big threads on mouse buttons are badly out-of-date. Like you, I've been having great success using evdev. I was somewhat stumped with how to assign tasks to the buttons, but with modifiying your .xbindkeysrc I was able to get everything working. I think that IMWHEEL is obsolete now.
I'm wondering if you have found a good use for the "App switch" button on top of the mouse? Like you said, it won't work in Linux like windows because it only sends one event when pressed. |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Mon Dec 06, 2004 4:10 pm Post subject: |
|
|
I don't think I'd say IMWheel is obsolete, it was last updated August 2004, so it doesn't appear to be abandonded, that wasn't that long ago... But the more than 10 button issue is certainly an issue stopping it from being useful to me... Plus the gui tool that comes with IMWheel makes no sense to me, what is that thing good for?? If the developer sticks with IMWheel though, I would say it should eventually be a better solution, because you can make the mouse work different in different applications.
I set the app-switch button to close windows (control-w) but I'm not sure I like it. I'd like it toggle maximize/restore I think, but whenever I set something in the Gnome keyboard shortcuts, and then try assinging that to a button, it doesn't work... so that's something else I got look into  |
|
| Back to top |
|
 |
eriq n00b

Joined: 25 Jan 2004 Posts: 31
|
Posted: Wed Dec 08, 2004 12:00 am Post subject: |
|
|
I have an MX1000 question regarding the scroll wheel. I just changed over to using the evdev protocol and when I am viewing a web page and use the scroll wheel to move the page down the mouse will highlight a word then go to the next hyperlink and open it up in a new window. If I scroll down the page when the mouse is not over any link than scrolling is normal.
Here are my devices:
| Code: |
~ $ cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=046d Product=c50e Version=2500
N: Name="Logitech USB Receiver"
P: Phys=usb-0000:00:1d.0-1/input0
H: Handlers=kbd mouse0 event1
B: EV=120007
B: KEY=ffff0000 10000 0 0 0 0 0 0 0
B: REL=103
B: LED=fc00
|
Here is what I have in my Xorg.conf file:
| Code: |
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "evdev"
Option "Dev Name" "Logitech USB Receiver" # cat /proc/bus/input/devices
Option "Dev Phys" "usb-0000:00:1d.0-1/input0" # cat /proc/bus/input/devices
Option "Device" "/dev/input/event1" # (/dev/input/mice also appears to work)
Option "Buttons" "12"
Option "ZAxisMapping" "11 12"
Option "Resolution" "800"
EndSection
|
I have the following in my local.start:
| Code: |
~ # cat /etc/conf.d/local.start
# /etc/conf.d/local.start:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/local.start,v 1.4 2002/11/18 19:39:22 azarah Exp $
# This is a good place to load any misc.
# programs on startup ( 1>&2 )
/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 11 12 6 7 8 9 10 4 5"
|
Everything looks good to me, what obvious setting have I overlooked? One thing that annoys me is that logitech_applet says I'm not running the mouse at 800cpi:
| Code: |
~ # /usr/local/bin/logitech_applet -g
002/002 046D/C50E M-RAG97 MX1000 Laser Mouse
Channel 2 Battery: 7 Single channel No 800cpi support No Horiz Roller No Vert Roller 2 butt.
~ # /usr/local/bin/logitech_applet -s800
002/002 046D/C50E M-RAG97 MX1000 Laser Mouse
Channel 2 Battery: 7 Single channel No 800cpi support No Horiz Roller No Vert Roller 2 butt.
|
I don't want to revert back to using the IMPS/2 protocol and the normal ZAxisMapping "4 5". Thanks for the suggestions.
To state the obvious, yes I have Event Device evdev enabled in my kernel-2.6.9-gentoo-r9. |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Wed Dec 08, 2004 3:19 pm Post subject: |
|
|
I don't think that xmodmap command you're running in local.start is getting the job done, that's how it behaved when I had forgot to do that step.
| Code: | | echo -e "pointer = 1 2 3 6 7 8 9 10 11 12 4 5\n" > ~/.Xmodmap |
Is there a reason you don't want to do that? Maybe you need to put that xmodmap -e command in X startup script instead of in the system start up, I'm not really sure how to make that work, the above worked for me and I was satisfied with it. |
|
| Back to top |
|
 |
eriq n00b

Joined: 25 Jan 2004 Posts: 31
|
Posted: Fri Dec 10, 2004 2:25 am Post subject: |
|
|
Yes, you were right. There was some garbage in my .Xmodmap. My mouse is working now via evdev and Xmodmap. I haven't tested the side scrolling yet, but the back thumb button works and so does the forward. The only thing I notice so far is that when clicking the forward thumb button the page you want to go forward to will load but it will also bring up the mouse menu that you see when you right click. The logitech_applet still says No 800cpi support:
| Code: |
/usr/local/bin/logitech_applet -g
002/002 046D/C50E M-RAG97 MX1000 Laser Mouse
Channel 2 Battery: 7 Single channel No 800cpi support No Horiz Roller No Vert Roller 2 butt.
|
but other than that it seems great. Thanks for the help. |
|
| Back to top |
|
 |
Doogman Apprentice


Joined: 24 Sep 2004 Posts: 241
|
Posted: Sat Dec 18, 2004 8:19 pm Post subject: |
|
|
I think I finally found a use for button 10, the button on top of the mouse. I would like it to do the "hide all windows and focus desktop" function of Gnome/Metacity. The default keys for that are CTRL-ALT-D. But it won't work!
This is from my .xbindkeysrc
# Hide all windows and focus desktop with top button
"xvkbd -xsendevent -text "\[Control_L]\[Alt_L]d""
m:0x10 + b:10
What am I missing? Yes, I definately have button 10 support, but xvkbd will not send CTRL-ALT-D correctly. Has anyone used xvkbd to put two modifiers on a key? |
|
| Back to top |
|
 |
purplerhino Tux's lil' helper


Joined: 22 Jul 2002 Posts: 90 Location: Chicago, IL
|
Posted: Mon Dec 20, 2004 3:19 pm Post subject: |
|
|
| That's what I observed before... Any of Gnome's shortcuts don't seem to work. I haven't figured out why yet, I haven't put much time into it yet really, but it was kind of annoying. |
|
| Back to top |
|
 |
Doogman Apprentice


Joined: 24 Sep 2004 Posts: 241
|
Posted: Mon Dec 20, 2004 11:43 pm Post subject: |
|
|
You are right, the problem lies with Gnome or more specifically Metacity. It seems that the way Metacity grabs keyboard shortcuts doesn't work with the xvkbd hack.
What is needed is for Gnome to natively support extra mouse buttons. Look at http://bugs.gnome.org bug #108775 and bug #155457 (list of key/mouse binding bugs/feature requests). Maybe now it's easier to implement with Xorg and perhaps if more people show interest in this feature something will happen. |
|
| Back to top |
|
 |
Thiamant n00b

Joined: 06 Nov 2004 Posts: 20
|
Posted: Tue Dec 21, 2004 7:15 pm Post subject: |
|
|
My English sucks a bit, but I'll do my best to explain my problem as clear as possible.
I tried to get all buttons working but i couldn't, X server only detected about 7 buttons or so. I was using PS/2 port but I thought that using USB may solve the problem. Then, I changed it into the USB port and after that I get this:
| Code: |
$ cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event0
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0011 Vendor=0002 Product=0006 Version=000f
N: Name="ImExPS/2 Logitech Explorer Mouse"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse0 event1
B: EV=7
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=103
|
As you can see, my mouse isn't detected in USB port, but in PS/2, so X server doesn't work.
I think my kernel is compiled properly, I have HID support enabled. |
|
| Back to top |
|
 |
Doogman Apprentice


Joined: 24 Sep 2004 Posts: 241
|
Posted: Tue Dec 21, 2004 10:12 pm Post subject: |
|
|
Just for the record, I use a MX510 in the PS/2 port and all the buttons work fine. To activate all the mouse features you need to add this to the kernel line in your booter:
psmouse.rate=200 psmouse.resolution=800
You can disable "smartscroll" by adding this:
psmouse.smartscroll=0
This is all documented in the kernel-paramters.txt file of the kernel documentation. Of course, none of the above has anything to do with mouse buttons, but I thought I would post it since I don't believe I've seen this mentioned in this forum. |
|
| Back to top |
|
 |
|