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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 13 06:27:12 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-13 06:27 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.

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

---------------------------------------------------------------------- 
 (0101714) lanzaandrea (reporter) - 2009-03-13 06:27
 http://bugs.digium.com/view.php?id=13897#c101714 
---------------------------------------------------------------------- 
I succeded in getting "something" to work with a single span HFC
dmesg now shows:

wcb4xxp 0000:05:00.0: probe called for b4xx...
ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 18 (level, low) -> IRQ 18
wcb4xxp 0000:05:00.0: Identified Generic HFC Chipset single BRI PCI
(controller rev 31) at 0001d8f8, IRQ 18
wcb4xxp 0000:05:00.0: NOTE: hardware echo cancellation has been disabled
wcb4xxp 0000:05:00.0: Port 1: NT mode
wcb4xxp 0000:05:00.0: Did not do the highestorder stuff
dahdi_echocan_mg2: Registered echo canceler 'MG2'
dahdi: Registered tone zone 11 (Italy)

and 3 channels are created under /dev/dahdi
but way it is in NT Mode ? Under asterisk I defined it as cpe ptmp, in
fact:
> dahdi show channel 1
File Descriptor: 10
Span: 1
Extension:
Dialing: no
Context: from-pstn
Caller ID:
Calling TON: 0
Caller ID name:
Mailbox: none
Destroy: 0
InAlarm: 1
Signalling Type: ISDN BRI Point to MultiPoint
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Busy Detection: no
TDD: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
DND: no
Echo Cancellation:
        128 taps
        (unless TDM bridged) currently OFF
PRI Flags:
PRI Logical Span: Implicit
Hookstate (FXS only): Onhook

So way it starts as NT mode ?
(in order to make it starts, I had to trick and add 0xFF :
if ((x != 0xc0) && ( x != 0x80) && ( x != 0xFF)) { 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-13 06:27 lanzaandrea    Note Added: 0101714                          
======================================================================




More information about the asterisk-bugs mailing list