Re: isapnp problems with opl3sa2

Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Mon, 3 Jun 2002 16:23:38 +0200 (SAST)


On Mon, 3 Jun 2002, Gerald Teschl wrote:

> the isapnp activation of this card fails (this has been broken ever
> since the 2.4 series).So I did some investigations and eventually found
> out that the reason is the following check from isapnp_check_dma(..) in
> isapnp.c:

You should be able to load it without any parameters with ISAPNP, i have a
box at home with that card which only requires a modprobe opl3sa2. Could
you show me how you're loading it as well as dmesg and /proc/isapnp output
after loading.

> A few further remarks concerning my patch:
> *) The patch also adds a line "opl3sa2_state[card].activated = 1" which
> is an obvious omission in the original driver.

Thanks, put it right at the end before the return and i'll be happy.

> *) I have to force the driver to use both dma=0 and dma2=1. From what I
> understand dma=0 should be sufficient, but this will not work. Looks like
> a bug in isapnp.c to me. However, this should do no harm since according
> to /proc/isapnp, the card only offers these values anyway.

isapnp.c is fine

> -----------------------------------------------
> --- drivers/sound/opl3sa2.c.orig Thu May 2 23:36:45 2002
> +++ drivers/sound/opl3sa2.c Sun Jun 2 15:19:44 2002

When you rediff, can you diff so that the patch can be applied with a
strip of '1' ie diff -u linux/drivers...

Cheers,
Zwane Mwaikambo

-- 
http://function.linuxpower.ca
		

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/