summaryrefslogtreecommitdiff
path: root/xpp
AgeCommit message (Collapse)Author
2006-08-12* Wait for /dev/zap/ctl to appear if udev takes its time creating it.tzafrir
* Try looking for ztcfg in /usr/sbin as well. * Also allow setting the location of ztcfg from environment. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1294 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10* A delay loop waiting for a slow udev to generate /dev/zap/ctltzafrir
* Work around stupid call to ztcfg on modprobe (as inserted by zaptel install script) * -M now edits /etc/sysconfig/zaptel if it find that file and not /etc/modules * editing of /etc/sysconfig/zaptel: remove all lines that begin with MODULES=, and add MODULES="list of modules" to the end. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1293 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Show SOFT_RING compile status when xpd_fxo module is loaded.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1292 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Fix ring detection logic in FXO:tzafrir
Detect ring stop only when register 0x05 shows no ring voltage for enough samples. This is done via noring_thresh[]. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1291 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10* Added support for readingconfiguration from /etc/sysconfig/zaptel .tzafrir
* Config file location can be overriden by environment. * Removed an obsolete function. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1290 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Solves spinlock-panic in CentOS 4.tzafrir
zt_transmit() was called in spinlock protected context. However, it may call back our hook setting code which tries to lock the same spinlock. As a safeguard, the same logic was applied to zt_receive(). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1289 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10card_fxo.c: Fix a potential bug: battery voltage is a 2's complement value.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1288 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Improve checking order in xpp_zap.ctzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1287 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Bugfix: should not call zaptel for unregistered XPD's.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1286 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10* New SOFT_RING detection in FXO:tzafrir
- Poll register 0x05 on each DAA - When enough energy (value of 0x20|0x40 occurs enough times), raise the ringing[] flag. - When the value show no energy, lower the ringing[] flag. - When we get SIG_CHANGED of stop ringing -- stop polling. * More debugging messages for proc files git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1285 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10xbus-core.c: documentation updates.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1284 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10genzaptelconf: fixed typo that prevented getting caller ID on zaptel trunkstzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1283 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Bugfix: the PROC_USBXPP_SUMMARY does not own xpp->proc_xbus_dir and shouldtzafrir
not nullify it (partial reversal of changeset:1225) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1282 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10* xpp_fxloader: Allow loading just USB firmware with command 'usb'tzafrir
* xpp_fxloader: also add 'load' as an alias of 'xppdetect' * xpp_fxloader: and add a 'help' message. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1281 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Better LED handling for fxo (copied from fxs):tzafrir
- Fix both branches/RELEASE-1.1.0 and trunk/ - Use a ledcontrol bitmask to mark led on/off - Actuall led commands are send only from handle_fxo_leds() git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1280 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10- In SIG_CHANGED only sig_toggles bits are interesting (was good in FXS,tzafrir
now fixed in FXO). - Better DBG messages for SIG_CHANGED (FXS and FXO). - Start work on new RING logic (for FXO caller id). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1279 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10fixed a typo: it's waitfor_xpds and not wait_for_xpdstzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1278 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-16Merged revisions 1235 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1235 | kpfleming | 2006-07-15 19:12:55 -0500 (Sat, 15 Jul 2006) | 2 lines eliminate compiler warning ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1238 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-14NULLify pointers to /proc files after removing them (so anyone who tries to tzafrir
access them afterwards causes iimmediate Oops instead of unknown behaviour). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1225 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-14genzaptelconf: Fix version stringstzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1224 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-10* Fix currents handling in driver.tzafrir
* genzaptelconf: A simpler wait_for_xpp using new proc wait_for_xpds * genzaptelconf: fixed confusion between framing and coding for E1/{il/nl} git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1215 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-08just #include "zaptel.h". No STANDALONE_ZAPATA or other strange stuff.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1211 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-06Tons of updates to the Astribank (xpp) driver:tzafrir
* xpd_fxo.ko (FXO span) is now operational * 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/trunk@1204 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-05yet another header file installation location change... Zaptel headers are ↵kpfleming
now installed into /usr/include/zaptel, not /usr/include git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1200 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-06-20turn an expression into a statement so the compiler won't complain about ↵kpfleming
unused expression results git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1135 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-06-17* Echo canceller not disablerdtzafrir
* card_fxo.c: Fixed an unreleased spinlock * utils/Makefile: No more C++ flags * utils/Makefile: An install target * fpga_load: usb1 support * genzaptelconf: Support for more cards (Any Sangoma A20x testers?) * xpp_fxloder: The new USB ID, even for manual loads... * xpp_zap.c: Print module fetures in a better format at load time. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1114 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-06-17moving genzaptelconf to utilstzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1113 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-05-22* Now possible to load FPGA (second stage) firmware with USB1tzafrir
* fixed locking of xpd-lock * slightly newer FPGA firmware: slight improvements. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1078 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-05-100.5.1:tzafrir
* Wait for the xpp module to register if just loaded * Initial support for ztgsm (Junghanns's PCI GSM card) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1050 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-05-08xpp driver release 1.1.0 (second part of commit from r1021)tzafrir
* Please avoid setting the keyword Id on the firmware files (*.hex) to preserve the original versioning comment. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1023 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-05-03xpp driver release 1.1.0 (first part of commit)tzafrir
* FPGA firmware now loaded from PC (for newer models) * Driver for the FXO module * Moved most userspace files to the subdirectory utils (see also next commit) * Explicit license for firmware files * Optionally avoid auto-registration * Initializations parameters to chips given from userspace * And did I mention bugfixes? git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1021 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-04-10adding genzaptelconf: a zaptel hardware detection scripttzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1000 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-04-03by default don't debugtzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@996 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/trunk@993 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-03-03small compilation issuestzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@972 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-03-03Merged revisions 970 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r970 | russell | 2006-03-03 14:11:53 -0500 (Fri, 03 Mar 2006) | 2 lines move the main Astribank readme into the xpp directory so they can manage it ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@971 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-02-16Merged revisions 958 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r958 | russell | 2006-02-16 12:56:53 -0500 (Thu, 16 Feb 2006) | 2 lines fix build for linux 2.6.16 (issue #6505) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@959 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-02-15Merged revisions 949 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r949 | kpfleming | 2006-02-14 20:24:18 -0600 (Tue, 14 Feb 2006) | 2 lines initial import of Xorcom Astribank driver (issue #6452, with minor mods) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@950 5390a7c7-147a-4af0-8ec9-7488f05a26cb