Re: [linux-audio-user] ens-1371 joystick-parameter?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] ens-1371 joystick-parameter?
From: Takashi Iwai (tiwai_AT_suse.de)
Date: Mon Jul 01 2002 - 12:55:42 EEST


At Sun, 30 Jun 2002 06:44:48 -0300,
Juan Linietsky wrote:
>
> On Sat, 29 Jun 2002 23:53:15 +0200
> jaap <jacobus_AT_club-internet.fr> wrote:
>
> > I have a new installed alsa 0.09.0rc1,I'm in trouble with
> > modules.conf all the time.before installing alsa 0.9 i compiled a
> > 2.4.18 kernel,but alsaconf doesn't work anymore.
> > I have this in modules.conf
> >
> > alias char-major-116 snd
> > alias snd-card-0 snd-ens1371
> > alias char-major-14 soundcore
> > alias sound-slot-0 snd-card-0
> > alias sound-service-0-0 snd-mixer-oss
> > alias sound-service-0-1 snd-seq-oss
> > alias sound-service-0-3 snd-pcm-oss
> > alias sound-service-0-8 snd-seq-oss
> > alias sound-service-0-12 snd-pcm-oss
> > #options snd-ens1371 joystick=0x218
> > #options snd snd_major=116 snd_cards_limit=1
> > #options snd-ens1371 snd_id=card1 snd_index=0
> >
> > As long as the last lines are commented out snd-ens1371 loads fine
> > Now I want to have the joystickport working for a midi-keyboard
> > I tried with the line options snd-ens1371 .I tried with
> > 0x200,0x208,0x210,0x218,but all the time Iget
> >
> > root_AT_jacobux:/home/jaap > modprobe snd-ens1371
> > /lib/modules/2.4.18/kernel/sound/pci/snd-ens1371.o: invalid
> > parameter parm_joystick
> > /lib/modules/2.4.18/kernel/sound/pci/snd-ens1371.o: insmod
> > /lib/modules/2.4.18/kernel/sound/pci/snd-ens1371.o failed
> > /lib/modules/2.4.18/kernel/sound/pci/snd-ens1371.o: insmod
> > snd-ens1371 failed
> >
> > what should I put in that file or what am I forgetting
> >
> > And now I'm here ,what module do I need for midi over a
> > joystick-port.Is it mpu401 or mpu401-uart and does it need something
> > in modules.conf.
> >
> > Thanks very much for help
>
> I load the module without parameters, and I can use midi over the
> joystick port without problems.
> What I cant do is to use a joystick, which just doesnt work no matter
> what i do ;)

the joystick parameters are found in control api, i.e. can be changed
on the fly.

- save the current state via "alsactl store",
- edit /etc/asound.state to activate joystick switch and to set the
  proper port, and
- enable it via "alsactl restore".

Takashi


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Jul 01 2002 - 12:56:35 EEST