X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=README.md;h=13e8782d788596c3691cc800e078784ed1581870;hb=7a9bfe10151578151ab96d0b7d83c527b2e6646c;hp=328c4e5815318d8ca225c8957d5c7f9940b5451b;hpb=d39eacd5ea70a7a9db332964d8c2bc13e16098ea;p=evhz diff --git a/README.md b/README.md index 328c4e5..13e8782 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,23 @@ -evhz -==== +# evhz -Display the current mouse refresh rate under evdev linux system. +Show mouse refresh rate under linux + evdev -It is sufficient to simply download evhz.c vs cloning the repo. +For information about polling rate, see https://wiki.archlinux.org/index.php/Mouse_Polling_Rate -To compile and run: +Just do ./run (run is very short and readable). -gcc -o evhz evhz.c +Nonverbose mode = -n, but you probably don't want that. -sudo ./evhz +Reported average is for the last 64 samples, or as many as we have so far. -Nonverbose mode = -n +There exists a kernel bug for USB ports which use the uhci_hcd driver, +where a 1000 hz mouse will only read at 500hz, causing jittering: +https://bugzilla.kernel.org/show_bug.cgi?id=60586. A workaround is to +use USB ports that use the ehci-pci driver. -Bugs, patches, requests, etc. are welcome. +Maintainer: Ian Kelling -Last tested 7/2014 on Fedora 20. Still working great. \ No newline at end of file +Bugs, patches, requests, feedback are welcome. + +Last tested 7/2016 on Debian testing. Still working great after several +years.