From: B.Rathmann@ping.de
To: linux-hotplug@vger.kernel.org
Subject: Re: udev Input devices / Joysticks
Date: Mon, 26 Jun 2006 07:28:39 +0000 [thread overview]
Message-ID: <20060626072839.9508.qmail@lilly.ping.de> (raw)
Hello one last time,
> On Sat, Jun 24, 2006 at 11:35:33AM +0200, Bettina Rathmann wrote:
>> sorry to disturb you, but I have a litte problem in configuring my joysticks
>> under Linux 2.6.12 (Gentoo current).
>
> 2.6.12 is not "Gentoo current" by any means. 2.6.17 is the latest
> kernel release.
>
Yes, that is true. What I meant was, that I have everything up to date
regarding Gentoo, except the Kernel (because it was quite a fight to get it
to work with my system / motherboard and I am weary to do it once again).
>> I would like to get my joysticks to work using the gameport on my Soundblaster
>> (ENS1371 - Ensoniq AudioPCI, Ensoniq AudioPCI ENS1371 at 0xb800, irq 22).
>> So I tried to load nearly all modules regarding gameport:
>> prog@koala /proc/asound $ lsmod
>> Module Size Used by
>> grip_mp 7044 0
>> analog 10656 0
>> bsd_comp 5760 0
>> ppp_synctty 8448 0
>> ppp_async 9472 1
>> crc_ccitt 2048 1 ppp_async
>> snd_seq_midi 7072 0
>> nls_iso8859_1 4096 1
>> nls_cp437 5760 1
>> sk98lin 206476 1
>> nvidia 4545844 15
>> emu10k1_gp 2944 0
>> ns558 4996 0
>> snd_ens1371 21472 4
>> snd_rawmidi 20896 2 snd_seq_midi,snd_ens1371
>> snd_ac97_codec 80248 1 snd_ens1371
>> ne2k_pci 8928 0
>> 8390 8832 1 ne2k_pci
>>
>> and then I try to add joystick 0 like this:
>>
>> koala manager # cd /dev
>> koala dev # mknod input/js0 c 13 0
>> mknod: `input/js0': File exists
>
> Ok, it's already working, the device is present.
>
>> koala dev # rm input/js0
>> koala dev # mknod input/js0 c 13 0
>
> Why did you just do that? udev handles this all for you properly.
Well, 2 reasons:
- The joystick documentation in the kernel suggest this way
(Documentation/input/joystick.txt)
- The device does not work ("No such device" error). BTW, Gentoo was
configured to tar the device files.
>
>> koala dev # cat input/js0
>> cat: input/js0: No such device
>> koala dev #
>>
>> So what am I doing wrong? If you could give me just a few pointers to current
>> HOWTOs, examples or other docs (Seems all I can find are webpages regarding
>> Kernel 2.2 and 2.4), I certainly don't want you to give me a step-by-step
>> help, I need to get to work by myself, however, I need docs :)
>
> There is lots of udev documentation (look in the package and on the
> web.) I don't see anything wrong here other than you manually deleting
> the device nodes for some unknown reason. Try stop doing that and see
> if it will work.
Thanks, I will do this, I only looked for joystick related docs, but was to
dumb to look for udev docs, too.
Thanks
Bettina
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next reply other threads:[~2006-06-26 7:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-26 7:28 B.Rathmann [this message]
2006-06-27 20:33 ` udev Input devices / Joysticks Dmitry Torokhov
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=20060626072839.9508.qmail@lilly.ping.de \
--to=b.rathmann@ping.de \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).