On Tue, 16 Jul 2002 14:18:41 +0200
Takashi Iwai <[EMAIL PROTECTED]> wrote:

> At Tue, 16 Jul 2002 08:21:14 -0400,
> James Drabb wrote:
> > 
> > On Tue, 16 Jul 2002 10:37:13 +0200
> > Takashi Iwai <[EMAIL PROTECTED]> wrote:
> > 
> > > At Mon, 15 Jul 2002 18:28:16 -0400,
> > > James Drabb wrote:
> > > > 
> > > > Does anyone have a link about getting alsa set up with a joystick?
> > > > Especially the snd-1370 module.
> > > 
> > > http://alsa.opensrc.org/index.php?page=Joystick+support
> > > 
> > > you need to turn on joystick switch before loading joystick modules
> > > like analog.o & co, since the joystick module tries to probe the
> > > port by itself.
> > > 
> > > 
> > > Takashi
> > 
> > Takashi,
> > 
> > Thanks for the help and the link!  However, this doesn't seem to do the
> > trick.  I am using the ens-1370 module and devfs.  When I insmod
> > "joydev" and "analog js=gameport" I don't get a js0 anywhere in /dev.
> > What else needs to be done?
> 
> /dev/js0 is an obsolete device file.
> the newer one is located at /dev/input/js0.
> you'll see it when the module is properly loaded.
> on devfs, you'll need to change something for devfs config file, but i
> have no many clue about that.
> 
> oh, one thing i forgot to mention.
> you have to connect your joystick device at the time analog module is
> loaded.  as i wrote in my previous mail, analog module probes the
> device at the initialization phase, so the physical device must be
> there.
> 
> 
> Takashi

Takashi,

Thanks for all your help.  However, there is still something funny.  Does
the snd-ens1370 module even support joystick?  I know all about devfs.
My gamepad is connected all the time.  Here is what is in the beginning of
my /etc/asound.state file

state.card0 {
    control.1 {
        comment.access 'read write'
        comment.type BOOLEAN
        iface CARD
        name 'Joystick Enable'
        value true
    }


root# lsmod
Module                  Size  Used by    Tainted: P  
NVdriver              989312  10  (autoclean)
snd-seq-midi            3200   0  (autoclean) (unused)
snd-seq-oss            23168   0  (unused)
snd-seq-midi-event      3144   0  [snd-seq-midi snd-seq-oss]
snd-seq                37964   2  [snd-seq-midi snd-seq-oss
snd-seq-midi-event]
snd-pcm-oss            35396   0  (unused)
snd-mixer-oss           9312   0  [snd-pcm-oss]
snd-ens1370             7940   0 
snd-pcm                50624   0  [snd-pcm-oss snd-ens1370]
snd-timer              10944   0  [snd-seq snd-pcm]
snd-rawmidi            13088   0  [snd-seq-midi snd-ens1370]
snd-seq-device          3792   0  [snd-seq-midi snd-seq-oss snd-seq
snd-rawmidi]
snd-ak4531-codec        5024   0  [snd-ens1370]
snd                    26248   0  [snd-seq-midi snd-seq-oss
snd-seq-midi-event
                                   snd-seq snd-pcm-oss snd-mixer-oss
snd-ens1370
                                   snd-pcm snd-timer snd-rawmidi
snd-seq-device
                                   snd-ak4531-codec]
soundcore               3972   8  [snd]

root# modprobe joydev
root# modprobe analog js=gamepad
root# find /dev -iname 'js*'

The find ... returns nothing.  So there is no js device being created by
analog.
I am missing a step here?  With the kernel es1370 module right after I
insmod
analog the js0 device is created.

Thanks again,

Jim Drabb
-- 
James Drabb JR - Programmer Analyst - Orlando, FL - [EMAIL PROTECTED]
---------------------------------------------------------------------


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to