kernel - Logitech M560 mouse on linux sends messed up input events
2014-04
My friend bought yesterday a Logitech M560 mouse (you can see it here) and tried it on her Ubuntu system. It seems to be a relatively new model, so there is no info about it anywhere, except for logitech's own website. The key mapping was off, but I thought it was easy to remap the buttons - I 've been doing it for the past decade with a variety of Logitech mice. However, unlike other mice, where you have to say switch button 13 with button 2, this mouse sends some key press events, as if you had typed on the keyboard.
The mouse has left and right click buttons, a scroll wheel with tilt capability (4 buttons), back and forward buttons on the side, plus a small square button behind the wheel - a total of nine buttons. Pressing the wheel does not function as middle click, there is no switch under it. Instead, pressing the wheel engages and disengages a lock, allowing it to revolve either in steps or freely.
I wanted to get all the "usual" buttons to do what they were supposed to and map the middle click action to the small button behind the wheel, so I started off with xev and xinput to identify which is which:
Button 1 -> left click Button 3 -> right click Button 4 -> wheel up Button 5 -> wheel down Button 8 -> tilt left Button 9 -> tilt right
And here's the weird part: Pressing the forward button is like pressing Super_R (keycode 134). Pressing the back button yields simultaneously Super_L and d (keycodes 133 & 40).
Even more weirdness: Pressing the square button once, gives simultaneously Alt_L, Super_L and XF86TouchpadOff (keycodes 64, 133, 201). Pressing it a second time is like pressing button 1...
So, the first six buttons send button press/release events, while the other three send multiple key press/release events.
It is relatively easy to map a mouse button to a keyboard keycode, but is it possible to do the opposite, without crippling the system's keyboard? Should I contact someone from kernel.org to add support for the mouse?
You can remap the keys via udev. The mouse acts as a keyboard. There is a work around here: https://bugzilla.redhat.com/show_bug.cgi?id=1035668
Is there anyway to get it working properly (even as a basic mouse)? The computer just keeps coming back with "Unknown Device". All of the results on google are asking for help or say that the support for this device has been dropped by microsoft and or Logitech. It seems like it should work as a basic wireless mouse though right?
//edit
I don't really care if the extended features work, it would just be nice to use it as a mouse/keyboard.
//update 2
It seems that the problem is 64bit Windows 7 only, it works fine in a 32bit environment.
You need to download drivers for that mouse to work correctly .
For using it as a basic mouse try installing Microsoft's IntelliPoint mouse driver
- cool software which may be used as an alternative http://www.highrez.co.uk/downloads/XMouseButtonControl.htm
Note: Many people in other forums found 64 bit drivers for M700 from the Logitech home site , for more information go to Logitech website and then go to troubleshooting , there look for "Q: Windows 7 support for my Logitech product"
If the device isn't recognized automatically, you'll need to download the drivers from a trustworthy site and install it that way.
Ok, so the problem was that there were updates to Windows 7 that were preventing it from recognizing the "new" device.