Alsa driver installation in CentOS 5.4 getting fail: [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]# [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in wiki page. -giovanni On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
This is not working for this, here kernel-devel and source is modified as wiki told: [root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux [root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M *Repo : installed* Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]# Wiki told: ========== Let's start with ALSA driver compilation and installation: Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2 CentOS, RedHat Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this: /* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif ... #ifndef bool /* just to be sure */ //typedef _Bool bool; #endif Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this: #endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) close the commenting out block adding an "#endif" at line 97, making it look like this: #endif /* < 2.6.21 */ #endif //0 Then: yum install *kernel-devel* # or yum install kernel-xen-devel (if on xen) ./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all make && make install After the first *make && make install*, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c . make && make install #again :) On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in wiki page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way... -giovanni On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli <gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in wiki page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started without getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this? *freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled] *freeswitch@localhost.localdomain> load mod_skypopen* -ERR [module load file routine returned an error] 2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain> On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in wiki page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870:
cd:
/lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
What is your problem Shamun? You don't know how to read? In what you report is written: "open of skypopen.conf failed" On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started without getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this?
*freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled]
*freeswitch@localhost.localdomain> load mod_skypopen*
-ERR [module load file routine returned an error]
2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain>
On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in wiki page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870:
cd:
/lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Dear Mr. Giovanni, What i am trying to explain, i think you are not getting the problem. You have SVN version WIKI. I have GIT nightly build version in my left hand box (Point 1) and right hand box (Point 2) i have SVN version of FS . Problem: Point 2 works, Point 1 doesnt works. *More details, why its not working:* 1. In GIT nightly build latest the greatest version the mod_skypopen is not working or not included (human error!). There is no *skypopen.conf.xml* file (in GIT release) [root@localhost autoload_configs]# uname -a *Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux* [root@localhost autoload_configs]# locate mod_skypopen /usr/local/freeswitch/mod/mod_skypopen.a /usr/local/freeswitch/mod/mod_skypopen.la /usr/local/freeswitch/mod/mod_skypopen.so [root@localhost autoload_configs]# pwd /usr/local/src/freeswitch/conf/autoload_configs [root@localhost autoload_configs]# ls acl.conf.xml console.conf.xml enum.conf.xml ivr.conf.xml modules.conf.xml post_load_modules.conf.xml sofia.conf.xml unicall.conf.xml alsa.conf.xml db.conf.xml erlang_event.conf.xml java.conf.xml nibblebill.conf.xml python.conf.xml spandsp.conf.xml unimrcp.conf.xml callcenter.conf.xml dialplan_directory.conf.xml event_multicast.conf.xml lcr.conf.xml opal.conf.xml redis.conf.xml spidermonkey.conf.xml voicemail.conf.xml cdr_csv.conf.xml dingaling.conf.xml event_socket.conf.xml local_stream.conf.xml osp.conf.xml rss.conf.xml switch.conf.xml xml_cdr.conf.xml cdr_pg_csv.conf.xml directory.conf.xml fax.conf.xml logfile.conf.xml perl.conf.xml sangoma_codec.conf.xml syslog.conf.xml xml_curl.conf.xml cidlookup.conf.xml distributor.conf.xml fifo.conf.xml lua.conf.xml pocketsphinx.conf.xml shout.conf.xml timezones.conf.xml xml_rpc.conf.xml conference.conf.xml easyroute.conf.xml hash.conf.xml memcache.conf.xml portaudio.conf.xml skinny.conf.xml tts_commandline.conf.xml zeroconf.conf.xml [root@localhost autoload_configs]# 2. In the SVN OLD FS release (which works for me as my test suite in fedora) you have skypopen.conf.xml file (as default) [sun@example autoload_configs]$ uname -a *Linux example 2.6.32.12-114.fc12.i686 #1 SMP Tue Apr 27 21:29:58 UTC 2010 i686 i686 i386 GNU/Linux *[sun@example autoload_configs]$ locate mod_skypopen /usr/local/freeswitch/mod/mod_skypopen.a /usr/local/freeswitch/mod/mod_skypopen.la /usr/local/freeswitch/mod/mod_skypopen.so [sun@example autoload_configs]$ pwd /usr/local/freeswitch/conf/autoload_configs [sun@example autoload_configs]$ ls acl.conf.xml dialplan_directory.conf.xml event_multicast.conf.xml java.conf.xml modules.conf.xml python.conf.xml spidermonkey.conf.xml voicemail.conf.xml alsa.conf.xml dingaling.conf.xml event_socket.conf.xml lcr.conf.xml nibblebill.conf.xml rss.conf.xml switch.conf.xml xml_cdr.conf.xml cdr_csv.conf.xml directory.conf.xml event_socket.conf.xml~ limit.conf.xml opal.conf.xml sangoma_codec.conf.xml syslog.conf.xml xml_cdr.conf.xml~ cdr_pg_csv.conf.xml distributor.conf.xml fax.conf.xml local_stream.conf.xml perl.conf.xml shout.conf.xml timezones.conf.xml xml_curl.conf.xml cidlookup.conf.xml easyroute.conf.xml fifo.conf.xml logfile.conf.xml pocketsphinx.conf.xml skinny.conf.xml tts_commandline.conf.xml xml_rpc.conf.xml conference.conf.xml enum.conf.xml fifo.conf.xml~ lua.conf.xml portaudio.conf.xml *skypopen.conf.xml* unicall.conf.xml zeroconf.conf.xml console.conf.xml erlang_event.conf.xml ivr.conf.xml memcache.conf.xml post_load_modules.conf.xml sofia.conf.xml unimrcp.conf.xml [sun@example autoload_configs]$ Does this say anything, what is causing the problem, following WIKI is not really working with latest the greatest GIT Freeswitch release. Looking forward to your answer. Thank you very much Kindest regards On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com>wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started without getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this?
*freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled]
*freeswitch@localhost.localdomain> load mod_skypopen*
-ERR [module load file routine returned an error]
2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain>
On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in
wiki
page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Both in svn and in git you have to create or copy the configuration file from mod-skypopen sources directory. It was NEVER installed automatically or by default, not in svn, not in git, never. In the wiki page is written you have to copy it, from where and to where. -giovanni On 9/19/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Dear Mr. Giovanni,
What i am trying to explain, i think you are not getting the problem. You have SVN version WIKI. I have GIT nightly build version in my left hand box (Point 1) and right hand box (Point 2) i have SVN version of FS .
Problem: Point 2 works, Point 1 doesnt works.
*More details, why its not working:*
1. In GIT nightly build latest the greatest version the mod_skypopen is not working or not included (human error!). There is no *skypopen.conf.xml* file (in GIT release)
[root@localhost autoload_configs]# uname -a *Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux*
[root@localhost autoload_configs]# locate mod_skypopen /usr/local/freeswitch/mod/mod_skypopen.a /usr/local/freeswitch/mod/mod_skypopen.la /usr/local/freeswitch/mod/mod_skypopen.so
[root@localhost autoload_configs]# pwd /usr/local/src/freeswitch/conf/autoload_configs
[root@localhost autoload_configs]# ls acl.conf.xml console.conf.xml enum.conf.xml ivr.conf.xml modules.conf.xml post_load_modules.conf.xml sofia.conf.xml unicall.conf.xml alsa.conf.xml db.conf.xml erlang_event.conf.xml java.conf.xml nibblebill.conf.xml python.conf.xml spandsp.conf.xml unimrcp.conf.xml callcenter.conf.xml dialplan_directory.conf.xml event_multicast.conf.xml lcr.conf.xml opal.conf.xml redis.conf.xml spidermonkey.conf.xml voicemail.conf.xml cdr_csv.conf.xml dingaling.conf.xml event_socket.conf.xml local_stream.conf.xml osp.conf.xml rss.conf.xml switch.conf.xml xml_cdr.conf.xml cdr_pg_csv.conf.xml directory.conf.xml fax.conf.xml logfile.conf.xml perl.conf.xml sangoma_codec.conf.xml syslog.conf.xml xml_curl.conf.xml cidlookup.conf.xml distributor.conf.xml fifo.conf.xml lua.conf.xml pocketsphinx.conf.xml shout.conf.xml timezones.conf.xml xml_rpc.conf.xml conference.conf.xml easyroute.conf.xml hash.conf.xml memcache.conf.xml portaudio.conf.xml skinny.conf.xml tts_commandline.conf.xml zeroconf.conf.xml [root@localhost autoload_configs]#
2. In the SVN OLD FS release (which works for me as my test suite in fedora) you have skypopen.conf.xml file (as default)
[sun@example autoload_configs]$ uname -a *Linux example 2.6.32.12-114.fc12.i686 #1 SMP Tue Apr 27 21:29:58 UTC 2010 i686 i686 i386 GNU/Linux
*[sun@example autoload_configs]$ locate mod_skypopen /usr/local/freeswitch/mod/mod_skypopen.a /usr/local/freeswitch/mod/mod_skypopen.la /usr/local/freeswitch/mod/mod_skypopen.so
[sun@example autoload_configs]$ pwd /usr/local/freeswitch/conf/autoload_configs [sun@example autoload_configs]$ ls acl.conf.xml dialplan_directory.conf.xml event_multicast.conf.xml java.conf.xml modules.conf.xml python.conf.xml spidermonkey.conf.xml voicemail.conf.xml alsa.conf.xml dingaling.conf.xml event_socket.conf.xml lcr.conf.xml nibblebill.conf.xml rss.conf.xml switch.conf.xml xml_cdr.conf.xml cdr_csv.conf.xml directory.conf.xml event_socket.conf.xml~ limit.conf.xml opal.conf.xml sangoma_codec.conf.xml syslog.conf.xml xml_cdr.conf.xml~ cdr_pg_csv.conf.xml distributor.conf.xml fax.conf.xml local_stream.conf.xml perl.conf.xml shout.conf.xml timezones.conf.xml xml_curl.conf.xml cidlookup.conf.xml easyroute.conf.xml fifo.conf.xml logfile.conf.xml pocketsphinx.conf.xml skinny.conf.xml tts_commandline.conf.xml xml_rpc.conf.xml conference.conf.xml enum.conf.xml fifo.conf.xml~ lua.conf.xml portaudio.conf.xml *skypopen.conf.xml* unicall.conf.xml zeroconf.conf.xml console.conf.xml erlang_event.conf.xml ivr.conf.xml memcache.conf.xml post_load_modules.conf.xml sofia.conf.xml unimrcp.conf.xml [sun@example autoload_configs]$
Does this say anything, what is causing the problem, following WIKI is not really working with latest the greatest GIT Freeswitch release.
Looking forward to your answer.
Thank you very much Kindest regards
On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com>wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started without getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this?
*freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled]
*freeswitch@localhost.localdomain> load mod_skypopen*
-ERR [module load file routine returned an error]
2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain>
On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in
wiki
page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote: > Alsa driver installation in CentOS 5.4 getting fail: > > [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer > --with-card-options=all > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for ranlib... ranlib > checking for a BSD-compatible install... /usr/bin/install -c > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking whether time.h and sys/time.h may both be included... yes > checking whether gcc needs -traditional... no > checking for current directory... > /usr/local/src/alsa-driver-1.0.20 > checking cross compile... > checking for directory with kernel source... ./configure: line 4870: cd: > /lib/modules/2.6.18-164.el5/source: No such file or directory > /lib/modules/2.6.18-164.el5/source > checking for directory with kernel build... > /lib/modules/2.6.18-164.el5/build > checking for kernel linux/version.h... no > The file /include/linux/version.h does not exist. > Please install the package with full kernel sources for your > distribution > or use --with-kernel=dir option to specify another directory with kernel > sources (default is /lib/modules/2.6.18-164.el5/source). > [root@localhost alsa-driver-1.0.20]# > > > > [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer > --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for ranlib... ranlib > checking for a BSD-compatible install... /usr/bin/install -c > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking whether time.h and sys/time.h may both be included... yes > checking whether gcc needs -traditional... no > checking for current directory... > /usr/local/src/alsa-driver-1.0.20 > checking cross compile... > checking for directory with kernel source... ./configure: line 4870: cd: > /lib/modules/2.6.18-164.el5/source: No such file or directory > /lib/modules/2.6.18-164.el5/source > checking for directory with kernel build... > checking for kernel linux/version.h... no > The file /include/linux/version.h does not exist. > Please install the package with full kernel sources for your > distribution > or use --with-kernel=dir option to specify another directory with kernel > sources (default is /lib/modules/2.6.18-164.el5/source). >
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Now i arrange to start it atleast, but gets failed, how do you fix this? freeswitch@localhost.localdomain> load mod_skypopen 2010-09-19 13:14:53.038402 [WARNING] mod_skypopen.c:1542 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][WARNINGA 1542 ][interface1][-1, 0, 0] STARTING interface_id=1 2010-09-19 13:14:53.242399 [NOTICE] mod_skypopen.c:1567 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][NOTICA 1567 ][interface1][-1, 0, 0] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1 2010-09-19 13:14:53.242399 [NOTICE] mod_skypopen.c:1576 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][NOTICA 1576 ][interface1][-1, 0, 0] Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==notwork1 2010-09-19 13:15:54.868242 [ERR] mod_skypopen.c:1620 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1620 ][interface1][-1, 0, 0] The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=notwork1, interface_id=1 FAILED to start. No Skype client logged in as 'notwork1' has been found. Please (re)launch a Skype client logged in as 'notwork1'. Skypopen exiting now -ERR [module load file routine returned an error] 2010-09-19 13:15:54.868242 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain> 2010-09-19 13:15:54.965251 [NOTICE] skypopen_protocol.c:1754 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][NOTICA 1754 ][interface1][-1, 0, 0] EXITING On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com>wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started without getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this?
*freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled]
*freeswitch@localhost.localdomain> load mod_skypopen*
-ERR [module load file routine returned an error]
2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain>
On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in
wiki
page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Dear Shamun, your "problem" is clearly described in the error you are posting. Also, the wiki page clearly describe how and what you have to do. I feel you are abusing the mailing list, the community and me personally. Do your homework or pay a consultant if you don't like to read wiki and errors. I will no more answer your questions if you continue in this behavior. -giovanni On 9/19/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Now i arrange to start it atleast, but gets failed, how do you fix this?
freeswitch@localhost.localdomain> load mod_skypopen 2010-09-19 13:14:53.038402 [WARNING] mod_skypopen.c:1542 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][WARNINGA 1542 ][interface1][-1, 0, 0] STARTING interface_id=1 2010-09-19 13:14:53.242399 [NOTICE] mod_skypopen.c:1567 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][NOTICA 1567 ][interface1][-1, 0, 0] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1 2010-09-19 13:14:53.242399 [NOTICE] mod_skypopen.c:1576 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][NOTICA 1576 ][interface1][-1, 0, 0] Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==notwork1
2010-09-19 13:15:54.868242 [ERR] mod_skypopen.c:1620 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1620 ][interface1][-1, 0, 0] The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=notwork1, interface_id=1 FAILED to start. No Skype client logged in as 'notwork1' has been found. Please (re)launch a Skype client logged in as 'notwork1'. Skypopen exiting now
-ERR [module load file routine returned an error]
2010-09-19 13:15:54.868242 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain> 2010-09-19 13:15:54.965251 [NOTICE] skypopen_protocol.c:1754 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][NOTICA 1754 ][interface1][-1, 0, 0] EXITING
On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com>wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started without getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this?
*freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled]
*freeswitch@localhost.localdomain> load mod_skypopen*
-ERR [module load file routine returned an error]
2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain>
On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in
wiki
page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote: > Alsa driver installation in CentOS 5.4 getting fail: > > [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer > --with-card-options=all > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for ranlib... ranlib > checking for a BSD-compatible install... /usr/bin/install -c > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking whether time.h and sys/time.h may both be included... yes > checking whether gcc needs -traditional... no > checking for current directory... > /usr/local/src/alsa-driver-1.0.20 > checking cross compile... > checking for directory with kernel source... ./configure: line 4870: cd: > /lib/modules/2.6.18-164.el5/source: No such file or directory > /lib/modules/2.6.18-164.el5/source > checking for directory with kernel build... > /lib/modules/2.6.18-164.el5/build > checking for kernel linux/version.h... no > The file /include/linux/version.h does not exist. > Please install the package with full kernel sources for your > distribution > or use --with-kernel=dir option to specify another directory with kernel > sources (default is /lib/modules/2.6.18-164.el5/source). > [root@localhost alsa-driver-1.0.20]# > > > > [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer > --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for ranlib... ranlib > checking for a BSD-compatible install... /usr/bin/install -c > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking whether time.h and sys/time.h may both be included... yes > checking whether gcc needs -traditional... no > checking for current directory... > /usr/local/src/alsa-driver-1.0.20 > checking cross compile... > checking for directory with kernel source... ./configure: line 4870: cd: > /lib/modules/2.6.18-164.el5/source: No such file or directory > /lib/modules/2.6.18-164.el5/source > checking for directory with kernel build... > checking for kernel linux/version.h... no > The file /include/linux/version.h does not exist. > Please install the package with full kernel sources for your > distribution > or use --with-kernel=dir option to specify another directory with kernel > sources (default is /lib/modules/2.6.18-164.el5/source). >
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
I dont have any voice! ALSA is getting failed to recombile. freeswitch@localhost.localdomain> sk list sk console is NOT yet assigned F ID Name IB (F/T) OB (F/T) State CallFlw UUID = ==== ======== ======= ======= ====== ============ ====== 1 [interface1] 0/0 0/0 IDLE CALL_IDLE 2 [interface2] 0/0 0/0 IDLE CALL_IDLE Total Interfaces: 2 IB Calls(Failed/Total): 0/0 OB Calls(Failed/Total): 0/0 freeswitch@localhost.localdomain> 2010-09-19 13:40:27.383300 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 13:40:27.391298 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 13:40:45.371327 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 13:40:45.379304 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session
Whole FS instance is crashed, when i make call to skypeid. Its really normal? freeswitch@localhost.localdomain> sk list sk console is NOT yet assigned F ID Name IB (F/T) OB (F/T) State CallFlw UUID = ==== ======== ======= ======= ====== ============ ====== 1 [interface1] 0/0 0/0 IDLE CALL_IDLE 2 [interface2] 0/0 0/0 IDLE CALL_IDLE Total Interfaces: 2 IB Calls(Failed/Total): 0/0 OB Calls(Failed/Total): 0/0 freeswitch@localhost.localdomain> 2010-09-19 13:46:58.564577 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 13:46:58.572576 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 13:47:33.681469 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 13:47:33.693468 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session *Segmentation fault (core dumped)* [root@localhost multiple-instance-same-skype-username]# [root@localhost multiple-instance-same-skype-username]# [root@localhost multiple-instance-same-skype-username]# [root@localhost multiple-instance-same-skype-username]# [root@localhost multiple-instance-same-skype-username]# [root@localhost multiple-instance-same-skype-username]# clear
for CentOS 5.4 In wiki page is mentioned "yum install kernel-devel". After that install, the main problem was CentOS itself, my kernel version remain OLD and kernel-devel version is became NEW. So either way i needed to apply "yum update" And then rebooted, then the "segmentation fault" is gone, the rest is fine. But i still have last issue that is SOUND will never work, What is that mean, mod_skypopen will not work for SOUND, that is the reason of using this then!!!!? 2010-09-19 15:03:43.201763 [ERR] skypopen_protocol.c:233 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 233 ][interface2][-1, 0, 0] Skype got ERROR: |||ERROR 589 ALTER CALL: unable to alter input/output|||
I dont have hw:dummy in my selection list, even if i restart, i dont have nothing like dummy. How to fix it tell CentOS, make hw:dummy default for anything? As wiki told, i applied this also successfully: CentOS, RedHat Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this: /* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif ... #ifndef bool /* just to be sure */ //typedef _Bool bool; #endif Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this: #endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) close the commenting out block adding an "#endif" at line 97, making it look like this: #endif /* < 2.6.21 */ #endif //0 Then: yum install kernel-devel # or yum install kernel-xen-devel (if on xen) ./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all make && make install After the first *make && make install*, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c . make && make install #again :) On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com>wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started without getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this?
*freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled]
*freeswitch@localhost.localdomain> load mod_skypopen*
-ERR [module load file routine returned an error]
2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain>
On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in
wiki
page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Never mind, this is how it works, transparency :). Done. /** * Embed kernel - path */ [root@localhost alsa-driver-1.0.20]# modinfo soundcore filename: /lib/modules/2.6.18-194.11.3.el5/kernel/sound/soundcore.ko alias: char-major-14-* license: GPL author: Alan Cox description: Core sound module srcversion: 548AA54AF08207316C104F8 depends: vermagic: 2.6.18-194.11.3.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1 module_sig: 883f3504c7c1a87976379507fe298112dbc0a08f6d9ab058c53480d21d9fda379fc041d0edde5909f6f6eea8673bc4e512268961c2413d6d5c49464d [root@localhost alsa-driver-1.0.20]# alsamixer /** * Embed kernel - hw:dummy */ [root@localhost alsa-driver-1.0.20]# modprobe Usage: modprobe [-v] [-V] [-C config-file] [-n] [-i] [-q] [-b] [-o <modname>] <modname> [parameters...] modprobe -r [-n] [-i] [-v] <modulename> ... modprobe -l -t <dirname> [ -a <modulename> ...] [root@localhost alsa-driver-1.0.20]# modprobe snd-dummy [root@localhost alsa-driver-1.0.20]# modinfo soundcore filename: /lib/modules/2.6.18-194.11.3.el5/kernel/sound/soundcore.ko alias: char-major-14-* license: GPL author: Alan Cox description: Core sound module srcversion: 548AA54AF08207316C104F8 depends: vermagic: 2.6.18-194.11.3.el5 SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1 module_sig: 883f3504c7c1a87976379507fe298112dbc0a08f6d9ab058c53480d21d9fda379fc041d0edde5909f6f6eea8673bc4e512268961c2413d6d5c49464d [root@localhost alsa-driver-1.0.20]# alsamixer [root@localhost alsa-driver-1.0.20]# modprobe snd-dummy ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss ; modprobe snd-seq-oss /** * Tune audio - from CLI */ [root@localhost alsa-driver-1.0.20]# alsamixer On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com>wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started without getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this?
*freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled]
*freeswitch@localhost.localdomain> load mod_skypopen*
-ERR [module load file routine returned an error]
2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain>
On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in
wiki
page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Here is the *BUG* after doing all correctly as told in WIKI (git version is buggy doesnt work for sound). FreeSWITCH Version 1.0.head (git-3eb35a5 2010-09-15 17-04-54 -0500) freeswitch@localhost.localdomain> 2010-09-19 16:24:17.069884 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 16:24:17.084917 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 16:24:22.243323 [NOTICE] sofia_reg.c:1443 Auto-Adding Alias [ vooyz1.vooyz.com] for profile [internal] freeswitch@localhost.localdomain> freeswitch@localhost.localdomain> sofia profile internal siptrace on Enabled sip debugging on internal freeswitch@localhost.localdomain> 2010-09-19 16:25:04.233015 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 16:25:04.241070 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com>wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started without getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this?
*freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled]
*freeswitch@localhost.localdomain> load mod_skypopen*
-ERR [module load file routine returned an error]
2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain>
On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in
wiki
page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
Alsa driver installation in CentOS 5.4 getting fail:
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
[root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Shamun, You are trolling, please cease and desist I am the developer of mod_skypopen. mod_skypopen works for all peoples that take care to read the wiki, and do as directed. mod_skypopen is in production in many parts of the world, and weekly serves the FS developers conference call through Skype. You are damaging yourself and the community with your behavior, and you have particularly annoyed me (for what that's worth). -giovanni On Sun, Sep 19, 2010 at 3:33 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
Here is the BUG after doing all correctly as told in WIKI (git version is buggy doesnt work for sound).
FreeSWITCH Version 1.0.head (git-3eb35a5 2010-09-15 17-04-54 -0500)
freeswitch@localhost.localdomain> 2010-09-19 16:24:17.069884 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 16:24:17.084917 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 16:24:22.243323 [NOTICE] sofia_reg.c:1443 Auto-Adding Alias [vooyz1.vooyz.com] for profile [internal]
freeswitch@localhost.localdomain> freeswitch@localhost.localdomain> sofia profile internal siptrace on
Enabled sip debugging on internal freeswitch@localhost.localdomain> 2010-09-19 16:25:04.233015 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 16:25:04.241070 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session
On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started without getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this?
*freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled]
*freeswitch@localhost.localdomain> load mod_skypopen*
-ERR [module load file routine returned an error]
2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain>
On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote:
Read what error you get. Follow the wiki page. Install necessary packages and edit alsa sources. All described in wiki page. -giovanni
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote: > Alsa driver installation in CentOS 5.4 getting fail: > > [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer > --with-card-options=all > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for ranlib... ranlib > checking for a BSD-compatible install... /usr/bin/install -c > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking whether time.h and sys/time.h may both be included... yes > checking whether gcc needs -traditional... no > checking for current directory... > /usr/local/src/alsa-driver-1.0.20 > checking cross compile... > checking for directory with kernel source... ./configure: line > 4870:
cd:
> /lib/modules/2.6.18-164.el5/source: No such file or directory > /lib/modules/2.6.18-164.el5/source > checking for directory with kernel build... > /lib/modules/2.6.18-164.el5/build > checking for kernel linux/version.h... no > The file /include/linux/version.h does not exist. > Please install the package with full kernel sources for your > distribution > or use --with-kernel=dir option to specify another directory with kernel > sources (default is /lib/modules/2.6.18-164.el5/source). > [root@localhost alsa-driver-1.0.20]# > > > > [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer > --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for ranlib... ranlib > checking for a BSD-compatible install... /usr/bin/install -c > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking whether time.h and sys/time.h may both be included... yes > checking whether gcc needs -traditional... no > checking for current directory... > /usr/local/src/alsa-driver-1.0.20 > checking cross compile... > checking for directory with kernel source... ./configure: line > 4870: cd: > /lib/modules/2.6.18-164.el5/source: No such file or directory > /lib/modules/2.6.18-164.el5/source > checking for directory with kernel build... > checking for kernel linux/version.h... no > The file /include/linux/version.h does not exist. > Please install the package with full kernel sources for your > distribution > or use --with-kernel=dir option to specify another directory with kernel > sources (default is /lib/modules/2.6.18-164.el5/source). >
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
bro, Sir Giovanni is exactly right. I was like you when i began but Sir Giovani adviced me to read and understand wiki carefully. Also understand the linux fundamentals do everything step by step.. skypope is working fine for me. I am thankful to Sir Giovanni for that advice because it makes me understand many other things too. I suggest you go through the video of Singh for Windows also so you should know how skype module works! or if you are familiar with windows u can do that on that too Regards. Zuhair On Sun, Sep 19, 2010 at 6:20 PM, Giovanni Maruzzelli <gmaruzz@gmail.com>wrote:
Shamun,
You are trolling, please cease and desist
I am the developer of mod_skypopen.
mod_skypopen works for all peoples that take care to read the wiki, and do as directed.
mod_skypopen is in production in many parts of the world, and weekly serves the FS developers conference call through Skype.
You are damaging yourself and the community with your behavior, and you have particularly annoyed me (for what that's worth).
-giovanni
On Sun, Sep 19, 2010 at 3:33 PM, Shamun toha md <shamun.toha@gmail.com> wrote:
Here is the BUG after doing all correctly as told in WIKI (git version is buggy doesnt work for sound).
FreeSWITCH Version 1.0.head (git-3eb35a5 2010-09-15 17-04-54 -0500)
freeswitch@localhost.localdomain> 2010-09-19 16:24:17.069884 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 16:24:17.084917 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 16:24:22.243323 [NOTICE] sofia_reg.c:1443 Auto-Adding Alias [vooyz1.vooyz.com] for profile [internal]
freeswitch@localhost.localdomain> freeswitch@localhost.localdomain> sofia profile internal siptrace on
Enabled sip debugging on internal freeswitch@localhost.localdomain> 2010-09-19 16:25:04.233015 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 16:25:04.241070 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session
On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com> wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote:
You are correct, even without alsa driver, if i simply start skype GUI instance from ssh -X servermachine, i can see skype get started
without
getting fail or crash. But if i "load mod_skypeopen", why it is getting again error like this?
*freeswitch@localhost.localdomain> * 2010-09-18 19:05:08.243932 [CONSOLE] switch_core.c:1649 FreeSWITCH Version 1.0.head (*git-3eb35a5 2010-09-15 17-04-54 -0500*) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled]
*freeswitch@localhost.localdomain> load mod_skypopen*
-ERR [module load file routine returned an error]
2010-09-18 19:05:18.973060 [ERR] mod_skypopen.c:1304 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1304 ][none ][-1,-1,-1] open of skypopen.conf failed 2010-09-18 19:05:18.973060 [CRIT] switch_loadable_module.c:926 Error Loading module /usr/local/freeswitch/mod/mod_skypopen.so **Module load routine returned an error** freeswitch@localhost.localdomain>
On Sat, Sep 18, 2010 at 2:55 PM, Giovanni Maruzzelli <gmaruzz@celliax.org>wrote:
You reported:
checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18->164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source).
The error speaks very clear. You botched your install in some way...
-giovanni
On Sat, Sep 18, 2010 at 2:46 PM, Shamun toha md < shamun.toha@gmail.com> wrote:
This is not working for this, here kernel-devel and source is modified as wiki told:
[root@localhost alsa-driver-1.0.20]# uname -a Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux
[root@localhost alsa-driver-1.0.20]# yum info kernel-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: ftp.belnet.be * base: mirror.ovh.net * extras: mirror.ovh.net * updates: mirror.ovh.net Installed Packages Name : kernel-devel Arch : i686 Version : 2.6.18 Release : 194.11.3.el5 Size : 16 M Repo : installed Summary : Development package for building kernel modules to match the kernel. URL : http://www.kernel.org/ License : GPLv2 Description: This package provides kernel headers and makefiles sufficient to build modules : against the kernel package. [root@localhost alsa-driver-1.0.20]# ./configure --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer --with-card-options=all checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for current directory... /usr/local/src/alsa-driver-1.0.20 checking cross compile... checking for directory with kernel source... ./configure: line 4870: cd: /lib/modules/2.6.18-164.el5/source: No such file or directory /lib/modules/2.6.18-164.el5/source checking for directory with kernel build... /lib/modules/2.6.18-164.el5/build checking for kernel linux/version.h... no The file /include/linux/version.h does not exist. Please install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources (default is /lib/modules/2.6.18-164.el5/source). [root@localhost alsa-driver-1.0.20]#
Wiki told: ==========
Let's start with ALSA driver compilation and installation:
Get it from: ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
CentOS, RedHat
Because CentOS backports features in kernel, you will have to edit alsa-driver-1.0.20/include/adriver.h and comment out line 101 and line 1781, to make it like this:
/* other missing types */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) //typedef unsigned int fmode_t; #endif
...
#ifndef bool /* just to be sure */ //typedef _Bool bool; #endif
Then edit alsa-driver-1.0.20/usb/usbcompat.h adding a "#if 0" on line 18, commenting out the following code making it look like this:
#endif /* < 2.6.24 */ #if 0 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd)
close the commenting out block adding an "#endif" at line 97, making it look like this:
#endif /* < 2.6.21 */ #endif //0
Then:
yum install kernel-devel # or yum install kernel-xen-devel (if on xen)
./configure --with-redhat=yes \ --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer \ --with-card-options=all
make && make install
After the first make && make install, copy mod_skypopen/configs/alsa/dummy.c to alsa-driver-1.0.20/sound/drivers/dummy.c .
make && make install #again :)
On Sat, Sep 18, 2010 at 1:49 PM, Giovanni Maruzzelli < gmaruzz@celliax.org> wrote: > > Read what error you get. > Follow the wiki page. > Install necessary packages and edit alsa sources. All described in > wiki > page. > -giovanni > > On 9/18/10, Shamun toha md <shamun.toha@gmail.com> wrote: > > Alsa driver installation in CentOS 5.4 getting fail: > > > > [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes > > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer > > --with-card-options=all > > checking for gcc... gcc > > checking for C compiler default output file name... a.out > > checking whether the C compiler works... yes > > checking whether we are cross compiling... no > > checking for suffix of executables... > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... yes > > checking whether gcc accepts -g... yes > > checking for gcc option to accept ISO C89... none needed > > checking for ranlib... ranlib > > checking for a BSD-compatible install... /usr/bin/install -c > > checking how to run the C preprocessor... gcc -E > > checking for grep that handles long lines and -e... /bin/grep > > checking for egrep... /bin/grep -E > > checking for ANSI C header files... yes > > checking for an ANSI C-conforming const... yes > > checking for inline... inline > > checking whether time.h and sys/time.h may both be included... yes > > checking whether gcc needs -traditional... no > > checking for current directory... > > /usr/local/src/alsa-driver-1.0.20 > > checking cross compile... > > checking for directory with kernel source... ./configure: line > > 4870: cd: > > /lib/modules/2.6.18-164.el5/source: No such file or directory > > /lib/modules/2.6.18-164.el5/source > > checking for directory with kernel build... > > /lib/modules/2.6.18-164.el5/build > > checking for kernel linux/version.h... no > > The file /include/linux/version.h does not exist. > > Please install the package with full kernel sources for your > > distribution > > or use --with-kernel=dir option to specify another directory with kernel > > sources (default is /lib/modules/2.6.18-164.el5/source). > > [root@localhost alsa-driver-1.0.20]# > > > > > > > > [root@localhost alsa-driver-1.0.20]# ./configure --with-redhat=yes > > --with-cards=dummy,usb-audio,hda-intel,hrtimer,rtctimer > > --with-card-options=all --with-kernel=/lib/modules/2.6.18-164.el5/source > > checking for gcc... gcc > > checking for C compiler default output file name... a.out > > checking whether the C compiler works... yes > > checking whether we are cross compiling... no > > checking for suffix of executables... > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... yes > > checking whether gcc accepts -g... yes > > checking for gcc option to accept ISO C89... none needed > > checking for ranlib... ranlib > > checking for a BSD-compatible install... /usr/bin/install -c > > checking how to run the C preprocessor... gcc -E > > checking for grep that handles long lines and -e... /bin/grep > > checking for egrep... /bin/grep -E > > checking for ANSI C header files... yes > > checking for an ANSI C-conforming const... yes > > checking for inline... inline > > checking whether time.h and sys/time.h may both be included... yes > > checking whether gcc needs -traditional... no > > checking for current directory... > > /usr/local/src/alsa-driver-1.0.20 > > checking cross compile... > > checking for directory with kernel source... ./configure: line > > 4870: cd: > > /lib/modules/2.6.18-164.el5/source: No such file or directory > > /lib/modules/2.6.18-164.el5/source > > checking for directory with kernel build... > > checking for kernel linux/version.h... no > > The file /include/linux/version.h does not exist. > > Please install the package with full kernel sources for your > > distribution > > or use --with-kernel=dir option to specify another directory with kernel > > sources (default is /lib/modules/2.6.18-164.el5/source). > > > > -- > Sent from my mobile device > > Sincerely, > > Giovanni Maruzzelli > Cell : +39-347-2665618 > > _______________________________________________ > FreeSWITCH-users mailing list > FreeSWITCH-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sent from my mobile device
Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely,
Giovanni Maruzzelli Cell : +39-347-2665618
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Regards, Zuhair Raza
This the last try still the same *BUG*, there is no error when i repeat my setup in Fedora/SVN release. But when i am doing this in CentOS 5.4, Alsa driver and Mod_Skypopen is behaving abnormal.., something is wrong with the release?? +OK 2010-09-19 17:08:19.886901 [CONSOLE] switch_loadable_module.c:944 Successfully Loaded [mod_skypopen] 2010-09-19 17:08:19.886901 [NOTICE] switch_loadable_module.c:145 Adding Endpoint 'skypopen' 2010-09-19 17:08:19.886901 [NOTICE] switch_loadable_module.c:273 Adding API Function 'sk' 2010-09-19 17:08:19.886901 [NOTICE] switch_loadable_module.c:273 Adding API Function 'skypopen' 2010-09-19 17:08:19.886901 [NOTICE] switch_loadable_module.c:273 Adding API Function 'skypopen_chat' 2010-09-19 17:08:19.886901 [NOTICE] switch_loadable_module.c:378 Adding Chat interface 'skype' freeswitch@localhost.localdomain> sk list sk console is NOT yet assigned F ID Name IB (F/T) OB (F/T) State CallFlw UUID = ==== ======== ======= ======= ====== ============ ====== 1 [interface1] 0/0 0/0 IDLE CALL_IDLE 2 [interface2] 0/0 0/0 IDLE CALL_IDLE Total Interfaces: 2 IB Calls(Failed/Total): 0/0 OB Calls(Failed/Total): 0/0 freeswitch@localhost.localdomain> ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi 2010-09-19 17:08:31.026382 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 17:08:31.041389 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface1][-1, 5,21] no session 2010-09-19 17:08:31.089483 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 17:08:31.089483 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface1][-1, 5,21] no session On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com>wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
Shamun, you are trolling, please cease and desist. I am the developer of mod-skypopen. Mod-skypopen works for all the people that take care of reading the wiki and doing as directed. Mod-skypopen is in production in many parts of the world, and weekly serves the FS developers' conference via Skype. You are damaging yourself and the community with your behavior, and you have particularly annoyed me (for what the last one is worth). -giovanni On 9/19/10, Shamun toha md <shamun.toha@gmail.com> wrote:
This the last try still the same *BUG*, there is no error when i repeat my setup in Fedora/SVN release. But when i am doing this in CentOS 5.4, Alsa driver and Mod_Skypopen is behaving abnormal.., something is wrong with the release??
+OK
2010-09-19 17:08:19.886901 [CONSOLE] switch_loadable_module.c:944 Successfully Loaded [mod_skypopen] 2010-09-19 17:08:19.886901 [NOTICE] switch_loadable_module.c:145 Adding Endpoint 'skypopen' 2010-09-19 17:08:19.886901 [NOTICE] switch_loadable_module.c:273 Adding API Function 'sk' 2010-09-19 17:08:19.886901 [NOTICE] switch_loadable_module.c:273 Adding API Function 'skypopen' 2010-09-19 17:08:19.886901 [NOTICE] switch_loadable_module.c:273 Adding API Function 'skypopen_chat' 2010-09-19 17:08:19.886901 [NOTICE] switch_loadable_module.c:378 Adding Chat interface 'skype' freeswitch@localhost.localdomain> sk list
sk console is NOT yet assigned F ID Name IB (F/T) OB (F/T) State CallFlw UUID = ==== ======== ======= ======= ====== ============ ====== 1 [interface1] 0/0 0/0 IDLE CALL_IDLE 2 [interface2] 0/0 0/0 IDLE CALL_IDLE
Total Interfaces: 2 IB Calls(Failed/Total): 0/0 OB Calls(Failed/Total): 0/0
freeswitch@localhost.localdomain> ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi 2010-09-19 17:08:31.026382 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 17:08:31.041389 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface1][-1, 5,21] no session 2010-09-19 17:08:31.089483 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface2][-1, 5,21] no session 2010-09-19 17:08:31.089483 [ERR] skypopen_protocol.c:1812 rev git2svn-syncpoint-master-203-g3eb35a5[(nil)|37 ][ERRORA 1812 ][interface1][-1, 5,21] no session
On Sat, Sep 18, 2010 at 7:51 PM, Giovanni Maruzzelli <gmaruzz@gmail.com>wrote:
What is your problem Shamun?
You don't know how to read?
In what you report is written:
"open of skypopen.conf failed"
-- Sent from my mobile device Sincerely, Giovanni Maruzzelli Cell : +39-347-2665618
Professor. Giovanni, Sorry to make you misunderstanding my issue. Apologies for this. Its a nice wiki, and it works always. I am damn sure i am doing somewhere wrong in CentOS. Because of getting confuse if i am doing right or wrong i was thinking to ask. But anyway, i will again read the whole wiki and find why still its not working for me. Thank you very much, appreciate your help always. Best regards
participants (4)
-
Giovanni Maruzzelli
-
Giovanni Maruzzelli
-
Shamun toha md
-
Zuhair Raza