I'm really new at linux. I just installed Ubuntu 12.04- I compiled and tried to run a program but it doesn't work and I don't have a clue why. searched on google but no one seems to have a problem with it. It must be a silly error.
the program is evhz.c (link here: http://web.archive.org/web/20060623094750/http://homepages.nildram.co.uk/~kial/evhz.c ). The program verifies the changed you done in the mouse polling rate. I used this guide: https://wiki.archlinux.org/index.php/Mouse_Polling_Rate
gcc -o evhz evhz.c to compile it.
First I got the error:
evhz.c: In function ‘main’: evhz.c:35:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
I added #include string.h, as the guide suggested.
Then I tried to compile again and it was compiled with no warnings.
I used ./evhz to execute it as root. (The script has executable permissions.)
But nothing is shown on the screen: I only get :
:~/Desktop$ ./evhz Press CTRL-C to exit.
It supposed to show a list of usb devices and their polling rate.
Any idea why isn't working, suggestions, or alternative programs to evhz?