Date: Wed, 6 Jun 2007 09:16:48 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-isdn@freebsd.org Subject: Re: Digium b410p with i4b Message-ID: <200706060916.48120.hselasky@c2i.net> In-Reply-To: <4665CAFA.3080801@wanagain.net> References: <4665CAFA.3080801@wanagain.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 05 June 2007 22:43, Mikael Batard wrote: > Hi, > > i'm trying to get the Digium b410p card (quadbri) working with i4b (svn > trunk revision 510) on FreeBSD 6.2. > > I've added the vendor hardware code to the > i4b/trunk/i4b/src/sys/i4b/layer1/ihfc2/i4b_hfc4s8s.h file : > I4B_PCI_DRIVER(/* HFC-4S B410P */ > .vid =3D 0xb410d161, > .sub =3D 0xb410d161); Thanks for the ID, I've added it to the SVN repo. Maybe you want to do a "s= vn=20 revert trunk/i4b/src/sys/i4b/layer1/ihfc2/i4b_hfc4s8s.h" then "svn update". This entry should be under "double_clock" =3D 0. > > The card is detected with pciconf : > $ pciconf -vl > ihfc0@pci6:1:0: class=3D0x020400 card=3D0xb410d161 chip=3D0xb410d161 rev= =3D0x01 > hdr=3D0x00 > class =3D network > subclass =3D ISDN > > and isdnconfig : > $ isdnconfig > controller 8 =3D { > Layer 1: > description : HFC-4S PCI ISDN adapter > type : passive ISDN (Basic Rate, 2xB) > channels : 0x3 > serial : 0xabd5 > power_save : on > dialtone : enabled > attached : yes > PH-state : F3: Deactivated > Layer 2: > driver_type : DRVR_DSS1_TE > } > > If I insert the isdn cable in the card the PH-state change to this: > PH-state : F7: Activated > > But if I call my isdn number (which is sent through the cable to the > card), it doesn't work, i get no tone on my phone (which is external > from this isdn network). > > I've tried to do some tests with capitest and isdndecode, and I've got > lots of lines like this one : =46irst you must ensure that you have set the correct protocol=20 using "isdnconfig". For example: isdnconfig -u 8 -p DRVR_DSS1_TE Then according to "man isdnconfig" it is also required to set "pcm_master"= =20 mode before the card will operate. That is printed out in the "dmesg". This= =20 is to avoid problems when you connect your HFC-4S to another clock source. =46rom "man isdnconfig": isdnconfig -m 0 pcm_64 \ -m 1 pcm_64 \ -u 8 pcm_64 pcm_map 0 1 end pcm_master te_mode \ -p DRVR_DSS1_TE \ -u 9 pcm_64 pcm_map 0 1 end pcm_master nt_mode \ power_on -p DRVR_DSS1_NT > > Asterisk 1.2.17, zaptel 1.4.1, libpri 1.4.0 and libpri-bristuff 1.2.3 > are installed. > There are 2 other cards installed : 1 Digium TDM400p (with 2 FXO ports) > and 1 Passive ISDN BRI card (which works perfectly except for echo > cancellation). You need to use "chan_capi" from the SVN repo, and not "zaptel", to get the= =20 ISDN cards detected under Asterisk. Also I4B has a new Fast Fourier Transfo= rm=20 Based Acoustic Echo Canceller. Did you try that? Look at the "chan_capi/extensions.conf" and "chan_capi/capi.conf" example=20 files. =2D-HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706060916.48120.hselasky>