[svn-commits] tzafrir: branch tools/tzafrir/sysfs r8652 - in /tools/team/tzafrir/sysfs: ./ ...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon May 17 15:46:35 CDT 2010


Author: tzafrir
Date: Mon May 17 15:46:31 2010
New Revision: 8652

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8652
Log:
Basic documentation of channel pools

Added:
    tools/team/tzafrir/sysfs/xpp/chan_pools   (with props)
Modified:
    tools/team/tzafrir/sysfs/Makefile
    tools/team/tzafrir/sysfs/README

Modified: tools/team/tzafrir/sysfs/Makefile
URL: http://svnview.digium.com/svn/dahdi/tools/team/tzafrir/sysfs/Makefile?view=diff&rev=8652&r1=8651&r2=8652
==============================================================================
--- tools/team/tzafrir/sysfs/Makefile (original)
+++ tools/team/tzafrir/sysfs/Makefile Mon May 17 15:46:31 2010
@@ -195,6 +195,9 @@
 docs: $(GENERATED_DOCS)
 
 genconf_parameters.sample: xpp/genconf_parameters
+	cp $< $@
+
+chan_pools.sample: xpp/chan_pools
 	cp $< $@
 
 README.html: README system.conf.asciidoc init.conf.asciidoc tonezones.txt \

Modified: tools/team/tzafrir/sysfs/README
URL: http://svnview.digium.com/svn/dahdi/tools/team/tzafrir/sysfs/README?view=diff&rev=8652&r1=8651&r2=8652
==============================================================================
--- tools/team/tzafrir/sysfs/README (original)
+++ tools/team/tzafrir/sysfs/README Mon May 17 15:46:31 2010
@@ -131,6 +131,18 @@
 FIXME: still not properly formatted.
 
 include::genconf_parameters.asciidoc[]
+
+
+Channel Pools
+~~~~~~~~~~~~~
+Normally the number of a DAHDI channel is set at the time the channel
+driver loads. Channel pools are intended to provide numbering that is
+independent of the load order (and scanning order of devices).
+
+The file /etc/dahdi/chan_pools defines pools for channels: a pool is
+technically a subdirectory of /dev/dahdi/pool . In it are symlinks to
+the actual device files.
+include::chan_pools.asciidoc[]
 
 
 Tonezones

Added: tools/team/tzafrir/sysfs/xpp/chan_pools
URL: http://svnview.digium.com/svn/dahdi/tools/team/tzafrir/sysfs/xpp/chan_pools?view=auto&rev=8652
==============================================================================
--- tools/team/tzafrir/sysfs/xpp/chan_pools (added)
+++ tools/team/tzafrir/sysfs/xpp/chan_pools Mon May 17 15:46:31 2010
@@ -1,0 +1,20 @@
+# chan_pools defines mapping existing channels to logical pools under
+# /dev/dahdi/pool. 
+# Pool: a subdirectory with the same name under /dev/dahdi/pool . 
+# 
+# A pool includes one or more (space-separated) components.
+# 
+# {@<connector>|<hardware_id>}[(<selector>[;<selector>[;...]]]
+#
+# Selector: <hardware id>/<channel> . Both of those may be patters.
+# 
+# Pool name     Components
+
+# place all channels 
+#wildcard        @PCI_Bus_01_Slot_10
+fxses           @PCI_Bus_01_Slot_12(00/4) usb:QA-04([1-3]0/*) usb:QA-1(00/[1-8])
+outputs         usb:QA-1(00/9;00/10)
+inputs          usb:QA-1(00/1[1-4])
+bris-A          usb:QA-04(02/*;03/*)
+bris-B          usb:QA-04(0[01]) @PCI_Bus_01_Slot_11
+fxos            @PCI_Bus_01_Slot_12(00/3) usb:QA-1(10/*)

Propchange: tools/team/tzafrir/sysfs/xpp/chan_pools
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tools/team/tzafrir/sysfs/xpp/chan_pools
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: tools/team/tzafrir/sysfs/xpp/chan_pools
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the svn-commits mailing list