Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 10:53:22 +0930 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Mike Holling <myke@ees.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   RE: joystick on als120
Message-ID:  <XFMail.001031105322.doconnor@gsoft.com.au>
In-Reply-To: <Pine.BSF.3.96.1001030130644.2893A-100000@sack.ees.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 30-Oct-00 Mike Holling wrote:
>  don't quite understand the probing process.  I'm using joy as an LKM, and
>  whenever I load the module the "probe" method seems to be called three
>  times.  Below is some output from the driver, now heavily littered with

That isn't suprising..

AFAIK newbus tries the newly loaded driver on the 'leftovers' (ie devices which
nothing is yet attached to)

>  The number for ALS120 in the old driver didn't match anything I saw in
>  pnpinfo, and I wasn't able to tell what (if anything) in pnpinfo
>  corresponded to the game port.  The ISA driver tutorial is excellent, but

Hmm.. I would show you an example but I don't have any PnP devices on a machine I
have access to at the moment :)

>  only covers statically compiled drivers, do I need to do something
>  slightly different for an lkm?

No, AFAIK when you have any driver it can be a KLD provided it is compiled the
correct way. (Definatly not 100% sure tho :) - However I do know the joy driver has
the requisite magic in it already.

>  The driver seems to work OK otherwise, and the test program in the joy man
>  page returns reasonable looking values. Actually getting any application
>  programs to use the joystick device correctly is another matter.  Has
>  anyone used the "Joystick" subsection for "XInput"?  The man pages say it
>  should be supported but XFree complains that "Joystick" is not a valid

Have you tried adding a 'Load xf86Jstk.so' ?
I haven't tried using the joystick under X before though.

>  subsection entry.  xmame does work with the joystick in i386 driver mode,
>  but only after adding some defines to a sub-Makefile.

Send a patch to the port maintainer 8-)

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




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