From owner-freebsd-current Thu May 20 10:22:57 1999 Delivered-To: freebsd-current@freebsd.org Received: from qix.jmz.org (ppp008.infranet.fr [195.68.70.135]) by hub.freebsd.org (Postfix) with ESMTP id 3C23715195 for ; Thu, 20 May 1999 10:22:52 -0700 (PDT) (envelope-from jmz@FreeBSD.ORG) Received: (from jmz@localhost) by qix.jmz.org (8.9.3/8.9.3) id TAA04440; Thu, 20 May 1999 19:23:49 +0200 (MET DST) (envelope-from jmz@FreeBSD.ORG) Date: Thu, 20 May 1999 19:23:49 +0200 (MET DST) Message-Id: <199905201723.TAA04440@qix.jmz.org> From: Jean-Marc Zucconi To: dawes@rf900.physics.usyd.edu.au Cc: thyerm@camtech.com.au, current@FreeBSD.ORG In-reply-to: <19990520224919.B4105@rf900.physics.usyd.edu.au> (message from David Dawes on Thu, 20 May 1999 22:49:19 +1000) Subject: Re: XFree86 xsetpointer causes silo overflows (Was: Re: Fixed my MAMEd sio problem.) X-Mailer: Emacs References: <199905170127.LAA04147@godzilla.zeta.org.au> <37418C29.DEECA1AC@camtech.com.au> <19990519182237.H29455@rf900.physics.usyd.edu.au> <3742C5B7.5E85F408@camtech.com.au> <19990520224919.B4105@rf900.physics.usyd.edu.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> David Dawes writes: > IMHO the problem is in the joystick driver and in your assumptions. By > configuring the joystick in your Xserver config file, you're giving the > server exclusive use of the device for the lifetime of the X server > process. Implementing more agressive closing might solve your particular > problem, but it doesn't deal with the real problem of the joystick driver > causing the silo overflows. All interrupts are blocked when you read the joystick position, and this is the reason of the silo overflows. It is almost impossible to avoid (it could be possible to use a very high frequency timer and to check the joystick status during the interrupts, but this has an impact on the precision of the position). However keeping the device opened can't cause silo overflows. It seems rather than the X server continues to read the joystick position after the client stops using it. This can be considered as a bug in the X server. Jean-Marc -- Jean-Marc Zucconi PGP Key: finger jmz@FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message