summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-16xpp_fxloader: Don't try to load FPGA firmware twicesvn_2.3Tzafrir Cohen
When called from udev to load the FPGA firmware, make sure that this is not the event generated for the first end-point of the existing two, as we need to talk with the second one. This is probably better done in the udev rules, but will be slightly more complicated to apply only to the FPGA loading and not to USB firmware loading. Merged revisions 9482 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@9484 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-22increase maximal firmware delay to 15 secondsTzafrir Cohen
Hmm... how badly congested can the startup of Centos be? Merged revisions 8964 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8965 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-21xpp_fxloader: replace a sleep with a sleep loopTzafrir Cohen
For newer kernels there's no need to sleep at all. For Centos5 systems there seems to be a need for a large sleep for firmware load at boot time. So let's make it a loop. Merged revisions 8951 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8963 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-21More hyphen/minus fixes: xpp man pagesTzafrir Cohen
Merged revisions 8954 via svnmerge from git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8962 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-21dahdi_genconf: better error message for a bad generator moduleTzafrir Cohen
Merged revisions 8924 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8961 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-21Allow using CONNECTOR/LABEL in genconf_parametersTzafrir Cohen
Allow using CONNECTOR/LABEL in addition to SPAN and NUM for pri_termtype in genconf_parameters Merged revisions 8923 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8960 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-21Extra PCI IDs for Junghanns PCI-E card (dahdi-perl)Tzafrir Cohen
Merged revisions 8854 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8959 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-21dahdi_tool: center span window as well.Tzafrir Cohen
If your window was larger than 80X25, you got a main "window" in the center and the span one in the corner. This puts the span one in the center as well. Merged revisions 8827 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8958 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-07-21An extra PCI ID for an OpenVox card I ran into.Tzafrir Cohen
Merged revisions 8741 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8957 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-17Fix bashism (Raphael Geissert, checkbashism)Tzafrir Cohen
Merged revisions 8638 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8643 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-17A more correct way to pass parametersTzafrir Cohen
Merged revisions 8630 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk ........ git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8631 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-15Load xpp firmware in the background (udev)Tzafrir Cohen
Move loading the the xpp firmwares (when called from udev) to a background sub-process. This helps with: * Don't block udev * It seems that with older systems (e.g. CentOS 5) we need to wait a bit for the device file to appear (in one of the upcoming udev events). If we keep blocking udev, we won't have the device file. Merged revisions 8580 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8624 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-03xpp_fxloader: make sure 1163 is not missed.Tzafrir Cohen
Merged revisions 8589 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8590 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-19Add proper dependencies to the 'stop' action as well.Tzafrir Cohen
Merged revisions 8535 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8546 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-18man pages: hyphen to minusTzafrir Cohen
Groff considers '-' a hyphen. If we want a minus (or a dash) we need to use '\-'. Merged revisions 8529 via svnmerge from http://svn.digium.com/svn/dahdi/tools/trunk git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8534 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-18Initialize svnmerge from trunkTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8533 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-15Add documentation for e&me1 (E&M over E1 lines).Kinsey Moore
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8528 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-12Creating the 2.3 branch.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8510 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-12Also detect USB devices connected on a hub.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8508 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-12Creating the 2.3 branch.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.3@8507 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-12Also detect type for Sangoma E1/T1 cards.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8503 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-01dahdi_maint: install dahdi_maint on 'make install'Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8451 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-29Add a space between words and correct an error message.Kinsey Moore
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8444 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-25wcb4xxp - add Swyx 4xS0 SX2 QuadBri PCI IDs to dahdi-perlTzafrir Cohen
(issue #16493) Reported by: nic_bellamy git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8430 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-25Some more wcb4xxp PCI IDs for Junghanns cardsTzafrir Cohen
(issue #15446) (issue #16447) Reported by: lpistone Tested by: okrief git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8422 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-09Correct an error message to reflect the error that actually occurred.Kinsey Moore
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8306 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-09dahdi_maint: Minor fix for generic error reportingRuss Meyerriecks
kpflemming suggested modifying the error messages due to the fact that some spans may not have a physical card associated with it. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8299 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-08dahdi_maint: Added unsupported function handlingRuss Meyerriecks
Added handling for -1 returns by the driver. This indicates that the specific hardware doesn't support a particular feature. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8290 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-08Ensure dahdi_scan supports all Digium cards. Credit: kmoore.Mike Spiceland
DAHDI-559 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8280 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-08remove left-over debug message from configure scriptTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8270 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-07dahdi-tools 2.3 requires dahdi-linux 2.3Tzafrir Cohen
If you try building dahdi-tools vs. older dahdi-linux headers, dahdi_cfg fails to build due to missing DAHDI_CONFIG_TERN and DAHDI_CONFIG_NTTE. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8266 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-07Use LDFLAGS in the xpp MakefileTzafrir Cohen
Use a more standard link command in the xpp Makefile. (closes issue #16597) Reported by: pprindeville Patches: dahdi-tools-bugid16597#3.patch uploaded by pprindeville (license 347) Tested by: pprindeville, tzafrir git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8263 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-05Modify dahdi_maint interface to match the exclusive nature of loopbackMike Spiceland
modes. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8260 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-02DAHDI-perl: allow setting base of system files with DAHDI_VIRT_TOPTzafrir Cohen
If the user set DAHDI_VIRT_TOP in the environment, consider it as a path under which to look for ProcFS and SysFS files. This allows running the DAHDI-perl tools on filesystem dumps generated by build_tools/dump_sys_state . To reduce the number of dependencies between various modules, the 'xpd' member of a Dahdi::Span is removed. Dahdi::Xpp::xpd_of_span() can be used if needed. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8215 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-02dump_sys_state: dump procfs / sysfs data to a subdirectoryTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8211 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-03-01dahdi.init: Add support for SuSE.Shaun Ruffell
The init script would fail on SuSE without this change, since it would look for the redhat init script functions. DAHDI-437. (closes issue #16761) Reported by: oej Patch by: jparker git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8194 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-27Add .conf extensions to files installed in /etc/modprobe.d/Shaun Ruffell
Latest versions of udev at some distributions (e.g.: Debian Unstable/Testing) complain about the files /etc/modprobe.d/dahdi and /etc/modprobe.d/dahdi-blacklist . This is because some upcoming version of udev will ignore files in modprobe.d that are not of the pattern *.conf. (closes issue #15454) Reported by: tzafrir Patches: modprobe_warn.diff uploaded by tzafrir (license 46) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8161 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-26dahdi_tool, dahdi_maint: 'struct spaninfo' changed in dahdi-linux r8147Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8148 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-26dahdi_cfg, dahdi_genconf: Add support for Hx8 series cards.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8125 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-22Updated copyright yearsRuss Meyerriecks
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8075 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-22Removed "loop" buttonRuss Meyerriecks
This button's functinality (if/when it ever worked) now resides in dahdi_maint. This resolves jsmith's dahdi-189 issue. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8070 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-22dahdi-tool: Maintenance and Performance additionsRuss Meyerriecks
* Created a new tool "dahdi_maint" which is used for manipulating the different maintenance and performance modes for drivers which support it. It supports: Dual/Quad Span Card (TE4xx): - Setting a local loopback (virtual loopback plug) - Setting a network and network payload loopback - Sending loopup, loopdown, and loopstop codes down the line - Reporting the current status of the hardware based error counters : - Framing Errors - CRC4 Errors - Code Violation Errors - Errored Seconds - Bipolar Violations - Ebit Errors - Fas Errors Single Span Card (TE12x): - Setting a local loopback (virtual loopback plug) - Setting a network and network payload loopback - Sending loopup, loopdown, and loopstop codes down the line * Modified dahdi_tool to support the new counter substructure. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8069 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-07dahdi.init: allow specifying the module(s) to download.Tzafrir Cohen
At the 'stop' command, the dahdi init.d service unloads dahdi (and any module it depends in). With this change, the user will be able to specify the modules to unload, by setting DAHDI_UNLOAD_MODULES in init.conf. This allows: * Disabling module unloading altogether * Allowing the user to unload other modules as well, e.g. the 'echo' module of OSLEC, if you build it as part of DAHDI. Note that unless you explicitly set DAHDI_UNLOAD_MODULES, the script behaves exatly as before. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7997 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-02-04Fix generated context for MFC/R2 configTzafrir Cohen
xpp rev: 7733 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7992 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-24A better test for the Astribank transport directoryTzafrir Cohen
* On some kernels there's no 'usb_endpoint' under the USB device's SysFS node. Use 'idVendor' which is far less likely to fail. * Actively resolve the symlink 'transport' to its name (e.g. '1-2'). Originally r7825 from the branch perl-sysstate. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7954 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-24Not all Astribanks have a 'serial' attribute. Make it optional.Tzafrir Cohen
Originally r7824 from the perl-sysstate branch. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7953 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-13xpp/ FreeBSD portability issuesTzafrir Cohen
Note that the hotplug file is intended for backward compatibility with Centos4 and the likes. Newer systems are adviced not to install it anyway. (closes issue #16593) Reported by: Max Khon Patches: xpp.diff uploaded by Max Khon (license 884) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7908 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-12xpp: Also properly count 1163 Astribanks on a manual load.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7895 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-12astribank_hook: fix fo no NL in end of xpp_orderTzafrir Cohen
Fix counting the relevant lines from xpp_order even if that line has no newline character in the end. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7894 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-12xpp: Document the two new xpd_fxo module parameters.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7884 a0bf4364-ded3-4de4-8d8a-66a801d63aff