Browse Source

Mention CONFIG_HIGH_RES_TIMERS kernel setting.

Georgi Chorbadzhiyski 7 years ago
parent
commit
1ea99e2b2f
2 changed files with 4 additions and 1 deletions
  1. 3 0
      README
  2. 1 1
      sleep.c

+ 3 - 0
README View File

@@ -10,6 +10,9 @@ Installation
10 10
 mptsd do not depend on any external libraries. There are two source code
11 11
 dependancies that come with mptsd - libfuncs and libtsfuncs.
12 12
 
13
+Make sure your kernel has CONFIG_HIGH_RES_TIMERS enabled. Otherwise sleep
14
+timeout probably won't be able to calibrate itself and mptsd will not work.
15
+
13 16
 Documentation
14 17
 =============
15 18
 mptsd is controlled using command line parameters. Run mptsd to see all of

+ 1 - 1
sleep.c View File

@@ -52,7 +52,7 @@ void * calibrate_sleep(void *_config) {
52 52
 	}
53 53
 
54 54
 	if (conf->output_tmout < 0) {
55
-		LOGf("usleep overhead is to much!! Disabling output rate control.\n");
55
+		LOGf("usleep overhead is too high! Make sure the kernel is compiled with CONFIG_HIGH_RES_TIMERS.\n");
56 56
 		conf->output_tmout = 0;
57 57
 	}
58 58