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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 23 23:48:48 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-23 23:48 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.

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

---------------------------------------------------------------------- 
 (0100602) zhulizhong (reporter) - 2009-02-23 23:48
 http://bugs.digium.com/view.php?id=13897#c100602 
---------------------------------------------------------------------- 
hello,
I tested OpenVox B200P and B400P. B200P is working with the patch; B400P
does not work. I plug the cable into Port 1, but Port 3 turns into green. 
===================================================
if (b4->numspans == 4) 
	    {
	    leds = ((led[3] > 0) << 0) | ((led[1] > 0) << 1) | ((led[0] > 0) <<
2) | ((led[2] > 0) << 3) | ((led[3] & 1) << 4) | ((led[1] & 1) << 5) |
		    ((led[0] & 1) << 6) | ((led[2] & 1) << 7);
	    printk("testing: leds %d\n", leds); // leds are 71
	    b4xxp_setreg8(b4, R_GPIO_EN1, leds & 0x0f);
	    b4xxp_setreg8(b4, R_GPIO_OUT1, leds  >> 4);
	    }
=====================================================
regards!
James.zhu 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-23 23:48 zhulizhong     Note Added: 0100602                          
======================================================================




More information about the asterisk-bugs mailing list