Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 11:54:59 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-isdn@freebsd.org
Subject:   Re: No AVM active ISDN controllers found
Message-ID:  <200702091154.59227.hselasky@c2i.net>
In-Reply-To: <59342.213.23.78.38.1171016829.squirrel@mail.setcom.de>
References:  <61655.213.23.78.38.1170421646.squirrel@mail.setcom.de> <200702061226.49009.hselasky@c2i.net> <59342.213.23.78.38.1171016829.squirrel@mail.setcom.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 09 February 2007 11:27, bvangelov@setcom.de wrote:
> > On Tuesday 06 February 2007 11:54, bvangelov@setcom.de wrote:
> >> > Hi
> >> >
> >> > bvangelov@setcom.de wrote:
> >> >> I am using a Fritz Card under FreeBSD 6.0. I have already precompiled
> >>
> >> my
> >>
> >> >> kernel. During the start of the system I receive:
> >> >
> >> > [...]
> >> >
> >> > Also from the i4bcapimgr I get :
> >> >> Feb  2 14:38:06 fritz kernel: i4bcapimgr: No CAPI controllers
> >>
> >> installed
> >>
> >> > Nothing is wrong, your card is recognised and probably working, but
> >> > FreeBSD doesn't have a CAPI implementation for passive cards out of
> >>
> >> the
> >>
> >> > box. If you need CAPI, eg. to get Asterisk running, I'd suggest you
> >> > start here: http://www.turbocat.net/~hselasky/isdn4bsd/ and get the
> >> > newest version of it by svn (subversion). You'll find some more posts
> >> > about installation and that in a few messages posted around 4.1.07 and
> >> > 6.1.07 by HPS any me in the thread "ISDN4BSD by HPS - Some more
> >> > instructions needed"
> >> >
> >> > I hope you don't have the Version 2 card, otherwise you might have
> >>
> >> some
> >>
> >> > problems with it.
> >> >
> >> > Oliver
> >>
> >> Hi,
> >>
> >> I installed the package by HPS and try to build a new kernel.
> >> I have added to the config
> >>
> >> options IPR_VJ
> >> device "i4bdss1"
> >> device "i4b"
> >> device "i4btrc"
> >> device "i4bctl"
> >> device "i4brbch"
> >> device "i4btel"
> >> device "i4bipr"
> >> device "i4bisppp"
> >>
> >> When I tried to build it , I get :
> >> ../../../dev/sound/pcm/channel.h:69:24: channel_if.h: No such file or
> >> directory
> >>
> >> I tried adding also :
> >> device pcm
> >> to my configuration, but then I got
> >> no such device
> >>
> >> Without the lines for the i4b module, I do not receive the error.
> >>
> >> Do you have any idea, how can I fix this ?
> >
> > Hi,
> >
> > You probably need "device sound" in your kernel config file.
> >
> > --HPS
>
> Hi,
>
>
> this is a part of the message file :
>
> ihfc0: <AVM Fritz!Card PCI> port 0xd000-0xd01f mem 0xee000000-0xee00001f
> irq 17 at device 6.0 on pci0
> ihfc0: Attaching I4B controller 0.
> ihfc0: Creating /dev/ihfc0.X.
> capi: CAPI call control device attached, v2.09
> i4btrc: 64 ISDN trace device(s) attached
> i4brbch: 8 raw B channel access device(s) attached
> i4btel: 8 ISDN telephony interface device(s) attached
> i4bipr: 8 IP over raw HDLC ISDN device(s) attached (VJ header compression)
> i4bisppp: 8 ISDN SyncPPP device(s) attached
> i4bctl: ISDN system control port attached
>
> When I try to register an application ( capi20_register ) , I get:
>
> capi error -  0x1009
> The CAPI driver is not ready.
>
> I also run 'capitest -i 42 -o 42'
>
> main.c: capi_send_listen_request: sending listen request for incoming_calls
> main.c: capi_send_listen_request: sending listen request for incoming_calls
> main.c: capi_send_listen_request: sending listen request for incoming_calls
> dialing out, 1 / 1 ...
>

"capitest" seems to work. Remember that your card, ihfc0, is CAPI controller 
0, and not CAPI controller 1.

> Any ideas what the problem is ?

Do you run the application as the "root" user? Currently capi20_register() 
will only work if you invoke it as root. After this you can drop privileges.

See "man capi20":
     CAPI_ERROR_CAPI_NOT_INSTALLED = 0x1009
                   The CAPI20 device, /dev/capi20, cannot be opened.

Also see "man isdnconfig". Depending on your line you might have to set a 
different D-channel protocol.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702091154.59227.hselasky>