summaryrefslogtreecommitdiff
path: root/xpp
AgeCommit message (Collapse)Author
2007-02-07Fixed an incorrect merge of xpp/xbus-core.c .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2117 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-07Update the firmwares from previous commit (2113, Xorcom rev. 3332).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2114 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-07xpp driver rev. 3332:tzafrir
* Reverse polarity and power denial detection. * A short led flash at registration time. * Add a real version of the xpp modules to them (independent of the Zaptel version). * Update our line status even when not registered. * Fixed a false SIG_CHANGED when inserting or removing cable to FXO. * Fixed compilation fixes for 2.6.20 (Bug #8982) * A cleaner fix for the bool changes of 2.6.19 . * Automatically detect echo_can_state_t at debug time. * Automaitcally set XPP_DEBUGFS (depending on debugfs) at compile time. * Bug-fixes to zaptel-helper. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2113 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-07build XPP on the kernels that Xorcom says are OK to build onkpfleming
update workqueue usage to conform to kernel 2.6.20 API git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2110 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-31zaptel-helper deserves wider exposure. Note: it is not getting installed.tzafrir
However it will probably help preven the braking of Astribank drivers loading for those who do care. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2064 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-31Minor genzaptelconf fixes:tzafrir
* callerid not written to zapata.conf * some messages were not printed with say (and thus not supressed without -v) (Xorcom changeset 3240) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2063 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-25* Xbus protocol version: 2.4 (Zaptel 1.2.12/1.4.0 had 2.3).tzafrir
XPS Init scripts renamed accordingly. * Performance improvements for multi-XPD (span) devices. * Astribank BRI driver (in next commit). * Changes under /proc: - XBUS and XPD numbers have two digits. - Every script wildcard should be replaced from XBUS-? to XBUS-[0-9]* - Added /proc/xpp/XBUS-*/XPD-*/blink: echo 1 to start and 0 to stop. * Several countries (South Africa, UAE, anybody else) require a shorter ring delay. Adjust FXO reg 0x17 (23)'s bits 0:2 to 011. * Use tasklets to move most of the interrupt PCM copying out of the interrupt. * Debugfs-based code to dump data to userspace (used to debug BRI D channel). * Pretend every 2.6.9 actually has later RHEL's typedefs. * fpga_load supports /dev/bus/usb . * Fixed physical order sorting in genzaptelconf. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1966 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-25Remove confusing print of ZT_FLAG_RUNNING .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1963 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-25xproto old code cleanup:tzafrir
- Remove old SOFT_SIMULATOR (not used in the last year ;-) - As a result can merge packet_receive() and packet_process() - Remove unused macro (MAX_XPACKET_DATALEN) from xproto.h git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1962 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-23clean up various compiler warningskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1920 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-27remove pointless duplication of ZAPTEL_VERSION that causes these modules to ↵kpfleming
be rebuilt every time a commit is made to any part of Zaptel git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1766 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18Code is 2.6-specific anyway, no need for an explicit test.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1724 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18Use the internal version (without locking) of usb_reset_device. tzafrir
Intended for kernel 2.6.9 and earlier. Finally full support of 2.6.8 and 2.6.9. r2937: diego | 2006-12-17 14:20:36 +0200 r2940: tzafrir | 2006-12-17 16:32:51 +0200 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1723 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18xpp_zap.c: Better error hanlding during module init.tzafrir
orig r2948: oron | 2006-12-17 18:54:00 +0200 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1722 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-18Assume every 2.6.9 kernel is a later RHEL4 kernel, which backportedtzafrir
the gfp_t typedef. Either way we break some systems). r2938: diego | 2006-12-17 14:22:16 +0200 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1721 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-15Sync to xpp RELEASE-1.2.0 2933.tzafrir
r2847@boole: diego | 2006-12-03 10:33:00 +0200 added documentation which explains which packages are needed to build the drivers on different distributions. r2862@boole: tzafrir | 2006-12-05 08:43:50 +0200 README.Astribank: A typo in the sample config (changeset:2861). r2891@boole: tzafrir | 2006-12-08 01:11:45 +0200 Re-accept changeset:2832 after all. r2892@boole: tzafrir | 2006-12-08 02:46:07 +0200 Merge genzaptelconf changeset:2866 from trunk: * Zapata comment on unidentified channel goes to $zapata_file * Correct pattern for Sangoma A200 card's channels. r2893@boole: tzafrir | 2006-12-08 03:11:37 +0200 genzaptelconf: * Add options xpp_fxo_rxgain: add a custom rxgain for every XPP FXO channel. * Do print the original line for every channel. r2909@boole: tzafrir | 2006-12-10 20:03:59 +0200 Add some sleeps in older kernels in the firmware loading script. r2932@boole: tzafrir | 2006-12-14 17:30:12 +0200 Make the warning about a call to off-hook FXO debug. At least if we cannot suppress it at module load time. r2933@boole: tzafrir | 2006-12-14 17:32:00 +0200 Don't redefine 'bool' on newer kerenls to fix building with kernel 2.6.19. Taken from Digium tree. (from changeset:2930) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1718 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-15Firmwares to fix caller ID detection timing issue.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1715 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-11kernel 2.6.19 now has a type called 'bool', although it's not completely ↵kpfleming
implemented so there will still be some warnings when building xpp against 2.6.19 kernel headers git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1700 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-30 r2806@boole: oron | 2006-11-27 16:54:06 +0200tzafrir
Fixed panic in ticket:147 merged code from changeset:2802 changeset:2804 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1671 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-30 r2794@boole: oron | 2006-11-26 14:24:15 +0200tzafrir
Remove all SOFT_RING code (unused for a long time). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1670 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-30 r2832@boole: tzafrir | 2006-11-29 11:06:06 +0200tzafrir
Add parameter xpp_ec to the module xpp (xpp_zap.c). Defaults to 1. If 0, module will use Zaptel echo canceller even with XPP_EC_CHUNK. Parameter is read-only for now: cannot be set through /sys/modules. (Merge of changeset:2830) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1668 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-30 r2831@boole: tzafrir | 2006-11-29 11:05:08 +0200tzafrir
genzaptelconf: A list of countries for which to use busydetect. (backport of changeset:2829) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1667 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-30 r2817@boole: oron | 2006-11-28 13:39:47 +0200tzafrir
Maintenance branch for asterisk-1.2.x git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1666 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-28Give sane defualts to values that we get in 1.4 from autoconf.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1653 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-28 r1623@boole: tzafrir | 2006-11-21 17:19:16 +0200tzafrir
Typo: SBINDIR -> BINDIR . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1652 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-28 r1590@boole: tzafrir | 2006-11-11 16:34:45 +0200tzafrir
init_card[34]_23: merge from 2654,2655. * Redirect stderr to /dev/null. Without any redirection, it may fail with exitval=4 . Probably, fd 2 is closed and the shell (or sed which is used in the scripts) tries to write to it (or do some other I/O related syscall) which fails. * make XPP_BASE handling identical in the two scripts. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1651 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-28 r1571@boole: tzafrir | 2006-11-08 18:01:13 +0200tzafrir
Fixed a typo in the "wctdm reimplementation". git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1650 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-28 r1558@boole: tzafrir | 2006-11-06 21:07:29 +0200tzafrir
Fixes for card init scripts from rev 2633: * Don't log card init scripts to /tmp/results . * Document how to trace, though. * init_card_4_23: don't re-open the slics file. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1649 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-28 r1557@boole: tzafrir | 2006-11-06 20:12:16 +0200tzafrir
Merging xpp driver release 1.2 (rev. 2569), originally team/tzafrir/xpp_1.2 * Should build well. Almost final. * genzaptelconf: Also work when zap_autoreg=0 * README.Astribank updated for rev. 1.2. * xpp/utils/Makefile: Use $< with cc -c * Get xpp/utils configuration from autoconf (without changesin top dir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1648 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-28 r1547@boole: russell | 2006-11-01 21:04:02 +0200tzafrir
instead of setting HOSTCC and CC directly in the Makefile, use the information provided by the configure script (issue #8055, tzafrir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1647 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-28Revert some README changes to allow automerge.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1645 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-06 * genzaptelconf: Set modes of generated files to original ones or sane tzafrir
defaults. * genzaptelconf: Don't check for zap_autoreg in wait_for_xpp . * genzaptelconf: Add support for fxs_immediate: option to set FXS port as immediate. * genzaptelconf: Fix few left over writes to stdout for config files. * genzaptelconf: Documentation fixes. * genzaptelconf.8: bring up-to-date. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1559 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-10-03Updated README.Astribank to reflect current hardware.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1496 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-10-03* run config function (genconf) in a single pass. Bumped version to 0.5.6 .tzafrir
* E1 spans should not be configured as "national". TODO: find a better default * Add support for Sangoma A102 (Hopefully also all A10x) PRI cards: -d won't work, but will configure existing spans. * Better comments in genconf() * Removing update_extensions_defs: cleaning temporary files is only done once. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1495 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-10-03* fixed a small syntax errortzafrir
* Hopefully correct PRI setting for country=cl git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1494 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-10-03Allow overriding the location of the asterisk init.d script tzafrir
using the variable ASTERISK_INIT_SCRIPT (from the config file or from the environment). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1493 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-09Latest xpp driver. Backported from trunk (r1455, Xorcom r2157)tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1457 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-14NULLify pointers to /proc files after removing them (so anyone whotzafrir
tries to access them afterwards causes Oops instead of unknown behaviour). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1230 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-14genzaptelconf: Fix version stringstzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1229 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-14genzaptelconf: fixed confusion between framing and coding for E1/{il/nl}tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1228 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-14genzaptelconf: use /proc/xpp/XBUS-*/wait_for_xpds rather than a timeout looptzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1227 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-14FXS current fixes (init parameters and on runtime)tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1226 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-08xpp Release 1.1.0 :tzafrir
* FPGA firmware now loaded from PC (for newer models) * Driver for the FXO module (xpd_fxo.ko) * Moved most userspace files to the subdirectory utils (see also next commit) * Explicit license for firmware files * Optionally avoid auto-registration * Registers initializations code is done by a userspace script. * Remove obsolete .inc initialization files (we use user-space init) * Added an install target to the utils dir. * Updated README.Astribank accordingly. * Using RBS signalling, as caller ID did not work well otherwise. * Better handling of USB protocol errors. * Fixed some procfs-related races. * per-card-module ioctls. * fxotune support. * opermode support (set through /etc/default/zaptel for now) * Userspace initialization script can also read registers. * Power calibration works (and implemented in perl) * some fine-tuning to the regster initialization parameters. * Leds turn on before registration and turn off after it. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1212 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-04-03by default don't debugtzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@995 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-04-02fix build of xpp for kernel 2.6.14tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@994 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-03-03small compilation issuestzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@973 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-03-03move the main Astribank readme into the xpp directory so they can manage itrussell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@970 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-02-16fix build for linux 2.6.16 (issue #6505)russell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@958 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-02-15initial import of Xorcom Astribank driver (issue #6452, with minor mods)kpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@949 5390a7c7-147a-4af0-8ec9-7488f05a26cb