[Asterisk-bsd] OSLEC on FreeBSD - floating point in kernel (part 2)

Ian FREISLICH ianf at clue.co.za
Mon Oct 5 07:38:27 CDT 2009


Ian FREISLICH wrote:
> Max Khon wrote:
> > > to get OSLEC (and reproduce this problem).  The MG2 echo canceler
> > > doesn't converge quickly enough (it takes about 30 seconds) and
> > > even then doesn't cancel all the echo on my line.  OSLEC on linux
> > > works great, but I want to ditch linux.
> > >
> > > If you're using OSLEC, but on i386, then you're probably going to
> > > have your floating point math corrupted during calls.
> > >
> > 
> > I looked through the code briefly. Yes, it looks like it should work if you
> > just replace float with int32_t.
> > Does it work for you in this case well enough?
> 
> I'm still porting the driver for my 8 port TDM PCI-e card.  When
> that's working, I'll see.

I am still unable to get zaptel to work with my "Wildcard TDM400P
REV I" on 8.0-RC1 with the MG2 echocan.  I experience the same issue
with my TDM800E (esentially 2 TDM400 cards on a single lane
PCI-express) probably because I ported the linux driver using the
the wctdm driver as the template.

Asterisk reports:
[Sep 25 23:54:00] WARNING[1077] chan_dahdi.c: Unable to open '/dev/zap/channel':
 Permission denied
[Sep 25 23:54:00] ERROR[1077] chan_dahdi.c: Unable to open channel 1: Permission
 denied

ls -l /dev/zap
total 0
crw-r--r--  1 root  wheel    0, 113 Sep 25 23:54 channel2
crw-r--r--  1 root  wheel    0, 109 Sep 25 23:53 ctl
crw-r--r--  1 root  wheel    0, 115 Sep 25 23:54 pseudo4
crw-r--r--  1 root  wheel    0, 112 Sep 25 23:53 timer1
crw-r--r--  1 root  wheel    0, 114 Sep 25 23:54 timer3

It looks like the device nodes aren't correctly made.

Ian

--
Ian Freislich



More information about the Asterisk-BSD mailing list