zt_registration(8)
NAME
zt_registration - Handle registration of Xorcom XPD modules in zaptel.
SYNOPSIS
zt_registration [on|off]
DESCRIPTION
Without parameters, show all connected XPDs sorted by physical
connector order. Each one is show to be unregistered (off), or
registered to a specific zaptel span (the span number is shown).
All registerations/deregisterations are sorted by physical connector
string.
- Span registration should generally always succeed. Span unregistration
may fail if channels from the span are in use by e.g. asterisk. In such
a case you'll also see those channels as '(In use)' in the output of
lszaptel(8). - Parameters
- off -- deregisters all XPD's from zaptel.
- on -- registers all XPD's to zaptel.
- Sample Output
- An example of the output of zt_registration for some registered
Astribanks:
$ zt_registration
XBUS-02 [] usb-0000:00:1d.7-4XBUS-00/XPD-00: on Span 1
XBUS-00/XPD-10: on Span 2XBUS-00 [usb:00000126] usb-0000:00:1d.7-2XBUS-02/XPD-00: on Span 3
XBUS-02/XPD-10: on Span 4
XBUS-02/XPD-20: on Span 5
XBUS-02/XPD-30: on Span 6XBUS-01 [usb:00000128] usb-0000:00:1d.7-1XBUS-01/XPD-00: on Span 7
XBUS-01/XPD-10: on Span 8
XBUS-01/XPD-20: on Span 9
XBUS-01/XPD-30: on Span 10
FILES
- /proc/xpp/XBUS-nn/XPD-mm/zt_registration
- Reading from this file shows if if the if the specific XPD is
registered. Writing to it 0 or 1 registers / unregisters the
device. - This should allow you to register / unregister a specific XPD
rather than all of them.