Re: [Asterisk-Users] Problems compiling CAPI
[EMAIL PROTECTED] (Thomas Niesel) Enviado por: [EMAIL PROTECTED] 22/09/2004 19:58 Por favor, responda a Asterisk Users Mailing List - Non-Commercial Discussion [EMAIL PROTECTED] Para [EMAIL PROTECTED] cc Asunto Re: [Asterisk-Users] Problems compiling CAPI On Wed, Sep 22, 2004 at 07:15:19PM +0200, [EMAIL PROTECTED] wrote: Hello all, Sorry for my first mail which answers the 2nd part:( I'm trying to setup a AVM C2 card. I have read the kernel requirements for this card. M CAPI2.0 support [*] Verbose reason code reporting (Kernel size +=7K) ^^^ No need for that! [*] CAPI2.0 Middleware support (EXPERIMENTAL) M CAPI2.0 /dev/capi support [*] CAPI2.0 filesystem support M CAPI2.0 capidrv interface support My problem is when I make a make menuconfig in /usr/src/linux/, i can't see any reference to CAPI2.0 filesystem support, in my kernel, 2.4.18 (Debian stable). make menuconfig is just to configure How about make modules make modules_install Make menuconfig don't show me the CAPI Filesystem option to select for compiling. Then I do not compile because this option not appear. Ismael Gil -- Tho/\/\as ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Problems compiling CAPI
Hello all, I'm trying to setup a AVM C2 card. I have read the kernel requirements for this card. M CAPI2.0 support [*] Verbose reason code reporting (Kernel size +=7K) [*] CAPI2.0 Middleware support (EXPERIMENTAL) M CAPI2.0 /dev/capi support [*] CAPI2.0 filesystem support M CAPI2.0 capidrv interface support My problem is when I make a make menuconfig in /usr/src/linux/, i can't see any reference to CAPI2.0 filesystem support, in my kernel, 2.4.18 (Debian stable). When I make a capiinit, to test the AVM card, it says, debian-asterisk:~# capiinit modprobe: Can't locate module capifs modprobe: Can't locate module capifs WARNING: filesystem capifs not available /lib/modules/2.4.18/kernel/drivers/isdn/avmb1/b1pci.o: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.18/kernel/drivers/isdn/avmb1/b1pci.o: insmod /lib/modules/2.4.18/kernel/drivers/isdn/avmb1/b1pci.o failed /lib/modules/2.4.18/kernel/drivers/isdn/avmb1/b1pci.o: insmod b1pci failed ERROR: failed to load driver b1pci ERROR: controller 1: firmware file c4.bin not found ERROR: controller 2: firmware file - not found ERROR: failed to load firmware for controller 1 driver c2 name c2-d400 ERROR: failed to load firmware for controller 2 driver c2 name c2-d400 As you can see, the first error is can`t locate module capifs. What i am doing wrong? Any clue will be apreciated. Regards Ismael Gil___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Problems compiling CAPI
On Wed, Sep 22, 2004 at 07:15:19PM +0200, [EMAIL PROTECTED] wrote: Hello all, I'm trying to setup a AVM C2 card. I have read the kernel requirements for this card. M CAPI2.0 support [*] Verbose reason code reporting (Kernel size +=7K) [*] CAPI2.0 Middleware support (EXPERIMENTAL) M CAPI2.0 /dev/capi support [*] CAPI2.0 filesystem support M CAPI2.0 capidrv interface support My problem is when I make a make menuconfig in /usr/src/linux/, i can't see any reference to CAPI2.0 filesystem support, in my kernel, 2.4.18 (Debian stable). When I make a capiinit, to test the AVM card, it says, debian-asterisk:~# capiinit modprobe: Can't locate module capifs modprobe: Can't locate module capifs WARNING: filesystem capifs not available mount /dev/capi should help but it should be done from the module itself! Are you shure you have all the modules in /lib/modules/kernel-version...? depmod -a might be helpfull too. /lib/modules/2.4.18/kernel/drivers/isdn/avmb1/b1pci.o: init_module: No such device Well that looks like more probs then just the missing fs. Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.18/kernel/drivers/isdn/avmb1/b1pci.o: insmod /lib/modules/2.4.18/kernel/drivers/isdn/avmb1/b1pci.o failed /lib/modules/2.4.18/kernel/drivers/isdn/avmb1/b1pci.o: insmod b1pci failed ERROR: failed to load driver b1pci ERROR: controller 1: firmware file c4.bin not found ftp.in-berlin.de/pub/capi4linux/firmware/c4... ERROR: controller 2: firmware file - not found ERROR: failed to load firmware for controller 1 driver c2 name c2-d400 ERROR: failed to load firmware for controller 2 driver c2 name c2-d400 As you can see, the first error is can`t locate module capifs. What i am doing wrong? Missing devices in /dev/... Any clue will be apreciated. Regards Ismael Gil ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Tho/\/\as ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Problems compiling CAPI
On Wed, Sep 22, 2004 at 07:15:19PM +0200, [EMAIL PROTECTED] wrote: Hello all, Sorry for my first mail which answers the 2nd part:( I'm trying to setup a AVM C2 card. I have read the kernel requirements for this card. M CAPI2.0 support [*] Verbose reason code reporting (Kernel size +=7K) ^^^ No need for that! [*] CAPI2.0 Middleware support (EXPERIMENTAL) M CAPI2.0 /dev/capi support [*] CAPI2.0 filesystem support M CAPI2.0 capidrv interface support My problem is when I make a make menuconfig in /usr/src/linux/, i can't see any reference to CAPI2.0 filesystem support, in my kernel, 2.4.18 (Debian stable). make menuconfig is just to configure How about make modules make modules_install -- Tho/\/\as ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Problems compiling CAPI module
Hello all, I a'm having a lot of troubles compiling the CAPI driver for mi AVM card, model C2 with two ports. I´m using Debian stable with kernel 2.4.18 (bf24), but i can't compile this driver. I just followed the steps from http://www.voip-info.org/wiki-Asterisk+How+to+connect+with+CAPI and there we can read that is necesary to select [*]CAPI2.0 filesystem support, but in my kernel, doing make menuconfig. I can`t select this option, this option it is not present on my kernel 2.4.18 M CAPI2.0 support [*] Verbose reason code reporting (Kernel size +=7K) [*] CAPI2.0 Middleware support (EXPERIMENTAL) M CAPI2.0 /dev/capi support [*] CAPI2.0 filesystem support M CAPI2.0 capidrv interface support The next thing i tried to do, is to compile the package chan_capi, but it fails too. a lot of errors apears when i do make, debian-asterisk:/home/ismaelg/chan_capi-0.3.5# make gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/src/aster isk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAP I_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c chan_capi.c:23: asterisk/features.h: No such file or directory chan_capi.c:24: asterisk/utils.h: No such file or directory chan_capi.c:62: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:62: warning: parameter names (without types) in function declaration chan_capi.c:62: warning: data definition has no type or storage class chan_capi.c:63: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:63: warning: parameter names (without types) in function declaration chan_capi.c:63: warning: data definition has no type or storage class chan_capi.c:64: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:64: warning: parameter names (without types) in function declaration chan_capi.c:64: warning: data definition has no type or storage class chan_capi.c:65: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:65: warning: parameter names (without types) in function declaration chan_capi.c:65: warning: data definition has no type or storage class chan_capi.c:66: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:66: warning: parameter names (without types) in function declaration chan_capi.c:66: warning: data definition has no type or storage class chan_capi.c:67: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:67: warning: parameter names (without types) in function declaration chan_capi.c:67: warning: data definition has no type or storage class chan_capi.c:68: warning: type defaults to `int' in declaration of `AST_MUTEX_DEF INE_STATIC' chan_capi.c:68: warning: parameter names (without types) in function declaration chan_capi.c:68: warning: data definition has no type or storage class chan_capi.c: In function `_capi_put_cmsg': chan_capi.c:106: `capi_put_lock' undeclared (first use in this function) chan_capi.c:106: (Each undeclared identifier is reported only once chan_capi.c:106: for each function it appears in.) chan_capi.c: In function `capi_echo_canceller': chan_capi.c:181: `contrlock' undeclared (first use in this function) chan_capi.c: In function `capi_detect_dtmf': chan_capi.c:231: `contrlock' undeclared (first use in this function) chan_capi.c: In function `capi_send_digit': chan_capi.c:309: `contrlock' undeclared (first use in this function) chan_capi.c: In function `remove_pipe': chan_capi.c:481: `pipelock' undeclared (first use in this function) chan_capi.c: In function `capi_hangup': chan_capi.c:613: `usecnt_lock' undeclared (first use in this function) chan_capi.c: In function `capi_call': chan_capi.c:685: `pipelock' undeclared (first use in this function) chan_capi.c: In function `capi_read': chan_capi.c:826: structure has no member named `delivery' chan_capi.c:827: structure has no member named `delivery' chan_capi.c: In function `capi_write': chan_capi.c:899: `capi_send_buffer_lock' undeclared (first use in this function) chan_capi.c: In function `capi_new': chan_capi.c:1022: structure has no member named `delivery' chan_capi.c:1023: structure has no member named `delivery' chan_capi.c:1078: `usecnt_lock' undeclared (first use in this function) chan_capi.c: In function `capi_request': chan_capi.c:1130: `iflock' undeclared (first use in this function) chan_capi.c:1146: `contrlock' undeclared (first use in this function) chan_capi.c: In function `find_pipe': chan_capi.c:1181: `pipelock' undeclared (first use in this function) chan_capi.c: In function `pipe_frame': chan_capi.c:1214: too few arguments to function `ast_dsp_process' chan_capi.c: In function `pipe_msg': chan_capi.c:1347: `contrlock' undeclared (first use in this function) chan_capi.c:1499: structure has no member named `delivery' chan_capi.c:1500: structure has no member
Re: [Asterisk-Users] Problems compiling CAPI module
Hello all, I a'm having a lot of troubles compiling the CAPI driver for mi AVM card, model C2 with two ports. I´m using Debian stable with kernel 2.4.18 (bf24), but i can't compile this driver. I just followed the steps from http://www.voip-info.org/wiki-Asterisk+How+to+connect+with+CAPI and there we can read that is necesary to select [*]CAPI2.0 filesystem support, but in my kernel, doing make menuconfig. I can`t select this option, this option it is not present on my kernel 2.4.18 Enable experimental at the top of your configuration file. Its explained at onthe wiki page. M CAPI2.0 support [*] Verbose reason code reporting (Kernel size +=7K) [*] CAPI2.0 Middleware support (EXPERIMENTAL) M CAPI2.0 /dev/capi support [*] CAPI2.0 filesystem support M CAPI2.0 capidrv interface support The next thing i tried to do, is to compile the package chan_capi, but it fails too. a lot of errors apears when i do make, debian-asterisk:/home/ismaelg/chan_capi-0.3.5# make gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/src/aster isk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAP I_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c chan_capi.c:23: asterisk/features.h: No such file or directory chan_capi.c:24: asterisk/utils.h: No such file or directory Have you installed the asterisk sources? Or the devel package? I am running debian, too. I used my own 2.6 vanilla kernel, upgraded to unstable and used the cvs asterisk release.Just make sure you have your kernel links set correctly and you should get it up and running fairly easily. Mario ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Problems compiling CAPI module
Hello all, My asterisk works well, the problem is how to configure the AVM c2 card. To provide ISDN external calls. When you say, Just make sure you have your kernel links set correctly, what kind of links are you talking about? Thanks. Ismael Gil. [EMAIL PROTECTED] Enviado por: [EMAIL PROTECTED] 21/09/2004 14:36 Por favor, responda a Asterisk Users Mailing List - Non-Commercial Discussion [EMAIL PROTECTED] Para [EMAIL PROTECTED] cc Asunto Re: [Asterisk-Users] Problems compiling CAPI module Hello all, I a'm having a lot of troubles compiling the CAPI driver for mi AVM card, model C2 with two ports. I´m using Debian stable with kernel 2.4.18 (bf24), but i can't compile this driver. I just followed the steps from http://www.voip-info.org/wiki-Asterisk+How+to+connect+with+CAPI and there we can read that is necesary to select [*]CAPI2.0 filesystem support, but in my kernel, doing make menuconfig. I can`t select this option, this option it is not present on my kernel 2.4.18 Enable experimental at the top of your configuration file. Its explained at onthe wiki page. M CAPI2.0 support [*] Verbose reason code reporting (Kernel size +=7K) [*] CAPI2.0 Middleware support (EXPERIMENTAL) M CAPI2.0 /dev/capi support [*] CAPI2.0 filesystem support M CAPI2.0 capidrv interface support The next thing i tried to do, is to compile the package chan_capi, but it fails too. a lot of errors apears when i do make, debian-asterisk:/home/ismaelg/chan_capi-0.3.5# make gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/src/aster isk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAP I_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c chan_capi.c:23: asterisk/features.h: No such file or directory chan_capi.c:24: asterisk/utils.h: No such file or directory Have you installed the asterisk sources? Or the devel package? I am running debian, too. I used my own 2.6 vanilla kernel, upgraded to unstable and used the cvs asterisk release.Just make sure you have your kernel links set correctly and you should get it up and running fairly easily. Mario ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Problems compiling CAPI module
Hello all, My asterisk works well, the problem is how to configure the AVM c2 card. To provide ISDN external calls. When you say, Just make sure you have your kernel links set correctly, what kind of links are you talking about? The links in /usr/src/ Example: lrwxrwxrwx 1 root src20 Sep 21 11:39 linux - /usr/src/linux-2.6.8 lrwxrwxrwx 1 root src20 Oct 16 2004 linux-2.6 - /usr/src/linux-2.6.8 drwxrwxr-x 19 500 500 4.0K Sep 21 13:08 linux-2.6.8 But in your case, it was missing the asterisk header files i guess? Have you installed asterisk from cvs? If not, did you install asterisk-dev? ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Problems compiling CAPI module
Thanks, My links, are properly set, as you told me, I just instaled Asterisk from de cvs, first download it from the cvs and then compiling it. Where could I find the asterisk header files? I just download asterisk in /usr/src/asterisk. Regards from Madrid. Ismael Gil. [EMAIL PROTECTED] Enviado por: [EMAIL PROTECTED] 21/09/2004 15:27 Por favor, responda a Asterisk Users Mailing List - Non-Commercial Discussion [EMAIL PROTECTED] Para [EMAIL PROTECTED] cc Asunto Re: [Asterisk-Users] Problems compiling CAPI module Hello all, My asterisk works well, the problem is how to configure the AVM c2 card. To provide ISDN external calls. When you say, Just make sure you have your kernel links set correctly, what kind of links are you talking about? The links in /usr/src/ Example: lrwxrwxrwx 1 root src 20 Sep 21 11:39 linux - /usr/src/linux-2.6.8 lrwxrwxrwx 1 root src 20 Oct 16 2004 linux-2.6 - /usr/src/linux-2.6.8 drwxrwxr-x 19 500 500 4.0K Sep 21 13:08 linux-2.6.8 But in your case, it was missing the asterisk header files i guess? Have you installed asterisk from cvs? If not, did you install asterisk-dev? ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users