From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 19 17:31:40 2005 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69E0216A4CF for ; Sat, 19 Mar 2005 17:31:40 +0000 (GMT) Received: from trickle.cc.mcgill.ca (trickle.CC.McGill.CA [132.206.27.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 308F743D39 for ; Sat, 19 Mar 2005 17:31:33 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan5.CC.McGill.CA (mailscan5.CC.McGill.CA [132.216.77.252])j2JHVQQp013992; Sat, 19 Mar 2005 12:31:30 -0500 (EST) Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) j2JHV0uO002582; Sat, 19 Mar 2005 12:31:02 -0500 Received: from localhost.localdomain (acid.cnd.mcgill.ca [132.216.11.151]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j2JHUwAa019796; Sat, 19 Mar 2005 12:30:59 -0500 Received: from localhost.localdomain (acid [127.0.0.1]) j2JHUwwm007739; Sat, 19 Mar 2005 12:30:58 -0500 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j2JHUtnV007738; Sat, 19 Mar 2005 12:30:55 -0500 Date: Sat, 19 Mar 2005 12:30:54 -0500 From: Mathew Kanner To: Ian Smith Message-ID: <20050319173054.GA3185@cnd.mcgill.ca> References: <1d3ed48c050317073844cffd00@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA cc: freebsd-multimedia@freebsd.org cc: Kevin Downey cc: Mathew Kanner Subject: Re: Joy X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2005 17:31:40 -0000 On Mar 17, Ian Smith wrote: > On Thu, 17 Mar 2005, Kevin Downey wrote: > > On Wed, 16 Mar 2005 16:57:32 -0500, Mathew Kanner wrote: > > > On Mar 16, Kevin Downey wrote: > > > > So, I got this cheap old used microsoft gamepad of some > > > > kind(sidewinder?). It plugs into the "game port" on the sound card. I > > > > figure all I will have to do is kldload a module or few to get it > > > > running. So kldload joy and nada. Does device joy need to be in the > > > > kernel? is joy.ko just a siren's song of impossibilities to lure the > > > > ignorant? > > kldload joy hasn't worked for me since 3.3-RELEASE. It worked (as I > recall) in 2.2.6-RELEASE though I added it to the kernel then anyway, > for an experimental UPS interface - yet another unfinished project :) > > I've tried kldload joy on 3.3, 4.5, 4.8 and 4.10 systems. Yes it loads, > no it doesn't work, but works fine in kernel here on 3.3 and 4.5 boxes. > > > > Been a long time since I've though about joy. Anyway, I seem > > > to recall that you need a hint to enable joy since it's ISA and not > > > PNP. Is it there? Is it commented out? (Away from my freebsd > > > machine) > > > > > > --Mat > > joy.c (at 4.x) has a bunch of isa_pnp_id definitions, with pnp probe - > maybe kldload might work with PnP, dunno, mine were ISA gameport cards. I'm got it wrong on this one. emu10k1 does not work for the joystick though I provided patches that make it work. I thought for sure they were committed, but alas not. In regards to ISA gameports, kldload joy did work on PnP cards at least at some point, I had a compaq 486 (first gen) last year running as my answering machine that had an all-in-one soundcard/modem that was ISA and it did work on that. I threw the machine out when I moved last year though so I can't prove it and have to rely on my fuzzy memory. Though I think that non-PNP ISA gameports (like what most PCI soundcards provide) should work with the proper hint. Worst case you have to enable some compatibility register on the soundcard that makes the port available at the default address. I've lost my joystick so 've asked to borrow one from somebody at work so I give it a shot sometime next week (assuming he can find it). --Mat