[asterisk-bugs] [DAHDI-linux 0013897]: [patch] Support for generic HFC-4S cards

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 12 05:33:39 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:33 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.

====================================================================== 

---------------------------------------------------------------------- 
 (0101617) lanzaandrea (reporter) - 2009-03-12 05:33
 http://bugs.digium.com/view.php?id=13897#c101617 
---------------------------------------------------------------------- 
Sorry for misunderstanding, I thought diff were already into svn
version...

now:

dahdi_hardware rports:
pci:0000:05:00.0     wcb4xxp-     1397:08b4 BeroNet BN2S0

(better than before!)

modprobing now DOES create the 6 channels !!
 dir /dev/dahdi/
total 0
crw-rw---- 1 asterisk asterisk 196,   1 Mar 12 11:29 1
crw-rw---- 1 asterisk asterisk 196,   2 Mar 12 11:29 2
crw-rw---- 1 asterisk asterisk 196,   3 Mar 12 11:29 3
crw-rw---- 1 asterisk asterisk 196,   4 Mar 12 11:29 4
crw-rw---- 1 asterisk asterisk 196,   5 Mar 12 11:29 5
crw-rw---- 1 asterisk asterisk 196,   6 Mar 12 11:29 6
crw-rw---- 1 asterisk asterisk 196, 254 Mar 12 11:29 channel
crw-rw---- 1 asterisk asterisk 196,   0 Mar 12 11:29 ctl
crw-rw---- 1 asterisk asterisk 196, 255 Mar 12 11:29 pseudo
crw-rw---- 1 asterisk asterisk 196, 253 Mar 12 11:29 timer

and dahdi_cfg :
dahdi_cfg -vvv
DAHDI Tools Version - 2.1.0.2

DAHDI Version: 2.1.0.4
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.

Changing signalling on channel 1 from Unused to Clear channel
Setting echocan for channel 1 to mg2
Changing signalling on channel 2 from Unused to Clear channel
Setting echocan for channel 2 to mg2
Changing signalling on channel 3 from Unused to Hardware assisted
D-channel
Changing signalling on channel 4 from Unused to Clear channel
Setting echocan for channel 4 to mg2
Changing signalling on channel 5 from Unused to Clear channel
Setting echocan for channel 5 to mg2
Changing signalling on channel 6 from Unused to Hardware assisted
D-channel

when make menuconfig (dahdi-tools) , I see

     [*] fxotune     
     [ ] fxstest        
     XXX sethdlc        
     [*] dahdi_cfg      
     [*] dahdi_diag     
     [*] dahdi_monitor  
     [*] dahdi_scan     
     [*] dahdi_speed    
     [*] dahdi_test     
     [*] dahdi_tool     
so something seems to be missing about hdlc: should I care about it ?

about dahdi service: it is not possible to start it, because it contains
errors.
under /etc/init.d it search a "functions" file (does not exist)

Than also lines starting with action should be deleted because action does
not mean anything to my box 

wiping out check about functions and removing leading statement action
works under my distribution, but perhaps I am missing something...

Now I will try to use the card from asterisk 1.6.1 svn 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-12 05:33 lanzaandrea    Note Added: 0101617                          
======================================================================




More information about the asterisk-bugs mailing list