Skip to contentSkip to conversation

: Wrong detection of opl3 device

ALSA - driver 0000860 [email protected] 1 participant 1 message Jan 29, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=860>
======================================================================
Reported By: theli
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   860
Category:                   ISA - als100
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.6.10-ck4
======================================================================
Date Submitted:             01-29-2005 18:20 CET
Last Modified:              01-29-2005 18:20 CET

======================================================================
Summary: Wrong detection of opl3 device
Description:
driver als100.c has

        acard->devmpu = pnp_request_card_device(card, id->devs[1].id,
acard->dev);
        acard->devopl = pnp_request_card_device(card, id->devs[2].id,

acard->devmpu);
in "static int __devinit snd_card_als100_pnp".

so search for opl device starts from devmpu... and in my MF1000 opl device is 00:01.03
and opl3 is 00:01.01 so it can't be found that way ... and devopl is NULL :(

but opl3 works when changed above code to

        acard->devmpu = pnp_request_card_device(card, id->devs[1].id,
acard->dev);
        acard->devopl = pnp_request_card_device(card, id->devs[2].id,

acard->dev);

(search of opl3 starts from acard->dev )
and that should work in any case

PS: sorry for my english.
PPS: don't even know does anyone else use such old sound card.
PPPS: was fighting with alsa for weeks trying to get opl3 working before decided to look in sources.
======================================================================

Issue History
Date Modified Username Field Change
======================================================================
01-29-05 18:20 theli New Issue
01-29-05 18:20 theli Kernel Version => 2.6.10-ck4
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl