[Asterisk-bsd] Zaptel port setup problems

Dale Clapperton (lists) lists at blackbird.net.au
Tue Jul 26 00:04:02 CDT 2005


Hi all

I'm having problems getting the Zaptel driver in ports working on my
server, which is running FreeBSD 4.11-STABLE.

I've installed the driver from the port (ie misc/zaptel), but this
didn't seem to create any of the applicable entries in /dev.

I created them manually, based on information I found while googling for
the solution to this problem:

0 crw-r--r--  1 root  wheel  197,   0 Jul 24 20:56 /dev/wcfxo0
0 crw-r--r--  1 root  wheel  196, 254 Jul 24 20:55 /dev/zap/channel
0 crw-r--r--  1 root  wheel  196,   0 Jul 24 21:01 /dev/zap/ctl
0 crw-r--r--  1 root  wheel  196, 255 Jul 24 20:56 /dev/zap/pseudo
0 crw-r--r--  1 root  wheel  196, 253 Jul 24 20:56 /dev/zap/timer

I've also cut the sample /usr/local/etc/rc.d/zaptel.sh script down to
only loading/unloading zaptel.ko, qozap.ko and wcfxo.ko, because loading
all the .ko files in the sample script hangs the server.  The drivers
seem to be loading ok:

/kernel: Zapata Telephony Interface Registered on major 196
/kernel: ZapTel device: vendor=e159 device=1 subvendor=8086
/kernel: wcfxo0: <Generic Clone> port 0xa000-0xa0ff mem
0xed800000-0xed800fff irq 10 at device 15.0 on pci0
/kernel: ZapTel Attach for wcfxo0: deviceID : 0xe159
/kernel: wcfxo: DAA mode is 'FCC'
/kernel: Found a Wildcard FXO: Generic Clone
/kernel: ZapTel device loaded.

The /dev/wcfxo0 driver seems to be working:

su-2.05b# cat /dev/wcfxo0
WCFXO/0
Generic Clone Board 1
Port #1 -- FXO [on]

But all the stuff in /dev/zap isn't working.  ztcfg (and anything else)
says "device not configured" and dies.

Any suggestions or pointers would be very much appreciated.

Thanks

Dale


More information about the Asterisk-BSD mailing list