1
Tue, 13 May 2008 Oron Peled <oron@actcom.co.il> - xpp.r5744
2
* New firmware protocol version: 30
3
* New numbers for the device types: (e.g. in card_init* scripts)
6
- BRI: 3 (was: 6 for TE, 7 for NT)
8
* Init scripts of FXS and FXO modules are now written in Perl as well
9
(be sure to have File::Basename, e.g: perl-modules in Debian).
10
* calibrate_slics merged into init_card_1_30 .
11
* Each of the init_card_* scripts now runs no more than once per card even
12
if this card represents several XPD's (e.g: quad PRI, BRI). This means
13
maximum of 4 script runs per Astribank.
14
* Zaptel registration now briefly flash all LED's (not just the green ones as
16
* Module parameter print_dbg was renamed to debug for consistency with
18
* init_fxo_modes removed: content moved into init_card_2_30, verified
20
* FXO: removed polling for power-denial. New firmware notifies us.
21
* Code tested with sparse. Most warnings were fixed.
22
* Set ZT_SIG_DACS for the bchans in the PRI and BRI modules to not get
24
* fpga_load: Handle null config_desc we get from some crazy USB controllers.
25
* genzaptelconf: Fix reporting of empty slots in list mode.
26
* xpp_blink can now blink the led of a single analog port.
27
* "slics" has been renamed "chipregs".
28
* Fixed a small typo in fpga_load(8).
29
* Fixed bashism in xpp_fxloader.
31
Thu, 20 Mar 2008 Oron Peled <oron@actcom.co.il> - xpp.r5566
33
- Zaptel >= 1.4.9 is migrating to storing kernel stuff in zaptel/kernel/*
34
- We conditionally use old/new directory scheme:
35
In xpp/Kbuild and xpp/utils/Makefile use ZAP_KERNEL variable, so it's
36
not confused with ZAPTEL_DIR (which appears in zaptel/Makefile as well).
37
- Fix compile warnings on 64 bit systems.
38
- Compile fixes for kernel-2.6.24
40
- /etc/udev/rules.d/xpp.rules now uses XPP_INIT_DIR to find astribank_hook.
41
- astribank_hook: Modify to do nothing. Add some documentation.
42
* Autoconfiguration -- zapconf:
43
- Don't fail zapconf et.al. if no config file was found.
44
- Skip the 'IRQ Missing:' line in /proc/zaptel/nnn for wcte1xp(?).
45
- Add some newer Digium cards to our hardware inventory.
46
- Partially handle cases where the /proc/zaptel strings does not contain
47
info about E1/T1/J1 or NT/TE.
49
- Finer tuning of PLL (New firmware).
50
- Change calculation algorithm of sync offset. It now copes better
51
with the variance in USB frame reception timing.
53
. The view of results was moved from /proc/xpp/XBUS-*/summary to
54
a new /sys/bus/astribanks/devices/xbus-*/timing and enhanced.
55
. A new xpp_timing script shows all astribanks.
56
. A new write only /sys/bus/astribanks/devices/xbus-*/cls is
57
used to clear statistics. Eventually, clearing of XBUS related
58
statistics should be done here. One that was migrated is the
59
clearing of 'PCM [TR]X:' numbers currently appearing in
60
/proc/xpp/XBUS-*/summary (they should be moved too later).
61
- Shorten the strings representation sync_mode ("SYNC_MODE_AB" -> "AB")
62
adapted their use in printk and /proc so the text is clear.
63
- Added a command line parameter xpp.disable_pll_sync to stop all
64
adjustments command to AB (calculations still continue as usual).
67
- set clocking master span via ztcfg, like other zaptel devices.
69
- Fix false hangups in some countries (voltage fluctuations).
70
- Some countries send caller-id before first ring.
71
Added code to handle caller-id PCM pass through according to
72
a new command line parameter (xpd_fxo.caller_id_style).
73
- No longer sends an event on zt_open. See #12160 .
74
* FXS: Re-enable dtmf_detection.
76
- Adapt to zaptel-1.4.8 and above ztscan: added fields returend by
77
new ZT_SPANSTAT_V2 ioctl()
78
- Document sysfs and waitfor_xpds.
79
- Miscelaneous optimizations and bugfixes.
80
- Remove deprecated pcm_tasklet parameter. The rx_tasklet parameter has
81
replaced it a long time ago.
82
- Add RX_CMD counter to /proc/xpp/XBUS-*/summary
83
- Unclutter some of the usb disconnect messages.
84
- xpp_usb: minor preformance improvements in receive.
85
Expose the number of pending receive URB's in /proc/xpp/XBUS-*/xpp_usb
86
Thu Jan 10 2008 Oron Peled <oron.peled@xorcom.com> - xpp.r5254
87
* Improved polarity reversal hangups in FXO (r5194).
88
Fixed false detection of polarity reversals.
89
* Optimize xframe allocation, by not zeroing the whole
90
memory (in get_xframe()).
91
* Fixed erronous error message that appeared sometimes
92
from fpga_load during USB renumeration.
93
* Zaptel::Chans now provides battery() reporting for some FXO
94
channels (Astribank FXO and wcfxo).
96
Tue Dec 25 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r5179
97
* xpd_pri: Basically ready.
98
* PCM synchronization changes:
99
- Each Astribank unit ticks independently. Each with its own PLL.
100
- HOST synchronization is gone. Loading of xpp will no longer cause
101
useless 250 ticks per second if you have no Astribank.
102
- Synchronization from the zaptel sync master requires setting
103
ZAPTEL as sync source (xpp_sync ZAPTEL).
104
* rx_tasklet is now a parameter of the module xpp, rather than of xpp_usb.
105
* New FPGA firmware: 5128 (1151) / 5122 (1141, 1131):
106
- Fixes synchronization issues.
107
- PRI module: E1/T1 should now work.
108
* perl module and utilities:
109
- Modules no longer magically scan system on initialization.
110
- Scanning is by calling explicit methods.
111
- "Serial" has been renamed "Label". It is basically unique, but
112
should be modifieble.
113
- Some basic documentation of zaptel perl modules.
114
* Default sort order of zt_registration is back to SORT_CONNCTOR.
115
* zt_registration proc file now shows the number of span registered to
116
if registered. Try: grep . /proc/xpp/XBUS-*/XPD-*/zt_registration
117
* genzaptelconf: Allow using a custom command instead of
118
/etc/init.d/asterisk to start/stop asterisk.
119
* Fixed the typo "Slagish".
121
Wed Nov 14 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r5010
122
* Fix a deadlock spotted on some SMP installations.
123
* increase FXS ring detect debounce interval.
124
* Improve (reduce) signal attenuation on FXO ports.
125
* zaptel-perl: further fixes to handling of empty slots.
127
Wed Oct 3 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r4900
128
* Zaptel/Hardware perl modules:
129
- Use sysfs directly. Don't rely on lspci/lsusb.
130
- Each device has a description and driver name.
131
- Zaptel::Hardware::drivers() to show the list of required drivers
132
for this system (see zaptel_drivers).
133
- zaptel_hardware shows a description and a (suggested?) driver.
134
* zt_registration sorts by Serial first and only then by connector.
135
* USB_FW.hex replaces all the USB_11x0.hex .
136
- Separate USB interface for the management processor.
137
- Hence fpga_load can now work even with drivers loaded.
138
* Fix firmware upgrading.
139
* Fix manual firmware loading while auto-loading.
140
* Fix opermode parameter for FXO initialization (broken in r4648).
142
Wed Oct 3 2007 Oron Peled <oron@actcom.co.il> - xpp.r4786
143
* New firmware protocol version: 2.9 .
144
* fpga_load: initial clean-ups before interface split.
145
* genzaptelconf: Don't leave an empty directory behind (4784)
146
* Increase xpp poll_timeout to 1000ms - useful for CentOS 4 (r4781).
147
* Fix initialization anoyance: if AB don't answer to polls, don't
148
waitfor_xpds, and show no waiting XPDs (r4725).
149
* Disable dtmf_detection by default once again (r4712).
150
* Don't check twice for asterisk to stop. The second test was done
151
while Asterisk was still stopping (r4708).
152
* Support building the kernel with M= instead of with SUBDIRS= , as
153
used in some newer build systems (r4677).
155
Tue Sep 11 2007 Oron Peled <oron@actcom.co.il> - xpp.r4648
156
* New firmware protocol version: 2.8 .
157
* Cleanup INFO() messages during module loading.
159
* USB: Receive queue with TASKLETS [r4600]. Controlled by rx_tasklet
160
parameter to xpp_usb module (can be changed in runtime).
161
* The pcm_tasklet parameter in xpp module is deprecated:
162
- Does not actually do anything.
163
- If set during module loading, shows an ERR() message.
164
- Also appears in /proc/xpp/sync
166
* FXS: Hardware DTMF detection by default, can be disabled
167
by setting dtmf_detection=0 parameter to xpd_fxs.
168
PCM is muted when DTMF key is pressed.
171
- Can now generate users.conf compatible with asterisk-gui.
172
- Optional command-line arguments denoting which files to generate.
173
Possible values are 'zaptel', 'zapata' and 'users'.
174
- Defaults to creating zaptel and zapata.
176
* Update to zaptel-1.4.5.1, zaptel-1.2.20.1
177
* Fix building on kernel 2.6.23rc1, from Axel Thimm.
178
* New firmware to fix FXS leds irregularities.
179
* Less noise at build time - don't echo version, test compile ony once.
180
* zapconf can generate users.conf snippets.
182
Thu Aug 16 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r4515
183
* Don't use Astribanks connected to USB1 interfaces
184
Unless the user set the option usb1=1 for xpp_usb (r4504).
185
* README.Astribank can now be generated from the makefile (r4503).
186
* Demote the messages about PCM in non-PCM from notice to debug (r4501).
187
* Fix sample BRI zapata.conf: NT instead of TE (r4498).
188
* Disable FXS hardware DTMF detection by default (r4492).
189
* Extra Zaptel PCI IDs (from Philipp Kempgen) (r4466).
191
Thu Aug 2 2007 Oron Peled <oron@actcom.co.il> - xpp.r4464
192
* Jump to zaptel-1.2.19 and zaptel-1.4.4 (with/without bristuff)
193
* BRI improvement: an 'nt_keepalive' parameter to xpd_bri forces
194
a BRI_NT to retry a connection indefinitely (this is our default).
195
When false it revert to the behaviour in changeset:4415 ("Bezeq like")
196
* Improvement in DBG macros. The print_dbg parameter is now set of
197
flags to debug. They are defined in zap_debug.h
198
* PRI configuration improvements (r4462):
199
- Hardcoded default (in init_card_9_26) is TE.
200
- The variable XPP_PRI_SETUP (in /etc/default/zaptel) may config
201
all PRI ports or some of them as we wish. Full docs are in
202
the utils/example_default_zaptel.
203
* PRI D-channel indication: Similar to BRI (r4464).
205
Thu Jul 30 2007 Oron Peled <oron@actcom.co.il> - xpp.r4415
206
* Show Astribank 6+2 as 6/2 channels and not 8/8 channels.
207
- Added as a "subtype" to the device type (r4391).
208
* Fixed a panic in BRI span shutdown method (r4393).
209
* Changes to debug macros.
210
* Add proper sysfs support (r4406)
211
- A bus on whuch all of the Astribanks reside.
212
- Replaces useless sysfs code that existed in the module.
213
- Currently used to set the sync source automatically at device
215
* BRI: We do need the T1 timer in NT. If it gets into G2 state (rr4407).
217
Thu Jul 12 2007 Oron Peled <oron@actcom.co.il> - xpp.r4372
218
* Update to zaptel-1.2.18 and zaptel-1.4.3 (r4308 onward)
219
* Fix a critical race with zaptel synchronization (r4362)
220
* Added a /proc/xpp/cmds for statistics about command timing (r4360)
221
* Fix a digit mapping bug with hardware dtmf detection (r4357)
222
* In xpp/utils/Makefile add perl syntax checks to our scripts (r4337)
223
* Better USB data error checking (r4336)
224
* udev rules (xpp.rules) avoid false calls from wrong nodes (r4331)
225
* Improve hardware detection and reporting in lszaptel,
226
zaptel_hardware. zapconf is basically functional.
227
* Leds are blinked synchronously on all Astribanks now (r4262)
228
* Fix a BRI bug if OPTIMIZE_CHANMUTE was compiled into zaptel (r4258)
229
(This feature was not yet accepted into official zaptel)
230
* Removed compile warning about HZ != 1000 (r4218)
232
* xpd_pri: the PRI module
233
* fpga_load now supports USB pathes without zeros (r4211)
234
* XPD numbers have changed to '<Unit><Subunit>' (r4196)
235
* Proper support for ZT_VMWI ioctl, if used in zaptel (r4092)
236
* Fix FXO power denial detection (r4054)
237
* FXO could accidentally go off-hook with some compilers (r4048)
239
Tue May 1 2007 Oron Peled <oron@actcom.co.il> - xpp.r3898
240
* Tested with zaptel-1.2.17.1
241
* Add D-Channel TX, RX and BAD frames count in /proc/xpp/XBUS-*/XPD-*/bri_info
242
* Adjust output of xpp_sync script. Pad for 8 port BRI.
243
* Added a debugging module parport_debug (not compiled by default).
244
* Added an optional patch to zaptel:
245
- compiles only if ZAPTEL_SYNC_TICK is defined
246
- Allow interested driver to register for "sync" notification.
247
- Does not affect drivers that do not use this feature.
248
* Added external synchronization feature:
249
- Only if ZAPTEL_SYNC_TICK feature is compiled in
250
- Than XPP may be synchronized by another card (e.g: an Astribank
251
with FXS can be synchronized by a Digium PRI card).
252
- May be enabled/disabled in runtime via the 'sync_tick_active' module
253
parameter to the xpp.ko module.
254
* Fixed a potential bug in D-Channel hexdump printing.
255
* New visual indications in BRI leds:
256
- Constant ON RED/GREEN: Shows the port type -- NT/TE.
257
- Very fast "double blink": Layer1 work, no D-Channel yet.
258
- Steady blinking (1/2 sec): D-Channel trafic detected.
259
* xpp_fxloader moved to /usr/share/zaptel .
260
* adj_clock removed: never really used.
262
Thu, 19 Apr 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r3814
263
* No need for extra patch beyond bristuff for Astribank BRI.
264
* Protocol no. 2.6: syncing improvements.
265
* Default poll intervals changed: 500 in BRI and FXO.
266
* Allow changing FXS polls interval at run time.
267
* BRI initalization fixed on SUSE (path to logger).
268
* When using the SUSE zaptel rpm package, set modules_var=ZAPTEL_MODULES in
269
/etc/sysconfig/zaptel .
270
* zt_registration not verbose by default.
271
* xpp_sync warns if FXO is sync slave.
272
* Extra PCM metrics data in /proc/xpp/XBUS-NN/summary .
273
* Extra USB metrics data in /proc/xpp/XBUS-NN/usb_info .
275
Wed, 11 Apr 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r3768
276
* Removed "go away" notice and solved sync of a restarted device.
277
* Resetting firmware: rmmod xpp_usb; /etc/hotplug/usb/xpp_fxloader reset
278
* Perl modules use strict.
279
* genzaptelconf -F will not generate zapata configuration for NT spans.
280
* genzaptelconf uses perl utilities to start.
281
* Initial support for 2nd XHFC (BRI) chip.
283
Sun, 1 Apr 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r3712
284
* New protocol version (2.5).
285
* Luckily firmware unloading now works.
286
* Solves "multiple ticks" bug. No need for pcm_tasklets workaround.
287
* genzaptelconf -z will generate zapscan.conf for the asterisk-gui.
288
* Fixed hardware detection for the BRI.
290
Wed, 14 Mar 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r3608
291
* Initial verssion of firmware unloading.
293
* Defaults of kernel parameters are now part of parameter description.
294
* Removed zaptel sync code for now.
295
* genzaptelconf will detect vzaphfc.
296
* genzaptelconf defaults to ptmp for BRI.
297
* Documentation updates.
299
Mon, 26 Feb 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r3517
300
* genzaptelconf now uses ls for FXS lines by default .
301
* World-readable kernel parameters.
303
Thu, 22 Feb 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r3440
304
* /proc/xpp/sync: 'm 0' is, while depracated, can still be used.
305
* New firmware with PCM improvements.
306
* Improvements to the xpp helper scripts.
308
* zaptel/perl is now installed by xpp/utils/Makefile.
310
Wed, 14 Feb 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r3365
311
* Kewlstart support on the FXS ports (already existed on the FXO ports).
312
* The format of /proc/xpp/sync has changed (still self-documented).
313
* Better notification of FXS lines that were off-hook on registration time.
314
* Parallel polling of Astribanks (faster startup when there are multiple
316
* zconf: scripts and perl modules to automate the work with Zaptel and the
317
Astribank. Current scripts: zt_registration, xpp_sync.