Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2005 12:30:54 -0500
From:      Mathew Kanner <mat@cnd.mcgill.ca>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        Mathew Kanner <mat@cnd.mcgill.ca>
Subject:   Re: Joy
Message-ID:  <20050319173054.GA3185@cnd.mcgill.ca>
In-Reply-To: <Pine.BSF.3.96.1050318025413.7442C-100000@gaia.nimnet.asn.au>
References:  <1d3ed48c050317073844cffd00@mail.gmail.com> <Pine.BSF.3.96.1050318025413.7442C-100000@gaia.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mat@cnd.mcgill.ca> 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


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