Subject: opl3sa not detected anymore


After the updates to the opl3sa2 driver (2.4.2-pre3?) my card isn't being
detected anymore. Are there further updates to come, or do I need to
change the settings? The driver is being loaded as a module with the
following in /etc/modules.conf:

alias sound-slot-0 opl3sa2
options sound dmabuf=1
alias midi opl3
options opl3 io=0x388
options opl3sa2 mss_io=0x530 irq=5 dma=1 dma2=0 mpu_io=0x330 io=0x370

The midi works fine, but 'modprobe sound' reports:

opl3sa2: No cards found
opl3sa2: 0 PnP card(s) found.

If the settings above look ok, then how can help debug it?

Regards
CF
--
... Any resemblance between the above views and those of my employer,
my terminal, or the view out my window are purely coincidental. Any
resemblance between the above and my own views is non-deterministic. The
question of the existence of views in the absence of anyone to hold them
is left as an exercise for the reader. The question of the existence of
the reader is left as an exercise for the second god coefficient. (A
discussion of non-orthogonal, non-integral polytheism is beyond the scope
of this article.)



2001-02-12 23:38:03

by Jérôme Augé

[permalink] [raw]
Subject: Re: opl3sa not detected anymore

Chris Funderburg wrote:
> following in /etc/modules.conf:
>
> alias sound-slot-0 opl3sa2
> options sound dmabuf=1
> alias midi opl3
> options opl3 io=0x388
> options opl3sa2 mss_io=0x530 irq=5 dma=1 dma2=0 mpu_io=0x330 io=0x370
>
> The midi works fine, but 'modprobe sound' reports:
>
> opl3sa2: No cards found
> opl3sa2: 0 PnP card(s) found.
>
> If the settings above look ok, then how can help debug it?

Try to add "isapnp=0" to the opl3sa2 options list :

opl3sa2 mss_io=0x530 irq=5 dma=1 dma2=0 mpu_io=0x330 io=0x370 isapnp=0

I had the same problem and adding isapnp=0 solved it, but PNP isn't
supposed to automaticaly detect those options ?

--
J?r?me Aug?
echo [email protected] | tr khplmndvqyc nirtelacufj

2001-02-12 23:46:56

by Alan

[permalink] [raw]
Subject: Re: opl3sa not detected anymore

> > The midi works fine, but 'modprobe sound' reports:
> > opl3sa2: No cards found
> > opl3sa2: 0 PnP card(s) found.

Thats ok, it may not be set up for isapnp

> Try to add "isapnp=3D0" to the opl3sa2 options list :
>
> opl3sa2 mss_io=3D0x530 irq=3D5 dma=3D1 dma2=3D0 mpu_io=3D0x330 io=3D0x3=
> 70 isapnp=3D0
>
> I had the same problem and adding isapnp=3D0 solved it, but PNP isn't
> supposed to automaticaly detect those options ?

No, but if you set options it would kind of make sense to turn off the
isapnp automatically 8). I'll look into that.

2001-02-13 00:01:26

by Scott Murray

[permalink] [raw]
Subject: Re: opl3sa not detected anymore

On Mon, 12 Feb 2001, Chris Funderburg wrote:

>
> After the updates to the opl3sa2 driver (2.4.2-pre3?) my card isn't being
> detected anymore. Are there further updates to come, or do I need to
> change the settings? The driver is being loaded as a module with the
> following in /etc/modules.conf:
[snip]
> The midi works fine, but 'modprobe sound' reports:
>
> opl3sa2: No cards found
> opl3sa2: 0 PnP card(s) found.

If you've configured ISA PnP support into the kernel, then the driver
ignores those settings unless you specify isapnp=0. What I'd suggest
is that you try disabling the configuration done by the isapnp tools,
which can be done on RedHat and derived systems by renaming your
/etc/isapnp.conf to something else. There seem to be some issues
with resetting the PnP configuration with isapnp after the in-kernel
ISA PnP driver has done its stuff, as a couple of other people have
mentioned similiar problems.

Scott


--
=============================================================================
Scott Murray email: [email protected]
http://www.spiteful.org (coming soon) ICQ: 10602428
-----------------------------------------------------------------------------
"Good, bad ... I'm the guy with the gun." - Ash, "Army of Darkness"

Subject: Re: opl3sa not detected anymore


Well what do you know...
I added isapnp=0 and it worked.

<OPL3-SA3> at 0x370
<MS Sound System (CS4231)> at 0x534 irq 5 dma 1,0
<MPU-401 0.0 Midi interface #1> at 0x330 irq 5 dma -1,0

The dma and the MSS address (0x534) looks odd, but at least it
seems to play now.

And no, AFAIK, this driver has never been able to detect PNP settings.
If you try to run it without them, you get this:

opl3sa2: io, mss_io, irq, dma, and dma2 must be set

Thanks for your help!

CF


On Tue, 13 Feb 2001, J?r?me Aug? wrote:

> Chris Funderburg wrote:
> > following in /etc/modules.conf:
> >
> > alias sound-slot-0 opl3sa2
> > options sound dmabuf=1
> > alias midi opl3
> > options opl3 io=0x388
> > options opl3sa2 mss_io=0x530 irq=5 dma=1 dma2=0 mpu_io=0x330 io=0x370
> >
> > The midi works fine, but 'modprobe sound' reports:
> >
> > opl3sa2: No cards found
> > opl3sa2: 0 PnP card(s) found.
> >
> > If the settings above look ok, then how can help debug it?
>
> Try to add "isapnp=0" to the opl3sa2 options list :
>
> opl3sa2 mss_io=0x530 irq=5 dma=1 dma2=0 mpu_io=0x330 io=0x370 isapnp=0
>
> I had the same problem and adding isapnp=0 solved it, but PNP isn't
> supposed to automaticaly detect those options ?
>
>

--
... Any resemblance between the above views and those of my employer,
my terminal, or the view out my window are purely coincidental. Any
resemblance between the above and my own views is non-deterministic. The
question of the existence of views in the absence of anyone to hold them
is left as an exercise for the reader. The question of the existence of
the reader is left as an exercise for the second god coefficient. (A
discussion of non-orthogonal, non-integral polytheism is beyond the scope
of this article.)


Subject: Re: opl3sa not detected anymore

On Mon, 12 Feb 2001, Scott Murray wrote:

Thanks!

The isapnp=0 fixed it. I don't actually have an isapnp.conf file.

On my next compile I'll just disable the ISA Pnp driver.
I don't actually need it, but it's something that I've never bothered to
turn off. :)

CF

> On Mon, 12 Feb 2001, Chris Funderburg wrote:
>
> >
> > After the updates to the opl3sa2 driver (2.4.2-pre3?) my card isn't being
> > detected anymore. Are there further updates to come, or do I need to
> > change the settings? The driver is being loaded as a module with the
> > following in /etc/modules.conf:
> [snip]
> > The midi works fine, but 'modprobe sound' reports:
> >
> > opl3sa2: No cards found
> > opl3sa2: 0 PnP card(s) found.
>
> If you've configured ISA PnP support into the kernel, then the driver
> ignores those settings unless you specify isapnp=0. What I'd suggest
> is that you try disabling the configuration done by the isapnp tools,
> which can be done on RedHat and derived systems by renaming your
> /etc/isapnp.conf to something else. There seem to be some issues
> with resetting the PnP configuration with isapnp after the in-kernel
> ISA PnP driver has done its stuff, as a couple of other people have
> mentioned similiar problems.
>
> Scott
>
>
>

--
... Any resemblance between the above views and those of my employer,
my terminal, or the view out my window are purely coincidental. Any
resemblance between the above and my own views is non-deterministic. The
question of the existence of views in the absence of anyone to hold them
is left as an exercise for the reader. The question of the existence of
the reader is left as an exercise for the second god coefficient. (A
discussion of non-orthogonal, non-integral polytheism is beyond the scope
of this article.)