[Home]

Summary:ASTERISK-00989: wct4xxp driver doesn't 'detect' E1
Reporter:hellhound (hellhound)Labels:
Date Opened:2004-02-04 10:08:21.000-0600Date Closed:2011-06-07 14:11:55
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:We are using a TE410p card with a E1 from MCI/Worldcom in Belgium.
The jumpers on the board have been set to 'closed' mode (E1).

When loading the wct4xxp driver, it insists on selecting ESF/B8ZS, even if zaptel.conf states otherwise (see below).

After a bit of nasty code change to wct4xxp.c, forcing the driver to select E1.. everything works fine.

Zaptel version is 0.8.0

This evening I'll load the module with debug=1 for more verbose messages.
If you need more info, let me know.

****** ADDITIONAL INFORMATION ******

-- zaptel.conf (span info given by MCI)
span=1,1,6,ccs,hdb3,crc4,yellow
bchan=1-15
bchan=17-31
dchan=16

-- compile line wct4xxp.c (standard Makefile)
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux/drivers/net/wan -I /usr/src/linux/include -I/usr/src/linux/include/net -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -DECHO_CAN_MARK2 -DTORMENTA_BASE=0xd0000 -DDEFAULT_TONE_ZONE=0 -DSTANDALONE_ZAPATA -c wct4xxp.c

-- output modprobe wct4xxp
Zapata Telephony Interface Registered on major 196
Found TE410P at base address d0400000, remapped to d0885000
TE410P version c01a003a
FALC version: 00000005, Board ID: 00
Reg 0: 0x0cee0800
Reg 1: 0x0cee0000
Reg 2: 0x07fc07fc
Reg 3: 0x00000000
Reg 4: 0x00000000
Reg 5: 0x00000000
Reg 6: 0xc01a003a
Reg 7: 0x00001000
Reg 8: 0x00000000
Reg 9: 0x00ff0000
Reg 10: 0x00000000
TE410P: Launching card: 0
TE410P: Setting up global serial parameters
TE410P: Timing from source 0
Found a Wildcard: Wildcard TE410P-Xilinx
Registered tone zone 3 (Netherlands)
TE410P: Span 1 configured for ESF/B8ZS
SPAN 1: Primary Sync Source
Comments:By: Mark Spencer (markster) 2004-02-07 00:27:45.000-0600

I think you're probably putting the wrong jumpers on.  Can you take a picture of the card with the jumpers you have selected?  You can also override the jumper settings by doing:

modprobe wct4xxp t1e1override=0xf

By: hellhound (hellhound) 2004-02-07 07:28:02.000-0600

Hmm.. works perfectly.. thanks Mark.
They told me it was set for E1 (jumper closed), but this shows it was not.

By: zoa (zoa) 2004-02-25 07:28:27.000-0600

config error