Diff for "Logitech_MX610"


Differences between revisions 19 and 20
Revision 19 as of 2008-01-13 13:28:10
Size: 4095
Editor: HSI-KBW-085-216-122-055
Comment: minuor Update Pidgin-Notify
Revision 20 as of 2008-01-13 15:15:10
Size: 4666
Editor: HSI-KBW-085-216-122-055
Comment: build-packages, usage email-LED
Deletions are marked like this. Additions are marked like this.
Line 51: Line 51:
 1. At the end, add the following line: {{{KERNEL=="hiddev*", MODE="0666"}}}   1. At the end, add the following line: {{{KERNEL=="hiddev*", MODE="0666"}}}
Line 53: Line 53:

And since there will be some compiling, make sure the packages {{{autoconf automake build-essential checkinstall}}} are installed.
If they aren't, just {{{sudo apt-get install autoconf automake build-essential checkinstall}}} - dot forget to specify the version or it will fail.
Line 59: Line 62:
 1. Replace the {{{depcomp}}} link with the file from [http://www.fastcgi.com/devkit/depcomp here].
Line 60: Line 64:
 1. Compile using the usual {{{./configure}}}, {{{make}}}, {{{sudo make install}}} procedure.  1. Compile using the usual {{{./configure}}}, {{{make}}}, {{{sudo checkinstall}}} procedure.
Line 62: Line 66:
To gain an understanding of how to issue commands, issue the command {{{mx610hack --help}}}.  To gain an understanding of how to issue commands, issue the command {{{mx610hack --help}}}.
Line 64: Line 68:
To make use of the light, you can either write a script to execute once you have new mail or install the "mail-notification" package by issuing the command {{{sudo apt-get install mail-notification}}}. Don't forget to turn it off somehow. To make use of the light, you can either write a script to execute once you have new mail or install the "mail-notification" package by issuing the command {{{sudo apt-get install mail-notification}}}.
Then configure "mail-notification" to your liking and enable the LE
D on incoming mail with the command {{{mx610hack -p /dev/usb/hiddev0}}} and disable it when all mail is read with {{{mx610hack -o /dev/usb/hiddev0}}}.
Line 68: Line 73:
According to this thread in [http://ubuntuforums.org/showthread.php?t=168538 Ubuntu Forums], it is possible to get Pigin to cooperate with this mouse. It is possible to get Pigin to cooperate with this mouse:
Line 74: Line 79:
 1. Make sure the directory {{{~/.purple/plugins}}} exists - that's where the plugin is installed.
Line 83: Line 89:
 * [http://ubuntuforums.org/showthread.php?t=168538 Ubuntu Forums thread about the MX-610 mouse]
Line 85: Line 90:
 * [http://ubuntuforums.org/showthread.php?t=332256 Ubuntu Forums thread about the MX-610 mouse]

Introduction

This guide describes how to obtain full functionality of the [http://www.logitech.com/index.cfm/428/170 Logitech MX 610]. It is still a work in progress. Here, all commands are in fixed-font, like this.

General Mouse

Don't even touch the "ConfiguredMouse" default in /etc/X11/xorg.conf - just add a new input device:

{{{Section "InputDevice"

  • Identifier "MX610" Driver "evdev" Option "Name" "Logitech USB Receiver" # see 'cat /proc/bus/input/devices' Option "Phys" "*/input0" # this is the mouse part Option "WHEELRelativeAxisButtons" "4 5" # vertical wheel Option "HWHEELRelativeAxisButtons" "7 6" # horizontal wheel

EndSection}}}

Then add it to the devices list:

{{{Section "ServerLayout"

EndSection}}}

Side buttons

Install xbindkeys and xautomation from universe. Then create ~/.xbindkeysrc with {{{"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L' &"

  • b:8

"xte 'keydown Alt_L' 'key Right' 'keyup Alt_L' &"

  • b:9

}}}

After starting xbindkeys you can go back and forth with the side-buttons. Then add xbindkeys to ~/.profile.

Volume Keys

No additional software is required to use the volume keys. All you need to do is use "Keyboard Shortcuts." The same can be said for the E-Mail button. By default, they just work in Ubuntu.

Getting the IM button to function is a little bit more interesting...

Notification LEDs and their respective buttons

To get the lights to work for a user, the device must be writable to him/her. To do so, you will need to modify permissions. To do this:

  1. Open the udev rules for editing: sudo nano /etc/udev/rules.d/40-permissions.rules.

  2. At the end, add the following line: KERNEL=="hiddev*",                      MODE="0666"

  3. Save and exit by pressing Ctrl+O, Enter (you're overwriting the file), and finally Ctrl+X

And since there will be some compiling, make sure the packages autoconf automake build-essential checkinstall are installed. If they aren't, just sudo apt-get install autoconf automake build-essential checkinstall - dot forget to specify the version or it will fail.

E-Mail

Bill Hard, a KDE developer, has been working on the notification LEDs since 3/7/2006. We will use his work.

  1. To start, download mx610hack-0.3.tar.gz [http://www.kdedevelopers.org/node/2029 here].

  2. Extract the archive.
  3. Replace the depcomp link with the file from [http://www.fastcgi.com/devkit/depcomp here].

  4. Open a console and change the working directory to where you extracted the archive using the cd command.

  5. Compile using the usual ./configure, make, sudo checkinstall procedure.

To gain an understanding of how to issue commands, issue the command mx610hack --help.

To make use of the light, you can either write a script to execute once you have new mail or install the "mail-notification" package by issuing the command sudo apt-get install mail-notification. Then configure "mail-notification" to your liking and enable the LED on incoming mail with the command mx610hack -p /dev/usb/hiddev0 and disable it when all mail is read with mx610hack -o /dev/usb/hiddev0.

IM (for Pidgin users)

It is possible to get Pigin to cooperate with this mouse:

  1. Download the plugin source [http://koti.mbnet.fi/simom/pidgin/mx610-notification/ here].

  2. Extract the package.
  3. Open a console and change the working directory to where you extracted the archive.
  4. Install the pidgin-dev package: sudo apt-get install pidgin-dev.

  5. Make sure the directory ~/.purple/plugins exists - that's where the plugin is installed.

  6. Compile and install: make then make install.

  7. Restart Pidgin (if running) and enable the plugin via Tools -> Plugins

  8. Change /dev/hiddev0 to /dev/usb/hiddev0

Finishing Up, Acknowledgments

You will need to restart udev: /etc/init.d/udev restart. This could cause things to go quirky, so you may want to consider restarting the whole computer altogether.


CategoryDocumentation

Logitech_MX610 (last edited 2011-04-09 01:19:38 by D9784B24)