From owner-freebsd-multimedia@FreeBSD.ORG Mon May 5 22:02:14 2003 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 8C7E037B401 for ; Mon, 5 May 2003 22:02:14 -0700 (PDT) Received: from gouda.acatysmoof.com (adsl-64-170-164-211.dsl.lsan03.pacbell.net [64.170.164.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF8B443F3F for ; Mon, 5 May 2003 22:02:13 -0700 (PDT) (envelope-from alex@acatysmoof.com) Received: from acatysmoof.com (localhost [127.0.0.1])h46528Ch000379; Mon, 5 May 2003 22:02:08 -0700 (PDT) (envelope-from alex@acatysmoof.com) From: "Alex Teslik" To: Mathew Kanner Date: Mon, 5 May 2003 21:02:08 -0800 Message-Id: <20030506045100.M57035@acatysmoof.com> In-Reply-To: <20030505213740.GF31681@cnd.mcgill.ca> References: <20030505070220.M38996@acatysmoof.com> <20030505213740.GF31681@cnd.mcgill.ca> X-Mailer: Open WebMail 1.90 20030218 X-OriginatingIP: 64.170.164.211 (alex) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 cc: list-freebsd-multimedia Subject: Re: Logitech Wingman Attack joystick 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: Tue, 06 May 2003 05:02:14 -0000 Hi Matt, I applied the patch, re-compiled joy support out of my kernel (the new module code compiled with no problems), and tried to load the module. Output below: [alex]/dev# kldload -v joy Loaded joy, id=5 [alex]/dev# xmame -joytype 7 pacman done SDL: Info: Video mode set as 1024 x 768, depth 16 SDL: joystick interface initialization... SDL: 0 joysticks founds. OSD: Warning: No joysticks found disabling joystick support Using 16bpp video mode SDL: sysdep_display_alloc_palette(65536); I also tried the other xmame -joytypes with the same results. The loading of the module and your pci patch appear to have worked: [alex]/dev# kldstat -v Id Refs Address Size Name 5 1 0xc3435000 3000 joy.ko Contains modules: Id Name 133 isa/joy 134 pci/joy I tried blasting joy* from /dev and ./MAKEDEV joy* again, just in case the device needed to be built differently because of the isa to pci change. I didn't notice anything different about the new joy devices in /dev. Again though, thank you for the patch - pretty awesome when you have a problem and code flies in from userland. :)) Any more ideas of course appreciated. Thanks, Alex ---------- Original Message ----------- From: Mathew Kanner To: Alex Teslik Sent: Mon, 5 May 2003 17:37:40 -0400 Subject: Re: Logitech Wingman Attack joystick > [ Not for -questions ] > > On May 05, Alex Teslik wrote: > > [...] > > and no response when I actually press a button. > > > > Is there another way to test or calibrate joysticks in FreeBSD? > > Out of ideas. Any help much appreciated. > > Hello Alex, > Feel brave? Try this untested patch, it's against 4.8-rc1 I > think. I don't have a soundblaster so it's really just a wild guess. > > Uh, use modules. and edit /usr/src/sys/modules/joy/Makefile as > -SRCS = bus_if.h device_if.h isa_if.h joy.c > +SRCS = bus_if.h device_if.h isa_if.h pci_if.h joy.c > > Cheers, > --Mat > > -- > Brain: Are you pondering what I'm pondering? > Pinky: I think so, Brain, but me and Pippi Longstocking... I mean, > what would the children look like? ------- End of Original Message -------