more verbose patch for opl3sa2
I tried the 2.4.22 kernel and all it would tell me was that the opl3sa module couldn't find the hardware. Finally I went back and added some printk messages to track down where the problem was. It turns out that acpi was allocating irq 5 to the pcmcia socket where 2.4.21 and before left that interrupt free. If I had a message like the one below I would have had something to look for. It turns out that 2.4.23 works fine, it just assigns all the pci devices to use irq 11, which works, but isn't optional.
Index: opl3sa2.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/opl3sa2.c,v retrieving revision 1.30
opl3sa2.c +1 -0
@@ -771,6 +771,7 @@if ((err =snd_opl3sa2_detect (chip)) <0 ) goto __error;if (request_irq (xirq, snd_opl3sa2_interrupt,SA_INTERRUPT ,"OPL3-SA2/3" , (void *)chip)) { +snd_printk (KERN_ERR "Could not allocate interrupt %d\n" , xirq); err = -ENODEV ; goto __error; }
Signature · 9 lines
David Fries <[email protected]> http://fries.net/~david/pgpkey.txt ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/