[Nottingham] Hello - joystick howto anybody?

Robert Davies nottingham at mailman.lug.org.uk
Sat Jan 18 13:02:00 2003


On Saturday 11 January 2003 17:19, you wrote:
> Hi,
> I'm fairly new to Linux and use it more as an OS to sit in the background
> than something to play with all of the time, if that makes sense?
> Anyway, someone pointed my to the LUG as a useful source of information and
> sharing ideas so I was wondering if anyone out there could help me on
> something.
> I use Mandrake 9.0 (although it's actually a triple boot Mdk8.2, Win XP,
> Mdk9.0 box but that's irrelevant really ) and I'm looking to try to get a
> joystick working with it.
> Can anyone point me to a joystick howto please? As I cannot find one in the
> LDP ( maybe I'm looking for the wrong thing?)

I have joystick working with SuSE, the kernel source has the best info, if 
you do not have access to a SuSE Technical Manual.

> A few things I've noticed so far:
> No /dev/js0 file (or whatever you call it) - which I suppose shouldn't
> surprise me as the /dev files for the nvidia drivers didn't get created
> when they should have either. I don't know if this matters.

mknod, you 'attach' the device number to the module in modules.conf so they 
are auto loaded.

> The Tuxracer docs say it should just work with a joystick in /dev/js0 but I
> haven't got one. Can I just mknod one someone can tell me the major and
> minor ids? (15,0 doesn't make it work )
> Harddrake says the joystick is a SB Live! (joystick) and uses module
> emu10k1-gp.  I guess this is just a generic joystick driver for a joystick
> plugged in through the SB sound card?
>
> Anyway, if anyone could point me in the direction of a joystick howto, FAQ
> or a list of things I need to do to make it work I'd be appreciative. (Not

Use the source Luke!   The kernel hackers have documented this :)

Rob