From mboxrd@z Thu Jan 1 00:00:00 1970 From: B.Rathmann@ping.de Date: Mon, 26 Jun 2006 07:28:39 +0000 Subject: Re: udev Input devices / Joysticks Message-Id: <20060626072839.9508.qmail@lilly.ping.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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&kid0709&bid&3057&dat1642 _______________________________________________ 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