udev Input devices / Joysticks
Hello one last time,
Quoted 7 lines · Bettina Rathmann
Quoted 2 lines
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).
Quoted 30 lines
Quoted 24 lines
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$ lsmodModule 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_pciQuoted 5 lines
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
Quoted 6 lines
Ok, it's already working, the device is present.
Quoted 2 lines
koala dev # rm input/js0
koala dev # mknod input/js0 c 13 0Why 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.
Quoted 10 lines
Quoted 9 lines
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 :)
Quoted 4 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 4 lines · On 6/26/06, [email protected] <[email protected]> wrote:
Quoted 4 lines
Quoted 3 lines
koala dev # rm input/js0
koala dev # mknod input/js0 c 13 0
Quoted 8 lines
Quoted 1 line
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.
Ok, let's start from the beginning... Did you activate gameport support on your soundcard? It looks like you have ES1371, use joystick_port=1 module parameter. Look in dmesg and/or sysfs (/sys/bus/gameport/devices/) and make sure gameport was created.
What joystick are you using? Are you loading correct module for your joystick? Do you see kernel recognized joystick in dmesg and/or /proc/bus/input/devices?
Signature · 10 lines
Dmitry 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 [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel