I'm having some problems with a new R.A.T 3 gaming mouse that I bought today. It works flawlessly under Windows 7, but under Ubuntu 11.10 it keeps misbehaving.
What happens is this:
- I connect the mouse to a USB port. The mouse works as expected for a while.
- The mouse starts misbehaving: I can still move the pointer around, but it doesn't react to clicking any buttons (at least not right, left, middle, browser forward or browser back...). Furthermore, my trackpad starts behaving the same way - moving works, but no clicking.
- I disconnect the mouse. Trackpad starts working again.
- I re-connect the mouse. It works for a while, before collapsing (just as the first time I connected it).
I haven't manually changed any settings anywhere, and I've noticed that even when the mouse misbehaves, it shows up in cat /proc/bus/input/devices
with the following information:
I: Bus=0003 Vendor=06a3 Product=0ccc Version=0111
N: Name="Saitek Cyborg R.A.T 3 Mouse"
P: Phys=usb-0000:00:1d.0-1.4/input0
S: Sysfs=/devices/pci0000:00/00:1d.0/usb2/2-1.4/2-1.4:1.0/input/input18
U: Uniq=
H: Handlers=mouse0 event4
B: PROP=0
B: EV=17
B: KEY=3ff0000 0 0 0 0
B: REL=103
B: MSC=10
I've googled around a bit and found this forum post, but I find it quite messy and it is unclear whether there is actually any solution to my problem in it. Also, I feel uncomfortable editing Xconf without knowing what I'm doing - and I'm quite new on Ubuntu, so I don't know what I'm doing... Finally, the product web site doesn't appear to have any drivers for Ubuntu and I've found no updates available through the standard sources.
The reason (as I understand) that this particular mouse misbehaves on Linux is because of the mode button. In terms of key presses, each mode corresponds to a different button being held down. For my mouse (R.A.T.7) the mode buttons are 13, 14, and 15 for red, blue, and purple respectively.
I don't know if yours are going to be the same, but there's a nice and easy way to figure it out. Open a terminal and type:
Find the entry that has the corresponding label (for me it's "Saitek Cyborg R.A.T.7 Mouse") and note the ID to the right. Then, type:
(Where ID corresponds to the ID of your mouse)
Note which mode color is currently active, switch it to the next one, and retype the above command. Do that one more time.
Now that you know which buttons correspond to the modes, you should be able to edit your xorg.conf file appropriately. Type:
(Obviously you can use a different text editor if you feel more comfortable with one. If you use a command-line text editor, use
sudo
instead ofgksu
.)You'll want to insert a block that's similar to this:
The important thing is the "ButtonMapping" part. Just go through the list of buttons sequentially until you get to the buttons that correspond to the modes and enter 0s instead.
You'll have to restart your X server for the changes to work, but this should fix it up!
Add this to your
xorg.conf
:I bought the mouse 30 December 2013 in The Netherlands
R.A.T.3
Tested on Ubuntu 13.04 && 13.10
I used the following settings:
I'm not sure but I think you need to start with the '0' where "button[int]=down" So in my case 10 was down and after the update it was up.
"button[int]=down" is related from:
'int' is the ID of the mouse that can be found with the following command:
Sometimes Europe demands other hardware configuration thus it'll be best if you check it once.
Would you be so kind to notify if it works or not works for you?
If you use unity, use the following command to restart the x-server:
Else if you use Gnome 3
for me with RAT 3, I used :
What is really works in Ubuntu/Mint etc... is:
First type in the command to find out which product you have:
Once you find out what mouse you have:
For me I have the Madcatz Mad Catz R.A.T.3; type in:
For Madcatz Saitek Cyborg R.A.T.3; type in:
After you typed the lines in and SAVED, make sure to reboot your computer!
Or if you use ubuntu you can just type: sudo restart lightdm
Actually, all of the provided solutions mean that your horizontal wheel might not work. I found the following solution works. Create a file
/etc/X11/xorg.conf.d/20-cyborgrat.conf
with the following content:I use this with a Saitek Cyborg R.A.T.7 Mouse and verified that the following things work:
The color switch button does not work with this config.