XPP_SYNC(8)

πŸ‘‘ XPP_SYNC β€” the Astribank sync queen πŸ’…

okay bestie, welcome to XPP_SYNC(8), from the User Contributed Perl Documentation collection ✨ this little baddie is literally the vibe-check for your Xorcom Astribank synchronization, and she's about to explain everything 🫢


✨ NAME ✨

xpp_sync β€” Handle sync selection of Xorcom Astribanks. that's it, that's the job, and she does it flawlessly πŸ’–


🌸 SYNOPSIS 🌸

xpp_sync <auto|dahdi|nn>

xpp_sync [-v]

πŸ¦‹ DESCRIPTION πŸ¦‹

so in normal operation, one Astribank device provides timing for all the other Astribank devices. one main character, everyone else follows. iconic behavior honestly πŸ‘‘

When you run xpp_sync with no parameters, it'll show you a list of Astribanks (the xbuses) that are connected and registered as Dahdi spans. The current xpp sync master gets marked so you know who's holding the crown πŸ’–

Wait, one of your Astribanks is connected but NOT showing up in the xpp_sync output? 😭 She's probably unregistered bestie. Try running dahdi_registration.

πŸŽ€ Parameters πŸŽ€

  • auto β€” Automatically selects the best Astribank for syncing. let her choose, she has taste ✨
  • dahdi β€” Gets synchronization from the Dahdi sync master. passing the crown upstream, slay πŸ’…
  • nn β€” Sets XBUS-nn as sync source. picking your fave by name, we love a decisive queen 🫢
  • -v β€” Also print the numeric xpp sync rank. receipts, numbers, data. obsessed πŸ“Š
(Parameter name is case-insensitive) β€” so scream it, whisper it, whatever, no cap 🩷

🌈 Example output 🌈

Setting SYNC
Current sync: 01
Best Available Syncers:
 + XBUS-01 (usb-0000:00:10.4-3) [usb:12345678]       [ PRI_TE PRI_NT PRI_TE PRI_NT ]
   XBUS-00 (usb-0000:00:10.4-2) [usb:QA-01]          [ FXS FXO ]
 ==================================================
 WARNING: FXO which is not the syncer cause bad PCM
          Affected Astribanks are:
 --------------------------------------------------
         XBUS-00
 ==================================================

so in this example we see that the recommended xpp sync master is XBUS-02 β€” she's the first one on the list πŸ₯‡ and she's also the actual syncer, which we can tell from the + sitting right beside her. main character confirmed πŸ’–

⚠️ alsoooo take note: FXO which is not the syncer cause bad PCM 😭 and the affected Astribank in this case is XBUS-00. read your warnings, bestie.

xpp_sync is normally called from the dahdi init.d script. the parameter it gets called with defaults to auto, but you can override that parameter (e.g: set it to dahdi) through the value of XPP_SYNC in /etc/dahdi/init.conf ✨ custom configuration is a whole lifestyle, live your truth πŸ’…


πŸ“ FILES πŸ“

  • /sys/bus/astribanks/drivers/xppdrv/sync β€” xpp_sync is essentially a nicer interface to /sys/bus/astribanks/drivers/xppdrv/sync. That file shows the current xpp sync master. 🌸

Writing to it, force XPP drivers to use a different sync master πŸ’«


πŸ’œ SEE ALSO πŸ’œ

dahdi_registration(1), dahdi_cfg(1), README.Astribank β€” go read the girlies, they're all part of the same friend group 🫢


k bye bestie, go sync your Astribanks, you got this πŸ’… this page shipped with perl v5.40.1, dated 2026-06-15 β€” yes that's the XPP_SYNC(8) energy, periodt βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from