LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ALSA drivers for Indigo IO (https://www.linuxquestions.org/questions/slackware-14/alsa-drivers-for-indigo-io-365067/)

adds2one 09-19-2005 09:15 PM

ALSA drivers for Indigo IO
 
Hi,

I have a fresh install of Slackware 10.2 up and running on my Dell Latitude D600. The onboard sound card is working perfectly but I want to get my Echo Audio Indigo IO card working too. It is supported under ALSA and I have the instructions to do a fresh install of the drivers but I am unclear what to do if (as in my case) ALSA is already installed.

Here is a link to the instructions for a fresh install:

http://www.alsa-project.org/alsa-doc...odule=indigoio



Does anyone know what I need to do to get this card enabled on a system that already has ALSA?

Thanks

adds2one 09-20-2005 12:16 AM

anyone? do I have to do a complete reinstall of ALSA drivers?

adz 09-20-2005 01:33 AM

You should just be able to load the new driver assuming it was built the last time around. Did you install ALSA from source or did it come with your distro? If it came with your distro you can just do a modprobe snd-indigoio but I'm not sure if you can have two sets of drivers loaded simultaneously so you may have to unload the first one. If you installed from source (and didn't build the snd-indigoio module last time around then you'll have to rebuild and include both card when doing so.

adds2one 09-20-2005 07:25 PM

modprobe snd-indigoio doesn't work. I get a bunch of messages such as No Such Device and insmod failure.

how do I remove the driver for my onboard sound? is this why I can't modprobe this driver?

adz 09-20-2005 11:07 PM

Please post the actual error (cut and paste).

To remove ALSA modules use this method (taken directly from the official ALSA FAQ):
Code:

9. How do i remove all modules ?

Removing 10+ modules one by one is not the way to go. Luckily, all
modules start with the "snd-" prefix, so a little command line
programming will do. You can easily remove ALSA sound by issuing a
command like:

cat /proc/modules|gawk '/^snd-/{print $1}|xargs -i rmmod {}

Please note: if some module is dependent on another module you
cannot just remove the "higher" one. This means that you might need
to issue a second removal statement. I never encountered this
situation though, it seems that you can remove the ALSA modules in
the order they appear in /proc/modules.


adds2one 09-21-2005 05:03 PM

I can't seem to cut the text from my terminal. I am using aterm. Do you know how I can get the text out of my terminal to paste?

adz 09-21-2005 05:52 PM

To cut and plaste in X, select with the mouse then point to where you want to paste it, then middle-click.

adds2one 09-21-2005 10:17 PM

OK. Thanks. Here is the output from when I type modprobe snd-indigoio

/lib/modules/2.4.31/kernel/sound/pci/echoaudio/snd-indigoio.o.gz: init_module: No such device
/lib/modules/2.4.31/kernel/sound/pci/echoaudio/snd-indigoio.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.31/kernel/sound/pci/echoaudio/snd-indigoio.o.gz: insmod /lib/modules/2.4.31/kernel/sound/pci/echoaudio/snd-indigoio.o.gz failed
/lib/modules/2.4.31/kernel/sound/pci/echoaudio/snd-indigoio.o.gz: insmod snd-indigoio failed
bash-3.00#

Does this give us any info that will help me?

Hopefully ....
:)

adz 09-21-2005 10:33 PM

It's probably because your previous ones are still loaded. If you do an lsmod |grep snd and get a whole bunch of ouptut then the old ones are still loaded. Remove them with the command I gave you and then try again.

adds2one 09-22-2005 01:30 PM

I did as you suggested:

bash-3.00# lsmod |grep snd

snd-pcm-oss 36736 0
snd-mixer-oss 12376 1 [snd-pcm-oss]
snd-intel8x0 18304 1
snd-ac97-codec 58556 0 [snd-intel8x0]
snd-pcm 54344 0 [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer 13764 0 [snd-pcm]
snd 32772 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore 3396 4 [snd]
snd-page-alloc 4712 0 [snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]

Obviously my onboard drivers are still loaded, so I tried this:


bash-3.00# cat /proc/modules|gawk '/^snd-/{print $1}|xargs -i rmmod {}
>
>
>
>
>

As you can see this command sent me to a '>' prompt at which I am unable to do anything.

I closed my terminal and opened another one and found that I get the exact same messages for modprobe snd-indigoio and for lsmod |grep snd.

Is there another way for me to remove these modules?

adz 09-22-2005 06:58 PM

Try this one, then:

awk '/^snd/||/^sound/&&($3==0){system("rmmod " $1)}' /proc/modules /proc/modules /proc/modules

adz 09-22-2005 07:00 PM

It's meant to be all on one line so you may have to copy and paste in two parts.

Jeiku 08-05-2006 05:35 PM

Is the light of the sound card actually on? You may need to recompile your kernel with the correct PCMCIA support.


All times are GMT -5. The time now is 03:25 AM.