From owner-freebsd-current Mon Apr 24 7:39:54 2000 Delivered-To: freebsd-current@freebsd.org Received: from buzz.slic.com (eagle.slic.com [216.73.13.5]) by hub.freebsd.org (Postfix) with SMTP id B2E5237BB0A for ; Mon, 24 Apr 2000 07:39:39 -0700 (PDT) (envelope-from jontow@voodoo.minix.cx) Received: (qmail 248 invoked from network); 24 Apr 2000 14:49:45 -0000 Received: from unknown (HELO voodoo.minix.cx) (postfix@216.73.11.10) by eagle.slic.com with SMTP; 24 Apr 2000 14:49:45 -0000 Received: by voodoo.minix.cx (Postfix, from userid 1000) id 9AC4E2685; Mon, 24 Apr 2000 09:36:54 -0500 (EST) Date: Mon, 24 Apr 2000 09:36:54 -0500 From: Jonathan Towne To: Stephen Hocking Cc: freebsd-current@freebsd.org Subject: Re: Joystick has stopped working Message-ID: <20000424093653.A23873@minix.cx> Mail-Followup-To: Stephen Hocking , freebsd-current@freebsd.org References: <200004240656.OAA06520@bloop.craftncomp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200004240656.OAA06520@bloop.craftncomp.com>; from shocking@prth.pgs.com on Mon, Apr 24, 2000 at 02:56:33PM +0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 24, 2000 at 02:56:33PM +0800, Stephen Hocking scribbled: # For sometime now, the analogue joy stick driver hasn't been working - it seems # to persistently return totally wild deviations when being read. Also, trying # to use it as a kld doersn't seem to work. Has anyone else had similar probs? I have the exact same problem..both under 5.0-CURRENT and 3.3-RELEASE.. but I've only got access to the -CURRENT machine now. An example of those evil values that it returns can be had via the perl one-liner in the joy(4) manpage.. www% perl -e 'open(JOY,"/dev/joy0")||die;while(1){sysread(JOY,$x,16); @j=unpack("iiii",$x);print "@j\n";sleep(1);}' -2147483648 -2147483648 0 0 -2147483648 -2147483648 0 0 -2147483648 -2147483648 0 0 -2147483648 -2147483648 0 0 ... etc etc The module even fails to load here, so I can't try that, and this happens with and without a joystick attached.. if you get a solution to this problem, please clue me in on it :) - Jonathan Towne To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message