[PlanetCCRMA] understanding modprobe.conf

Len lenb_99 at yahoo.com
Thu Apr 10 07:00:15 PDT 2008

I've been trying to get my modprobe.conf configured correctly on  (desktop), using Echo Layla24 PCI sound card.  It's working, but still somewhat unstable (jack sometimes disconnects with 'zombified' client message).

Based on what I found in the planetccrma mailing list archives ('lost alsa config for modprobe.conf'), and what's on this page (http://www.alsa-project.org/main/index.php/Matrix:Module-layla24), my modprobe.conf looks like this:    
# ALSA portion 
       alias char-major-116 snd 
       alias snd-card-0 snd-layla24 
options snd-layla24 index=0

     install snd-layla24 /sbin/modprobe --ignore-install snd-layla24  && \     
/usr/sbin/alsactl restore >/dev/null 2>&1 || :    
remove snd-layla24  { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; \    
/sbin/modprobe -r --ignore-remove snd-layla24    
       # OSS/Free portion 
       alias char-major-14 soundcore 
       alias sound-slot-0 snd-card-0 
       # card #1 
       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 
Are the 'install'/'remove' lines and the OSS/Free parts needed?  

Also, since the Layla unit has MIDI ports, do I need to add more lines to modprobe.conf that are specific to the MIDI interface, on a different slot?  It seems to be picking up the MIDI automatically, but I'm wondering if things might be even more stable if I specify explicitly how to do it.  The output of 'cat /proc/asound/cards' looks like this:

 0 [Layla24        ]: Echo_Layla24 - Layla24
                      Layla24 rev.0 (DSP56361) at 0xfdd00000 irq 18
 1 [UART           ]: MPU-401 UART - MPU-401 UART
                      MPU-401 UART at 0x330, irq 10

When I use MIDI with soft synths (qsynth, hexter, etc), I see messages like these in /var/log/messages:

kernel: ALSA sound/pci/echoaudio/echoaudio.c:1839: rawmidi_iread=1
kernel:last message repeated 560 times

Does that look normal?

Thanks in advance.


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the PlanetCCRMA mailing list