Logitech G300, not working on Ubuntu

The mouse Logitech G300 is not working on Ubuntu (I'm using Ubuntu 11.04 x64). Left click is resulting in random click/movements and it's not an hardware issue, because it's working on windows. Maybe a driver issue? I noticed somebody is having the same problem: http://logs.ubuntu-eu.org/freenode5/2011/09/18/%23ubuntu-bugs.html

Any ideas?


Solution 1:

Okay, I digged some further into the issue. I already suspected the programmability of the G300 might have something to do with it. And when you enter

xinput list, it shows the G300 as both a mouse and a keyboard. In my case the G300 keyboard entry has id 12.

xinput list-props 12 gives all properties of the G300 keyboard. It includes this line:

Device Enabled (146): 1

which means that if we set the property with id 146 to a value of 0 for device id 12, the G300 keyboard is disabled.

Using

xinput set-prop 12 146 0

http://ubuntuforums.org/showthread.php?t=1849041&highlight=g300

Solution 2:

There is a package in Software Center that may work for you - try lomoco

enter image description here

Further details on using this on the community wiki.

Start with lomoco -s to test compatibility.

Solution 3:

I have found a more convenient workaround for the issue and maybe why it works fine on Fedora. I have just set the mode of the keyboard part of the mouse to relative. In my case:

xinput set-mode 12 RELATIVE

Where 12 is the ID of the G300 keyboard. Now that I have done that my mouse recognizes the keys the way I mapped them with the Logitech software under Windows.

Hope that helps you, guys get a better use of the mouse.