Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2003 21:02:08 -0800
From:      "Alex Teslik" <alex@acatysmoof.com>
To:        Mathew Kanner <mat@cnd.mcgill.ca>
Cc:        list-freebsd-multimedia <freebsd-multimedia@freebsd.org>
Subject:   Re: Logitech Wingman Attack joystick
Message-ID:  <20030506045100.M57035@acatysmoof.com>
In-Reply-To: <20030505213740.GF31681@cnd.mcgill.ca>
References:  <20030505070220.M38996@acatysmoof.com> <20030505213740.GF31681@cnd.mcgill.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<snip>  
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);
</snip>

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
<snip>
Id Refs Address    Size     Name
 5    1 0xc3435000 3000     joy.ko
        Contains modules:
                Id Name
                133 isa/joy
                134 pci/joy
</snip>

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 <mat@cnd.mcgill.ca>
To: Alex Teslik <alex@acatysmoof.com>
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 -------



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