summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-02An extra PCI ID for an OpenVox card I ran into.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8741 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-20Add dahdi_maint and xpp/twinstar.8 to svn:ignoreSean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8670 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-17Fix bashism (Raphael Geissert, checkbashism)Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8638 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-17A more correct way to pass parametersTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8630 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-09Remove duplicate code: rad_apply_channelsTzafrir Cohen
rad_apply_channels() was the same as apply_channels() git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8615 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-04Report correct span number in dahdi_cfg verbose output.Kevin P. Fleming
When the DAHDI configuration file does not configure every single span in the system, but leaves spans unconfigured, the verbose output from dahdi_cfg would show incorrect span numbers when reporting the line configuration, as it printed the index into the array of configured spans, instead of their actual span numbers. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8606 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-05-03xpp_fxloader: make sure 1163 is not missed.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8589 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-29Load 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. The 'sleep' does not seem to be required for newer systems (e.g. Debian Lenny). git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8580 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-22astribank_is_starting does not depend on libusb.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8547 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-18Add proper dependencies to the 'stop' action as well.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8535 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 '\-'. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8529 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-04-14Add documentation for e&me1 (E&M over E1 lines).Kinsey Moore
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8520 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-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
2010-01-10Update URL in comment in fxotune.c .Tzafrir Cohen
(closes issue #16386) Reported by: cmoye Patches: fxotune.patch uploaded by cmoye (license 858) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7828 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-09Fix README for asciidoc 8.5.2Tzafrir Cohen
Tweak title a bit to avoid asciidoc consider it a header for a syntax block. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7792 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-04Another round of updates to README.Astribank. zap->dahdi and othersTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7754 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2010-01-04xpp_fxloader: adapt to newer kernelsTzafrir Cohen
This commit prepares xpp_fxloader to get hotplug envirnment from newer kernel versions: * DEVICE will eventually be replaced with DEVNAME. Accept both (and look at DEVNAME first). * If we get DEVICE, we'll probably get an invalid path based at /proc/bus/usb . Fix it to use /dev/bus/usb . * While we're at it, allow using PRODUCT from the envirnment instead of from the command-line. This should allow fixing udev rules but will also work with existing rules in DAHDI-linux (for systems where they are valid). git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7752 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-12-09Pick up the TCE400P if it is installed.Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7673 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-12-09dahdi-perl: Fix sub-product ID of Jughanns OctoBRITzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7670 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-12-02patgen and pattest: channel by numberTzafrir Cohen
Allow pattest and patgen to get the DAHDI channel by number rather than with an explicit device file. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7658 a0bf4364-ded3-4de4-8d8a-66a801d63aff