Prosody installation guide: diagnostic programs: chandebug

This program controls driver tracing.

Go to directory $(TiNG)/diag/chandebug.

There is no need to have downloaded any firmware - not even the kernel. The only requirement is that the driver be loaded.

Run chandebug with the appropriate options (the program is gen-LINUX/chandebug, gen-SOL_32/chandebug, or gen-WINNT/chandebug depending on which operating system you are using).

Command line options are:

-c card Specifies the card to operate on
-m module Specifies the module to operate on (default 0)
-d debugval the debug value - a bitmask of these bits:
valuemeaning
1Dump internal channel objects to trace. This is an action performed only once when you set this bit.
2Show future message traffic on trace. This bit stays set until you clear it.
4Show future data transfers on trace. This bit stays set until you clear it.

The source code for this program is provided (chandebug.c), however it uses API facilities which not part of the published API specification and which can therefore change without notice.


This is one of the Prosody diagnostic programs .