summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-04forgot to add 'ztscan' to the menuselect treekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3280 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-04add a new Zaptel scanning tool, primarily for use by the Asterisk GUI, ↵kpfleming
called 'ztscan'. this tool outputs an Asterisk-style configuration file containing one context for each Zaptel span with all the details that can be learned about that span. to enable this tool, the ZT_SPANSTAT ioctl gained a number of new elements to report information about the spans: - linecompat (available signaling modes for digital spans) - spantype (T1, E1 or J1 for digital spans) - location (PCI/PCI-Express location) - manufacturer - devicetype Along the way I also found that the digital span drivers always set T1-style signaling bits in 'linecompat' even for E1 spans, and that the ZT_SPANCONFIG ioctl did not properly check these bits when configuring E1 spans. The result of this is that it was possible to configure T1-only coding/framing (AMI/B8Zs, D4/ESF) on E1 spans (but not the reverse); this has been corrected and any attempt to use T1-only coding/framing on E1 spans will now result in an error from ztcfg. Also did some minor simplification of the Makefile rules that build the userspace tools. (the basics of ztscan were written by Brandon Kruse then reworked and fleshed out by me) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3278 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-01Delete the old kernel modules before installing the new ones. sruffell
Prevents conflicts in case the location of the driver changes when upgrading from an older version of the driver. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3271 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-30populate the 'irq' member of the span structure since it is therekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3267 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-30Merged revisions 3263 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3263 | mattf | 2007-11-30 14:17:42 -0600 (Fri, 30 Nov 2007) | 1 line Make sure we only disable irqs during octasic firmware load only if we have 4K stacks ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3264 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-28Merged revisions 3258 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3258 | file | 2007-11-28 18:52:54 -0400 (Wed, 28 Nov 2007) | 6 lines Pass the correct variable to sizeof when copying the driver name. (closes issue #11352) Reported by: brettcar Patches: ztdynamic.c.patch uploaded by eliel (license 64) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3259 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-22Make sure that's disabled until I retest thatmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3245 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-21Merged revisions 3243 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3243 | mattf | 2007-11-21 17:51:48 -0600 (Wed, 21 Nov 2007) | 1 line Add new product support ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3244 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-21Merged revisions 3241 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3241 | mattf | 2007-11-21 16:45:32 -0600 (Wed, 21 Nov 2007) | 1 line Transcoder driver updates. Fixes G.723 no audio issues with latest drivers ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3242 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-14xpp r5010:tzafrir
* Fix a deadlock spotted on some SMP installations. * Improve (reduce) signal attenuation on FXO ports. * Increase FXS ring detect debounce interval. Merged revisions 3229-3232 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3233 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-11tor2ee doesn't build. Remove it. Closes #10278.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3226 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-10ztmonitor: Get rid of a pointless static buffer and strcpy.tzafrir
And also give a more useful conversion message. Merged revisions 3222 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3223 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-08Add dependency on newttilghman
Reported by: dimas Patch by: tilghman Closes issue #11199 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3221 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-07Don't try to generate bindir and mandir if there are no binaries to tzafrir
install (this causes an invalid install command). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3220 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-07make_firmware_object is now generated. Ignore it.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3219 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-07* zaptel-perl, genzaptelconf: Detect and list Rhino cards.tzafrir
* zaptel-perl: Fix reporting of empty slots in analog Digium cards. * genzaptelconf: More readable case-s. Merged revisions 3217 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3218 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-06Merged revisions 3215 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3215 | mattf | 2007-11-06 15:13:09 -0600 (Tue, 06 Nov 2007) | 1 line Cross port fxo line voltage monitoring patch from wctdm to wctdm24xxp ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3216 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-03Major update for tc4xxp driver. Fixes many outstanding issues related to ↵mattf
channel lockups, etc. It also raises the maximum channel count for g.729 to 120 channels. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3211 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-31Merged revisions 3205 via svnmerge from mmichelson
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3205 | mmichelson | 2007-10-31 16:08:15 -0500 (Wed, 31 Oct 2007) | 5 lines Fixed potential buffer overflow. See AST-2007-024 for more details ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3206 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-31Blocking merge of r3201 which is a backport from 1.4 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3202 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-28Firmware object file building does not depend anymore on another objecttzafrir
to be linked into the same module. That dependency existed solely for checking target binary properties in make_firmware_object . Those properties are now checked in autoconf. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3198 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-27Detect SELinux support (for install target) in autoconf.tzafrir
Can be manually overriden in configure or make. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3195 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-26If you depend on anything that is not in /usr/include/zaptel , you must tzafrir
build with the local zaptel.h . Otherwise you may mix two versions of Zaptel . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3190 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-26Merged revisions 3188 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3188 | mattf | 2007-10-26 10:08:37 -0500 (Fri, 26 Oct 2007) | 1 line Another clock polarity update. To fix garbage audio on some systems with the wctdm24xxp driver and VPMADT032 ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3189 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-26Remove obsolete drivers (replaced by wcusb).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3185 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-18Merged revisions 3169 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3169 | qwell | 2007-10-18 17:56:14 -0500 (Thu, 18 Oct 2007) | 4 lines Correct the name of the wct4xxp driver. Issue 11030 ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3170 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-18Make sure we only increment timingslips when there actually are timing ↵mattf
slips, instead of everytime we service the framer git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3161 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-18Fix zaptel_hardware's behaviour for unknown span types.tzafrir
Merged revisions 3157 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3158 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-18* zaptel-perl should not panic when there is no /proc/bus/usb (Closestzafrir
#11020). * Don't build metering by default for now. * And this is xpp rev 4900. * Make opermode work again. Merged revisions 3152-3153 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3154 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-16Update README yet again.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3147 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-16xpp r4892:tzafrir
* Zaptel/Hardware perl modules: - Use sysfs directly. Don't rely on lspci/lsusb. - Each device has a description and driver name. - Zaptel::Hardware::drivers() to show the list of required drivers for this system (see zaptel_drivers). - zaptel_hardware shows a description and a (suggested?) driver. * zt_registration sorts by Serial first and only then by connector. * USB_FW.hex replaces all the USB_11x0.hex . - Separate USB interface for the management processor. - Hence fpga_load can now work even with drivers loaded. * Fix firmware upgrading. * Fix manual firmware loading while auto-loading. Merged revisions 3142 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3143 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-16use latest Octasic API releasekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3139 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-12Merged revisions 3132 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3132 | mattf | 2007-10-12 17:19:58 -0500 (Fri, 12 Oct 2007) | 1 line Fix for false power alarms, as well as a clock polarity issue ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3133 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-07Update the links section (including an on-line HTML copy of the README).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3121 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-04* install_prereq is not a build script. Move it to main directorytzafrir
(which is our scripts directory). * Don't run/print install command when there's nothing to install. * Fix install_prereq command in README . Merged revisions 3109-3112 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3113 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-03New xpp release: r4786:tzafrir
* New firmware protocol version: 2.9 . * fpga_load: initial clean-ups before interface split. * genzaptelconf: Don't leave an empty directory behind (4784) * Increase xpp poll_timeout to 1000ms - useful for CentOS 4 (r4781). * Fix initialization anoyance: if AB don't answer to polls, don't waitfor_xpds, and show no waiting XPDs (r4725). * Disable dtmf_detect by default once again (r4712). * Don't check twice for asterisk to stop. The second test was done while Asterisk was still stopping (r4708). * Support building the kernel with M= instead of with SUBDIRS= , as used in some newer build systems (r4677). Merged revisions 3105 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3106 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-01No need to met those to changes back into 1.4 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3100 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-29* Document the usage of ./configure .tzafrir
* spacing. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3097 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-26Add a script to load package prerequisites (closes issue #10523)tilghman
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3094 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-23Ignore errors from fxotune -s. The channel can be used e.g. if Asterisktzafrir
is already running. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3090 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-22Re-disable dtmf_detection of the FXS module (From xpp rev 4712).tzafrir
Merged revisions 3084 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3087 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-22Make some improvements in how we do event retrievalmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3082 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-22Disable that for now (DTMF detection)mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3079 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-22Makefile Automatically enabling Zaptel MMX support. Disabled by defaulttzafrir
for now. * To enable, build with ZAPTEL_MMX_AUTO=yes (or any other non-empty value) * There is a white list of configuration values (without the prefix CONFIG_). One of them needs to be set in order for CONFIG_ZAPTEL_MMX to be enabled. * Only adds support for kernel 2.6 . If anybody finds a simple way to do the same with 2.4 - patches are welcomes. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3076 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-21Sort out print messages in ztdummy:tzafrir
* Proper priority to every message. * Remove a useless global. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3073 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-21fxotune must be run after ztcfg.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3070 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-20Remove DESTDIR from CONFIG_FILE, since we don't want DESTDIR passed in as ↵qwell
part of the -DZAPTEL_CONFIG. Closes issue #10764, pointed out by cabal95 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3067 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-20Disable native bridging pending resolving of some issuesmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3064 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-19Clarify that ztcfg prints the channel map before actually configuringtzafrir
channels. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3061 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-18Support building the kernel with M= instead of with SUBDIRS= , as used tzafrir
in some newer build systems. From xpp r4677. Merged revisions 3055 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3056 5390a7c7-147a-4af0-8ec9-7488f05a26cb