[asterisk-bugs] [DAHDI-linux 0013897]: [patch] Support for generic HFC-4S cards
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Mar 12 05:03:19 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13897
======================================================================
Reported By: tzafrir
Assigned To: tzafrir
======================================================================
Project: DAHDI-linux
Issue ID: 13897
Category: wcb4xxp
Reproducibility: N/A
Severity: feature
Priority: normal
Status: confirmed
======================================================================
Date Submitted: 2008-11-13 16:17 CST
Last Modified: 2009-03-12 05:03 CDT
======================================================================
Summary: [patch] Support for generic HFC-4S cards
Description:
A patch to add some basic support of other HFC-4S -based PCI cards (such as
the ones made by Junghanns).
Status: gets rid of the echo canceller messages when not needed, but still
needs work.
Specifically:
* It adds too broad a range of cards (which also include bero.net cards)
* The range may include some 2-ports cards, which will probably not work.
Not yet tested to work, though it it is at least configured.
======================================================================
----------------------------------------------------------------------
(0101614) lanzaandrea (reporter) - 2009-03-12 05:03
http://bugs.digium.com/view.php?id=13897#c101614
----------------------------------------------------------------------
hi Odicha.
I tried with :
dahdi-linux-svn
dahdi-tools-svn
asterisk-1.6.1 svn
and no patches aty all;
And using the Beronet 2S0 card;
I also changed box, it is an opensuse 11.0 , kernel 2.6.25.20-0.1-pae
I see almost no changes:
dahdi_hardware reports:
pci:0000:05:00.0 qozap- 1397:08b4 Junghanns QuadBRI ISDN card
I have to manually edit system.conf because dahdi_genconf does not
produce anything else than
loadzone = us
defaultzone = us
so I added (as you suggested)
# Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) AMI/CCS
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=mg2,1-2
# Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" AMI/CCS RED
span=2,2,0,ccs,ami
# termtype: te
bchan=4-5
hardhdlc=6
echocanceller=mg2,4-5
when I try do manually modprobe wcb4xxp -vvv, I don't see
any lins in dmesg....
modprobe wctc4xxp -vvv
insmod /lib/modules/2.6.25.20-0.1-pae/dahdi/dahdi.ko
insmod /lib/modules/2.6.25.20-0.1-pae/dahdi/dahdi_transcode.ko
insmod /lib/modules/2.6.25.20-0.1-pae/dahdi/wctc4xxp/wctc4xxp.ko
in dmesg:
dahdi: Telephony Interface Unloaded
dahdi: Telephony Interface Registered on major 196
dahdi: Version: SVN-trunk-r6126
dahdi_transcode: Loaded.
no lines about wctc4xxp; then doing
dahdi_cfg -vvv
DAHDI Tools Version - SVN-trunk-r6110
DAHDI Version: SVN-trunk-r6126
Echo Canceller(s):
Configuration
======================
SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: Hardware assisted D-channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: Hardware assisted D-channel (Default) (Slaves: 06)
6 channels to configure.
DAHDI_SPANCONFIG failed on span 1: No such device or address (6)
I didn't start asterisk, the problem is about loading the card driver.
under /dev/dahdi, I can see:
dir /dev/dahdi/
total 0
crw-rw---- 1 asterisk asterisk 196, 254 Mar 12 10:57 channel
crw-rw---- 1 asterisk asterisk 196, 0 Mar 12 10:57 ctl
crw-rw---- 1 asterisk asterisk 196, 255 Mar 12 10:57 pseudo
crw-rw---- 1 asterisk asterisk 196, 253 Mar 12 10:57 timer
crw-rw---- 1 asterisk asterisk 196, 250 Mar 12 10:57 transcode
Is there any other module required, i.s. some hdlc package (???)
Is there anything else you want me to test ?
Issue History
Date Modified Username Field Change
======================================================================
2009-03-12 05:03 lanzaandrea Note Added: 0101614
======================================================================
More information about the asterisk-bugs
mailing list