summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2009-11-19xpp: MPP protocol v.1.4Tzafrir Cohen
* New firmware loading protocol - Older one (1.3) is still supported for now * Support loading firmwares from Astribanks with a minimal firmware (1163) * astribank_tool -Q: always query, regardless of verbosity level xpp rev: up to 7559 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7609 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-19xpp: support loading USB firmware into 1163 devices as wellTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7596 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-11xpp: turn in back into a 'die' in trunk to expose more bugs.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7559 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-11dahdi-perl: only get 'serial' and 'devnum' attributes from AstribanksTzafrir Cohen
We can tell if a device is an Astribank by the vendorId and productId attribute. Get other attributed only after we give up on other devices. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7558 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-10If the USB device doesn't have a serial, DON'T PANIC. Just return a soft ↵Tilghman Lesher
failure. (Fixes panicked users on #asterisk wondering why dahdi-tools springs up with Perl errors when they don't even have xpp hardware.) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7542 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-06slightly simplify the new dahdi.initTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7497 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-06dahdi.init: Unload the dahdi_echocan modules last.Shaun Ruffell
If the echocan factory is associated with a channel, the reference on the echocan module will not be released until after the board driver is unloaded. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7494 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-04xpp: make astribank_is_starting build without warnings.Tzafrir Cohen
autoconfig.h is needed as semtimedop() requires _GNU_SOURCE. xpp rev: 7471 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7476 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-04xpp: Comment-only changes: copyright, keywordsTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7463 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-04dahdi-perl: Avoid '"is_twinstar" on unblessed reference'Tzafrir Cohen
Dpn't panic if a device is not found in the list of hardware. This is not only indication of a bug, but can also happen if a device appeared after the script was started. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7462 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-11-04Allow overriding DAHDI_CFG_CMD from the environmentTzafrir Cohen
Useful in some testing environments. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7461 a0bf4364-ded3-4de4-8d8a-66a801d63aff