1XPP_SYNC(8)           User Contributed Perl Documentation          XPP_SYNC(8)
2
3
4

NAME

6       xpp_sync - Handle sync selection of Xorcom Astribanks.
7

SYNOPSIS

9       xpp_sync <auto|dahdi|nn>
10
11       xpp_sync [-v]
12

DESCRIPTION

14       On a normal operation one Astribank device provides timing for all the
15       other Astribank devices.
16
17       When run without parameters, xpp_sync will display a list of Astribanks
18       (xbuses) that are connected and registered as Dahdi spans. The current
19       xpp sync master will be marked.
20
21       If you this an Astribank is connected and yet it does not appear on the
22       output of xpp_sync, it may be unregistered. Try running
23       dahdi_registration .
24
25   Parameters
26       auto
27           Automatically selects the best Astribank for syncing.
28
29       dahdi
30           Gets synchronization from the Dahdi sync master.
31
32       nn  Sets XBUS-nn as sync source.
33
34       -v  Also print the numeric xpp sync rank.
35
36       (Parameter name is case-insensitive)
37
38   Example output:
39               Setting SYNC
40               Current sync: 01
41               Best Available Syncers:
42                + XBUS-01 (usb-0000:00:10.4-3) [usb:12345678]       [ PRI_TE PRI_NT PRI_TE PRI_NT ]
43                  XBUS-00 (usb-0000:00:10.4-2) [usb:QA-01]          [ FXS FXO ]
44               ==================================================
45               WARNING: FXO which is not the syncer cause bad PCM
46                        Affected Astribanks are:
47               --------------------------------------------------
48                       XBUS-00
49               ==================================================
50
51       In this example we see that the recommended xpp sync master is XBUS-02
52       - it is the first on the list. It is also the actual syncer, as we can
53       see from the '+' beside it.
54
55       xpp_sync is normally called from the dahdi init.d script.  The
56       parameter it is called with defaults to auto, but it is possible to
57       override that parameter (e.g: set it to dahdi) through the value of
58       XPP_SYNC in /etc/dahdi/init.conf .
59

FILES

61       /sys/bus/astribanks/drivers/xppdrv/sync
62           xpp_sync is essentially a nicer interface to
63           "/sys/bus/astribanks/drivers/xppdrv/sync". That file shows the
64           current xpp sync master.
65
66           Writing to it, force XPP drivers to use a different sync master
67

SEE ALSO

69       dahdi_registration(1), dahdi_cfg(1), README.Astribank
70
71
72
73perl v5.32.1                      2021-01-26                       XPP_SYNC(8)
Impressum