[Freeswitch-users] skypopen: problem loading the custom alsa driver

Thomas Hoellriegel admin at blindi.net
Wed Feb 9 15:45:24 MSK 2011


> can you paste here the results in dmesg (/var/log/messages) that are
> related to that?
Yes, mdesg:

[   69.929738] snd: Unknown symbol unregister_sound_special
[   69.930392] snd: Unknown symbol register_sound_special_device
[   69.932477] snd: Unknown symbol sound_class

in /var/log/messages

Feb  9 13:20:51 freeswitch kernel: [   69.929738] snd: Unknown symbol
unregister_sound_special
Feb  9 13:20:51 freeswitch kernel: [   69.930392] snd: Unknown symbol
register_sound_special_device
Feb  9 13:20:51 freeswitch kernel: [   69.932477] snd: Unknown symbol
sound_class

> anyway, seems that you have one of this problems:
> a) maybe you have not done "make" then (after make) "make install"

make install has no errors.

> b) maybe you still have the old sound directory in your /var/lib/modules tree

root at freeswitch:/usr/src/alsa-driver-1.0.20# ls  /var/lib/module*
ls: Zugriff auf /var/lib/module* : No such file or directory

> c) maybe you have compiled and installed the alsa mods for a previous
> kernel version

I ehter these commands:
apt-get  update
apt-get  -y upgrade
dpkg -l |grep alsa
"no alsa found"
  apt-get -y install git-core subversion build-essential \
   autoconf automake libtool libncurses5 libncurses5-dev
apt-get -y install xvfb libx11-dev xfs xfonts-100dpi xfonts-75dpi \
xfonts-scalable
apt-get  -y install unixodbc-dev
apt-get  -y install libtiff4-dev
apt-get  -y install libogg-dev libvorbis-dev
cd /usr/src
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
tar -xjf alsa-driver-1.0.20.tar.bz2
cd alsa-driver-1.0.20
rm -r /lib/modules/`uname -r`/kernel/sound/
./configure --with-redhat=no \
--with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \
--with-card-options=all
make && make install
cp /usr/src/freeswitch.git/src/mod/endpoints/mod_skypopen/alsa/dummy.c \
drivers/dummy.c
make && make install

Alsa is compiled and install corretly.
I can.t load the dummydriver module.

---------------
Du kannst mich jederzeit kostenlos per Festnetz erreichen unter:
http://www.blindi.net/callback
homepage: http://www.blindi.net
blinde-misc mailingliste für blinde. anmeldung unter:
http://www.blindi.net/mailman/listinfo/blinde-misc


More information about the FreeSWITCH-users mailing list