X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=README.md;h=6707c4531e428946589172984b9eb70f719e237b;hb=3b656489b70838afaeb33359cb0086e2a184c81f;hp=40dbeeb4bc9406889ad018b3f14506e5ae4c6eaf;hpb=0f170f03acdbf0ee30717347ddb621ac69bc2a3f;p=evhz diff --git a/README.md b/README.md index 40dbeeb..6707c45 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,20 @@ # evhz -Display the current mouse refresh rate under linux with evdev +Show mouse refresh rate under linux + evdev For information about polling rate, see https://wiki.archlinux.org/index.php/Mouse_Polling_Rate -The program is just evhz.c. Compile and run: +Just do ./run (run is very short and readable). - gcc -o evhz evhz.c - sudo ./evhz +Nonverbose mode = -n, but you probably don't want that. -Nonverbose mode = -n +Reported average is for the last 64 samples, or as many as we have so far. + +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. Maintainer: Ian Kelling Bugs, patches, requests, feedback are welcome. - -Last tested 7/2016 on Debian testing. Still working great after several -years.