summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-21Fix a think-o in numeric comparison. Swap order to make it more clear.qwell
(closes issue #13813) Reported by: ys git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4586 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-11-18Fix typo that was preventing compilation of wctc4xxp.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4585 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-11-18xpp_pri: Fix T1 CRC initializationtzafrir
Clock synchronization when sync is not from first port. Merged revisions 4583 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4584 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-11-17- Fix for race condition of encoder and decoder are allocated at the same timesruffell
in the driver. This would result in -EBUSY returns from the DAHDI_TC_ALLOCATE ioctl. - Increase the length of the receive descriptor ring from 8 to 32 to reduce the probability of running out of receive descriptors. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4582 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-11-16Fixed USB firmware that caused some bad bioses to hang on boot.tzafrir
The BIOSes included in a number of motherboards could hang from an Astribank firmware newer than 1.2.20.1 / 1.4.5.1 . This was due to an some incorrect USB information in the firmware. This firmware fixes it. Merged revisions 4580 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4581 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-11-13Make a message about the host cacheline size being unsupported a debug onlysruffell
message. The voicebus interface still works whether the cacheline size is supported or not, but the message is confusing to users. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4579 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-11-10xpp init_card_2_30: no need to check environment in verify mode.tzafrir
Fixes #13832 in Zaptel. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4578 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-30Use correct length for the Zaptel transcoder device name.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4573 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-22xpp FXS init script: Do use high-pass filter.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4572 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-20zapconf: Fix number in error message in case of unknown channel type.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4571 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-20Uninstall other versions of zaptel modules on install, rather than tzafrir
uninstall dahdi twice. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4570 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-15Fixing typo...there is not a rebufpolicy.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4569 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-15Zaptel should always notify user mode whenever it has received buffers tosruffell
process. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4567 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-10- Ensure that the source format is considered when selecting a transcoder.sruffell
- When a command is to be retried, turn off the TX_COMPLETE flag before resubmitting it to the hardware. This should elimate some of the warnings printed to the kernel log in the wctc4xxp_transmit_cmd function. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4564 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-10Fix 'make config' for non-debian and non-chkconfig systems.tzafrir
From DAHDI tools rev 5082. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4562 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-06Embed room for the complete packet to the DTE in the transcoder buffersruffell
structure. Simplifies alignment management at the cost of a little wasted memory, but the end results is that operation is more reliable on more systems. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4560 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-03There are two possible valid statues when booting the TC400M.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4556 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-02Keep hold of the channel lock when setting the data_ready flag for the channelsruffell
after writing to the receive queue. Prevents a warning that data was on the recieve queue but the data ready flag was not set. Issue: DAHDI-42 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4554 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-02wctc4xxp_cleanup_channel_private needs a pointer to the zt_transcoder_channelsruffell
and not just the private portion now in order to manage the data ready flag state. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4553 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-10-02Mark that there is not any data waiting whenever we cleanup the privatesruffell
channel structures. Issue: DAHDI-42 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4551 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-30Removing reference to setup_timer on kernels before 2.6.18.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4549 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-28mprove reliablity of UK caller ID for the TDM400P by not allowing thesruffell
ringdebounce to be decremented when it is at 0 already. Related to issue #12531. Reported mattbrown, fix suggested by benbrown. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4547 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-25XPP firmware: Only send out CAS D-channel messages when in CAS mode.tzafrir
Only updates FPGA_1151.hex. Id: rev 6152. From xpp rev 6163. Merged revisions 4544 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4545 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-24Added note in readme about the required asterisk version for the new driver.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4542 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-24Adding back in the mode module parameter for the wctc4xxp driver. This issruffell
primarily used to increase the number of channels available when only transcoding to/from g729 by setting it to 'g729'. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4540 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09Zaptel.pm: Fix sample program (perldoc-only fix).tzafrir
Merged revisions 4533 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4534 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09xpp-zaptel: Bugfix: Display data_high in /proc/xpp/*/chipregs:tzafrir
* This byte wasn't shown even if do_datah bit was set. * Also converged all terminology to "sub-register" and not "indirect" * Changed accordingly '[WR]I' to [WR]S' in code. * Still allow usage of '[WR]I' but with deprecation NOTICE() * Convert init_card_* scripts * Adapt show_regs and write_regs script accordingly. * Leave FXS internal macros with ...INDIRECT... because that's the terminology of the SLIC. * You should use both the newer driver and init script. Specifically: newer init script will fail to work with older BRI and FXS xpp driver loaded. From xpp rev. 6117. Merged revisions 4520 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4531 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09xpp-zaptel: FXO: Add caller-id workaround for ESTI-DTMF (for #9096)tzafrir
* Also rename the CID_STYLE_* constants to formal names. From Xorcom Rev. 6115. Merged revisions 4519 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4529 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09xpp-zaptel: FXO: fix init_card_2_30 opermode verificationtzafrir
* In case of any diff, exit with non-zero status so the build fails. * Print filename:lineno of missing or changed lines. * Fix two countries (typos fixed in COLOMBIA and CYPRUS). * xpp-zaptel: FXO: cleanup opermode verification code (from DAHDI): - Add proper '-v' option to init_card_2_30 and use it in xortel/Makefile - Use $mismatches as in DAHDI (minimize diffs). From xpp rev. 6107,6108 Merged revisions 4517-4518 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4524 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09Fix another path to an uninitialized SUB config provided to us from thetzafrir
controller. From xpp rev. 6071. Merged revisions 4516 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4523 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-08Disable building some modules on kernels 2.6.8 and older.qwell
(closes issue #11523) Reported by: tzafrir Tested by: tzafrir, qwell Initial patch by: kpfleming git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4515 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-08Minor FXS/FXO type fixes in case probe was not done.tzafrir
Merged revisions 4512 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4514 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-08Fix hotplug-install when firmware is disabled from menuselect. Closes issue ↵qwell
#13399 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4513 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-03Before creating a device, register the major number.tzafrir
Otherwise we need to clean-up those devices in case of failure, and we don't. This fixes the case of accidentally loading zaptel after loading dahdi (Already fixed in DAHDI). Merged revisions 4509 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4511 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-25Remove this warning, which could occur if the driver is loaded on a systemsruffell
without a wctc4xxp, and then subsequently unloaded. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4506 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-22Fix init scripts loading in xpp from live_zap and update READMEtzafrir
* Set initdir to the directory on the live system for xpp. * set FIRMWARE_DIR to allow running xpp_fxloader from 'live_zap exec'. * Update README. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4504 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-21Fix reporting of the zaptel version number in test_kernel_git.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4503 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-20resolve some compile warningskpfleming
(closes issue #13278) Reported by: smurfix Patches: zap-string.patch uploaded by smurfix (license 547) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4497 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-20improve compatibility with 2.6.26 and 2.6.27 kernelskpfleming
(closes issue #13277) Reported by: smurfix Patches: zap-dev.patch uploaded by smurfix (license 547) zap-sema.patch uploaded by smurfix (license 547) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4496 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-20Change to support both 5.3kbps and 6.3kbps bit rates when using the G723.1sruffell
codec. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4495 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-20Mark xpp_fxloader as executable.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4494 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-19even more improvements in firmware Makefilekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4493 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-19Fix bug where all transcoders are named tc400b0.sruffell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4492 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-19Couple of fixes for the transcoder:sruffell
- In dahdi_transcode.c, Embed the identifiation number, assigned sequentially when the transcoders are registered, in the transcoder structure. This allows DAHDI_TC_GETINFO to work as expected even though the transcoders are rotated on the list in order to spread the load. - In wctc4xxp, fix bug where all transcoders are named tc400b0. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4491 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-19simplify this Makefile a bit by always creating /usr/lib/hotplug/firmware ↵kpfleming
and /lib/firmware in $(DESTDIR) if hotplug firmware is being installed work around a GNU make buglet that caused some target rules not to match git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4490 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-17Zaptel-perl: fix leftovers from r4475 (handling of spaces)tzafrir
While r4476 solved some parsing problems of channels with "strange" encoding names, it introduced a new problem (e.g.: "RED" after "(In use)" which is fixed here. Merged revisions 4488 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4489 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-14Update changelog for xpp rev. 6055.tzafrir
Merged revisions 4486 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4487 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-14xpp: FXO: display signed voltage values (from xpp r6055)tzafrir
This is only an issue with the displayed value. In case you wondered why you have battery voltage of more than 220V. Merged revisions 4484 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4485 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-14backport new transcoder interface and driver from DAHDIkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4483 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-14more license header updateskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4482 5390a7c7-147a-4af0-8ec9-7488f05a26cb