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

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Mar 13 05:07:33 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 05:07 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.

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

---------------------------------------------------------------------- 
 (0101709) lanzaandrea (reporter) - 2009-03-13 05:07
 http://bugs.digium.com/view.php?id=13897#c101709 
---------------------------------------------------------------------- 
First day using dahdi impression: fantastic!
Post Delay Dial is dramatically lower (almost istantaneous, while using
mISDN I had to wait several seconds, let's say more than 5 and near 10)

Also taking calls using *8 is again possible, while using latest mISDN
/*1.4.23 wasn't
---
I would like to have a patch in order to support also single BRI HFC
cards, so I tried to menage it by myself.. with no luck!
I started modifing
dahdi-tools-2.1.0.2/xpp/perl_modules/Dahdi/Hardware/PCI.pm adding
        '1397:2bd0/1397:2bd0'   => { DRIVER => 'wcb4xxp', DESCRIPTION =>
'HFC-1S ISDN BRI card' },
(and removing the corresponding line about 1397:2bd0)

then I added 
        HFC1S,          /* HFC-1S Generic  single BRI PCI       */
to the enumeration into
dahdi-linux-2.1.0.4/drivers/dahdi/wcb4xxp/wcb4xxp.h

and also modified dahdi-linux-2.1.0.4/drivers/dahdi/wcb4xxp/base.c 
according to what I see you did in the patch, i.e. I added:

static struct devtype hfc1s =   { "Generic HFC Chipset single BRI PCI",
.ports = 1, .has_ec = 0, .card_type = HFC1S };

and aother...
The problem I have is that recompiling dahdi_hardware now reports:

pci:0000:05:00.0     wcb4xxp+     1397:2bd0 HFC-S ISDN BRI card

lspci -nn -v reports:

05:00.0 Network controller [0280]: Cologne Chip Designs GmbH ISDN network
controller [HFC-PCI] [1397:2bd0] (rev 02)
        Subsystem: Cologne Chip Designs GmbH ISDN Board [1397:2bd0]
        Flags: medium devsel, IRQ 18
        I/O ports at d8f8 [size=8]
        Memory at dffeff00 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 1
        Kernel driver in use: wcb4xxp
        Kernel modules: hisax, wcb4xxp

but dmesg, on loading wcb4xxp drivers, says:
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.1.0.4
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: Unknown/unsupported controller detected (R_CHIP_ID =
0xff)
ACPI: PCI interrupt for device 0000:05:00.0 disabled

The question is: do you think it would be nice to go on on this road and
try to support also this kind of boards ? Do you want me to try to modify
something or uploading this patch (I should have a License, having uploaded
a patch last summer...). Is it better to start another bug ? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-13 05:07 lanzaandrea    Note Added: 0101709                          
======================================================================




More information about the asterisk-bugs mailing list