TDM400P - "0 channels to configure"

I am trying to add a TDM400P card into my Asterisk system and I think I have a problem with configuring the card. From what I’ve been able to find in the forums and elsewhere, “dahdi_cfg -vvv” should give me a list of channels, but it doesn’t, even though the card appears to be correctly detected.

See below for hopefully-relevant file contents, kernel and program outputs.

Any help greatly appreciated.

Peter

I am running:
Linux 2.6.27.21
Asterisk 1.6.0.9
DAHDI tools 2.1.0.2
DAHDI kernel module 2.1.0.4

dmesg gives:
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.1.0.4
wctdm 0000:02:0c.0: PCI INT A -> Link[LNKB] -> GSI 9 (level, low) -> IRQ 9
Freshmaker version: 73
Freshmaker passed register test
Module 0: Installed – AUTO FXS/DPO
Module 1: Installed – AUTO FXS/DPO
Module 2: Installed – AUTO FXO (FCC mode)
Module 3: Installed – AUTO FXO (FCC mode)
Found a Wildcard TDM: Wildcard TDM400P REV I (4 modules)
dahdi_transcode: Loaded.
INFO-xpp: revision trunk-r6056 MAX_XPDS=64 (8*8)
INFO-xpp: FEATURE: without BRISTUFF support
INFO-xpp: FEATURE: with PROTOCOL_DEBUG
INFO-xpp: FEATURE: with sync_tick() from DAHDI
INFO-xpp_usb: revision trunk-r6056
usbcore: registered new interface driver xpp_usb
dahdi: Registered tone zone 0 (United States / North America)

dahdi_cfg -vvv gives:
DAHDI Tools Version - 2.1.0.2

DAHDI Version: 2.1.0.4
Echo Canceller(s):
Configuration

Channel map:

0 channels to configure.

/etc/dahdi/system.conf contains:

Autogenerated by /usr/local/asterisk/sbin/dahdi_genconf on Tue Apr 28 10:45:44 2009 – do not hand edit

Dahdi Configuration File

This file is parsed by the Dahdi Configurator, dahdi_cfg

Span 1: WCTDM/4 “Wildcard TDM400P REV I Board 5” (MASTER)

channel 1, WCTDM/4/0, no module.

channel 2, WCTDM/4/1, no module.

channel 3, WCTDM/4/2, no module.

channel 4, WCTDM/4/3, no module.

Global data

loadzone = us
defaultzone = us

cat /proc/dahdi/* gives:
[root@asterisk ~]# cat /proc/dahdi/*
Span 1: WCTDM/4 “Wildcard TDM400P REV I Board 5” (MASTER)

   1 WCTDM/4/0 
   2 WCTDM/4/1 
   3 WCTDM/4/2 RED
   4 WCTDM/4/3 RED

[root@asterisk ~]#

lsmod gives:
root@asterisk ~]# lsmod
Module Size Used by
xpp_usb 17588 0
xpp 129296 1 xpp_usb
wctc4xxp 37788 0
dahdi_transcode 10124 1 wctc4xxp
wcb4xxp 28816 0
wctdm 35916 0
wcfxo 13972 0
wctdm24xxp 74460 0
wcte11xp 19736 0
wct1xxp 16900 0
wcte12xp 51136 0
wct4xxp 190956 0
dahdi 182532 10 xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,wct4xxp
crc_ccitt 5760 1 dahdi
ppdev 10500 0
dcdbas 10272 0
serio_raw 8836 0
i2c_i801 12048 0
floppy 51988 0
i2c_core 21396 1 i2c_i801
pcspkr 6272 0
firewire_ohci 22532 0
8139cp 21504 0
parport_pc 25620 0
parport 31956 2 ppdev,parport_pc
iTCO_wdt 13732 0
8139too 24708 0
firewire_core 35616 1 firewire_ohci
crc_itu_t 5760 1 firewire_core
mii 8192 2 8139cp,8139too
iTCO_vendor_support 6916 1 iTCO_wdt
ata_generic 8452 0
pata_acpi 7680 0

Solved./etc/dahdi/system.conf need to have the following in it:

fxoks = 1,2
fxsks = 3,4