Click to See Complete Forum and Search --> : sound and modem in Debian Woody


scanez
06-24-2001, 11:31 PM
I'm running Debian Woody and trying to get sound and modem setup. For sound, I'm trying to load the sb module with io=0x220, irq=5, and dma=1. However, I get the regular ole conflict error:

/lib/modules/2.2.19/misc/sb.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.2.19/misc/sb.o: insmod /lib/modules/2.2.19/misc/sb.o failed
/lib/modules/2.2.19/misc/sb.o: insmod sb failed

I've checked /proc/interrupts, /proc/ioports, and /proc/dma and I can't see any other devices using these parameters. Any ideas?

I have a Creative Labs ISA modem on ttyS2. I'm trying to communicate with it through minicom but it won't recognize it. I know this modem works (I've used it in redhat, as well as the sound card). Any ideas for this as well?

Thanks
SC

Craig McPherson
06-24-2001, 11:44 PM
Sound card:

First things first, is your modem ISA or PCI?

You should never pass io or irq argument for PCI devices. They're real plug-and-play, so just modprobe the module and you should be ready to rock.

If it's ISA: is it PNP-ISA or non-PNP ISA?

If it's PNP-ISA, you'll have to initialize the card with isapnptools. Have you done that? You set the IO, IRQ, and DMA with isapnptools, then you pass that same IO, IRQ, and DMA to the module.

If it's non-PNP ISA, double-check to make sure that you have the IO, IRQ, and DMA the same as they're set on the card. If you're sure about that, try varying the parameters you pass to the module, like try just io, or just irq: sometimes using just one will cause it to detect the rest. Or try leaving off the DMA. Play around with it.

If you still have trouble, throw all your ISA hardware in the garbage and pick up some cheap PCI hardware somewhere. ISA hardware in Linux is an incredible, incredible pain.

On one final note, always use modprobe instead of insmod: it works a lot better.

scanez
06-25-2001, 01:32 AM
Ah yes, isapnptools. I was wondering where pnpdump was. Thanks for the reply, I got the sound card setup right away and I figured out the modem using setserial.

Thanks
SC