All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Breakage of opl3sax cards since 2.4.3 (at least)
@ 2001-05-02  7:09 Russ Dill
  2001-05-02  8:30 ` Vivek Dasmohapatra
  0 siblings, 1 reply; 6+ messages in thread
From: Russ Dill @ 2001-05-02  7:09 UTC (permalink / raw)
  To: dbronaugh, linux-kernel

Actually, this occured at 2.4.2

I searched though the archives, and the only people who were able to get
this resolved were those with a non-isapnp card (by added isapnp=0).
However, I have an isapnp card and the driver doesn't think my card
exists. If I lod it, withot options, I get:

russ kernel: opl3sa2: ISA PnP activate failed
russ kernel: opl3sa2: No PnP cards found
russ kernel: opl3sa2: 0 PnP card(s) found.

OK, so I use my old isapnp.conf 

russ:/home/russ# isapnp /etc/isapnp.conf

then insmod it like this:
Board 1 has Identity 81 ff ff ff ff 20 00 a8 65:  YMH0020 Serial No -1
[checksum 81]
YMH0020/-1[0]{OPL3-SAX Sound Board}: Ports 0x240 0xE80 0x388 0x300
0x100; IRQ10 DMA0 DMA3 --- Enabled OK
YMH0020/-1[1]{OPL3-SAX Sound Board}: Port 0x204; --- Enabled OK

russ:/home/russ# insmod opl3sa2 irq=10 io=0x240 dma=0 dma2=3
mss_io=0xe80 isapnp=0
Using /lib/modules/2.4.4-ac1-lpp/kernel/drivers/sound/opl3sa2.o
/lib/modules/2.4.4-ac1-lpp/kernel/drivers/sound/opl3sa2.o: init_module:
No such device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters


hmm, and kern.log says:

russ kernel: opl3sa2: Control I/O port 0x240 is not a YMF7xx chipset!

something in the changeover forgot about my card

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Breakage of opl3sax cards since 2.4.3 (at least)
@ 2001-05-01 22:39 David Bronaugh
  2001-05-01 23:26 ` Vivek Dasmohapatra
  0 siblings, 1 reply; 6+ messages in thread
From: David Bronaugh @ 2001-05-01 22:39 UTC (permalink / raw)
  To: linux-kernel

OK, cutting to chase:

opl3sax cards have refused to init in Linux with the in-kernel OSS driver
since 2.4.3 at least (last I tested and worked was 2.4.1). I'm pretty sure
this is a kernel issue as it's happened on 2 different machines, one of
which I never goofed around with.

Usually message is something like:

opl3sa2: Control I/O port 0x220 (or whatever is tried) is not a YMF7xx
chipset!

I'm not sure why this occurs, but here is the code block where the error
probably occurs:

	/* SNIP */
        opl3sa2_read(hw_config->io_base, OPL3SA2_MISC, &misc);
        opl3sa2_write(hw_config->io_base, OPL3SA2_MISC, misc ^ 0x07);
        opl3sa2_read(hw_config->io_base, OPL3SA2_MISC, &tmp);
        if(tmp != misc) {
                printk(KERN_ERR "opl3sa2: Control I/O port %#x is not a
YMF7xx chipset!\n",
                       hw_config->io_base);
                return 0;
        }

        /*
         * Check if the MIC register is accessible.
         */
        opl3sa2_read(hw_config->io_base, OPL3SA2_MIC, &tmp);
        opl3sa2_write(hw_config->io_base, OPL3SA2_MIC, 0x8a);
        opl3sa2_read(hw_config->io_base, OPL3SA2_MIC, &tmp);
        if((tmp & 0x9f) != 0x8a) {
                printk(KERN_ERR
                       "opl3sa2: Control I/O port %#x is not a YMF7xx
chipset!\n",
                       hw_config->io_base);
                return 0;
        }
	/* SNIP */

Maybe this is a dumb check because there's an anomaly with the OPL3SAx
chip. I don't know.

I'm not on the list, so please forward any mail sent about this to me.

David Bronaugh


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-05-02  8:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-02  7:09 Breakage of opl3sax cards since 2.4.3 (at least) Russ Dill
2001-05-02  8:30 ` Vivek Dasmohapatra
2001-05-02  8:50   ` Russ Dill
2001-05-02  8:55     ` Vivek Dasmohapatra
  -- strict thread matches above, loose matches on Subject: below --
2001-05-01 22:39 David Bronaugh
2001-05-01 23:26 ` Vivek Dasmohapatra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.