From: Guillaume Chazarain <guichaz@yahoo.fr>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Runtime joystick detection & snd-ens1371
Date: Thu, 9 Oct 2003 14:15:31 +0200 [thread overview]
Message-ID: <20031009141531.21dd15ab.guichaz@yahoo.fr> (raw)
Hello,
I have an Ensoniq ES1371 with a joystick port, so the
joystick driver depends on the snd-ens1371 (I use alsa)
module to be loaded.
With this line in /etc/modprobe.conf, I can use the joystick
as soon as the sound module is loaded.
install snd-ens1371 /sbin/modprobe -i snd-ens1371; \
/usr/sbin/alsactl restore; \
/sbin/modprobe -iq joydev; \
/sbin/modprobe -iq analog
But I'd like to be able to use the joystick without manually
loading the sound module. With 2.4 I would put "alias char-major-XX sound"
in /etc/modules.conf with XX being js0 major number. Unfortunately,
with 2.6 if I cat /dev/js0 without the sound module loaded, it does
not find the joystick but does not try to load any module on which I could hook.
Also, between 2.6.0-test5 and 2.6.0-test6 my joystick stopped
working properly. When cat'ting /dev/js0 I still can get some output
when I play with the joystick but xmms using
ioctl(joy_fd, JSIOCGBUTTONS, &joy_buttons);
sees 0 buttons for my joysticks which has 4.
Not sure if it helps, but my not so trained eyes see much more output
with 2.6.0-test6 than 2.6.0-test5 with cat /dev/js0 and me playing with
the joystick.
Thanks for any help.
Guillaume.
reply other threads:[~2003-10-09 12:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031009141531.21dd15ab.guichaz@yahoo.fr \
--to=guichaz@yahoo.fr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®