SysTutorials

Linux Manual Pages › Section 8

xpp_blink(8)

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.

Blink mode:

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'