NAME
hisaxctrl - configure HiSax-Module
SYNOPSIS
hisaxctrl
DriverId command parameters
DESCRIPTION
hisaxctrl
is used to setup the HiSax-ISDN device driver.
All logging-output is sent to the device /dev/isdnctrl. So you can show it
by executing
R cat /dev/isdnctrl .
NOTE:
for
devfs
systems, the program will automatically use /dev/isdn/isdnctrl if available.
The use of
hisaxctrl
only makes sense if you are using the HiSax driver.
OPTIONS
DriverId
is used to identify the card when using more than one passive card. While
loading the hisax module with
R insmod , or modprobe
the DriverId is set by appending
I id= idstring1 % idstring2 %...
to the commandline.
command
is an integer selecting the setup category. The following values are
defined for setting the logging-level of the HiSax-ISDN device driver:
R 0 reports card status infos.
R 1 selects generic debugging.
R 11 selects layer 1 development debugging.
R 13 selects layer 3 development debugging.
the following commands are used to enable special features during runtime
of the HiSax-ISDN device driver.
R 2 set B-channel ON delay to parameter (in ms)
R 5 set B-channel in leased mode
R 6 set B-channel in TESTLOOP mode
R 7 set/reset card in Point To Point mode
R 8 set card in FIXED TEI mode
R 9 load firmware for DSP cards
R 10 set B-channel usage limit to 1 or 2 channels
R 12 set echo logging mode (only for some cards)
R B-channel usage limit needs to be 1 if enabled
parameter
If the command is
R 9
then the parameter is the full pathname to the file containing the firmware.
For debug settings this is an integer representing a bitmask. Every bit in
this mask switches a debug facility on or off. Depending on the selected
category, the following values are defined:
With generic debugging selected
(command 1):
R 0x001 Link-level <--> hardware-level communication
R 0x002 Top state machine
R 0x004 D-Channel Q.931 (call control messages)
R 0x008 D-Channel Q.921
R 0x010 B-Channel X.75
R 0x020 D-Channel l2
R 0x040 B-Channel l2
R 0x080 D-Channel link state debugging
R 0x100 B-Channel link state debugging
R 0x200 TEI debug
R 0x400 LOCK debug in callc.c
R 0x800 More debug in callc.c (not for normal use)
With layer 1 development debugging selected
(command 11):
R 0x001 Warnings (default: on)
R 0x002 IRQ status
R 0x004 ISAC
R 0x008 ISAC FIFO
R 0x010 HSCX
R 0x020 HSCX FIFO (attention: full B-Channel output!)
R 0x040 D-Channel LAPD frame types
With layer 3 development debugging selected
(command 13):
R 0x001 Warnings (default: on)
R 0x002 l3 protocol discriptor errors
R 0x004 l3 state machine
R 0x008 charge info debugging (1TR6)
EXAMPLE
I hisaxctrl HiSax 1 0x3ff
enables full generic debugging.
AUTHOR
2000 by Karsten Keil <kkeil@suse.de>
SEE ALSO
R isdnctrl (8), isdn_cause (7), isdninfo (4).