[Asterisk-bsd] NetBSD & zaptel

Paul Belanger paul.belanger at pronexus.com
Fri Aug 5 09:10:26 CDT 2005


What Rev is the TDM400P?  I was able to get my Rev. H to work under FreeBSD this week.  While it did not work out of the box, I had
to port some code from the linux version of Zaptel.  If you still looking for a BSD solution, you may want to try FreeBSD.

PB

-----Original Message-----
From: asterisk-bsd-bounces at lists.digium.com [mailto:asterisk-bsd-bounces at lists.digium.com] On Behalf Of Michael Taylor
Sent: Friday, August 05, 2005 1:19 AM
To: Asterisk on BSD discussion
Subject: [Asterisk-bsd] NetBSD & zaptel


hi,

i am trying to get my Digium TDM400P (with 2x FXS and 2x FXO) to work on 
my new NetBSD machine.

have managed to get the zaptel-netbsd-20050404.tar.bz2 sources to 
compile in both lkm and kernel mode.

my problem is that all calls to wcfxs_getreg() seem to return 0 and the 
FXO&FXS cards are not detected...
i.e. i get
   ProSLIC on module 0, product 0, version 0
   Module 0: Not installed

anyone had any luck getting this card to work on NetBSD?

got any ideas where to look? i can do the coding, but have run out of 
ideas to debug the thing and have not found anything differing with the 
linux drivers....

just a little background on what i have tried so far

1) the card works on an old Pentium III running Debian 3.0

2) the card works on the New machine (same one i am trying NetBSD on) 
running Debian 3.1 (linux 2.6.8, zaptel-1.0.9)

3) in NetBSD the card is recognised (see attached dmesg.txt)

4) wfxs_getcreg() calls seem to work (see attached getcreg.txt) and 
match with debug output i have made on the Linux machine.

so... it is in the __write_8bits() and __read_8bits() that things are 
not working as expected....

one last thing, my system is...
$ uname -a
NetBSD gawain.omniscient.local 2.0_STABLE NetBSD 2.0_STABLE (ZAPTEL) #3: 
Fri Aug  5 15:00:12 EST 2005 
met at gawain.omniscient.local:/usr/src/sys/arch/i386/compile/ZAPTEL i386

hope to hear from you

michael taylor.



More information about the Asterisk-BSD mailing list