Mailinglist Archive: opensuse (3254 mails)

< Previous Next >
Re: [SLE] How do I setup a joystick in 8.0??
  • From: Curtis Rey <crrey@xxxxxxxxxxx>
  • Date: Sun, 1 Sep 2002 18:46:49 -0500
  • Message-id: <200209011846.49239.crrey@xxxxxxxxxxx>
Do this (according to the 7.3 config manual).

modprobe joydev
modprobe <you joystick module aka - analog will work>
modprobe analog

To automate this enter these lines into you ~/bool.local file

/sbin/modprobe joydev
/sbin/modprobe <you joystick module aka - analog will work>
/sbin/modprobe analog

Now, you have to set the permissions for the device. There are two sets
In the /dev folder you will have a subdir - "input" with devices js0 through
3. Make sure you at least set the group to "users" with read (r) and enter
(x) permission - mine are also set to write (w) also, or you can set the
owner to your self and the group to users.
Mine are set as follows:

crrey@Crusher-1:~> la /dev/input/js0
crwxrwxr-- 1 root users 13, 0 Mar 23 13:47 /dev/input/js0
there is also the devices "/dev/js0 through 3, set the same permissions as
well. Typically these devices had to be linked before configuring them and
loading the modules with:

"ln -sf /input/js0 /dev/js0" and doing this 3 more times (providing that you
want/need devices js1, js2, and js3 - maybe so if you've also got a gampad or
two part set up - like left and right flight controls). You may not have to
do this however, SuSE 8.0 doesn't seem to require this - perhaps they're
already symlinked.

Anyway, try to see if it's working by running "jstest /dev/js0" or "jstest
/dev/imput/js0" (/dev/js0 should work though). I would also recommend
making sure you have "jscalibrator" in the package "libjsw" in series d (at
least for 7.3) and package "libjsw-calibrator", also in series d. Just do a
search for "jsw", "joystick", etc... if you need to install from the cd. You
use "jscalibrator" to configure the stick by running "/usr/bin/jscalibrator".

That should get you up and running.
Let me know if not.

HTH, Cheers. Curtis


On Sunday 01 September 2002 17:12, Tom Nielsen wrote:
> Gameport on an Ensoniq Soundblaster PCI128.
>
> Thanks,
> Tom
>
> On Sun, 2002-09-01 at 09:34, Curtis Rey wrote:
>
> Are you using a USB or Gameport connection?
>
> Curtis
>
> On Sunday 01 September 2002 00:51, Tom Nielsen wrote:
> > I've been trying to find out how to setup a joystick in 8.0, but all
> > I see is a kernal mod (which scares me because I don't know how to do
> > it).
> >
> > I installed Suse without a joystick and now I'm wondering how much
> > work I have to go thru to get it working.
> >
> > Thoughts???
> >
> > Thanks,
> > Tom
>
> --
> Check the headers for your unsubscription address
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the archives at http://lists.suse.com
> Please read the FAQs: suse-linux-e-faq@xxxxxxxx


< Previous Next >
Follow Ups