linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: udev Input devices / Joysticks
@ 2006-06-26  7:28 B.Rathmann
  2006-06-27 20:33 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: B.Rathmann @ 2006-06-26  7:28 UTC (permalink / raw)
  To: linux-hotplug

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: udev Input devices / Joysticks
  2006-06-26  7:28 udev Input devices / Joysticks B.Rathmann
@ 2006-06-27 20:33 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2006-06-27 20:33 UTC (permalink / raw)
  To: linux-hotplug

On 6/26/06, B.Rathmann@ping.de <B.Rathmann@ping.de> wrote:
> >
> >> 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.
>

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?

-- 
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&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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-27 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-26  7:28 udev Input devices / Joysticks B.Rathmann
2006-06-27 20:33 ` Dmitry Torokhov

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).