From alsa-user-owner@alsa.jcu.cz  Fri Sep 11 22:52:10 1998
Received: from downtown.oche.de (root@downtown.oche.de [194.94.253.3])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id WAA00945
	for <alsa-user@jcu.cz>; Fri, 11 Sep 1998 22:47:09 +0200
Received: (from uucp@localhost)
	by downtown.oche.de (8.8.8/8.8.8/Debian/GNU) with UUCP id WAA07889
	for alsa-user@jcu.cz; Fri, 11 Sep 1998 22:40:01 +0200
Received: from hobbes.wg.net (dirk@hobbes.wg.net [192.168.2.2])
	by server.wg.net (8.8.8/8.8.8/Debian/GNU) with ESMTP id WAA06693
	for <alsa-user@jcu.cz>; Fri, 11 Sep 1998 22:17:02 +0200
Received: (from dirk@localhost)
	by hobbes.wg.net (8.8.8/8.8.8/Debian/GNU) id WAA28754;
	Fri, 11 Sep 1998 22:14:05 +0200
To: alsa-user@jcu.cz
Subject: Re: audiodrive1868, mup-401
References: <m0zH9FP-000Po9C@ale.physics.sunysb.edu>
From: Dirk Luetjens <dirk@luedi.oche.de>
Date: 11 Sep 1998 22:14:05 +0200
In-Reply-To: sharkey@ale.physics.sunysb.edu's message of "Thu, 10 Sep 1998 12:06:58 -0400"
Message-ID: <86d892v242.fsf@hobbes.wg.net>
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Hi,

> > Excuse me, I have no clue about sound in the computer, so please allow
> > me the following questions:
> > 
> > - For what do I need a MUP-401?
> 
> Probably nothing.
And why cant I get access to the midi port (at 0x330) while
simultaneously having the support for the MPU-401 Port?

here is a list of used hardware with the OSS:
> Interrupts:
>   5:      75920          XT-PIC  soundblaster
> I/O:
>   0220-022f : soundblaster
>   0330-0333 : MPU-401 UART
>   0388-038b : OPL3/OPL2
> Modules:
>   pnp                    43936   0 
>   opl3                   13008   0 
>   sb                     31760   0 
>   uart401                 6392   0  [sb]
>   midi                   27096   0  [pnp opl3 sb uart401]
>   soundbase             477484   0  [pnp opl3 sb uart401 midi]
>   sndshield               2480   0  [pnp opl3 sb uart401 midi soundbase]

and here from ALSA:
> Interrupts:
>   5:      75921          XT-PIC  ESx688
> I/O:
>   0220-022f : ESx688
> Modules:
> snd-audiodrive1688      3016   0 
> snd-mpu401-uart         1896   0  [snd-audiodrive1688]
> snd-midi               13800   0  [snd-audiodrive1688 snd-mpu401-uart]
> snd-es1688              6656   0  [snd-audiodrive1688]
> snd-pcm1               16284   0  [snd-es1688]
> snd-pcm                 6912   0  [snd-audiodrive1688 snd-es1688 snd-pcm1]
> snd-mixer              13864   0  [snd-audiodrive1688 snd-es1688]
> snd-opl3                2100   0  [snd-audiodrive1688]
> snd-synth               1208   0  [snd-audiodrive1688 snd-opl3]
> snd-timer               3060   0  [snd-opl3]
> snd                    26576   0  [snd-audiodrive1688 snd-mpu401-uart snd-midi snd-es1688 snd-pcm1 snd-pcm snd-mixer snd-opl3 snd-synth snd-timer]

So why is the check for midi coupled to the MPU401 support?

>  if ( snd_mpu_port[ dev ] >= 0x300 && snd_mpu_port[ dev ] <= 0x330 && (snd_mpu_port[ dev ] & 0x00f) == 0 ) {
>    if ( (acard -> mpuirqnum = snd_register_interrupt( card, "ESx688 - MPU401", snd_mpu_irq[ dev ], SND_IRQ_TYPE_ISA, snd_audiodrive_midi_interrupt, acard, possible_irqs )) < 0 ) {
>      acard -> mpuirqnum = SND_IRQ_DISABLE;
>      snd_printk( "warning: can't allocate IRQ for MPU401, midi port is disabled\n" );
>    }
>  } else {
>    acard -> mpuirqnum = SND_IRQ_DISABLE;
>  }



> > - How to play midi files with alsa?
> > - As far as I know the ESS1868 does not have any built in
> >   wavetables. Only support for Software wavetables. How do I install
> >   them, and how do I use them?
> 
> To both questions: Use timidity.
> 
> I don't know what distro you are using.  timidity is available as a Debian
> package.  Red Hat might have it too.
Right guess :-), Im a debianer.

> > I have a simple and cheap audiodrive ESS1868 card that works fine with 
> > the snd-audiodrive1688 module. Except that I dont know how to play
> > midi files. Since I installed a PS/2 mouse to my computer I get the
> > follwing message while installing the alsa modules:
> > 
> > snd: warning: can't allocate IRQ for MPU401, midi port is disabled
> 
> Don't worry about it.  Unless you want to hook up a keyboard or do some
> serious midi work, I don't think you need it.
> 
> > - what is AUX Port in the soundcard?
> 
> I'm not sure what your configuration is, but AUX ports can be used for
> input from other devices (such as video capture cards, radio tuner cards,
> maybe CDROM drives, etc.)
I thought so, too. But I dont have another connector to feed in this
signal. Hardware plugs for cdrom, line-in, mic are there, but no aux port.

Thanks for your answers

Dirk

