From owner-freebsd-questions@FreeBSD.ORG Wed Aug 27 04:08:53 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CC73106566C for ; Wed, 27 Aug 2008 04:08:53 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 531ED8FC13 for ; Wed, 27 Aug 2008 04:08:52 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id m7R48oX3054029; Wed, 27 Aug 2008 14:08:50 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 27 Aug 2008 14:08:49 +1000 (EST) From: Ian Smith To: Christopher Joyner In-Reply-To: Message-ID: <20080827135745.I53360@sola.nimnet.asn.au> References: <20080825181259.4801510656C2@hub.freebsd.org> <20080826161427.U14827@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: questions@freebsd.org Subject: Re: Joy stick not being detected! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2008 04:08:53 -0000 On Tue, 26 Aug 2008, Christopher Joyner wrote: [adding -questions back into the cc list] > On Tue, Aug 26, 2008 at 6:33 AM, Ian Smith wrote: > > On Mon, 25 Aug 2008 17:55:57 +0000 Christopher Joyner wrote: > > > > > I have a Gravis GamePad Pro hooked up to a ISA SBLive! > > > emu10k1 loads, but the joy stick is not detected. > > > > > > I am loading the module manually, kldload joy, only loads but no feedback. > > > > > > Am I missing something? > > > > Try the one-line perl example in joy(4) to see if your joystick works, > > for some value of 'works' .. ie actually logs changing axis values and > > button press/release status. > > > > I don't think there's any specific support for joysticks, you pretty > > much have to write your own. With what program did you hope to use it? > > > > Years ago I wrote a little rexx program that read (pseudo) joystick X,Y > > values and button (actually relay switch) values for detecting and > > controlling shutdown conditions for a simple-interface Liebert UPS, > > using the standard joystick / MIDI port on a couple of ISA cards. > > > > From memory it only worked right when device joy was compiled into > > kernel, not kldloaded - but that was way back around FreeBSD 3.3 .. > > > > > If I wrote my own, could I contribute it to the FreeBSD project? If it worked, I'm sure you could :) How many people are hanging out for it (ie potential testers) is another matter I guess .. > I will try putting this into the kernel and see what happens! If that one-line perl test works with the SBLive, you've got some hope. > I want to use this with an emulator, zsnes. Does this emulator basically fire up ok on freeBSD? I can see why the joystick would have to work to be able to do anything useful with it. good luck, Ian