On a Slackware 7.0 system, kernel 2.2.23, alsa-0.9-rc7:
I have 2 sound cards: a Hercules Gamesurround Fortissimo II and an old
Opti924 ISA card.
The Hercules works.

The Opti924 is another story. After reading on the ALSA site that 924
chipset is supported by the snd-opti92x-ad1848 driver, I ran the
following:

alsa-driver:

./configure --with-isapnp=yes --with-sequencer=yes --with-oss=yes
--with-cards=dummy,cs46xx,opti92x-ad1848

I solved some problems related to the snd-isapnp driver, then I still
have some problems with the module snd-opl3-synth. 
----------------------------------------------------------------------------------
gate:~/install/alsa-cvs/alsa-driver# depmod -e -a
/lib/modules/2.2.23/misc/snd-opl3-synth.o: unresolved symbol(s)
        snd_seq_instr_find_R8fff548c
        snd_seq_instr_free_use_Rf8a556ca
        snd_midi_channel_free_set_Rcfb054f4
        snd_seq_instr_event_R7bdca607
        snd_seq_instr_list_new_Rb61f0009
        snd_seq_instr_list_free_R192a43fe
        snd_midi_process_event_R789db613
        snd_midi_channel_alloc_set_R7b6f0fa7
        snd_seq_fm_init_Ra759f38d
----------------------------------------------------------------------------------
I am not sure how this affects the driver, but 
modprobe snd-opti92x-ad1848
returns "Device or resource busy".

I looked at some howtos and faqs on the ALSA site and tried to see what
can I do with isapnp tools to configure the card prior to loading ALSA
(though they say that building the snd-isapnp module should solve
this...)
I got it initialized by isapnp, but driver still won't work.

Later on I read something about the opti931 cards and a wierd
initialization sequence used by some people to get the standard kernel
mad16 module to work. I looked into it and found a utility by Donald M.
Burns written in 1997 for the Opti931 card.
I got the utility OPTi82C931.c then, hoping the similarity between the
cards will be sufficient, I initialized the card with a special command
by isapnp, then
I ran it as suggested :
       To configure the card for WSS (IO=530, IRQ=7. DMA=0,1) try..
./OPTi82C931 1 0x01  3 0x0D  4 0x14  5 0x3E  6 0x92

and did a modprobe snd-opti92x-ad1848 port=0x530 irq=7 dma1=0 
and it loaded! 
I was able to run the alsamixer and unmute channels, set volume, but
then, I tried to play a wav file (11khz, 8bit mono) with aplay 
The result is some pops in the speakers when aplay starts, then :
-------------------------------------------------------------------------------------
gate:/dos/boot/windows/media# aplay daffy12.wav
Playing WAVE 'daffy12.wav' : Unsigned 8 bit, Rate 11025 Hz, Mono
aplay: pcm_write:1000: write error: Input/output error
-------------------------------------------------------------------------------------

Please help.

-- 
ing. Andrei Boros
mailto:[EMAIL PROTECTED] / +40-21-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune


-------------------------------------------------------
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