[Asterisk-Users] Fritz card usb v2.1 - Capi installation problem

Amaury BOSSÉ a.bosse at courantmultimedia.fr
Tue Nov 15 02:45:34 MST 2005


The user "Asterisk" is a member of group "dialout" so he must have access to
/dev/capi20.
The kernel module capi.o seems to be loaded as you can see on lsmod output:

#lsmod
Module                  Size  Used by
ipt_MASQUERADE          3968  3 
ipt_state               2304  6 
iptable_nat            22828  2 ipt_MASQUERADE
ip_conntrack           32908  3 ipt_MASQUERADE,ipt_state,iptable_nat
iptable_filter          3072  1 
ip_tables              16896  4
ipt_MASQUERADE,ipt_state,iptable_nat,iptable_filter
af_packet              20872  8 
thermal                12944  0 
fan                     4236  0 
button                  6680  0 
processor              13220  1 thermal
ac                      5132  0 
ipv6                  229764  18 
fcusb                 607384  0 
capi                   17728  0 
kernelcapi             46624  2 fcusb,capi
capifs                  6024  2 capi
evdev                   9088  0 
floppy                 54992  0 
8139cp                 19072  0 
pci_hotplug            30640  0 
via_agp                 8832  1 
agpgart                31784  1 via_agp
uhci_hcd               29328  0 
usbcore               104164  4 fcusb,uhci_hcd
8139too                23936  0 
mii                     4864  2 8139cp,8139too
sr_mod                 15780  0 
psmouse                17800  0 
ide_cd                 38176  0 
cdrom                  35740  2 sr_mod,ide_cd
genrtc                  9332  0 
ext3                  109672  4 
jbd                    54552  1 ext3
ide_generic             1664  0 
via82cxxx              12956  1 
unix                   26036  47

and dmesg shows that capi and fcusb are started :

capifs: Rev 1.1.2.3
CAPI Subsystem Rev 1.1.2.8
capi20: Rev 1.1.2.7: started up with major 68 (middleware+capifs)
fcusb: module license 'Proprietary' taints kernel.
fcusb: AVM FRITZ!Card USB driver, revision 0.6.4
fcusb: (fcusb built on Nov 10 2005 at 16:06:01)
fcusb: -- 32 bit CAPI driver --
fcusb: Loading...
usbcore: registered new driver fcusb
fcusb: Loaded.

Do you have another method to test if capi.o module is loaded or if it comes
from the isdn card driver.
Thanks.


-----Message d'origine-----
De : armin at melware.de [mailto:armin at melware.de] 
Envoyé : mardi 15 novembre 2005 10:14
À : amaury BOSSE
Cc : Asterisk Users Mailing List - Non-Commercial Discussion
Objet : RE: [Asterisk-Users] Fritz card usb v2.1 - Capi installation problem

In that case the kernel module 'capi.o' may not be loaded, or the isdn card 
driver just does not work.

Armin

On Tue, 15 Nov 2005, amaury BOSSE wrote:
> Hello,
> As you can see bellow, the node /dev/capi20 exits and permissions seems to
be good (read and write for user and group).
> Do you have other ideas to help me to resolve this problem?
> Thanks for your answer.
> Amaury
> 
> # ls -l /dev/capi*
> crw-rw-rw-  1 root dialout 68,  0 2005-11-10 10:18 /dev/capi20
> crw-rw----  1 root dialout 68,  1 2005-11-10 10:18 /dev/capi20.00
> crw-rw----  1 root dialout 68,  2 2005-11-10 10:18 /dev/capi20.01
> crw-rw----  1 root dialout 68,  3 2005-11-10 10:18 /dev/capi20.02
> crw-rw----  1 root dialout 68,  4 2005-11-10 10:18 /dev/capi20.03
> crw-rw----  1 root dialout 68,  5 2005-11-10 10:18 /dev/capi20.04
> crw-rw----  1 root dialout 68,  6 2005-11-10 10:18 /dev/capi20.05
> crw-rw----  1 root dialout 68,  7 2005-11-10 10:18 /dev/capi20.06
> crw-rw----  1 root dialout 68,  8 2005-11-10 10:18 /dev/capi20.07
> crw-rw----  1 root dialout 68,  9 2005-11-10 10:18 /dev/capi20.08
> crw-rw----  1 root dialout 68, 10 2005-11-10 10:18 /dev/capi20.09
> crw-rw----  1 root dialout 68, 11 2005-11-10 10:18 /dev/capi20.10
> crw-rw----  1 root dialout 68, 12 2005-11-10 10:18 /dev/capi20.11
> crw-rw----  1 root dialout 68, 13 2005-11-10 10:18 /dev/capi20.12
> crw-rw----  1 root dialout 68, 14 2005-11-10 10:18 /dev/capi20.13
> crw-rw----  1 root dialout 68, 15 2005-11-10 10:18 /dev/capi20.14
> crw-rw----  1 root dialout 68, 16 2005-11-10 10:18 /dev/capi20.15
> crw-rw----  1 root dialout 68, 17 2005-11-10 10:18 /dev/capi20.16
> crw-rw----  1 root dialout 68, 18 2005-11-10 10:18 /dev/capi20.17
> crw-rw----  1 root dialout 68, 19 2005-11-10 10:18 /dev/capi20.18
> crw-rw----  1 root dialout 68, 20 2005-11-10 10:18 /dev/capi20.19
> 
> /dev/capi:
> total 0
> 
> 
> 
> -----Message d'origine-----
> De : Armin Schindler [mailto:armin at melware.de] 
> Envoyé : lundi 14 novembre 2005 18:37
> À : Amaury BOSSE
> Cc : asterisk-users at lists.digium.com
> Objet : Re: [Asterisk-Users] Fritz card usb v2.1 - Capi installation
problem
> 
> If 'capiinfo' does not work, chan_capi will fail too.
> 
> Do you have the node /dev/capi20 with correct permissions?
> 
> Armin
> 
> On Mon, 14 Nov 2005, Amaury BOSSE wrote:
> > Hi all,
> > 
> >  
> > 
> > I am trying to install an AVM Fritz card USB v2.1 on my Asterisk Box.
> > 
> > I am using Debian Sarge with 2.6.8 kernel.
> > 
> > I have compiled capi last drivers (fcusb2-suse93-3.11-07.tar.gz) and
have
> > copied fcusb.ko to /lib/modules/2.6.8/extra/.
> > 
> >  
> > 
> > All modules seems loaded (capi, capifs, kernelcapi, fcusb,.)
> > 
> > "Capiinfo" fails and returns : "capi not installed - No such device or
> > address (6)"
> > 
> >  
> > 
> > I have tried to install chan_capi-cm-0.6.1.tar.gz but Asterisk no longer
> > starts.
> > 
> > /var/log/asterisk/messages returns :
> > 
> > Nov 14 16:40:51 WARNING[4005]: CAPI not installed, CAPI disabled!
> > 
> > Nov 14 16:40:51 WARNING[4005]: chan_capi.so: load_module failed,
returning
> > -1
> > 
> > Nov 14 16:40:51 WARNING[4005]: Loading module chan_capi.so failed!
> > 
> >  
> > 
> > I have tried to find out a solution from the web but without results.
> > 
> > Does someone know where the problem is from?
> > 
> >  
> > 
> > Thanks for your help
> > 
> > Amaury
> > 
> > 
> 
> 





More information about the asterisk-users mailing list