Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxkernel authored Jun 27, 2019
1 parent 43154d2 commit 2d5027a
Showing 1 changed file with 27 additions and 38 deletions.
65 changes: 27 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,82 +8,71 @@

Open a terminal and type:

- **`cd /`**
- `sudo pluma etc/modprobe.d/usbhid.conf`
- **`cd /`
- **`sudo pluma etc/modprobe.d/usbhid.conf`

In that file, add the following:

`options usbhid mousepoll=1`
**`options usbhid mousepoll=1`

Save and exit.

`sudo reboot`
**`sudo reboot`

You can check your mouse polling rate, opening a terminal and typing:

- `cd /`
- `cat sys/module/usbhid/parameters/mousepoll`
- **`cd /`
- **`cat sys/module/usbhid/parameters/mousepoll`

If you get "1", then mouse polling rate (1000 Hz) is ENABLED.
If you get "**1", then mouse polling rate (1000 Hz) is **ENABLED.

### Method two (via boot kernel module parameter):

Open a terminal and type:

- `cd /`
- `sudo pluma /etc/default/grub`
- **`cd /`
- **`sudo pluma /etc/default/grub`

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

`usbhid.mousepoll=1`
**`usbhid.mousepoll=1`

The line should look like this:

`"GRUB_CMDLINE_LINUX_DEFAULT="quiet usbhid.mousepoll=1"`
**`"GRUB_CMDLINE_LINUX_DEFAULT="quiet usbhid.mousepoll=1"`

Save and exit.

- `sudo update-grub`
- `sudo update-grub2`
- `sudo reboot`
- **`sudo update-grub`
- **`sudo update-grub2`
- **`sudo reboot`

You can check your mouse polling rate, opening a terminal and typing:

- `cd /`
- `cat sys/module/usbhid/parameters/mousepoll`

If you get "1", then mouse polling rate (1000 Hz) is ENABLED.

## Checking mouse polling rate in real-time with evhz

Open a terminal and type:
You can check mouse polling rate, opening a terminal and typing:

- `wget https://gitlab.com/iankelling/evhz/-/archive/master/evhz-master.zip`
- `unzip evhz-master.zip`
- `cd evhz-master/`
- `./run`
- **`cd /`
- **`cat sys/module/usbhid/parameters/mousepoll`

Then move Vorago 404 "gaming mouse" to check polling rate. Press CTRL-C to exit.
If you get "**1", then mouse polling rate (1000 Hz) is **ENABLED.

## Fix hid-generic 0003:1D57:FA0A.0002: usb_submit_urb(ctrl) failed: -1

Open a terminal and type:

- `cd /`
- `sudo pluma /etc/default/grub`
- **`cd /`
- **`sudo pluma /etc/default/grub`

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

`usbhid.quirks=0x1D57:0xFA0A:0x20000000`
**`usbhid.quirks=0x1D57:0xFA0A:0x20000000`

The line should look like this:

`"GRUB_CMDLINE_LINUX_DEFAULT="quiet usbhid.quirks=0x1D57:0xFA0A:0x20000000"`
**`"GRUB_CMDLINE_LINUX_DEFAULT="quiet usbhid.quirks=0x1D57:0xFA0A:0x20000000"`

Save and exit.

- `sudo update-grub`
- `sudo update-grub2`
- `sudo reboot`
- **`sudo update-grub`
- **`sudo update-grub2`
- **`sudo reboot`

Tools for Vorago 404 "gaming mouse" under GNU/Linux. Coming soon... ;-)´

0 comments on commit 2d5027a

Please sign in to comment.