xpp_blink

Langue: en

Version: 2008-06-19 (ubuntu - 25/10/10)

Section: 8 (Commandes administrateur)

NAME

xpp_blink - Blink the leds of a specified XPD

SYNOPSIS

xpp_blink {on|off|bzzt} {span <number> | chan <number> | xpd <bus num> [<xpd num> [<lineno>]]}

DESCRIPTION

Blink all the leds of an XPD.
on
Turn on constant blink
off
Turn off blink
bzzt
Blink briefly for 1 second.

Selector:

span
Select by span number. This only work for XPD registered to dahdi.

will also print the dahdi channels of the span and the xbus/xpd this span represents.

chan
Select by channel number. This only work for XPD registered to dahdi.
xpd
Select by xbus + xpd numbers. If only xbus number is given, all the XPDs of the selected xbus (Astribank) are blinked.
label
Select by xbus label. Affect the whole Astribank.

EXAMPLES

   $ xpp_blink bzzt span 2
   Using XBUS-04/XPD-10 (connected via usb-0000:00:1d.7-1): channels 15 16 17 18 19 20 21 22
 
   $ xpp_blink bzzt chan 18
 
   $ xpp_blink on xpd 0 1 5
 
   $ xpp_blink off xpd 0
 
   $ xpp_blink bzzt label 'usb:00000238'