miércoles, 30 de agosto de 2017


Last update: 26-Jun-2019

Fix Xorg issues:

Open a terminal and type:

$ cd /
$ cd /usr/share/X11/xorg.conf.d/

sudo pluma 910-rat.conf

... and add the following to that file:

Section "InputClass"
        Identifier "Saitek Cyborg R.A.T.7 Mouse"
        MatchProduct "Saitek Cyborg R.A.T.7 Mouse"
        MatchDevicePath "/dev/input/event*"
        Option "Buttons" "17"
        Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 7 6 12 0 0 0 16 17"
        Option "AutoReleaseButtons" "13 14 15"
        Option "ZAxisMapping" "4 5 6 7"
EndSection

Save and exit.

$ sudo reboot

Enable mouse polling rate (1000 Hz)

Method one:

Open a terminal and type:

$ cd /
$ cd /etc/modprobe.d/
$ sudo pluma usbhid.conf

... and add the following:

options usbhid mousepoll=1

Save and exit.

$ sudo reboot

Login. Open a terminal and type:

$ cd /
$ cat sys/module/usbhid/parameters/mousepoll

If you see "1", then mouse polling rate (1000 Hz) is enabled.

Method two:

Open a terminal and type:

$ cd /
$ sudo pluma /etc/default/grub

In that file, look for the line that says "GRUB_CMDLINE_LINUX_DEFAULT ="quiet" and add the following:

usbhid.mousepoll=1

The line should look like this:

"GRUB_CMDLINE_LINUX_DEFAULT="usbhid.mousepoll=1 quiet"

Save and exit.

$ sudo update-grub
$ sudo update-grub2
$ sudo reboot

Login. Open a terminal and type:

$ cd /
$ cat sys/module/usbhid/parameters/mousepoll

If you see "1", then mouse polling rate (1000 Hz) is enabled.

Using ratctl utility

Open a terminal and type:

$ wget https://github.com/MayeulC/Saitek/archive/master.zip
$ unzip master.zip
$ cd Saitek-master/
$ sudo cp 90-ratctl.rules etc/udev/rules.d/
$ sudo cp ratctl.py /usr/bin/
$ cd /usr/bin/

And change the owner. Example:

$ sudo chown blackout:blackout ratctl.py

Just change 'blackout:blackout' for your $username

As ratctl utility is written in python, we need some packages or dependencies:

$ sudo apt-get install python3 python3-pyqt5 python3-libusb1
$ sudo udevadm control --reload
$ sudo udevadm trigger
$ ratctl.py

Configure your DPI using the GUI.

















Creating a shortcut in tasks bar for ratctl utility.

Right click in task bar. Add to panel:













And select App custom launcher. Add:



















In the open box, type:

Type: Application
Name: ratctl utility
Command: python3 /usr/bin/ratctl.py
Comment: Configure Cyborg Mad Catz R.A.T. 7 in Linux

Example:











Close.

Configure your DPI using the GUI.
















That's all.

Tuxkernel...

SOURCES:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/615892/comments/49
https://github.com/MayeulC/Saitek
https://wiki.archlinux.org/index.php/Mouse_polling_rate
https://utcc.utoronto.ca/~cks/space/blog/linux/USBMousePollingRate