summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-01Err.... re-fix make clean for kernel 2.4.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4118 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-31Fix 'make clean' when there's no kernel tree. Partial backport of r4082tzafrir
from 1.4. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4117 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-31Document when "D-Chan RX Bad checksum" is not a problem.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4109 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-26Don't easily fail for missing udevinfo. tzafrir
Nobody has that older udev version (or otherwise we might have recieved a bug report about a bogus == rule). TODO: fix the UDEVRULES test in Makefile. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4085 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-24Add in new parameters added for 1.16 version of the firmware for the TE120 ↵mattf
which should have already been merged in. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4072 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-21* Get hdlcstress and hdlctest to build.tzafrir
* Make sure everything's initialized in hdlctest.c . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4038 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-21Revert accidental changes to hdlcstress.ctzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4037 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-21* Earleier initialization of PRI module's register.tzafrir
* Fix zaptel-perl reporting of battery after procfs changes. * Documentation updates. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4036 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-19Add support for new VPMADT032 fw for the TE120mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4028 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-19Make sure this check is made in 1.2 as wellmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4025 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-18* We need to silence the echo-canceller buffers as well.tzafrir
* But no need to cancel echo on channels without PCM. * Switch to FXS hardware DTMF detection again. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4012 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-14Update wctdm24xxp's VPMADT032 firmware to version 1.16mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3988 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-09More asciidoc polishes and small sample file fixes.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3972 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-09Integrating sample / reference configuration file into the referencetzafrir
documentation. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3968 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-06xpp.r5512:tzafrir
* Build: - Zaptel >= 1.4.9 is migrating to storing kernel stuff in zaptel/kernel/* - We conditionally use old/new directory scheme: In xpp/Kbuild and xpp/utils/Makefile use ZAP_KERNEL variable, so it's not confused with ZAPTEL_DIR (which appears in zaptel/Makefile as well). - Fix compile warnings on 64 bit systems. - Compile fixes for kernel-2.6.24 * UDEV: - /etc/udev/rules.d/xpp.rules now uses XPP_INIT_DIR to find astribank_hook. - astribank_hook: Modify to do nothing. Add some documentation. * Autoconfiguration -- zapconf: - Don't fail zapconf et.al. if no config file was found. - Skip the 'IRQ Missing:' line in /proc/zaptel/nnn for wcte1xp(?). - Add some newer Digium cards to our hardware inventory. - Partially handle cases where the /proc/zaptel strings does not contain info about E1/T1/J1 or NT/TE. * Better SYNC: - Finer tuning of PLL (New firmware). - Change calculation algorithm of sync offset. It now copes better with the variance in USB frame reception timing. - Statistics: . The view of results was moved from /proc/xpp/XBUS-*/summary to a new /sys/bus/astribanks/devices/xbus-*/timing and enhanced. . A new xpp_timing script shows all astribanks. . A new write only /sys/bus/astribanks/devices/xbus-*/cls is used to clear statistics. Eventually, clearing of XBUS related statistics should be done here. One that was migrated is the clearing of 'PCM [TR]X:' numbers currently appearing in /proc/xpp/XBUS-*/summary (they should be moved too later). - Shorten the strings representation sync_mode ("SYNC_MODE_AB" -> "AB") adapted their use in printk and /proc so the text is clear. - Added a command line parameter xpp.disable_pll_sync to stop all adjustments command to AB (calculations still continue as usual). * PRI: - 4 port support - set clocking master span via ztcfg, like other zaptel devices. * FXO: - Fix false hangups in some countries (voltage fluctuations). - Some countries send caller-id before first ring. Added code to handle caller-id PCM pass through according to a new command line parameter (xpd_fxo.caller_id_style). - No longer sends an event on zt_open. See #12160 . * Misc: - Adapt to zaptel-1.4.8 and above ztscan: added fields returend by new ZT_SPANSTAT_V2 ioctl() - Document sysfs and waitfor_xpds. - Miscelaneous optimizations and bugfixes. - Remove deprecated pcm_tasklet parameter. The rx_tasklet parameter has replaced it a long time ago. - Add RX_CMD counter to /proc/xpp/XBUS-*/summary - Unclutter some of the usb disconnect messages. - xpp_usb: minor preformance improvements in receive. Expose the number of pending receive URB's in /proc/xpp/XBUS-*/xpp_usb git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3952 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-06Also don't clean wctdm24xxp/ from userspace Makefile. See issue #12118 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3951 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-03-03No need for userspace 'make clean' here. Kbuild takes care of it.tzafrir
Closes issue #12118 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3917 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-18added some forgotten includes for zap_copy_stringjpeeler
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3847 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-16* Start documenting module parameters in the README.tzafrir
* Update the hardware supported by xpp. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3837 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-15Fixes bug 11471. Replaced all instances of strncpy with zap_copy_string ↵jpeeler
(added to zaptel.h) to fix any off by one errors and ensure destination string is NULL terminated. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3833 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-15update README to reflect currently supported Digium interface cardskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3831 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-06Change include of Makefile.kernel26 to Kbuild, and place it in thetzafrir
right location. Fixes building for kernels 2.6.0 - 2.6.9 . M 1.2/Makefile git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3812 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-05Changes to the wcte12xp driver.sruffell
- replace change to allow driver to recover from descriptor unavailable. - module echo cancellation parameters now valid under 2.6 kernels. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3805 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-02-05Fix a build issue pointed out by Dovid on #asteriskqwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3804 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-30Don't fail zapconf if no config file was found.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3766 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-28minor cleanupskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3753 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-27LINUX26 is defined in zaptel.h, and should not be checked beforetzafrir
including it. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3747 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-26enable this module to build against kernels < 2.6.9kpfleming
(issue #11523) Reported by: tzafrir git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3744 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-25get this branch to build against 2.6.24 kernel build system (similar to ↵kpfleming
r3706 from tzafrir for branch-1.4) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3741 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-23Ensure that the zone lock is always acquired before the channel lock. sruffell
(issue #7620) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3733 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-23Make some echo canceller related parameters adjustable via module parametermattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3730 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-20Make sure README.Astribank's HTML copy has a complete table of contents.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3710 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-11Revert an unnecessary trylock. Multiple people have looked at this and nobodyrussell
can see any reason why this would be required. (closes issue #10791) Reported by: Matti Patches: patch uploaded by Matti (license 109) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3663 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-11Minor formatting change.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3660 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-11Elimates a recursive grab of a spinlock in the interrupt handler for the ↵sruffell
wcte12xp. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3659 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-10Remove some unused variables (already applied in 1.4).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3645 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-10Complete the renaming of Makefile (to reduce merge issues with local xpptzafrir
copy). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3644 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-10xpp.r5254:tzafrir
* Improved polarity reversal hangups in FXO (r5194). Fixed false detection of polarity reversals. * Optimize xframe allocation, by not zeroing the whole memory (in get_xframe()). * Fixed erronous error message that appeared sometimes from fpga_load during USB renumeration. * Zaptel::Chans now provides battery() reporting for some FXO channels (Astribank FXO and wcfxo). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3643 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-09BIG fxotune update. New version which uses fourier analysis for echo return ↵mattf
loss measurement. Much more accurate than the old version, and can penetrate through background noise that may be on the line as well as noise caused by tones in the background such as reorder or congestion if the timing parameters aren't exactly right in the setup. If you have analog fxo modules, it is recommended that you run fxotune on them again with this latest version. You will definitely see even better results git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3640 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-09Make sure G.165 EC disable tone detection is enabledmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3638 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-04Increase the amount of code that is protected by locks in the wcte12xp ↵sruffell
interrupt handler. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3618 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-03Removing some left over debugging code.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3601 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-02Removed unneeded return value.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3594 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-02VPMADT032 stability changes for wctdm24xxp and wcte12xp:sruffell
- Remove double reads. - Wait for writes to complete before starting reads. - Optimize reads of multi-word register. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3592 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-02Move the release of VPMADT032 resources to after the interrupt handler has ↵sruffell
been freed. Closes a small window of opportunity for NULL pointer access at driver unload time. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3586 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-29Adapt ztd-eth to newer interfaces from kernel 2.6.24 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3577 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-27Update documentation. Mainly regarding the PRI module.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3564 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-27Shouldn't destroy the workqueue with the lock held.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3561 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-24* XppUtils.pm renamed Zaptel::Utils.pm .tzafrir
* Some more documentation. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3555 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-20Cleanup in case the firmware load from userspace fails.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3550 5390a7c7-147a-4af0-8ec9-7488f05a26cb