summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-06FPGA firmware rev. 2008tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1419 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06* fpga_load.c: fix a size error. Now works on amd64 .tzafrir
* fpga_load -vvv now dumps the transmitted packet. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1418 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Remove unused data member.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1417 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Fixes for 2.6.8 compilation:tzafrir
* Replace the completion variable with two atomic counters and a wait queue the xbus_poll() code is revamped to use this. * genzaptelconf: Adapt to different module parameter location in sysfs . git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1416 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Fix a possible return from xbus_core without releasing xbus->in_use .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1414 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06genzaptelconf: allow passing the names of the produced files from the tzafrir
environment. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1412 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Cleanup the unused non-RBS code:tzafrir
* remove all non WITH_RBS code. No need for the define. * unused recv_errors and seq_errors. * CID_START_TICKS, CID_STOP_TICKS cid_timer from trunk/ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1411 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06More cleanup:tzafrir
xpp_zap.c: * Remove old and long unused character device interface. * Show some extra fields in XPD summary proc file. * Move atomic_dec() to correct position card_fxs.c: Remove unused label. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1409 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Begin merging a small set of clean-ups:tzafrir
* __do_sethook() was gone and merged into do_sethook(). * Use DAA_RING_REGISTER constant instead of a number. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1408 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Better USB error handling: move "pending_writes" check earlier.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1407 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06* genzaptelconf: remove duplicate test for location of ztcfgtzafrir
* genzaptelconf: really add the option -R (suppress restarting Asterisk in the end) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1405 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05Don't throw a SLIC_REPLY packet just because we're not registered yet.tzafrir
Test for ring control and such will be done in update_line_status(). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1399 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05Ignore vim swap files.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1398 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05SPAN_REGISTERED() should not rely on zaptel ZT_FLAG_REGISTERED sincetzafrir
zaptel set it before registration is finished. (right: xpp needs to replicate zaptel's bookkeeping here). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1397 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05Rate limit error messages for USB URBs.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1396 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05Raw xbus command proc interface (Compile-time option. Desabled by default).tzafrir
(most of this fix got accidentally into in xbus-core.c in prev. commit) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1395 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04* Re-add calibrate_slics to the FXS initialization processtzafrir
* xpp/utils: Build and install init_fxo_modes . Data is based on data from wctdm.c . TODO: a separate daa.h? * Fail the script if automatic calibration has failed. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1394 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04FXO caller-id now works.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1393 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Workaround spurious rings described in ticket:102 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1392 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Rename the bitmask xpd->hookstate into xpd->offhook (for readability).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1391 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Move all zt_hooksig(...{OFF,ON}HOOK) calls into update_line_status() tzafrir
in xpp_zap.c git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1390 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Finally not using SOFT_RING.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1389 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Send ring signalling to zaptel directly from card_fxo.c:tzafrir
no need to xpp_ring_generate() git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1388 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Fix FXO polling (separate poll_counter for each unit)tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1387 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Remove obsolete rapid configuration code.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1386 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04* Deleted the internal changelog of genzaptelconf.tzafrir
* bumped up internal version to 0.5.5 . git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1385 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04genzaptelconf: handle the case of zap_autoreg=0 tzafrir
(FIXME: code copied from zaptel.init) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1384 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Minor code cleanup: No more SETHOOK method. It's only used in FXO, sotzafrir
now it's an internal function: __do_sethook() git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1383 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Experimenting with SOFT_RING again:tzafrir
* Poll R5 every 2 milliseconds; thresholds adjusted accordingly. * experimenting a reduced noring_threshhold (20ms) * Unset ring_sig[] for the FXO channel that is no longer being ringed. * Added ring_sig[] to the fxo struct: set when we need to check for reg 5 (instead of abusing the value of ring_thresh[]) * Don't increment ring_thresh/noring_thresh once they reached their threshold. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1382 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Fix problems with battery voltage fluctuations:tzafrir
- Use a higher voltage. - Add a software debounce counter. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1381 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Only display XORCOM_INTERNAL options if they can be used.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1380 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Show in /proc/xpp/XBUS-?/XPD-?/fxo_info also the noring_thresh[]tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1379 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Disable -DSOFT_RING: done in the FPGA now.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1378 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Fix a race condition when quickly reconnecting during a disconnect.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1377 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-01Add string conversion for hardware assisted D-channel to ztcfg (issue #7843 ↵file
reported by Matti, patch mysteriously appeared in my email from someone named angler... crazy that) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1376 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-31Merge in Zaptel VLDTMF support. This does currently have the bug where ↵file
dialtone briefly returns after a digit is being played, but that will be fixed shortly. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1374 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-27Merged revisions 1368 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1368 | file | 2006-08-27 18:58:06 -0400 (Sun, 27 Aug 2006) | 2 lines Copy the firmware from the new location ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1369 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-27remove some leftover stuff from last night's mergekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1366 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-27Merged revisions 1362-1363 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1362 | kpfleming | 2006-08-26 21:20:56 -0500 (Sat, 26 Aug 2006) | 2 lines it would probably help if we actually linked the Octasic API objects into the wct4xxp module :-) ........ r1363 | kpfleming | 2006-08-26 21:27:23 -0500 (Sat, 26 Aug 2006) | 2 lines ok... finally, this actually does build correctly for 2.4 kernels ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1364 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-27Merged revisions 1359 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1359 | kpfleming | 2006-08-26 21:02:42 -0500 (Sat, 26 Aug 2006) | 2 lines merge in new, cleaner Octasic API integration ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1361 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-26PARENTSRC is no longer neededrussell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1354 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-24Print the correct configuration information (issue #7795 reported by bender)file
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1348 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-24Actually populate sigcapmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1346 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-23update to reflect menuselect changesrussell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1344 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-22fix for kernel weirdness when transcode devices are closedkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1342 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-19be consistent with other projectskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1331 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-19update to work with latest menuselectkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1330 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-19Merged revisions 1327 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1327 | kpfleming | 2006-08-18 21:27:49 -0500 (Fri, 18 Aug 2006) | 2 lines don't report the VPM servicing more spans than the card actually has ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1328 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-18Add option to specify how long to let zttest run for (issue #7751 reported ↵file
by kshumard) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1324 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-16run ranlib on static librarykpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1320 5390a7c7-147a-4af0-8ec9-7488f05a26cb