1
1
Xorcom Astribank Documentation
2
2
==============================
3
3
Xorcom Team <support@xorcom.com>
4
$Revision: 8948 $, $Date: 2010-07-20 06:23:39 -0500 (Tue, 20 Jul 2010) $
4
$Revision: 10187 $, $Date: 2011-09-07 02:10:53 -0500 (Wed, 07 Sep 2011) $
6
6
This file documents the DAHDI drivers for the Xorcom Channel Bank.
44
44
Building and Installation
45
45
-------------------------
46
Apart from the standard DAHDI build requirements, you also need libusb
47
development headers to build the fpga_load firmware loader. This is
48
typically the package libusb-dev on Debian (and derivatives like Ubuntu)
49
or libusb-devel on RedHat (and derivatives like CentOS/Trixbox).
53
(As of DAHDI 2.2 this patch is no longer needed. Furthermore, it does
54
not apply. The same directory has a newer patch that applies. This
55
section is kept in the document for the time being for the benefit of
56
those with older versions)
58
In order for the BRI module (xpd_bri.ko) to build, you still need an
61
http://updates.xorcom.com/astribank/bristuff/dahdi_bri_dchan.diff[]
63
You need to apply it to the dahdi-linux tarball before building:
65
wget http://updates.xorcom.com/astribank/bristuff/dahdi_bri_dchan.diff
66
patch -p1 <dahdi_bri_dchan.diff
46
Apart from the standard DAHDI build requirements, you also need:
48
* *libusb development headers* to build the fpga_load firmware loader.
49
This is typically the package libusb-dev on Debian (and derivatives
50
like Ubuntu) or libusb-devel on RedHat (and derivatives like
52
* *Echo Canceller Module firmware*: If you have an Astribank with an
53
echo canceller module, see the following section.
55
Follow the build instructions of DAHDI-linux and DAHDI-tools. But
56
Basically, in dahdi-linux run:
59
make install # as root
61
And later in dahdi-tools:
65
make install # as root
68
Echo Canceller Firmware
69
~~~~~~~~~~~~~~~~~~~~~~~
70
If you install from source, you should copy OCT6104E-256D.ima to the
71
source tree (before running make install:
73
wget http://updates.xorcom.com/astribank/hwec/OCT6104E-256D.ima
74
mv OCT6104E-256D.ima drivers/dahdi/xpp/firmwares/
76
Alternatively, if you have already installed DAHDI-linux (e.g. from a
77
binary package that does not include the firmware) you can just copy
78
it directly to the target directory, /usr/share/dahdi using:
81
wget http://updates.xorcom.com/astribank/hwec/OCT6104E-256D.ima
69
84
Installation Scenarios
955
970
# pick the right name according to the device ID. FPGA_1161.hex is for
956
971
# 116x Astribanks:
957
972
astribank_hexload -D /dev/bus/usb/MMM/NNN -F /usr/share/dahdi/FPGA_1161.hex
973
# If the device has an echo canceller unit (If the unit is BRI/E1, you
974
# need to add an extra -A to the command-line after the -O)
975
#astribank_hexload -D /dev/bus/usb/MMM/NNN -O /usr/share/dahdi/OCT6104E-256D.ima
958
976
# Note the shell expantion in this line:
959
977
astribank_hexload -D /dev/bus/usb/MMM/NNN -p /usr/share/dahdi/PIC_TYPE_[1-4].hex
960
978
# reenumerate (disconnect and reconnect)
1072
1090
BRI ("ISDN") modules. Module type 3.
1074
1092
The module for controlling E1/T1 modules. Module type 4.
1094
The module for controlling hardware echo canceller modules. Module type 5.
1095
Does not generate a span.
1076
1097
The functionality needed to connect to the USB bus.