From owner-freebsd-multimedia Mon Oct 30 16:23:43 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id B105537B4CF for ; Mon, 30 Oct 2000 16:23:38 -0800 (PST) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id KAA21897; Tue, 31 Oct 2000 10:53:22 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 31 Oct 2000 10:53:22 +0930 (CST) From: "Daniel O'Connor" To: Mike Holling Subject: RE: joystick on als120 Cc: freebsd-multimedia@freebsd.org Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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