[Asterisk-bsd] New TDM11B on FBSD5.3. wcfxs error

Lane lane at joeandlane.com
Sat Dec 25 14:48:10 CST 2004


I just got the new developer TDM11B, but I got some problems with it.  Since 
Digium is on vacation, I figured I'd ask here first (actually I asked on 
asterisk-users, but they basically said they were linux-only ....)

Anyway, I installed the TDM11B, but have not attached any phone lines, yet.  I 
just want to work with the demo over SIP first.

But here's the story, after installing the card on a Dell SC420 (further 
identifying info comes from dmesg):

FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
    root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.53GHz (2527.01-MHz 686-class CPU)

when init runs /usr/local/etc/rc.d/zaptel.sh I get the following info:

Zapata Telephony Interface Registered on major 196
FXS device: vendor=e159 device=1 subvendor=b100
wcfxs0: <Wildcard TDM400P REV E/F> port 0xdc00-0xdcff mem 
0xdfaff000-0xdfafffff irq 18 at device 2.0 on pci4
FXS Attach for wcfxs0: deviceID : 0xe159
wcfxs0: [GIANT-LOCKED]
Freshmaker version: 71
Freshmaker passed register test
Module 0: Not installed
Module 1: Not installed
Module 2: Not installed
Module 3: Not installed
Freed a Wildcard
FXS detach!
We failed: 5
device_attach: wcfxs0 attach returned 5

I don't get why it says we failed.  I thought maybe it was the order that the 
modules are loaded (currently they are: zaptel, wcfxo, wcfxs) but I get the 
same error if I reverse wcfxo and wcfxs.  

I get the following devices created in /dev/zap, but none of them are 
configured (i.e. if I `cat /dev/zap/timer` I get "device not configured"). 

crw-rw-r--  1 root  wheel  230, 254 Dec 25 12:46 channel
crw-rw-r--  1 root  wheel  230,   0 Dec 25 12:46 ctl
crw-rw-r--  1 root  wheel  230, 255 Dec 25 12:46 pseudo
crw-rw-r--  1 root  wheel  230, 253 Dec 25 12:46 timer

I can make asterisk run, and I can connect to it using a software SIP phone.  
I can even hear the demo, but it is waaaaayyyy choppy.  So I figure that the 
choppiness will diminish once I can get the FXS module to load (or maybe it's 
already loaded, but I can't attach ...)  I think I read that I could use 
ztdummy without a wildcard, but my ultimate goal is to get the whole 
ball-o-asterisk working with the hardware.

pciconf -l says:

hostb0 at pci0:0:0:        class=0x060000 card=0x01801028 chip=0x25888086 
rev=0x04 hdr=0x00
pcib1 at pci0:1:0: class=0x060400 card=0x00000088 chip=0x25898086 rev=0x04 
hdr=0x01
none0 at pci0:2:0: class=0x030000 card=0x01801028 chip=0x258a8086 rev=0x04 
hdr=0x00
pcib2 at pci0:28:0:        class=0x060400 card=0x00000040 chip=0x26608086 
rev=0x03 hdr=0x01
pcib3 at pci0:28:1:        class=0x060400 card=0x00000040 chip=0x26628086 
rev=0x03 hdr=0x01
uhci0 at pci0:29:0:        class=0x0c0300 card=0x01801028 chip=0x26588086 
rev=0x03 hdr=0x00
uhci1 at pci0:29:1:        class=0x0c0300 card=0x01801028 chip=0x26598086 
rev=0x03 hdr=0x00
uhci2 at pci0:29:2:        class=0x0c0300 card=0x01801028 chip=0x265a8086 
rev=0x03 hdr=0x00
uhci3 at pci0:29:3:        class=0x0c0300 card=0x01801028 chip=0x265b8086 
rev=0x03 hdr=0x00
none1 at pci0:29:7:        class=0x0c0320 card=0x01801028 chip=0x265c8086 
rev=0x03 hdr=0x00
pcib4 at pci0:30:0:        class=0x060401 card=0x00000050 chip=0x244e8086 
rev=0xd3 hdr=0x01
isab0 at pci0:31:0:        class=0x060100 card=0x00000000 chip=0x26408086 
rev=0x03 hdr=0x00
atapci0 at pci0:31:1:      class=0x01018a card=0x01801028 chip=0x266f8086 
rev=0x03 hdr=0x00
atapci1 at pci0:31:2:      class=0x01018f card=0x26528086 chip=0x26528086 
rev=0x03 hdr=0x00
none2 at pci0:31:3:        class=0x0c0500 card=0x01801028 chip=0x266a8086 
rev=0x03 hdr=0x00
bge0 at pci2:0:0:  class=0x020000 card=0x01801028 chip=0x167714e4 rev=0x01 
hdr=0x00
xl0 at pci4:0:0:   class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x24 
hdr=0x00
wcfxs0 at pci4:2:0:        class=0x078000 card=0x0003b100 chip=0x0001e159 
rev=0x00 hdr=0x00

So ... it looks like wcfxs is loaded.

What could be the problem, here?

Thanks!

lane


More information about the Asterisk-BSD mailing list