[Asterisk-bsd] Zaptel Driver problem on FreeBSD 5.4

Chris St Denis chris at aebc.com
Thu Oct 6 15:33:38 CDT 2005


gateway2# ll /dev/zap/
total 0
crw-rw-r--  1 root  wheel  232, 254 Sep 29 15:58 channel
crw-rw-r--  1 root  wheel  232,   0 Sep 29 15:58 ctl
crw-rw-r--  1 root  wheel  232, 255 Sep 29 15:58 pseudo
crw-rw-r--  1 root  wheel  232, 253 Sep 29 15:58 timer
gateway2# ll /dev/wct4xxp0
crw-r--r--  1 root  wheel  231,   0 Sep 29 15:58 /dev/wct4xxp0

Is your card a rev1 or rev2? I don't think the "stable" version of the
drivers support rev2. SVN version may support it, but doesn't work at all
for me so it's a long shot. 

-----Original Message-----
From: asterisk-bsd-bounces at lists.digium.com
[mailto:asterisk-bsd-bounces at lists.digium.com] On Behalf Of Mark Ackroyd
Sent: Thursday, October 06, 2005 12:03 PM
To: asterisk-bsd at lists.digium.com
Subject: RE: [Asterisk-bsd] Zaptel Driver problem on FreeBSD 5.4

> Some suggestions on your problem to help debug it.

Thanks :-)
 
> * Run zttool and see if there are any alarms on your spans. And make sure
> whichever one you use is marked as "OK" not "Unconfigured"

This doesn't actually show anything, nice blue screen no info, just a select
and quit button.

> * Did you make a /usr/local/etc/zaptel.conf?

Yes, it was missing from the port. I Had card working on a Linux machine, I
just used the same file.

> * did you run ztcfg? Run it with -vvvvvv and see if you get any info.

loads of info about my config. , then the line

ZT_SPANCONFIG failed on span 1: Device not configured (6)

> * will asterisk load with zaptel module in?

As you would expect, asterisk doesn't even see that there is any zap
channels there.

Interesting enough, there is a /dev/zap entry. But after looking round , I
noticed other people have a /dev/wct4xxp entry. I don't though :-(

kldstat tells me this, that the driver is loaded, but is simply not seeing
the card. It's as if it was not plugged in !.

root at hathor:/dev>kldstat
Id Refs Address    Size     Name
 1   15 0xc0400000 5dde04   kernel
 2   14 0xc09de000 56270    acpi.ko
 3    1 0xc288c000 17000    linux.ko
 4    7 0xc2928000 2f000    zaptel.ko
 5    1 0xc2958000 7000     qozap.ko
 6    1 0xc2967000 5000     wcfxo.ko
 7    1 0xc296d000 a000     wcfxs.ko
 8    1 0xc297a000 6000     wct1xxp.ko
 9    1 0xc2981000 b000     wct4xxp.ko
10    1 0xc298d000 9000     wcte11xp.ko
root at hathor:/dev>

Mark


_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSD at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd



More information about the Asterisk-BSD mailing list