[PlanetCCRMA] Re: Echo Mona Laptop driver

acabrera@teleset.com.co acabrera@teleset.com.co
Wed Aug 4 20:39:01 2004


Thanks again Juan and Fernando for your suggestions (I've learned a lot about
configuring ALSA)
Here's the latest:
I tried following the instructions to configure multiple sound cards and my
modules.conf looked like:

# --- ALSACONF verion 1.0.4 ---
alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-intel8x0
alias snd-card-1 snd-mona

sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

options snd major=116 cards_limit=2 \
  device_mode=0666 device_gid=0 device_uid=0
options snd-intel8x0 index=0
options snd-mona index=1

#--- Keep modules from being autocleaned
add options -k snd-card-0
add options -k snd-card-1

But when trying to restart the alsa sound driver, I get:
[root@localhost alsa-driver-1.0.5a]# /etc/rc.d/init.d/alsasound start
modprobe: Invalid line 14 in /etc/modules.conf
        sound-slot-0
modprobe: Invalid line 21 in /etc/modules.conf
        sound-slot-1
So if I leave my modules.conf like this:
# --- ALSACONF verion 1.0.4 ---
alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-intel8x0
#alias snd-card-1 snd-mona

#sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

#sound-slot-1 snd-card-1
#alias sound-service-0-0 snd-mixer-oss
#alias sound-service-0-3 snd-pcm-oss
#alias sound-service-0-12 snd-pcm-oss

options snd major=116 cards_limit=1 \
  device_mode=0666 device_gid=0 device_uid=0
options snd-intel8x0 index=0
#options snd-mona index=1

The internal card loads up fine ( notice I had to comment out sound-slot-0. Is
this normal?) and reports:
cat /proc/asound/cards
0 [I82801CAICH3   ]: ICH - Intel 82801CA-ICH3
                     Intel 82801CA-ICH3 at 0xd800, irq 11


If I try:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.4 ---
alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-mona

#sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

options snd major=116 cards_limit=1 \
  device_mode=0666 device_gid=0 device_uid=0
options snd-mona index=0

#--- Keep modules from being autocleaned
add options -k snd-card-0

I get:
[root@localhost alsa-driver-1.0.5a]# /etc/rc.d/init.d/alsasound start -v
Starting sound driver: snd-mona Warning: ignoring device_mode=0666, no such
parameter in this module
Warning: ignoring device_gid=0, no such parameter in this module
Warning: ignoring device_uid=0, no such parameter in this module
Module snd loaded, with warnings
Module snd-timer loaded, with warnings
Module snd-pcm loaded, with warnings
Warning: ignoring index=0, no such parameter in this module
/lib/modules/2.4.26-1.ll.rhfc1.ccrma/kernel/sound/pci/echoaudio/snd-mona.o:
init_module: No such device
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.26-1.ll.rhfc1.ccrma/kernel/sound/pci/echoaudio/snd-mona.o:
insmod
/lib/modules/2.4.26-1.ll.rhfc1.ccrma/kernel/sound/pci/echoaudio/snd-mona.o failed
/lib/modules/2.4.26-1.ll.rhfc1.ccrma/kernel/sound/pci/echoaudio/snd-mona.o:
insmod snd-mona failed
done

Which is basically the same message I was getting when doing modprobe snd-mona
or when hotplugging the pcmcia card.
I'll compile my findings and contact the developer of the driver to see if we
can nail the problem. If you can think of anything else that can be tried,
please let me know.

Thanks,
Andrés