Skip to contentSkip to conversation

ad1848 driver and opl3sa2 cards

DISCUSSION Gerald Teschl 2 participants 3 messages Jun 5, 2002 Sound

lore
Share & tools
lore
#0 lore raw

Hi,

Why does the ad1848 driver try to use the opl3s2 sound card. Is the card supposed to
work with this driver as well? Here it does not work since it fails to find the card
(isapnp_find_card returns null). Where this is no big deal (one working driver is
sufficien;-), it still causes problems since automatic configuration tools like sndconfig
from RedHat will fail, since they use the ad1848 which is the first one listed in
modules.isapnpmap:

[gerald@keen gerald]$ cat /lib/modules/2.4.18-4/modules.isapnpmap |grep 0xa865

ad1848               0xffff     0xffff     0x00000000  0xa865     0x2100
opl3sa2              0xffff     0xffff     0x00000000  0xa865     0x2100

Any ideas? Should the device be removed from ad1848.c?

Gerald

#1 lore raw
Quoted 10 lines · Gerald Teschl

Why does the ad1848 driver try to use the opl3s2 sound card. Is the card supposed to
work with this driver as well? Here it does not work since it fails to find the card
(isapnp_find_card returns null). Where this is no big deal (one working driver is
sufficien;-), it still causes problems since automatic configuration tools like sndconfig
from RedHat will fail, since they use the ad1848 which is the first one listed in

ad1848 handles the "Microsoft Sound System" aspect, the opl3sax cards are MSS compatible. I sent in a patch to fix the detection sometime in 2.4.19-pre or so, can you try a newish -ac kernel?

Cheers,
Zwane

Signature · 1 line
http://function.linuxpower.ca
#2 lore raw
In reply to Gerald Teschl
Quoted 17 lines · Zwane Mwaikambo
Quoted 12 lines · Gerald Teschl

Why does the ad1848 driver try to use the opl3s2 sound card. Is the card supposed to
work with this driver as well? Here it does not work since it fails to find the card
(isapnp_find_card returns null). Where this is no big deal (one working driver is
sufficien;-), it still causes problems since automatic configuration tools like sndconfig
from RedHat will fail, since they use the ad1848 which is the first one listed in

Quoted 3 lines

ad1848 handles the "Microsoft Sound System" aspect, the opl3sax cards are MSS compatible.

This I am aware of, but why has it the YMH0021 listed as supported device? Both mss/opl3sa2 mixers
work fine so it looks like everything works ok even tough the ad1848 does not find the card. So
removing the YMH0021 entry from ad1848_isapnp_list[] should be save.

I would like to do this such that sndconfig can configure this card correctly.
Would anybody from RedHat (Bill or Alan) care to comment on this one? If you search this and other lists for
opl3sa2 you will see that this will make numerous newbees happy!

Gerald