From 480be7cc68cdaf1a0031f015ec14915256941fc9 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Wed, 24 Mar 2010 12:07:32 +0000 Subject: document the header line of /proc/dahdi/NN git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8405 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- README | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README b/README index 4d0dbd8..edf9963 100644 --- a/README +++ b/README @@ -551,8 +551,9 @@ is the files under /proc/dahdi . /proc/dahdi is generated by DAHDI as it loads. As each span registers to DAHDI, a file under /proc/dahdi is created for it. The name of that file is the number of that span. -Each file has a 1-line title for the span followed by an empty line and -then a line for each channel of the span. +Each file has a 1-line title for the span followed by a few optional +general counter lines, an empty line and then a line for each channel of +the span. The title line shows the number of the span, its name and title, and (potentially) the alarms in which it is. @@ -563,6 +564,19 @@ alarms): Span 1: XBUS-00/XPD-00 "Xorcom XPD #0/0: FXS" +There are several extra optional keywords that may be added there: + +(Master):: + This span is the master span. See <<_dahdi_timing,DAHDI Timing>>. +ClockSource:: + The clock source among several spans that belong to a single E1/J1/T1 + card. +RED/YELLOW/RED/NOTOPEN/LOOP/RECOVERING:: + The span is in alarm + +Following that line there may be some optional lines about IRQ misses, +timing slips and such, if there are any. + The channel line for each channel shows its channel number, name and the actual signalling assigned to it through dahdi_cfg. Before being configured by dahdi_cfg: This is DAHDI channel 2, whose name is 'XPP_FXS/0/0/1'. -- cgit v1.2.3