domingo, 27 de agosto de 2017


This year I bought a new gaming mouse, the MO-404 from Vorago. I plugged it into the USB port and turned on my computer. While loading the system, I could see a strange message during startup. Already on the desktop, I opened a terminal and typed the dmesg command to see what it meant. The message was:

[   16.093089] hid-generic 0003:1D57:FA0A.0002: usb_submit_urb(ctrl) failed: -1



Looking at forums, I discovered that the mouse require some adjustments.

FIXES

ONLY MOUSE POLLING RATE

METHOD ONE:

Open a terminal and type:

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

In that file, add the following:

options usbhid mousepoll=1

Save and exit.

$ sudo reboot

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

TODO (QUIRK AND MOUSE POLLING RATE AT THE SAME TIME)

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.quirks=0x1D57:0xFA0A:0x20000000 usbhid.mousepoll=1

The line should look like this:

"GRUB_CMDLINE_LINUX_DEFAULT="usbhid.quirks=0x1D57:0xFA0A:0x20000000 usbhid.mousepoll=1 quiet"

Save and exit.

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

That's all.

Tuxkernel...

USERSPACE DRIVER FOR LINUX (REVERSE ENGINEER)

NOTE: This project is not complete yet. This project is under development.

INITIAL REQUIREMENTS:

* VirtualBox (5.2.18 or above)
* Windows XP .iso image (for VirtualBox)
* Vorago MO-404 software (for Windows XP in VM)
* Wireshark (2.2.6 or above)
* usbmon module kernel (# sudo modprobe usbmon)

REQUIREMENTS FOR USERSPACE DRIVER (LINUX):

* libusb (1.0 or above)
* pyusb (1.0 or above)
* pyqt3 (or above)

RESEARCHES:

01_lsusb.txt
02_lsusb_-d_1d57_fa0a_-v.txt
03_wireshark_captures.txt

DOWNLOADS (ONLY WINDOWS OS):

Official homepage:

Manual
Driver (Windows XP, Vista, 7, 8, 8.1, 10) RAR

External link:

Manual
Driver (Windows XP, Vista, 7, 8, 8.1, 10) ZIP
Driver (Windows XP, Vista, 7, 8, 8.1, 10) RAR
Driver (Windows XP, Vista, 7, 8, 8.1, 10) ISO
Driver (Windows XP, Vista, 7, 8, 8.1, 10) BIN + CUE
Driver (Windows XP, Vista, 7, 8, 8.1, 10) TOC.BIN + TOC