[asterisk-bugs] [DAHDI-linux 0013897]: [patch] Support for generic HFC-4S cards
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Feb 24 00:45:50 CST 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-02-24 00:45 CST
======================================================================
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.
======================================================================
----------------------------------------------------------------------
(0100603) zhulizhong (reporter) - 2009-02-24 00:45
http://bugs.digium.com/view.php?id=13897#c100603
----------------------------------------------------------------------
hello, all:
after dig the code in base.c, if i changed to leds in this way:
=======================================================================
if (b4->numspans == 4)
{
leds = ((led[0] > 0) << 0) | ((led[1] > 0) << 1) | ((led[2] >
0) << 2) | ((led[3] > 0) << 3) | ((led[0] & 1) << 4) | ((led[1] & 1) << 5)
|
((led[2] & 1) << 6) | ((led[3] & 1) << 7);
b4xxp_setreg8(b4, R_GPIO_EN1, leds & 0x0f);
b4xxp_setreg8(b4, R_GPIO_OUT1, leds >> 4);
}
==========================================================================
openvox B400P does work.
regards!
James.zhu
Issue History
Date Modified Username Field Change
======================================================================
2009-02-24 00:45 zhulizhong Note Added: 0100603
======================================================================
More information about the asterisk-bugs
mailing list