summaryrefslogtreecommitdiff
path: root/xpp
AgeCommit message (Collapse)Author
2008-01-10Complete the renaming of Makefile (to reduce merge issues with local xpptzafrir
copy). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3644 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-10xpp.r5254:tzafrir
* Improved polarity reversal hangups in FXO (r5194). Fixed false detection of polarity reversals. * Optimize xframe allocation, by not zeroing the whole memory (in get_xframe()). * Fixed erronous error message that appeared sometimes from fpga_load during USB renumeration. * Zaptel::Chans now provides battery() reporting for some FXO channels (Astribank FXO and wcfxo). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3643 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-27Update documentation. Mainly regarding the PRI module.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3564 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-24* XppUtils.pm renamed Zaptel::Utils.pm .tzafrir
* Some more documentation. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3555 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-19* A few more fixes to card_pri.tzafrir
* Do use "crc4" for E1 by default when generating zaptel.conf . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3540 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-18xpp r5151:tzafrir
* xpd_pri: Basically ready. * PCM synchronization changes: - Each Astribank unit ticks independently. Each with its own PLL. - HOST synchronization is gone. Loading of xpp will no longer cause useless 250 ticks per second if you have no Astribank. - Synchronization from the zaptel sync master requires setting ZAPTEL as sync source (xpp_sync ZAPTEL). * rx_tasklet is now a parameter of the module xpp, rather than of xpp_usb. * New FPGA firmware: 5128 (1151) / 5122 (1141, 1131): - Fixes synchronization issues. - PRI module: E1 should now work. * perl module and utilities: - Modules no longer magically scan system on initialization. - Scanning is by calling explicit methods. - "Serial" has been renamed "Label". It is basically unique, but should be modifieble. - Some basic documentation of zaptel perl modules. * Default sort order of zt_registration is back to SORT_CONNCTOR. * zt_registration proc file now shows the number of span registered to if registered. Try: grep . /proc/xpp/XBUS-*/XPD-*/zt_registration * genzaptelconf: Allow using a custom command instead of /etc/init.d/asterisk to start/stop asterisk. * Fixed the typo "Slagish". git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3506 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Fix the typo for the case of using M= instead of SUBDIRS= .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3415 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-14Changelog for xpp r5010.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3232 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-14Increase FXS ring detect debounce interval.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3231 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-14Improve (reduce) signal attenuation on FXO ports.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3230 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-11-14Fix a deadlock spotted on some SMP installations.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3229 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. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3217 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-18Fix zaptel_hardware's behaviour for unknown span types.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3157 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. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3153 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-18Make opermode work again.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3152 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. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3142 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). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3105 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-22Re-disable dtmf_detection of the FXS module (From xpp rev 4712).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3084 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. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3055 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-14New xpp release (Xorcom rev 4648):tzafrir
* New firmware protocol version: 2.8 . * New firmwares fix input ports offhook. * Cleanup INFO() messages during module loading. * USB: Receive queue with TASKLETS [r4600]. Controlled by rx_tasklet parameter to xpp_usb module (can be changed in runtime). * The pcm_tasklet parameter in xpp module is deprecated: - Does not actually do anything. - If set during module loading, shows an ERR() message. - Also appears in /proc/xpp/sync * FXS: Hardware DTMF detection by default, can be disabled by setting dtmf_detection=0 parameter to xpd_fxs. PCM is muted when DTMF key is pressed. * zapconf: - Can now generate users.conf compatible with asterisk-gui. - Optional command-line arguments denoting which files to generate. Possible values are 'zaptel', 'zapata' and 'users'. - Defaults to creating zaptel and zapata. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3019 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-09* Remove a warning (no point bothering everybody about it).tzafrir
* ignore perlcheck. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3005 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-09-09xpp.r4584:tzafrir
* New firmware to fix FXS leds irregularities. * Less noise at build time - don't echo version, test compile only once. * zapconf can generate users.conf snippets. * xpd_pri: initial version. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3004 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-21Fix building on kernel 2.6.23rc1, from Axel Thimm (xpp r4523).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2919 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-19Fix README.Astribank with asciidoc 8.2.2: make "underlining" moretzafrir
strict. (xpp r4519) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2906 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-16xpp rev. 4515:tzafrir
* BRI improvement: an 'nt_keepalive' parameter to xpd_bri forces a BRI_NT to retry a connection indefinitely (this is our default). When false it revert to the behaviour in changeset:4415 ("Bezeq like") * Improvement in DBG macros. The print_dbg parameter is now set of flags to debug. They are defined in zap_debug.h * Don't use Astribanks connected to USB1 interfaces Unless the user set the option usb1=1 for xpp_usb (r4504). * And some more documentation... * Include some of our variables in the default zaptel sample file. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2860 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-14Merging a few small changes Xorcom:tzafrir
* Marked with no. 4416, to note that major changes after 4415 were note merged yet. * Demote the messages about PCM in non-PCM from notice to debug (r4501). * Fix sample BRI zapata.conf: NT instead of TE (r4498). * Disable FXS hardware DTMF detection by default (r4492). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2832 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-05Extra Zaptel PCI IDs (from Philipp Kempgen). From Xorcom r4466.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2818 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-01xpp.r4415:tzafrir
* Show Astribank 6+2 as 6/2 channels and not 8/8 channels. - Added as a "subtype" to the device type (r4391). * Fixed a panic in BRI span shutdown method (r4393). * Changes to debug macros. * Add proper sysfs support (r4406) - A bus on whuch all of the Astribanks reside. - Replaces useless sysfs code that existed in the module. - Currently used to set the sync source automatically at device adition / removal. * BRI: We do need the T1 timer in NT. If it gets into G2 state (rr4407). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2811 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-20New product support, new echo canceler and new boardsmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2761 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-19* Generate list of Zaptel Modules directories automatically.tzafrir
* Evaluate PERLLIBDIR only once. Closes: #10223 (Xorcom changeset:4379) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2758 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-13* Update documentation on perl utilities.tzafrir
* But we do need to ignore their man pages. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2735 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-12xpp driver r4371:tzafrir
* Update to zaptel-1.2.18 and zaptel-1.4.3 (r4308 onward) * Fix a critical race with zaptel synchronization (r4362) * Added a /proc/xpp/cmds for statistics about command timing (r4360) * Fix a digit mapping bug with hardware dtmf detection (r4357) * In xpp/utils/Makefile add perl syntax checks to our scripts (r4337) * Better USB data error checking (r4336) * udev rules (xpp.rules) avoid false calls from wrong nodes (r4331) * Improve hardware detection and reporting in lszaptel, zaptel_hardware. zapconf is basically functional. * Leds are blinked synchronously on all Astribanks now (r4262) * Fix a BRI bug if OPTIMIZE_CHANMUTE was compiled into zaptel (r4258) (This feature was not yet accepted into official zaptel) * Removed compile warning about HZ != 1000 (r4218) * Firmware updates. * fpga_load now supports USB pathes without zeros (r4211) * XPD numbers have changed to '<Unit><Subunit>' (r4196) * Proper support for ZT_VMWI ioctl, if used in zaptel (r4092) * Fix FXO power denial detection (r4054) * FXO could accidentally go off-hook with some compilers (r4048) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2732 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-11* Enable zaptel-perl by default.tzafrir
* Clunky shell xpp init functions replaced with better perl utilities. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2710 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-07Some XPP bugfixes:tzafrir
* Fix FXO power denial detection (changeset:4054) * Incorrect data type could cause FXO module to go off-hook (changeset:4048) * xpp_fxloader: fix the error message when you want to disable automatic firmware loading... (changeset:4060) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2589 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17The makefile change needed for parport debugging (only used if parport tzafrir
debugging is enabled). Accedintally left out of previous commit. Has no effect by default. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2534 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17* Tested with zaptel-1.2.17.1tzafrir
* Add D-Channel TX, RX and BAD frames count in /proc/xpp/XBUS-*/XPD-*/bri_info * Adjust output of xpp_sync script. Pad for 8 port BRI. * Added a debugging module parport_debug (not compiled by default). * Added an optional patch to zaptel: - compiles only if ZAPTEL_SYNC_TICK is defined - Allow interested driver to register for "sync" notification. - Does not affect drivers that do not use this feature. * Added external synchronization feature: - Only if ZAPTEL_SYNC_TICK feature is compiled in - Than XPP may be synchronized by another card (e.g: an Astribank with FXS can be synchronized by a Digium PRI card). - May be enabled/disabled in runtime via the 'sync_tick_active' module parameter to the xpp.ko module. * Fixed a potential bug in D-Channel hexdump printing. * New visual indications in BRI leds: - Constant ON RED/GREEN: Shows the port type -- NT/TE. - Very fast "double blink": Layer1 work, no D-Channel yet. - Steady blinking (1/2 sec): D-Channel trafic detected. * xpp_fxloader moved to /usr/share/zaptel . * adj_clock removed: never really used. * Debugfs code now disabled by default. * Now we have Zaptel::Hardware and a sample zaptel_hardware script (not (installed by default). * We also have a sample perl zapconf (not installed by default) which aims at replacing genzaptelconf (sans the modules detection). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2529 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17The debugfs code seems to have some bad sideeffects when badly used.tzafrir
So don't enable it by default. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2520 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-29xpp rev. 3814:tzafrir
* Protocol no. 2.6: syncing improvements. * Support for 8-port Astribank BRI. * Firmware unloading now works: rmmod xpp_usb; /etc/hotplug/usb/xpp_fxloader reset * Defaults of kernel parameters are now part of parameter description. * World-readable kernel parameters. * No need for extra patch beyond bristuff for Astribank BRI. * Default poll intervals changed: 500 in BRI and FXO. * Allow changing FXS polls interval at run time. * BRI initalization fixed on SUSE (path to logger). * When using the SUSE zaptel rpm package, set modules_var=ZAPTEL_MODULES in /etc/sysconfig/zaptel . * zt_registration not verbose by default. * xpp_sync warns if FXO is sync slave. * Fixed genzaptelconf -z (zapscan output emulation). * PCM fixes. * Solves "multiple ticks" bug. No need for pcm_tasklets workaround. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2475 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-29Beginning commit of rev. 3814:tzafrir
renaming xpd init scripts, as the protocol version has changed. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2473 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-05Found a proper "marker" for the gfp_t typedef. Now every 2.6.9 is supported.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2286 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-02Clarify a cyptic build message.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2266 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-01SLAB_KERNEL is an obsolete alias of GFP_KERNEL. Fix build on Vanilla 2.6.20 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2257 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-28Make the xpp/utils/Makefile in 1.2 closer to the one in 1.4 tzafrir
(and actually work, this tine). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2252 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-28* xpp rev. 3495: fix a race in the FXO driver of recent weeks.tzafrir
* Add the Astribank BRI driver (though still needs bristuffed zaptel to build and thus will not build by default) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2243 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-27Xorcom rev. 3491:tzafrir
* Version of xpp modules is set from xpp/.version, rather than "unknown". * Astribank devices are now initialized in parallel: faster startup when there are multiple Astribanks. * Re-added support for the old format of /proc/xpp/sync write: (echo N 0 > /proc/xpp/sync ) . The new format (SYNC=NN) is preffered. * Firmware update to fix a PCM issue. * Fixed a build issue with kernel 2.6.8 . * Fixed missing initialization in Zaptel::Xpp::Xbus . * genzaptelconf will now set FXS ports as LS by default. To set them as KS, use fxs_default_start=ks in /etc/default/zaptel / /etc/sysconfig/zaptel (Also a workaround for #7755 ). * Groundwork for sync from zaptel master span: if zaptel is built with ZAPTEL_SYNC_TIC (see zaptel/team/tzafrir/sync ), xpp will report its drift from the zaptel sync master. * USB firmware update: had bad lines checksums (and fxload did not report). * fpga_load can now better report bad hex file checksum ;-) . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2239 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-24Add the Zaptel and Zaptel::Xpp perl modules, and some simple tzafrir
utilities that use them. disabled by default for now. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2223 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-24Make the xpp/utils/Makefile in 1.2 closer to the one in 1.4 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2222 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-11struct inode and debugfs: break some Fedoras rather than all others.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2150 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-07oops... missed a line in all the back-and-forth mergingkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2122 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-02-07don't reference ZAPTEL_DIR before it has been definedkpfleming
don't print a pointless 'Compile for Unknown' message (if you want a version string, use the top-level version string that we've already created) use a simpler method of conforming to the 2.6.20 workqueue API... there is no need to document the change in the code, nor #define entries that are only used in one place git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2118 5390a7c7-147a-4af0-8ec9-7488f05a26cb