Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2008 16:31:03 -0500
From:      Jung-uk Kim <jkim@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        Teemu Korhonen <teemu.korhonen@mbnet.fi>, freebsd-x11@freebsd.org
Subject:   Re: jerky mouse still in 7.0-RELEASE
Message-ID:  <200802281631.07844.jkim@FreeBSD.org>
In-Reply-To: <47C6FDD0.2040902@mbnet.fi>
References:  <47C6FDD0.2040902@mbnet.fi>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-00=_bgyxHIeEiBhUhAI
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Thursday 28 February 2008 01:30 pm, Teemu Korhonen wrote:
> Did anyone find a solution to the "jerky mouse" -problem? It still
> exists in 7.0-RELEASE.
>
> I have pretty much exact same symptoms as in this post:
> 
http://lists.freebsd.org/pipermail/freebsd-stable/2008-January/039599.html

Can you try the attached patches for ports/x11-servers/xorg-server?  
Just drop them in files directory, rebuild, reinstall, etc...

Thanks,

Jung-uk Kim

--Boundary-00=_bgyxHIeEiBhUhAI
Content-Type: text/plain;
  charset="iso-8859-1";
  name="patch-configure"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="patch-configure"

--- configure.orig	2008-02-28 16:08:55.000000000 -0500
+++ configure	2008-02-28 16:11:19.000000000 -0500
@@ -30376,7 +30376,7 @@
 else
   cat >conftest.$ac_ext <<_ACEOF
 
-#define _POSIX_C_SOURCE 199309L
+#define _POSIX_C_SOURCE 200112L
 #include <time.h>
 
 int main(int argc, char *argv[]) {
--- configure.ac.orig	2007-09-06 01:59:00.000000000 -0400
+++ configure.ac	2008-02-28 16:11:23.000000000 -0500
@@ -1055,7 +1055,7 @@
     LIBS="$CLOCK_LIBS"
 
     AC_RUN_IFELSE([
-#define _POSIX_C_SOURCE 199309L
+#define _POSIX_C_SOURCE 200112L
 #include <time.h>
 
 int main(int argc, char *argv[[]]) {

--Boundary-00=_bgyxHIeEiBhUhAI
Content-Type: text/plain;
  charset="iso-8859-1";
  name="patch-os-utils.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="patch-os-utils.c"

--- os/utils.c.orig	2007-08-23 15:04:55.000000000 -0400
+++ os/utils.c	2008-02-28 16:20:29.000000000 -0500
@@ -525,7 +525,11 @@
 
 #ifdef MONOTONIC_CLOCK
     struct timespec tp;
+#ifdef __FreeBSD__
+    if (clock_gettime(CLOCK_MONOTONIC_FAST, &tp) == 0)
+#else
     if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0)
+#endif
         return (tp.tv_sec * 1000) + (tp.tv_nsec / 1000000L);
 #endif
 

--Boundary-00=_bgyxHIeEiBhUhAI
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
--Boundary-00=_bgyxHIeEiBhUhAI--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802281631.07844.jkim>