Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dahdi_scan(8) [debian man page]

dahdi_scan(8)						      System Manager's Manual						     dahdi_scan(8)

NAME
dahdi_scan -- Print Configuration of DAHDI Spans SYNOPSIS
dahdi_scan [spans] DESCRIPTION
dahdi_scan prints information about DAHDI spans in the system. For analog spans it also provides a list of channels. By default it prints information about all the spans in the system. However if parameters are provided, they will be considered to be a list of span numbers and information will be printed for them. Output is printed to the standard output. The format is that of an Asterisk configuration file (similar to a "ini" configuration file), where the name of the section is the number of the span. Note that the specifically for analog spans some keys may appear more than once, and hence you can not use a parser for an "ini" format and assume you have a dictionary. EXAMPLES
Printing information for spans 1, 2 and 4: dahdi_scan 1 2 4 And to print all the spans: dahdi_scan Information about a certain analog span: [5] active=yes alarms=OK description=Xorcom XPD #00/10: FXS name=XBUS-00/XPD-10 manufacturer=Xorcom Inc. devicetype=Astribank: Unit 1 Subunit 0: FXS location=usb-0000:00:03.3-4 basechan=125 totchans=8 irq=0 type=analog port=125,FXS port=126,FXS port=127,FXS port=128,FXS port=129,FXS port=130,FXS port=131,FXS port=132,FXS And an example of a digital span: [1] active=yes alarms=RED description=T2XXP (PCI) Card 0 Span 1 name=TE2/0/1 manufacturer=Digium devicetype=Wildcard TE205P (4th Gen) location=Board ID Switch 0 basechan=1 totchans=24 irq=193 type=digital-T1 syncsrc=0 lbo=0 db (CSU)/0-133 feet (DSX-1) coding_opts=B8ZS,AMI framing_opts=ESF,D4 coding=B8ZS framing=ESF The "type" field may contain: "analog", "digital-T1", "digital-E1", "digital-J1" or "digital-BRI". FILES
Requires read access to /dev/dahdi/ctl . SEE ALSO
dahdi_cfg(8), asterisk(8). BUGS
The program still does not do everything described in the man page. It also assumes that spans don't skip channel numbers, and that their channel numbers are "running". This is anyway almost always the case. And always the case in a normal boot process. AUTHOR
This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> Permission is granted to copy, distribute and/or modify this docu- ment under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. 2008-03-18 dahdi_scan(8)

Check Out this Related Man Page

ASTRIBANK_HEXLOAD(8)													      ASTRIBANK_HEXLOAD(8)

NAME
astribank_tool - Xorcom Astribank (xpp) firmware loader SYNOPSIS
astribank_tool -D device-path -F [options] hexfile astribank_tool -D device-path -p [options] hexfile1 .. hexfile4 astribank_tool -D device-path -O [-A] [options] imagefile astribank_tool -D device-path -o [options] astribank_tool -D device-path -E [options] hexfile astribank_tool -h DESCRIPTION
astribank_hexload is a second-stage firmware loader for Xorcom Astribanks. Note that some older models use fpga_load(8) instead. It is used to load a file in the Intel HEX format into a Xorcom Astribank. It can be used to load either an FPGA firmware or a PIC firmware. It is normally run by the script xpp_fxloader. OPTIONS
-D device-path Required. The device to read from/write to. This is bus_num/device_num, where bus_num and device_num are the first two numbers in the output of lsusb(8) or dahdi_hardware(8). On older versions of this toolyou needed a complete path to the device, which would be /dev/bus/usb/bus_num/device_num, or /proc/bus/usb/bus_num/device_num. One of the following is required: -F The firmware to load is a FPGA firmware. -p The firmwares to load is are PIC firmwares. All (typically 4) should be on the command-line. -O The firmware to load is an Octasic echo canceller firmware image file. -o Don't load firmware. Just print the version number of the currently-loaded Octasic echo canceller firmware. -E The firmware to load is a special EEPROM burning one. Other options: -v Increase verbosity. May be used multiple times. -d mask Set debug mask to mask. Default is 0, 0xFF is "everything". -h Displays usage message. -A When loading a Octasic echo canceller firmware, set the channels of the first Astribank module to use aLaw (G.711a). This is what you'd normally use for BRI and E1. If not set, the default mu-Law (G.711u), which is what you'd normally use for FXS, FXO and T1. SEE ALSO
fxload(8), lsusb(8), astribank_tool(8), fpga_load(8) AUTHOR
This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> . Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. 30 May 2011 ASTRIBANK_HEXLOAD(8)
Man Page