summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-08-10Fixed a typo.north
Makes one wonder how long this has been like that.. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1277 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-08Merged revisions 1262 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1262 | kpfleming | 2006-08-08 17:22:24 -0500 (Tue, 08 Aug 2006) | 2 lines update Octasic API headers (but not code yet) to PR43, and use version with GPL licenses instead of proprietary licenses ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1263 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-05Merged revisions 1259 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1259 | russell | 2006-08-05 01:53:20 -0400 (Sat, 05 Aug 2006) | 2 lines Fix the zaptel build on SuSE 10.1 (issue #7536, hk) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1260 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-04add support for broader range of kernels.mogorman
patch provided by bug 7579 thanks corydon git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1258 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-04Merge jcollie's team/group/installer branch which improves the install bitsrussell
of the Makefile to not install the headers twice, among various other improvements for things like places where INSTALL_PREFIX wasn't used where it should be git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1256 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-02Make sure people know that the aggressive suppressor may be used with the newer mattf
ECs git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1254 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-27Merged revisions 1248 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1248 | file | 2006-07-27 11:06:58 -0400 (Thu, 27 Jul 2006) | 2 lines Use INSTALL_PREFIX when installing firmware (issue #7600 reported by jcollie) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1249 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-26Allow zaptel to compile on 2.4 kernelstilghman
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1247 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-26tweak the Makefile so that if no kernel modules are selected, it doesn't do anyrussell
checks looking for kernel sources so that the zaptel utilities can be built without any kernel sources installed (issue #7594, jcollie) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1246 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-19add menuselect_stub.c to deps listrussell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1245 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-19Merged revisions 1243 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1243 | file | 2006-07-19 09:50:58 -0400 (Wed, 19 Jul 2006) | 2 lines Only use hotplug firmware loading if the kernel has support for it ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1244 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-16remove useless extern qualifierskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1239 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-16Merged revisions 1236 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1236 | file | 2006-07-15 19:16:13 -0500 (Sat, 15 Jul 2006) | 2 lines Minor Makefile adjustment for installing the firmware ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1237 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-15Merged revisions 1233 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1233 | file | 2006-07-15 15:26:53 -0500 (Sat, 15 Jul 2006) | 2 lines Add support for loading the VPM450M firmware using hotplug from userspace. ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1234 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-13More documentation updates....mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1223 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-13Updates to b410p documentationmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1222 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-13mark memory pages used by transcoder as reservedkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1221 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-12and now... use the old mmap API properly (oops)kpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1220 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-12use mmap API that is present in kernels < 2.6.10 when neededkpfleming
fix address assignment for mmap in more recent kernels git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1219 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-11fix so this will buildkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1218 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-11final attempt at making some simple logic work correctlykpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1217 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-11fix error on make install (issue #7519, fix by Seb7)russell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1216 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-10Updates for the b410p documentationmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1214 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-10don't try to install ztcfg if it wasn't builtkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1213 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-07remove duplicate removal of fw2hrussell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1210 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-07don't abort if cleaning the menuselect dir doesn't workkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1209 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-07Blocked revisions 1206 via svnmergerussell
........ r1206 | russell | 2006-07-07 14:03:59 -0400 (Fri, 07 Jul 2006) | 2 lines merge vpm450m support ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1208 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-07Merged revisions 1205 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1205 | file | 2006-07-07 14:02:39 -0400 (Fri, 07 Jul 2006) | 2 lines Add missing TDM400 PCI definition (issue #7502 reported by chozian) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1207 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-05solves an overflow issue with elpased time. frommogorman
bug 7264 git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1203 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-05fix Makefile for static /dev userskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1202 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-07-05make sure users of tonezone.h can deal with new installation locationkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1201 5390a7c7-147a-4af0-8ec9-7488f05a26cb