On Thu, Jul 26, 2001 at 07:47:27PM +0200, Michael Schwendt wrote:
> On 2001-07-26, Charles Curley wrote:
>
> >Has anyone gotten sound to work on a Tecra 8000 running Red Hat 7.1?
> >It has a 2.4.2 kernel. Using the standard drivers has not worked. They
> >are set up as follows:
> >
> >options opl3sa2 dma=1 dma2=0 io=0x538 mpu_io=0x330 mss_io=0x530 irq=5
> >options opl3 io=0x388
> >
> >I can "modprobe opl3sa2" and "modprobe opl3", and they will load, but
> >playing a CD produces nothing.
>
> Can't comment on opl3sa2 which is the PCM portion of your soundcard,
> but OPL3 which is FM synthesis (like AdLib, but enhanced) and cannot
> play back samples/CDs. So, you can concentrate on opl3sa2. Can you
> play back any sounds at all?
Nope, just beeps from the keyboard, etc. which I assume go through the
standard speaker. How would I go about playing back some other sound.
The thing does work under Windows 98.
>
> >I also tried the latest ALSA drivers, 0.9.0beta6. They appear to
> >compile and install just fine, but modprobe fails:
> >
> >[root@tecla rc.d]# ./rc.sound
> >modprobe: Can't locate module snd-card-opl3sa
> >
> >Are the modules in the right place?
> >
> >[root@tecla rc.d]# find /lib -iname "*opl*"
> >/lib/modules/2.4.2-2/kernel/drivers/sound/opl3.o
> >/lib/modules/2.4.2-2/kernel/drivers/sound/opl3sa.o
> >/lib/modules/2.4.2-2/kernel/drivers/sound/opl3sa2.o
> >/lib/modules/2.4.2-2/misc/snd-card-opl3sa2.o
> >/lib/modules/2.4.2-2/misc/snd-opl3.o
> >/lib/modules/2.4.2-2/misc/snd-synth-opl3.o
> >/lib/kbd/unidata/PropList-2.1.8.txt
>
> You don't have a module "snd-card-opl3sa". Only snd-card-opl3sa2.
> What does your rc.sound do?
Actually, I have one of each.
# Sound configuration script.
# Time-stamp: <2001-07-26 13:03:30 root rc.sound>
modprobe snd-card-opl3sa2 snd_port=0x220 snd_wss_port=0x530 snd_midi_port=-1
snd_fm_port=0x388 snd_irq=5 snd_dma1=0 snd_dma2=1
# snd_dma1_size=NN
# snd_dma2_size=NN
I swiped the modprobe line straight out of the mini-howto for ALSA,
and verified that it agrees with what I found under Windows. I have no
idea where to locate the values for two DMA size parameters, so I
commented them out.
With that correction, it now does this:
[root@tecla rc.d]# ./rc.sound
/lib/modules/2.4.2-2/misc/snd-card-opl3sa2.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO
or IRQ parameters
/lib/modules/2.4.2-2/misc/snd-card-opl3sa2.o: insmod
/lib/modules/2.4.2-2/misc/snd-card-opl3sa2.o failed
/lib/modules/2.4.2-2/misc/snd-card-opl3sa2.o: insmod snd-card-opl3sa2 failed
[root@tecla rc.d]#
--
-- C^2
No windows were crashed in the making of this email.
Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
PGP signature