[asterisk-bugs] [Asterisk 0001200]: [post-1.0][patch] support to set via module param max loop current on the proslic

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 10:45:05 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=1200 
====================================================================== 
Reported By:                mbrancaleoni
Assigned To:                markster
====================================================================== 
Project:                    Asterisk
Issue ID:                   1200
Category:                   Core/General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
Asterisk Version:           I did not set the version :( 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             03-10-2004 17:23 CST
Last Modified:              06-07-2008 10:45 CDT
====================================================================== 
Summary:                    [post-1.0][patch] support to set via module param
max loop current on the proslic
Description: 
The maximum allowed loop current on the wcfxs proslic modules is 20mA .
According to datasheets this value could be set via reg 71 up to 41mA in
step of 3. Sometimes is needed to have more that 20mA, like 30 or 35,
expecially when experimenting module resets caused by power alarms. Some
devices needs > 20mA to operate correctly. This patch permits to set that
value via the module param loopc=xx where xx is a loop current (in mA)
between 20 and 41, in steps of 3... 20,23,26,29,23...41
If the value is below or over the limits, is set to the nearest allowed
value. If the param is not set, the value is as default, ie 0x00 (20mA)

Example modules.conf exntry:
options wcfxs debug=1 loopc=35

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

---------------------------------------------------------------------- 
 svnbot - 06-07-08 10:45  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 453

U   trunk/wcfxs.c
U   trunk/wctdm.c

------------------------------------------------------------------------
r453 | markster | 2008-06-07 10:45:03 -0500 (Sat, 07 Jun 2008) | 2 lines

Make loop current settable (bug http://bugs.digium.com/view.php?id=1200)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=453 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 10:45  svnbot         Checkin                                      
06-07-08 10:45  svnbot         Note Added: 0087955                          
======================================================================




More information about the asterisk-bugs mailing list