From alsa-user-owner@alsa.jcu.cz  Wed Oct 21 20:30:03 1998
Received: from pluto.andeby (IDENT:ahermans@t8o211p48.telia.com [195.204.229.228])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id UAA18235
	for <alsa-user@jcu.cz>; Wed, 21 Oct 1998 20:28:22 +0200
Received: from localhost (ahermans@localhost)
	by pluto.andeby (8.8.7/8.8.7) with SMTP id UAA17632
	for <alsa-user@jcu.cz>; Wed, 21 Oct 1998 20:30:45 +0200
Date: Wed, 21 Oct 1998 20:30:45 +0200 (CEST)
From: Anders Semb Hermansen <ahermans@vf.telia.no>
To: alsa-user@jcu.cz
Subject: Re: Problem w/ OPL3-SA3
In-Reply-To: <19981021180421.A2318@knorke.in-berlin.de>
Message-ID: <Pine.LNX.4.00.9810212029190.17561-100000@pluto.andeby>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Hi,

Remember that you also have to unmute the channels you want.
You can mute/unmute a channel in alsamixer with 'm'.
(You'll see the MM's disappear)


Anders

--
Anders Semb Hermansen
E-Mail: <ahermans@vf.telia.no>

On Wed, 21 Oct 1998, M. List wrote:

> Hi,
> 
> thanks to Eric (sharkey@ ale. physics. sunysb. edu) my
> snd_port is now correct (0x370) and the error messages are
> gone.  Thank you!  Daniel (underley@ zakopane. top. pl)
> reminded me to check my /etc/isapnp.conf, and I think it is
> OK.  Thank you, too!
> 
> Unfortunately I cannot yet hear anything.  I set the volume
> using alsamixer and tried to play an .au file using both
> play (from sox) and aplay, and everything looks normal,
> only there is no sound.  Also I saw that only irq 5 is used
> by ALSA, while OSS uses both 5 and 7 - is this the problem?
> What can I do now?  Maybe there is a step-by-step-howto
> somewhere?
> 
> Thanks in advance!
> 
> > > I'm new to alsa, so maybe I do sth. wrong.  My new
> > > mainboard w/ on-board sound works fine out of the box using
> > > OSS.  Now I installed the alsa package 0.2.0, but on
> > > modprobe snd-opl3sa I get
> > > 
> > > snd: OPL3-SA [0x203] detect (0) = 0xff
> > > snd: Yamaha OPL3-SA soundcard #1 not found at 0x203 or device busy
> > > snd: Yamaha OPL3-SA soundcard not found or device busy
> > > /lib/modules/2.0.35/misc/snd-opl3sa.o: Device or resource busy
> > > snd-pcm: Device or resource busy
> > > 
> > > The following options are in my /etc/conf.modules:
> > > 
> > > options snd snd_major=14 snd_cards_limit=1
> > > options snd-opl3sa snd_index=1 snd_id="opl3sa" snd_port=0x203 \
> > > 	snd_wss_port=0x530 snd_midi_port=0x330 snd_fm_port=0x388 \
> > > 	snd_irq=5 snd_dma1=0x0 snd_dma2=0x3
> > > 
> > > What's wrong here?
> > 
> > Why is snd_port set to 203?  That looks wrong to me.  I think 203 is your
> > system's plug and play port.  I mean the port for setting all PNP devices,
> > it's not specific to your sound card.
> > 
> > According to INSTALL:
> > 
> >   Module snd-opl3sa.o
> >   -------------------
> > 
> >     Module for Yamaha OPL3-SA2/SA3 soundcards.
> > 
> >     snd_port    - control port # for OPL3-SA chip
> > 
> > It's supposed to be the sound control port, not the PNP read port.
> > 
> > If you look in opl3-sa.c you'll find the line:
> > 
> > int snd_port[ SND_CARDS ] = SND_DEFAULT_PORT;   /* 0xf86,0x370,0x100 */
> > 
> > Which gives three likely port numbers.
> > 
> > > Content-Type: text/plain; charset=us-ascii
> > > Content-Description: devices.cfg
> > > Content-Disposition: attachment; filename="oss.devices.cfg"
> > > 
> > > /SECUREAUDIO OFF
> > > /IRQEXCLUDE 3 4
> > > /DMAEXCLUDE 2
> > > -YMH0020 #Generic Yamaha OPL3-SA2 based sound card (type-1)
> > > /PNPDEV YMH0021 P# P530 P388 P330 P370 I5 I7 D0 D3
> > > RAWMSS OPNP P530 I5 D0 d3
> > > OPL3 OPNP P388
> > > UART401 OPNP P330 I7
> > > OPL3CTL OPNP P370
> > > PNP
> > 
> > 
> > You've got the setting "OPL3CTL OPNP P370" here, which seems to be for the
> > control port.  Why not try changing your settings to:
> > 
> > options snd snd_major=14 snd_cards_limit=1
> > options snd-opl3sa snd_index=1 snd_id="opl3sa" snd_port=0x370 \
> > 	snd_wss_port=0x530 snd_midi_port=0x330 snd_fm_port=0x388 \
> > 	snd_irq=5 snd_dma1=0x0 snd_dma2=0x3
> > 
> > And see if that helps.
> > 
> > Eric
> ------
> To unsubscribe from <alsa-user@alsa.jcu.cz> mailing list send message
> 'unsubscribe' in the body of message to <alsa-user-request@alsa.jcu.cz>.
> 


